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

Unified Diff: content/renderer/webgraphicscontext3d_provider_impl.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: deps-for-tests 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: content/renderer/webgraphicscontext3d_provider_impl.h
diff --git a/content/renderer/webgraphicscontext3d_provider_impl.h b/content/renderer/webgraphicscontext3d_provider_impl.h
index 769dd5685c579e472c3f1aaa1bbdf804dba61899..de155bd1e905be306c490fdfd4d8a0ece3c0f863 100644
--- a/content/renderer/webgraphicscontext3d_provider_impl.h
+++ b/content/renderer/webgraphicscontext3d_provider_impl.h
@@ -14,6 +14,12 @@ namespace cc_blink {
class ContextProviderWebContext;
}
+namespace gpu {
+namespace gles2 {
+class GLES2Interface;
+}
+}
+
namespace content {
class CONTENT_EXPORT WebGraphicsContext3DProviderImpl
@@ -25,6 +31,7 @@ class CONTENT_EXPORT WebGraphicsContext3DProviderImpl
// WebGraphicsContext3DProvider implementation.
blink::WebGraphicsContext3D* context3d() override;
+ gpu::gles2::GLES2Interface* contextGL() override;
GrContext* grContext() override;
private:

Powered by Google App Engine
This is Rietveld 408576698