Title: [245090] trunk/Source
Revision
245090
Author
[email protected]
Date
2019-05-08 21:49:11 -0700 (Wed, 08 May 2019)

Log Message

Source/ThirdParty/ANGLE:
Fix High Sierra and Windows builds.

* src/common/utilities.cpp:
(gl::priv::gLineModes):
* src/common/utilities.h:
(gl::IsLineMode):
Don't have a global constructor.  Use a function scoped static variable instead.
* GLESv2.cmake:
Renderer11.cpp was not building successfully on the bots.
I don't think it's needed, so just don't build it.

Source/WebCore:
Fix WPE build.

* CMakeLists.txt:
Bots wanted a "PUBLIC" or "PRIVATE" keyword here.

Modified Paths

Diff

Modified: trunk/Source/ThirdParty/ANGLE/ChangeLog (245089 => 245090)


--- trunk/Source/ThirdParty/ANGLE/ChangeLog	2019-05-09 04:30:32 UTC (rev 245089)
+++ trunk/Source/ThirdParty/ANGLE/ChangeLog	2019-05-09 04:49:11 UTC (rev 245090)
@@ -1,5 +1,18 @@
 2019-05-08  Alex Christensen  <[email protected]>
 
+        Fix High Sierra and Windows builds.
+
+        * src/common/utilities.cpp:
+        (gl::priv::gLineModes):
+        * src/common/utilities.h:
+        (gl::IsLineMode):
+        Don't have a global constructor.  Use a function scoped static variable instead.
+        * GLESv2.cmake:
+        Renderer11.cpp was not building successfully on the bots.
+        I don't think it's needed, so just don't build it.
+
+2019-05-08  Alex Christensen  <[email protected]>
+
         Fix High Sierra build.
 
         * src/libANGLE/State.cpp:

Modified: trunk/Source/ThirdParty/ANGLE/GLESv2.cmake (245089 => 245090)


--- trunk/Source/ThirdParty/ANGLE/GLESv2.cmake	2019-05-09 04:30:32 UTC (rev 245089)
+++ trunk/Source/ThirdParty/ANGLE/GLESv2.cmake	2019-05-09 04:49:11 UTC (rev 245090)
@@ -472,8 +472,6 @@
     src/libANGLE/renderer/d3d/d3d11/ProgramPipeline11.h
     src/libANGLE/renderer/d3d/d3d11/Query11.cpp
     src/libANGLE/renderer/d3d/d3d11/Query11.h
-    src/libANGLE/renderer/d3d/d3d11/Renderer11.cpp
-    src/libANGLE/renderer/d3d/d3d11/Renderer11.h
     src/libANGLE/renderer/d3d/d3d11/renderer11_utils.cpp
     src/libANGLE/renderer/d3d/d3d11/renderer11_utils.h
     src/libANGLE/renderer/d3d/d3d11/RenderStateCache.cpp

Modified: trunk/Source/ThirdParty/ANGLE/src/common/utilities.cpp (245089 => 245090)


--- trunk/Source/ThirdParty/ANGLE/src/common/utilities.cpp	2019-05-09 04:30:32 UTC (rev 245089)
+++ trunk/Source/ThirdParty/ANGLE/src/common/utilities.cpp	2019-05-09 04:49:11 UTC (rev 245090)
@@ -617,11 +617,16 @@
 
 namespace priv
 {
-const angle::PackedEnumMap<PrimitiveMode, bool> gLineModes = {
-    {{PrimitiveMode::LineLoop, true},
-     {PrimitiveMode::LineStrip, true},
-     {PrimitiveMode::LineStripAdjacency, true},
-     {PrimitiveMode::Lines, true}}};
+const angle::PackedEnumMap<PrimitiveMode, bool>& gLineModes()
+{
+    static const angle::PackedEnumMap<PrimitiveMode, bool> modes {
+        { PrimitiveMode::LineLoop, true },
+        { PrimitiveMode::LineStrip, true },
+        { PrimitiveMode::LineStripAdjacency, true },
+        { PrimitiveMode::Lines, true }
+    };
+    return modes;
+};
 }  // namespace priv
 
 bool IsIntegerFormat(GLenum unsizedFormat)

Modified: trunk/Source/ThirdParty/ANGLE/src/common/utilities.h (245089 => 245090)


--- trunk/Source/ThirdParty/ANGLE/src/common/utilities.h	2019-05-09 04:30:32 UTC (rev 245089)
+++ trunk/Source/ThirdParty/ANGLE/src/common/utilities.h	2019-05-09 04:49:11 UTC (rev 245090)
@@ -78,12 +78,12 @@
 
 namespace priv
 {
-extern const angle::PackedEnumMap<PrimitiveMode, bool> gLineModes;
+extern const angle::PackedEnumMap<PrimitiveMode, bool>& gLineModes();
 }  // namespace priv
 
 ANGLE_INLINE bool IsLineMode(PrimitiveMode primitiveMode)
 {
-    return priv::gLineModes[primitiveMode];
+    return priv::gLineModes()[primitiveMode];
 }
 
 bool IsIntegerFormat(GLenum unsizedFormat);

Modified: trunk/Source/WebCore/CMakeLists.txt (245089 => 245090)


--- trunk/Source/WebCore/CMakeLists.txt	2019-05-09 04:30:32 UTC (rev 245089)
+++ trunk/Source/WebCore/CMakeLists.txt	2019-05-09 04:49:11 UTC (rev 245090)
@@ -1973,7 +1973,7 @@
 target_include_directories(WebCoreTestSupport PUBLIC ${WebCoreTestSupport_INCLUDE_DIRECTORIES} ${WebCore_INCLUDE_DIRECTORIES})
 target_include_directories(WebCoreTestSupport PRIVATE ${WebCoreTestSupport_PRIVATE_INCLUDE_DIRECTORIES} ${WebCore_PRIVATE_INCLUDE_DIRECTORIES})
 target_include_directories(WebCoreTestSupport SYSTEM PUBLIC ${WebCore_SYSTEM_INCLUDE_DIRECTORIES})
-target_link_libraries(WebCoreTestSupport ${WebCoreTestSupport_LIBRARIES})
+target_link_libraries(WebCoreTestSupport PRIVATE ${WebCoreTestSupport_LIBRARIES})
 
 if (WebCoreTestSupport_OUTPUT_NAME)
     set_target_properties(WebCoreTestSupport PROPERTIES OUTPUT_NAME ${WebCoreTestSupport_OUTPUT_NAME})

Modified: trunk/Source/WebCore/ChangeLog (245089 => 245090)


--- trunk/Source/WebCore/ChangeLog	2019-05-09 04:30:32 UTC (rev 245089)
+++ trunk/Source/WebCore/ChangeLog	2019-05-09 04:49:11 UTC (rev 245090)
@@ -1,5 +1,12 @@
 2019-05-08  Alex Christensen  <[email protected]>
 
+        Fix WPE build.
+
+        * CMakeLists.txt:
+        Bots wanted a "PUBLIC" or "PRIVATE" keyword here.
+
+2019-05-08  Alex Christensen  <[email protected]>
+
         Try to fix Linux build
 
         * platform/graphics/ANGLEWebKitBridge.h:
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to