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

Unified Diff: content/renderer/webgraphicscontext3d_command_buffer_impl.h

Issue 7056020: Make WebGraphics3DCommandBufferImpl use GLES2Implemenation directly. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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
Index: content/renderer/webgraphicscontext3d_command_buffer_impl.h
diff --git a/content/renderer/webgraphicscontext3d_command_buffer_impl.h b/content/renderer/webgraphicscontext3d_command_buffer_impl.h
index 82441c3839fb6c354eab25752e25c7df7251e4b3..42a18a80cdd1fe3b6684eb994cb43e165805c814 100644
--- a/content/renderer/webgraphicscontext3d_command_buffer_impl.h
+++ b/content/renderer/webgraphicscontext3d_command_buffer_impl.h
@@ -434,10 +434,14 @@ class WebGraphicsContext3DCommandBufferImpl
private:
// SwapBuffers callback.
void OnSwapBuffersComplete();
+ void localMakeContextCurrent();
virtual void OnContextLost();
// The context we use for OpenGL rendering.
RendererGLContext* context_;
+ // The GLES2Implementation we use for OpenGL R
Ken Russell (switch to Gerrit) 2011/05/21 01:09:21 Is the "R" at the end a typo?
greggman 2011/05/21 01:22:49 Done.
+ gpu::gles2::GLES2Implementation* gles2_implementation_;
+
// If rendering directly to WebView, weak pointer to it.
WebKit::WebView* web_view_;
#if defined(OS_MACOSX)

Powered by Google App Engine
This is Rietveld 408576698