Title: [287312] trunk/Source/ThirdParty/ANGLE
Revision
287312
Author
[email protected]
Date
2021-12-21 05:29:39 -0800 (Tue, 21 Dec 2021)

Log Message

[GTK] build fails with undefined symbol in ANGLE if USE_ANGLE_WEBGL is enabled.
https://bugs.webkit.org/show_bug.cgi?id=234239

Patch by Arcady Goldmints-Orlov <[email protected]> on 2021-12-21
Reviewed by Kenneth Russell.

Add a new linux.cmake file that defines angle_dma_buf_sources.
This list gets appended it into ANGLE_SOURCES in PlatformGTK.cmake.

* linux.cmake: Added. Manual translation of src/common/linux/BUILD.gn.
* PlatformGTK.cmake:

Modified Paths

Added Paths

Diff

Modified: trunk/Source/ThirdParty/ANGLE/ChangeLog (287311 => 287312)


--- trunk/Source/ThirdParty/ANGLE/ChangeLog	2021-12-21 12:54:37 UTC (rev 287311)
+++ trunk/Source/ThirdParty/ANGLE/ChangeLog	2021-12-21 13:29:39 UTC (rev 287312)
@@ -1,3 +1,16 @@
+2021-12-21  Arcady Goldmints-Orlov  <[email protected]>
+
+        [GTK] build fails with undefined symbol in ANGLE if USE_ANGLE_WEBGL is enabled.
+        https://bugs.webkit.org/show_bug.cgi?id=234239
+
+        Reviewed by Kenneth Russell.
+
+        Add a new linux.cmake file that defines angle_dma_buf_sources.
+        This list gets appended it into ANGLE_SOURCES in PlatformGTK.cmake.
+
+        * linux.cmake: Added. Manual translation of src/common/linux/BUILD.gn.
+        * PlatformGTK.cmake:
+
 2021-12-17  Fujii Hironori  <[email protected]>
 
         [ANGLE] "WARN: driver_utils.cpp:169 (rx::GetVendorString):! Unimplemented: rx::GetVendorString" on WinCairo debug testing bot

Modified: trunk/Source/ThirdParty/ANGLE/PlatformGTK.cmake (287311 => 287312)


--- trunk/Source/ThirdParty/ANGLE/PlatformGTK.cmake	2021-12-21 12:54:37 UTC (rev 287311)
+++ trunk/Source/ThirdParty/ANGLE/PlatformGTK.cmake	2021-12-21 13:29:39 UTC (rev 287312)
@@ -1,4 +1,5 @@
 list(APPEND ANGLE_DEFINITIONS ANGLE_PLATFORM_LINUX)
+include(linux.cmake)
 
 if (USE_OPENGL)
     # Enable GLSL compiler output.
@@ -12,6 +13,8 @@
         ${angle_system_utils_sources_linux}
         ${angle_system_utils_sources_posix}
 
+        ${angle_dma_buf_sources}
+
         ${libangle_gl_egl_dl_sources}
         ${libangle_gl_egl_sources}
         ${libangle_gl_sources}

Added: trunk/Source/ThirdParty/ANGLE/linux.cmake (0 => 287312)


--- trunk/Source/ThirdParty/ANGLE/linux.cmake	                        (rev 0)
+++ trunk/Source/ThirdParty/ANGLE/linux.cmake	2021-12-21 13:29:39 UTC (rev 287312)
@@ -0,0 +1,6 @@
+if(is_android OR is_linux OR is_chromeos)
+  set(angle_dma_buf_sources
+    "src/common/linux/dma_buf_utils.cpp"
+    "src/common/linux/dma_buf_utils.h"
+  )
+endif()
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to