| 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 2c1dcd47339620d5761eba44861ab9e6c5b87920..b581e326c8afdb0a5610d965c6bf49638bf22fb0 100644
|
| --- a/third_party/WebKit/Source/modules/webgl/WebGLObject.h
|
| +++ b/third_party/WebKit/Source/modules/webgl/WebGLObject.h
|
| @@ -35,6 +35,12 @@ namespace blink {
|
| class WebGraphicsContext3D;
|
| }
|
|
|
| +namespace gpu {
|
| +namespace gles2 {
|
| +class GLES2Interface;
|
| +}
|
| +}
|
| +
|
| namespace blink {
|
|
|
| class WebGLContextGroup;
|
| @@ -53,10 +59,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*);
|
| + void deleteObject(WebGraphicsContext3D*, gpu::gles2::GLES2Interface*);
|
|
|
| void onAttached() { ++m_attachmentCount; }
|
| - void onDetached(WebGraphicsContext3D*);
|
| + void onDetached(WebGraphicsContext3D*, gpu::gles2::GLES2Interface*);
|
|
|
| // This indicates whether the client side issue a delete call already, not
|
| // whether the OpenGL resource is deleted.
|
| @@ -74,7 +80,7 @@ protected:
|
|
|
| // deleteObjectImpl should be only called once to delete the OpenGL resource.
|
| // After calling deleteObjectImpl, hasObject() should return false.
|
| - virtual void deleteObjectImpl(blink::WebGraphicsContext3D*) = 0;
|
| + virtual void deleteObjectImpl(blink::WebGraphicsContext3D*, gpu::gles2::GLES2Interface*) = 0;
|
|
|
| virtual bool hasGroupOrContext() const = 0;
|
|
|
|
|