mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
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@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
d19d8f5e6b
commit
035b0176e2
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue