Mesa (master): mesa: add new gl_driver_flags::NewWindowRectangles
Samuel Pitoiset
hakzsam at kemper.freedesktop.org
Tue Jun 6 09:53:23 UTC 2017
Module: Mesa
Branch: master
Commit: 035b0176e2c38ce4c35415de8f5cac7a4017d324
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=035b0176e2c38ce4c35415de8f5cac7a4017d324
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date: Fri Jun 2 14:31:48 2017 +0200
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 <samuel.pitoiset at gmail.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
---
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 9ef1b18ea5..7ec012321f 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
More information about the mesa-commit
mailing list