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

Unified Diff: cc/output/gl_renderer.h

Issue 93433004: Use GLES2Interface for shaders and programs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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: cc/output/gl_renderer.h
diff --git a/cc/output/gl_renderer.h b/cc/output/gl_renderer.h
index 8d95262bb7cf0a35faecb789f85da4b7f242ef76..d98836ebe4f793c44f4a7fbb3d10bbb3c812dd83 100644
--- a/cc/output/gl_renderer.h
+++ b/cc/output/gl_renderer.h
@@ -25,9 +25,14 @@ class SkBitmap;
namespace blink { class WebGraphicsContext3D; }
+namespace gpu {
+namespace gles2 {
+class GLES2Interface;
+}
+}
+
namespace cc {
-class ContextProvider;
class GLRendererShaderTest;
class OutputSurface;
class PictureDrawQuad;
@@ -404,6 +409,7 @@ class CC_EXPORT GLRenderer : public DirectRenderer {
SolidColorProgramAA solid_color_program_aa_;
blink::WebGraphicsContext3D* context_;
+ gpu::gles2::GLES2Interface* gl_;
gpu::ContextSupport* context_support_;
skia::RefPtr<GrContext> gr_context_;

Powered by Google App Engine
This is Rietveld 408576698