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

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

Issue 1815803003: Move simple methods [T-Z] from WebGraphicsContext3D to GLES2Interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@simples-fplus
Patch Set: simples-tplus: fixed 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/WebGLFramebuffer.h
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.h b/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.h
index 718e7153c192eb1329d496644479cfa2c58f780c..7899c9a328dc747b9638f8f47ade5d838deab7f9 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.h
+++ b/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.h
@@ -50,7 +50,7 @@ public:
virtual WebGLSharedObject* object() const = 0;
virtual bool isSharedObject(WebGLSharedObject*) const = 0;
virtual bool valid() const = 0;
- virtual void onDetached(WebGraphicsContext3D*) = 0;
+ virtual void onDetached(WebGraphicsContext3D*, gpu::gles2::GLES2Interface*) = 0;
virtual void attach(gpu::gles2::GLES2Interface*, GLenum target, GLenum attachment) = 0;
virtual void unattach(gpu::gles2::GLES2Interface*, GLenum target, GLenum attachment) = 0;
@@ -100,7 +100,7 @@ protected:
explicit WebGLFramebuffer(WebGLRenderingContextBase*);
bool hasObject() const override { return m_object != 0; }
- void deleteObjectImpl(WebGraphicsContext3D*) override;
+ void deleteObjectImpl(WebGraphicsContext3D*, gpu::gles2::GLES2Interface*) override;
private:
WebGLAttachment* getAttachment(GLenum attachment) const;

Powered by Google App Engine
This is Rietveld 408576698