Blame SOURCES/egl-sync-with-khronos.patch

f0317a
diff --git a/include/EGL/eglplatform.h b/include/EGL/eglplatform.h
f0317a
index 29ab288b57eb6ccce0476f0e76c8b4da94225091..5ab49c1d4ea4564cc5d94a2a7ffa842ac6b3eeb1 100644
f0317a
--- a/include/EGL/eglplatform.h
f0317a
+++ b/include/EGL/eglplatform.h
f0317a
@@ -116,6 +116,12 @@ typedef intptr_t EGLNativeDisplayType;
f0317a
 typedef intptr_t EGLNativePixmapType;
f0317a
 typedef intptr_t EGLNativeWindowType;
f0317a
 
f0317a
+#elif defined(__unix__) && defined(EGL_NO_X11)
f0317a
+
f0317a
+typedef void             *EGLNativeDisplayType;
f0317a
+typedef khronos_uintptr_t EGLNativePixmapType;
f0317a
+typedef khronos_uintptr_t EGLNativeWindowType;
f0317a
+
f0317a
 #elif defined(__unix__) || defined(USE_X11)
f0317a
 
f0317a
 /* X11 (tentative)  */
f0317a
diff --git a/src/generate/xml/egl.xml b/src/generate/xml/egl.xml
f0317a
index c27f1726b677f311d792a136e86c5e01ae467e5f..6bc2ea2886aaf628d9741a7de2629bd8e38f37c8 100644
f0317a
--- a/src/generate/xml/egl.xml
f0317a
+++ b/src/generate/xml/egl.xml
f0317a
@@ -1002,6 +1002,9 @@
f0317a
         <enum value="0x3490" name="EGL_GL_COLORSPACE_DISPLAY_P3_PASSTHROUGH_EXT"/>
f0317a
             <unused start="0x3491" end="0x349F"/>
f0317a
     </enums>
f0317a
+    <enums namespace="EGL" start="0x34A0" end="0x34AF" vendor="ANGLE" comment="Reserved for Ken Russell - ANGLE (via github pull request)">
f0317a
+            <unused start="0x34A0" end="0x34AF"/>
f0317a
+    </enums>
f0317a
 
f0317a
 
f0317a
      request to the Khronos API registrar (see comments at the top of this
f0317a
@@ -1012,8 +1015,8 @@
f0317a
 
f0317a
 
f0317a
      of 16 starting at the lowest available point in this block. -->
f0317a
-    <enums namespace="EGL" start="0x34A0" end="0x3FFF" vendor="KHR" comment="Reserved for future use">
f0317a
-            <unused start="0x34A0" end="0x3FFF"/>
f0317a
+    <enums namespace="EGL" start="0x34B0" end="0x3FFF" vendor="KHR" comment="Reserved for future use">
f0317a
+            <unused start="0x34B0" end="0x3FFF"/>
f0317a
     </enums>
f0317a
 
f0317a
     <enums namespace="EGL" start="0x8F70" end="0x8F7F" vendor="HI" comment="For Mark Callow, Khronos bug 4055. Shared with GL.">