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

Unified Diff: gpu/skia_bindings/grcontext_for_gles2_interface.h

Issue 2866353002: Add workaround for Mac stencil buffer leak (Closed)
Patch Set: Fix analyze issue Created 3 years, 7 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 | « gpu/skia_bindings/BUILD.gn ('k') | gpu/skia_bindings/grcontext_for_gles2_interface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/skia_bindings/grcontext_for_gles2_interface.h
diff --git a/gpu/skia_bindings/grcontext_for_gles2_interface.h b/gpu/skia_bindings/grcontext_for_gles2_interface.h
index 3813fb47bcd2a0519b4e19729536ebfba06fd309..3771126ce4c796fa2b0b6f633ed99e033770c82f 100644
--- a/gpu/skia_bindings/grcontext_for_gles2_interface.h
+++ b/gpu/skia_bindings/grcontext_for_gles2_interface.h
@@ -11,6 +11,8 @@
class GrContext;
namespace gpu {
+struct Capabilities;
+
namespace gles2 {
class GLES2Interface;
}
@@ -23,7 +25,8 @@ namespace skia_bindings {
// is alive.
class GrContextForGLES2Interface {
public:
- explicit GrContextForGLES2Interface(gpu::gles2::GLES2Interface* gl);
+ explicit GrContextForGLES2Interface(gpu::gles2::GLES2Interface* gl,
+ const gpu::Capabilities& capabilities);
virtual ~GrContextForGLES2Interface();
GrContext* get() { return gr_context_.get(); }
« no previous file with comments | « gpu/skia_bindings/BUILD.gn ('k') | gpu/skia_bindings/grcontext_for_gles2_interface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698