Rename LayerTypeWebGLLayer and use it for both WebGL and WebGPU
authordino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 15 Mar 2017 00:17:27 +0000 (00:17 +0000)
committerdino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 15 Mar 2017 00:17:27 +0000 (00:17 +0000)
https://bugs.webkit.org/show_bug.cgi?id=169628
<rdar://problems/31047025>

Fix Windows build.

* platform/graphics/ca/win/PlatformCALayerWin.cpp:
(printLayer):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@213963 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/ca/win/PlatformCALayerWin.cpp

index ca79cc5..dfab92f 100644 (file)
@@ -1,3 +1,14 @@
+2017-03-14  Dean Jackson  <dino@apple.com>
+
+        Rename LayerTypeWebGLLayer and use it for both WebGL and WebGPU
+        https://bugs.webkit.org/show_bug.cgi?id=169628
+        <rdar://problems/31047025>
+
+        Fix Windows build.
+
+        * platform/graphics/ca/win/PlatformCALayerWin.cpp:
+        (printLayer):
+
 2017-03-14  Andy Estes  <aestes@apple.com>
 
         REGRESSION (r209760): Apple Pay doesn't work on sites that specify empty contact fields
index 2fe963e..629b3dc 100644 (file)
@@ -768,7 +768,7 @@ static void printLayer(StringBuilder& builder, const PlatformCALayer* layer, int
     case PlatformCALayer::LayerTypeTiledBackingTileLayer: layerTypeName = "tiled-backing-tile-layer"; break;
     case PlatformCALayer::LayerTypeRootLayer: layerTypeName = "root-layer"; break;
     case PlatformCALayer::LayerTypeAVPlayerLayer: layerTypeName = "avplayer-layer"; break;
-    case PlatformCALayer::LayerTypeWebGLLayer: layerTypeName = "webgl-layer"; break;
+    case PlatformCALayer::LayerTypeContentsProvidedLayer: layerTypeName = "contents-provided-layer"; break;
     case PlatformCALayer::LayerTypeBackdropLayer: layerTypeName = "backdrop-layer"; break;
     case PlatformCALayer::LayerTypeShapeLayer: layerTypeName = "shape-layer"; break;
     case PlatformCALayer::LayerTypeLightSystemBackdropLayer: layerTypeName = "light-system-backdrop-layer"; break;