From 035b0176e2c38ce4c35415de8f5cac7a4017d324 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Fri, 2 Jun 2017 14:31:48 +0200 Subject: [PATCH] mesa: add new gl_driver_flags::NewWindowRectangles MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This new driver flag will replace _NEW_SCISSOR which is emitted when setting new window rectangles but it actually triggers useless changes in the state tracker (like scissor and rasterizer). EXT_window_rectangles is currently only supported by Nouveau. Signed-off-by: Samuel Pitoiset Reviewed-by: Marek Olšák --- src/mesa/main/mtypes.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 9ef1b18ea5b..7ec012321fc 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -4397,6 +4397,11 @@ struct gl_driver_flags * gl_context::IntelConservativeRasterization */ uint64_t NewIntelConservativeRasterization; + + /** + * gl_context::Scissor::WindowRects + */ + uint64_t NewWindowRectangles; }; struct gl_uniform_buffer_binding -- 2.30.2