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

Unified Diff: gpu/demos/framework/window.cc

Issue 10796096: Add tracing of all memory allocated in all contexts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add global memory usage tracking Created 8 years, 5 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/demos/framework/window.cc
diff --git a/gpu/demos/framework/window.cc b/gpu/demos/framework/window.cc
index d30e42733fef8fe0008d535e218b8a2c6e2f42d0..ff485e9a33d084ff203fd537e4439c1a7b25a01b 100644
--- a/gpu/demos/framework/window.cc
+++ b/gpu/demos/framework/window.cc
@@ -77,7 +77,9 @@ bool Window::CreateRenderContext(gfx::AcceleratedWidget hwnd) {
return false;
}
- gpu::gles2::ContextGroup::Ref group(new gpu::gles2::ContextGroup(NULL, true));
+ gpu::gles2::ContextGroup::Ref group(new gpu::gles2::ContextGroup(NULL,
+ NULL,
+ true));
decoder_.reset(gpu::gles2::GLES2Decoder::Create(group.get()));
if (!decoder_.get())

Powered by Google App Engine
This is Rietveld 408576698