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

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLObject.h

Issue 1833273002: Remove WebGraphicsContext3D::getGLES2Interface(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: getgles2: rebase Created 4 years, 9 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: third_party/WebKit/Source/modules/webgl/WebGLObject.h
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLObject.h b/third_party/WebKit/Source/modules/webgl/WebGLObject.h
index e10a80a27681a09654d840454645ba479a7fdf90..0679a3939e77bcba54732c288bdb31cd41645200 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLObject.h
+++ b/third_party/WebKit/Source/modules/webgl/WebGLObject.h
@@ -68,10 +68,10 @@ public:
// deleteObject may not always delete the OpenGL resource. For programs and
// shaders, deletion is delayed until they are no longer attached.
// FIXME: revisit this when resource sharing between contexts are implemented.
- void deleteObject(WebGraphicsContext3D*, gpu::gles2::GLES2Interface*);
+ void deleteObject(gpu::gles2::GLES2Interface*);
void onAttached() { ++m_attachmentCount; }
- void onDetached(WebGraphicsContext3D*, gpu::gles2::GLES2Interface*);
+ void onDetached(gpu::gles2::GLES2Interface*);
// This indicates whether the client side issue a delete call already, not
// whether the OpenGL resource is deleted.
@@ -89,14 +89,14 @@ protected:
// deleteObjectImpl should be only called once to delete the OpenGL resource.
// After calling deleteObjectImpl, hasObject() should return false.
- virtual void deleteObjectImpl(blink::WebGraphicsContext3D*, gpu::gles2::GLES2Interface*) = 0;
+ virtual void deleteObjectImpl(gpu::gles2::GLES2Interface*) = 0;
virtual bool hasGroupOrContext() const = 0;
void detach();
void detachAndDeleteObject();
- virtual WebGraphicsContext3D* getAWebGraphicsContext3D() const = 0;
+ virtual gpu::gles2::GLES2Interface* getAGLInterface() const = 0;
private:
unsigned m_attachmentCount;
« no previous file with comments | « third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp ('k') | third_party/WebKit/Source/modules/webgl/WebGLObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698