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

Unified Diff: Source/WebCore/platform/graphics/chromium/DrawingBufferChromium.cpp

Issue 13638008: Blink API to allow mailbox usage with texture layers for WebGL and Canvas2D. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 8 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: Source/WebCore/platform/graphics/chromium/DrawingBufferChromium.cpp
diff --git a/Source/WebCore/platform/graphics/chromium/DrawingBufferChromium.cpp b/Source/WebCore/platform/graphics/chromium/DrawingBufferChromium.cpp
index 8fe69ee6e72b09003860f71ebbbfd0d3040d5b9c..6c1e2d771e645f3850fd6c719f0f6839719c2d0a 100644
--- a/Source/WebCore/platform/graphics/chromium/DrawingBufferChromium.cpp
+++ b/Source/WebCore/platform/graphics/chromium/DrawingBufferChromium.cpp
@@ -203,6 +203,9 @@ public:
return GraphicsContext3DPrivate::extractWebGraphicsContext3D(m_drawingBuffer->graphicsContext3D());
}
+ virtual bool prepareMailbox(WebKit::WebExternalTextureMailbox*) OVERRIDE { return false; }
+ virtual void mailboxReleased(const WebKit::WebExternalTextureMailbox&) OVERRIDE { }
+
void clearTextureId()
{
m_layer->setTextureId(0);

Powered by Google App Engine
This is Rietveld 408576698