From a99d82fff6f153284981a7c44b2f9303de31e012 Mon Sep 17 00:00:00 2001 From: "jamesr@chromium.org" Date: Sun, 8 Dec 2013 22:14:11 +0000 Subject: Use GLES2Interface for shaders and programs This uses the gpu::gles2::GLES2Interface type in the gl renderer's shader and program code instead of WebGraphicsContext3D. For production code, the GLES2Interface is a direct interface to the real command buffer in use. For cc_unittests, the GLES2Interface is a stub that wraps TestWebGraphicsContext3D so we can continue to use the same stubs/mocks for now. Once we port all of the production code over to using GLES2Interface we should port the test context classes over to the new base interface. BUG=181120 Review URL: https://codereview.chromium.org/93433004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239405 0039d316-1c4b-4281-b951-d872f2087c98 --- cc/output/context_provider.h | 1 + 1 file changed, 1 insertion(+) (limited to 'cc/output/context_provider.h') diff --git a/cc/output/context_provider.h b/cc/output/context_provider.h index 09b1835..d615d17 100644 --- a/cc/output/context_provider.h +++ b/cc/output/context_provider.h @@ -11,6 +11,7 @@ #include "gpu/command_buffer/common/capabilities.h" class GrContext; + namespace blink { class WebGraphicsContext3D; } namespace gpu { class ContextSupport; -- cgit v1.1