summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/config.h
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2016-06-09 22:50:43 -0400
committerIlia Mirkin <[email protected]>2016-06-18 12:51:55 -0400
commitd68c1e2ac28bbf0ac6259e9619fb73958fc598b8 (patch)
treea2bc494b87e8fc08ad777551231a73d9e11b42e4 /src/mesa/main/config.h
parent78506ad2466563d9ec3f8d09a746a069e6cab6b5 (diff)
mesa: add GL_EXT_window_rectangles state storage/retrieval functionality
Signed-off-by: Ilia Mirkin <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/config.h')
-rw-r--r--src/mesa/main/config.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h
index bc5e56923b8..0d0ee90e678 100644
--- a/src/mesa/main/config.h
+++ b/src/mesa/main/config.h
@@ -132,10 +132,13 @@
*/
#define MAX_TEXTURE_UNITS ((MAX_TEXTURE_COORD_UNITS > MAX_TEXTURE_IMAGE_UNITS) ? MAX_TEXTURE_COORD_UNITS : MAX_TEXTURE_IMAGE_UNITS)
-/** Maximun number of viewports supported with ARB_viewport_array */
+/** Maximum number of viewports supported with ARB_viewport_array */
#define MAX_VIEWPORTS 16
-/** Maxmimum size for CVA. May be overridden by the drivers. */
+/** Maximum number of window rectangles supported with EXT_window_rectangles */
+#define MAX_WINDOW_RECTANGLES 8
+
+/** Maximum size for CVA. May be overridden by the drivers. */
#define MAX_ARRAY_LOCK_SIZE 3000
/** Subpixel precision for antialiasing, window coordinate snapping */