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

Unified Diff: gpu/command_buffer/service/gpu_scheduler.h

Issue 7021014: GLContext no longer holds a pointer to a GLSurface. (Closed) Base URL: svn://chrome-svn/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: gpu/command_buffer/service/gpu_scheduler.h
===================================================================
--- gpu/command_buffer/service/gpu_scheduler.h (revision 86168)
+++ gpu/command_buffer/service/gpu_scheduler.h (working copy)
@@ -27,6 +27,7 @@
namespace gfx {
class GLContext;
+class GLSurface;
}
namespace gpu {
@@ -136,8 +137,9 @@
gles2::GLES2Decoder* decoder() const { return decoder_.get(); }
protected:
- // Perform common initialization. Takes ownership of GLContext.
+ // Perform common initialization. Takes ownership of GLSurface and GLContext.
bool InitializeCommon(
+ gfx::GLSurface* surface,
gfx::GLContext* context,
const gfx::Size& size,
const gles2::DisallowedExtensions& disallowed_extensions,

Powered by Google App Engine
This is Rietveld 408576698