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

Unified Diff: third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h

Issue 1790753002: Expose GLES2Interface to blink, and delete isContextLost() from WGC3D. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: wgc3d: add platform build deps 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
« no previous file with comments | « third_party/WebKit/public/platform/WebGraphicsContext3D.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h
diff --git a/third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h b/third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h
index c71432d7c43a1ec4c0b998967d1cbbfbf4f37cd5..e7f987c39d54ac1121a6d28f6fe5b7e66272815f 100644
--- a/third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h
+++ b/third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h
@@ -35,6 +35,12 @@
class GrContext;
+namespace gpu {
+namespace gles2 {
+class GLES2Interface;
+}
+}
+
namespace blink {
class WebGraphicsContext3D;
@@ -45,6 +51,7 @@ public:
virtual WebGraphicsContext3D* context3d() = 0;
virtual GrContext* grContext() = 0;
+ virtual gpu::gles2::GLES2Interface* getGLInterface() = 0;
esprehn 2016/03/15 20:45:17 this could just be glInterface() ?
danakj 2016/03/15 20:47:12 Ya I think it could.
danakj 2016/03/15 20:54:29 I guess this is weird and I didn't do it originall
danakj 2016/03/15 21:22:06 Renamed it to contextGL() to match the naming used
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/public/platform/WebGraphicsContext3D.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698