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

Unified Diff: public/platform/WebGraphicsContext3D.h

Issue 16201002: Remove unused methods in WebGraphicsContext3D: isGLES2Compliant() and getPlatformTextureId() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase to upstream 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 | « Source/WebKit/chromium/tests/FakeWebGraphicsContext3D.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 54bf283e27dc2d5b9598119b402772b69daa8df9..2f19c1d59a4630ecc9bdb1c053e1ee99fdb78ffc 100644
--- a/public/platform/WebGraphicsContext3D.h
+++ b/public/platform/WebGraphicsContext3D.h
@@ -182,10 +182,6 @@ public:
virtual void discardBackbufferCHROMIUM() { }
virtual void ensureBackbufferCHROMIUM() { }
- // FIXME: this api is not used anymore.
- // Query whether it is built on top of compliant GLES2 implementation.
- virtual bool isGLES2Compliant() { return true; }
-
virtual unsigned insertSyncPoint() { return 0; }
virtual void waitSyncPoint(unsigned) { }
// This call passes ownership of the WebGraphicsSyncPointCallback to the
@@ -199,12 +195,6 @@ public:
// ordering. Returns true on success.
virtual bool readBackFramebuffer(unsigned char* pixels, size_t bufferSize, WebGLId framebuffer, int width, int height) = 0;
- // FIXME: this api is not used anymore.
- // Returns the id of the texture which is used for storing the contents of
- // the framebuffer associated with this context. This texture is accessible
- // by the gpu-based page compositor.
- virtual WebGLId getPlatformTextureId() { return 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 | « Source/WebKit/chromium/tests/FakeWebGraphicsContext3D.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698