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

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: 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/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;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698