From: Samuel Pitoiset Date: Fri, 2 Jun 2017 12:31:48 +0000 (+0200) Subject: mesa: add new gl_driver_flags::NewWindowRectangles X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=035b0176e2c38ce4c35415de8f5cac7a4017d324;p=mesa.git mesa: add new gl_driver_flags::NewWindowRectangles 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 --- 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