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

Unified Diff: Source/core/platform/graphics/gpu/DrawingBuffer.h

Issue 17859003: Allow DrawingBuffer to present to a bitmap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 6 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/core/platform/graphics/gpu/DrawingBuffer.h
diff --git a/Source/core/platform/graphics/gpu/DrawingBuffer.h b/Source/core/platform/graphics/gpu/DrawingBuffer.h
index d505af0434bdcdff55ce29cc72d435eb37f03b39..2ce3d1654441d69b0a9d09c453680df0dcb99597 100644
--- a/Source/core/platform/graphics/gpu/DrawingBuffer.h
+++ b/Source/core/platform/graphics/gpu/DrawingBuffer.h
@@ -42,6 +42,7 @@
#include <wtf/PassOwnPtr.h>
namespace WebKit {
+class WebExternalBitmap;
class WebExternalTextureLayer;
class WebGraphicsContext3D;
class WebLayer;
@@ -125,7 +126,7 @@ public:
// WebExternalTextureLayerClient implementation.
virtual unsigned prepareTexture(WebKit::WebTextureUpdater& updater) OVERRIDE;
virtual WebKit::WebGraphicsContext3D* context() OVERRIDE;
- virtual bool prepareMailbox(WebKit::WebExternalTextureMailbox*) OVERRIDE;
+ virtual bool prepareMailbox(WebKit::WebExternalTextureMailbox*, WebKit::WebExternalBitmap*) OVERRIDE;
virtual void mailboxReleased(const WebKit::WebExternalTextureMailbox&) OVERRIDE;
private:
« no previous file with comments | « Source/core/platform/graphics/chromium/Canvas2DLayerBridge.cpp ('k') | Source/core/platform/graphics/gpu/DrawingBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698