Title: [270989] trunk/Source/WebCore
Revision
270989
Author
[email protected]
Date
2020-12-18 14:17:56 -0800 (Fri, 18 Dec 2020)

Log Message

Use EGL_PLATFORM_ANGLE_TYPE_METAL_ANGLE now it is in the build
https://bugs.webkit.org/show_bug.cgi?id=219968
<rdar://problem/72405724>

Reviewed by Darin Adler.

* platform/graphics/cocoa/GraphicsContextGLOpenGLCocoa.mm:
(WebCore::InitializeEGLDisplay): Use the named value.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (270988 => 270989)


--- trunk/Source/WebCore/ChangeLog	2020-12-18 21:42:13 UTC (rev 270988)
+++ trunk/Source/WebCore/ChangeLog	2020-12-18 22:17:56 UTC (rev 270989)
@@ -1,3 +1,14 @@
+2020-12-18  Dean Jackson  <[email protected]>
+
+        Use EGL_PLATFORM_ANGLE_TYPE_METAL_ANGLE now it is in the build
+        https://bugs.webkit.org/show_bug.cgi?id=219968
+        <rdar://problem/72405724>
+
+        Reviewed by Darin Adler.
+
+        * platform/graphics/cocoa/GraphicsContextGLOpenGLCocoa.mm:
+        (WebCore::InitializeEGLDisplay): Use the named value.
+
 2020-12-18  Peng Liu  <[email protected]>
 
         [Media in GPU Process][MSE] SourceBufferPrivateRemote needs to override some track buffer related functions of SourceBufferPrivate

Modified: trunk/Source/WebCore/platform/graphics/cocoa/GraphicsContextGLOpenGLCocoa.mm (270988 => 270989)


--- trunk/Source/WebCore/platform/graphics/cocoa/GraphicsContextGLOpenGLCocoa.mm	2020-12-18 21:42:13 UTC (rev 270988)
+++ trunk/Source/WebCore/platform/graphics/cocoa/GraphicsContextGLOpenGLCocoa.mm	2020-12-18 22:17:56 UTC (rev 270989)
@@ -99,7 +99,7 @@
 
     if (attrs.useMetal) {
         displayAttributes.append(EGL_PLATFORM_ANGLE_TYPE_ANGLE);
-        displayAttributes.append(0x3489); // Will be EGL_PLATFORM_ANGLE_TYPE_METAL_ANGLE.
+        displayAttributes.append(EGL_PLATFORM_ANGLE_TYPE_METAL_ANGLE);
     }
 
     displayAttributes.append(EGL_NONE);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to