Title: [271254] trunk/Source/WebCore
Revision
271254
Author
hironori.fu...@sony.com
Date
2021-01-07 12:26:26 -0800 (Thu, 07 Jan 2021)

Log Message

[WinCairo] WebGL isn't shown in non-AC mode
https://bugs.webkit.org/show_bug.cgi?id=220380

Reviewed by Kenneth Russell.

If WinCairo disabled accelerated compositing, no WebGL were shown.
GraphicsContextGLOpenGL::readCompositedResults wasn't implemented
for !PLATFORM(COCOA).

* platform/graphics/opengl/GraphicsContextGLOpenGL.cpp:
(WebCore::GraphicsContextGLOpenGL::readCompositedResults):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (271253 => 271254)


--- trunk/Source/WebCore/ChangeLog	2021-01-07 20:17:21 UTC (rev 271253)
+++ trunk/Source/WebCore/ChangeLog	2021-01-07 20:26:26 UTC (rev 271254)
@@ -1,3 +1,17 @@
+2021-01-07  Fujii Hironori  <hironori.fu...@sony.com>
+
+        [WinCairo] WebGL isn't shown in non-AC mode
+        https://bugs.webkit.org/show_bug.cgi?id=220380
+
+        Reviewed by Kenneth Russell.
+
+        If WinCairo disabled accelerated compositing, no WebGL were shown.
+        GraphicsContextGLOpenGL::readCompositedResults wasn't implemented
+        for !PLATFORM(COCOA).
+
+        * platform/graphics/opengl/GraphicsContextGLOpenGL.cpp:
+        (WebCore::GraphicsContextGLOpenGL::readCompositedResults):
+
 2021-01-07  Andy Estes  <aes...@apple.com>
 
         [Mac] Prepend "Media" to FormatReader, SampleCursor, and TrackReader class names

Modified: trunk/Source/WebCore/platform/graphics/opengl/GraphicsContextGLOpenGL.cpp (271253 => 271254)


--- trunk/Source/WebCore/platform/graphics/opengl/GraphicsContextGLOpenGL.cpp	2021-01-07 20:17:21 UTC (rev 271253)
+++ trunk/Source/WebCore/platform/graphics/opengl/GraphicsContextGLOpenGL.cpp	2021-01-07 20:26:26 UTC (rev 271254)
@@ -236,7 +236,7 @@
 #if !PLATFORM(COCOA)
 RefPtr<ImageData> GraphicsContextGLOpenGL::readCompositedResults()
 {
-    return nullptr;
+    return readRenderingResults();
 }
 #endif
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to