Title: [292765] trunk/Source/ThirdParty/ANGLE
Revision
292765
Author
[email protected]
Date
2022-04-11 23:34:44 -0700 (Mon, 11 Apr 2022)

Log Message

[GTK][WPE] Build ANGLE with the EGL_NO_PLATFORM_SPECIFIC_TYPES define
https://bugs.webkit.org/show_bug.cgi?id=239039

Reviewed by Adrian Perez de Castro.

Specify the EGL_NO_PLATFORM_SPECIFIC_TYPES define when building ANGLE
subproject for the GTK and WPE ports. This should avoid searching for
platform-specific headers that might not be available at all during
build, e.g. the X11 headers which are used by default on UNIX platforms.

* PlatformGTK.cmake:
* PlatformWPE.cmake:

Modified Paths

Diff

Modified: trunk/Source/ThirdParty/ANGLE/ChangeLog (292764 => 292765)


--- trunk/Source/ThirdParty/ANGLE/ChangeLog	2022-04-12 06:30:51 UTC (rev 292764)
+++ trunk/Source/ThirdParty/ANGLE/ChangeLog	2022-04-12 06:34:44 UTC (rev 292765)
@@ -1,3 +1,18 @@
+2022-04-11  Zan Dobersek  <[email protected]>
+
+        [GTK][WPE] Build ANGLE with the EGL_NO_PLATFORM_SPECIFIC_TYPES define
+        https://bugs.webkit.org/show_bug.cgi?id=239039
+
+        Reviewed by Adrian Perez de Castro.
+
+        Specify the EGL_NO_PLATFORM_SPECIFIC_TYPES define when building ANGLE
+        subproject for the GTK and WPE ports. This should avoid searching for
+        platform-specific headers that might not be available at all during
+        build, e.g. the X11 headers which are used by default on UNIX platforms.
+
+        * PlatformGTK.cmake:
+        * PlatformWPE.cmake:
+
 2022-04-11  Kyle Piddington  <[email protected]>
 
         This WebGL example crashes

Modified: trunk/Source/ThirdParty/ANGLE/PlatformGTK.cmake (292764 => 292765)


--- trunk/Source/ThirdParty/ANGLE/PlatformGTK.cmake	2022-04-12 06:30:51 UTC (rev 292764)
+++ trunk/Source/ThirdParty/ANGLE/PlatformGTK.cmake	2022-04-12 06:34:44 UTC (rev 292765)
@@ -1,4 +1,4 @@
-list(APPEND ANGLE_DEFINITIONS ANGLE_PLATFORM_LINUX USE_SYSTEM_EGL)
+list(APPEND ANGLE_DEFINITIONS ANGLE_PLATFORM_LINUX EGL_NO_PLATFORM_SPECIFIC_TYPES USE_SYSTEM_EGL)
 include(linux.cmake)
 
 if (USE_OPENGL)

Modified: trunk/Source/ThirdParty/ANGLE/PlatformWPE.cmake (292764 => 292765)


--- trunk/Source/ThirdParty/ANGLE/PlatformWPE.cmake	2022-04-12 06:30:51 UTC (rev 292764)
+++ trunk/Source/ThirdParty/ANGLE/PlatformWPE.cmake	2022-04-12 06:34:44 UTC (rev 292765)
@@ -1,4 +1,4 @@
-list(APPEND ANGLE_DEFINITIONS ANGLE_PLATFORM_LINUX)
+list(APPEND ANGLE_DEFINITIONS ANGLE_PLATFORM_LINUX EGL_NO_PLATFORM_SPECIFIC_TYPES)
 include(linux.cmake)
 
 if (USE_OPENGL)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to