mesa: add new gl_driver_flags::NewWindowRectangles
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 2 Jun 2017 12:31:48 +0000 (14:31 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 6 Jun 2017 09:47:27 +0000 (11:47 +0200)
commit035b0176e2c38ce4c35415de8f5cac7a4017d324
tree8a38e77564b4fc58390acf260f6d2cffb4e75fc7
parentd19d8f5e6b583d2eac202c2fd8b7ac9e54c489d5
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>
src/mesa/main/mtypes.h