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 <[email protected]> --- 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 69ab584c03..663ba931d7 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -4466,6 +4466,11 @@ struct gl_driver_flags * gl_context::IntelConservativeRasterization */ uint64_t NewIntelConservativeRasterization; + + /** + * gl_context::Scissor::WindowRects + */ + uint64_t NewWindowRectangles; }; struct gl_uniform_buffer_binding -- 2.13.0 _______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
