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

Unified Diff: gpu/blink/webgraphicscontext3d_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
« no previous file with comments | « content/renderer/webgraphicscontext3d_provider_impl.cc ('k') | gpu/blink/webgraphicscontext3d_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/blink/webgraphicscontext3d_impl.h
diff --git a/gpu/blink/webgraphicscontext3d_impl.h b/gpu/blink/webgraphicscontext3d_impl.h
index 91881ba28d7ea6bff3ca11109534d23682a0cd29..ab5ab3a291a9e04dda7c4d552b67788736bda8b2 100644
--- a/gpu/blink/webgraphicscontext3d_impl.h
+++ b/gpu/blink/webgraphicscontext3d_impl.h
@@ -937,9 +937,11 @@ class GPU_BLINK_EXPORT WebGraphicsContext3DImpl
blink::WGC3Dbitfield flags,
blink::WGC3Duint64 timeout) override;
- bool isContextLost() override;
blink::WGC3Denum getGraphicsResetStatusARB() override;
+ // WebGraphicsContext3D implementation.
+ ::gpu::gles2::GLES2Interface* getGLES2Interface() override;
+
::gpu::gles2::GLES2Interface* GetGLInterface() {
return gl_;
}
@@ -959,9 +961,7 @@ class GPU_BLINK_EXPORT WebGraphicsContext3DImpl
getErrorMessageCallback();
virtual void OnErrorMessage(const std::string& message, int id);
- void setGLInterface(::gpu::gles2::GLES2Interface* gl) {
- gl_ = gl;
- }
+ void SetGLInterface(::gpu::gles2::GLES2Interface* gl) { gl_ = gl; }
bool initialized_;
bool initialize_failed_;
« no previous file with comments | « content/renderer/webgraphicscontext3d_provider_impl.cc ('k') | gpu/blink/webgraphicscontext3d_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698