egl: Limit the EGL ver for android
[mesa.git] / src / egl / main / egldefines.h
index a32cab2640802fa9eb3d36c5e2c22824b361a84b..c925e0ca55338f73dbec613b0eff25bed0b1b296 100644 (file)
@@ -40,9 +40,13 @@ extern "C" {
 
 #define _EGL_MAX_EXTENSIONS_LEN 1000
 
-#define _EGL_VENDOR_STRING "Mesa Project"
+/* Hardcoded, conservative default for EGL_LARGEST_PBUFFER,
+ * this is used to implement EGL_LARGEST_PBUFFER.
+ */
+#define _EGL_MAX_PBUFFER_WIDTH 4096
+#define _EGL_MAX_PBUFFER_HEIGHT 4096
 
-#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
+#define _EGL_VENDOR_STRING "Mesa Project"
 
 #ifdef __cplusplus
 }