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

Unified Diff: Source/WebCore/platform/graphics/gpu/DrawingBuffer.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: Rebase plus copyright header. 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/gpu/DrawingBuffer.cpp
diff --git a/Source/WebCore/platform/graphics/gpu/DrawingBuffer.cpp b/Source/WebCore/platform/graphics/gpu/DrawingBuffer.cpp
index 7304aa8075d407703a6f6b67ac7e0915867af6ba..5399ec0c8f4f1684c6b612a95f2e77aca3e83d46 100644
--- a/Source/WebCore/platform/graphics/gpu/DrawingBuffer.cpp
+++ b/Source/WebCore/platform/graphics/gpu/DrawingBuffer.cpp
@@ -111,6 +111,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