Title: [222952] trunk/Source/WebCore
Revision
222952
Author
[email protected]
Date
2017-10-05 19:36:20 -0700 (Thu, 05 Oct 2017)

Log Message

Lots of missing frames in YouTube360 when fullscreen on MacBook
https://bugs.webkit.org/show_bug.cgi?id=177903
<rdar://problem/33273300>

iOS build fix.

* platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (222951 => 222952)


--- trunk/Source/WebCore/ChangeLog	2017-10-06 02:31:39 UTC (rev 222951)
+++ trunk/Source/WebCore/ChangeLog	2017-10-06 02:36:20 UTC (rev 222952)
@@ -4,6 +4,16 @@
         https://bugs.webkit.org/show_bug.cgi?id=177903
         <rdar://problem/33273300>
 
+        iOS build fix.
+
+        * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
+
+2017-10-05  Dean Jackson  <[email protected]>
+
+        Lots of missing frames in YouTube360 when fullscreen on MacBook
+        https://bugs.webkit.org/show_bug.cgi?id=177903
+        <rdar://problem/33273300>
+
         Reviewed by Sam Weinig.
 
         Our compositing path for WebGL on macOS was too slow, requiring a copy

Modified: trunk/Source/WebCore/platform/graphics/opengl/GraphicsContext3DOpenGL.cpp (222951 => 222952)


--- trunk/Source/WebCore/platform/graphics/opengl/GraphicsContext3DOpenGL.cpp	2017-10-06 02:31:39 UTC (rev 222951)
+++ trunk/Source/WebCore/platform/graphics/opengl/GraphicsContext3DOpenGL.cpp	2017-10-06 02:36:20 UTC (rev 222952)
@@ -69,6 +69,7 @@
     notImplemented();
 }
 
+#if PLATFORM(MAC)
 static void wipeAlphaChannelFromPixels(int width, int height, unsigned char* pixels)
 {
     // We can assume this doesn't overflow because the calling functions
@@ -77,6 +78,7 @@
     for (int i = 0; i < totalBytes; i += 4)
         pixels[i + 3] = 255;
 }
+#endif
 
 void GraphicsContext3D::readPixelsAndConvertToBGRAIfNecessary(int x, int y, int width, int height, unsigned char* pixels)
 {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to