Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Unified Diff: third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp

Issue 2328463004: Implement WebGL's commit on the main thread (Closed)
Patch Set: written as a gpu pixel test Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp
index a003681da3ee3356c7cb7077fa284e2045ac8ebf..f27d4541952b4995f8c70b8dc68e5a5744fadd84 100644
--- a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp
+++ b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp
@@ -469,7 +469,7 @@ PassRefPtr<StaticBitmapImage> DrawingBuffer::transferToStaticBitmapImage()
// TODO(xidachen): Create a small pool of recycled textures from ImageBitmapRenderingContext's
// transferFromImageBitmap, and try to use them in DrawingBuffer.
- return AcceleratedStaticBitmapImage::createFromWebGLContextImage(std::move(skImage), skImageMailbox, skImageSyncToken);
+ return AcceleratedStaticBitmapImage::createFromWebGLContextImage(std::move(skImage), skImageMailbox, skImageSyncToken, textureId);
}
DrawingBuffer::TextureParameters DrawingBuffer::chromiumImageTextureParameters()

Powered by Google App Engine
This is Rietveld 408576698