Title: [269123] trunk/Source/WebKit
- Revision
- 269123
- Author
- s...@apple.com
- Date
- 2020-10-28 14:09:12 -0700 (Wed, 28 Oct 2020)
Log Message
[GPU Process] Eagerly flush the PutImageData item to the GPU Process
https://bugs.webkit.org/show_bug.cgi?id=218116
Reviewed by Simon Fraser.
Flush the DrawingContext of the RemoteImageBufferProxy once the PutImageData
item is recorded. So no expensive operation is going to block the painting.
* WebProcess/GPU/graphics/RemoteImageBufferProxy.h:
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (269122 => 269123)
--- trunk/Source/WebKit/ChangeLog 2020-10-28 21:04:10 UTC (rev 269122)
+++ trunk/Source/WebKit/ChangeLog 2020-10-28 21:09:12 UTC (rev 269123)
@@ -1,3 +1,15 @@
+2020-10-28 Said Abou-Hallawa <s...@apple.com>
+
+ [GPU Process] Eagerly flush the PutImageData item to the GPU Process
+ https://bugs.webkit.org/show_bug.cgi?id=218116
+
+ Reviewed by Simon Fraser.
+
+ Flush the DrawingContext of the RemoteImageBufferProxy once the PutImageData
+ item is recorded. So no expensive operation is going to block the painting.
+
+ * WebProcess/GPU/graphics/RemoteImageBufferProxy.h:
+
2020-10-28 Tim Horton <timothy_hor...@apple.com>
macCatalyst WebGL on Apple Silicon devices is using a software renderer
Modified: trunk/Source/WebKit/WebProcess/GPU/graphics/RemoteImageBufferProxy.h (269122 => 269123)
--- trunk/Source/WebKit/WebProcess/GPU/graphics/RemoteImageBufferProxy.h 2020-10-28 21:04:10 UTC (rev 269122)
+++ trunk/Source/WebKit/WebProcess/GPU/graphics/RemoteImageBufferProxy.h 2020-10-28 21:09:12 UTC (rev 269123)
@@ -120,6 +120,7 @@
// This means that putImageData() is only called when m_resolutionScale == 1.
ASSERT(m_backend->resolutionScale() == 1);
m_drawingContext.recorder().putImageData(inputFormat, imageData, srcRect, destPoint, destFormat);
+ flushDrawingContextAndCommit();
}
void flushContext() override
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes