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

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

Issue 1809553002: blink: Remove unused or rarely used methods from WebGraphicsContext3D (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wgc3d
Patch Set: wgc3d-unused: WebMediaPlayerAndroid::copyVideoTextureToPlatformTexture 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/WebGLRenderingContextBase.h
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h
index a240ffc78484d16714467f46e8b4c17d8dc03baa..1df44f055576f6ce68b768c595dd33c798cd93e0 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h
@@ -56,6 +56,12 @@ namespace blink {
class WebLayer;
}
+namespace gpu {
+namespace gles2 {
+class GLES2Interface;
+}
+}
+
namespace blink {
class ANGLEInstancedArrays;
@@ -378,6 +384,7 @@ public:
void loseContextImpl(LostContextMode, AutoRecoveryMethod);
WebGraphicsContext3D* webContext() const { return drawingBuffer()->context(); }
+ gpu::gles2::GLES2Interface* contextGL() const { return drawingBuffer()->contextGL(); }
WebGLContextGroup* contextGroup() const { return m_contextGroup.get(); }
Extensions3DUtil* extensionsUtil();

Powered by Google App Engine
This is Rietveld 408576698