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

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

Issue 1808933002: Remove framebufferRenderbuffer and framebufferTexture* from WGC3D. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wgc3d-unused
Patch Set: framebufferRenderbuffer: 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/WebGLFramebuffer.h
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.h b/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.h
index ee9892d26af29becae52ccb8dce97bcb6a675e4f..718e7153c192eb1329d496644479cfa2c58f780c 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.h
+++ b/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.h
@@ -29,6 +29,12 @@
#include "modules/webgl/WebGLContextObject.h"
#include "modules/webgl/WebGLSharedObject.h"
+namespace gpu {
+namespace gles2 {
+class GLES2Interface;
+}
+}
+
namespace blink {
class WebGLRenderbuffer;
@@ -45,8 +51,8 @@ public:
virtual bool isSharedObject(WebGLSharedObject*) const = 0;
virtual bool valid() const = 0;
virtual void onDetached(WebGraphicsContext3D*) = 0;
- virtual void attach(WebGraphicsContext3D*, GLenum target, GLenum attachment) = 0;
- virtual void unattach(WebGraphicsContext3D*, GLenum target, GLenum attachment) = 0;
+ virtual void attach(gpu::gles2::GLES2Interface*, GLenum target, GLenum attachment) = 0;
+ virtual void unattach(gpu::gles2::GLES2Interface*, GLenum target, GLenum attachment) = 0;
DEFINE_INLINE_VIRTUAL_TRACE() { }

Powered by Google App Engine
This is Rietveld 408576698