[Mesa-dev] [PATCH 2/3] mesa: add new gl_driver_flags::NewWindowRectangles
Samuel Pitoiset
samuel.pitoiset at gmail.com
Fri Jun 2 12:31:48 UTC 2017
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>
---
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
More information about the mesa-dev
mailing list