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

Unified Diff: public/platform/WebGraphicsContext3D.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
« no previous file with comments | « public/platform/WebExternalTextureLayerClient.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebGraphicsContext3D.h
diff --git a/public/platform/WebGraphicsContext3D.h b/public/platform/WebGraphicsContext3D.h
index a22853b4bc65cbd2a3fa4fd448c0b827a3d5ddfa..c866c2b6ff581180f17104a7694229f1be87c0a8 100644
--- a/public/platform/WebGraphicsContext3D.h
+++ b/public/platform/WebGraphicsContext3D.h
@@ -188,13 +188,6 @@ public:
// WebGraphicsContext3D implementation.
virtual void signalSyncPoint(unsigned syncPoint, WebGraphicsSyncPointCallback* callback) { delete callback; }
- // Helper for software compositing path. Reads back the frame buffer into
- // the memory region pointed to by "pixels" with size "bufferSize". It is
- // expected that the storage for "pixels" covers (4 * width * height) bytes.
- // The RGBA channels are packed into "pixels" using SkBitmap's byte
- // ordering. Returns true on success.
- virtual bool readBackFramebuffer(unsigned char* pixels, size_t bufferSize, WebGLId framebuffer, int width, int height) = 0;
-
// Copies the contents of the off-screen render target used by the WebGL
// context to the corresponding texture used by the compositor.
virtual void prepareTexture() = 0;
« no previous file with comments | « public/platform/WebExternalTextureLayerClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698