diff options
author | Samuel Pitoiset <[email protected]> | 2017-06-02 14:31:48 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-06-06 11:47:27 +0200 |
commit | 035b0176e2c38ce4c35415de8f5cac7a4017d324 (patch) | |
tree | 8a38e77564b4fc58390acf260f6d2cffb4e75fc7 /src/mesa | |
parent | d19d8f5e6b583d2eac202c2fd8b7ac9e54c489d5 (diff) |
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 <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/mtypes.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 |