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

Unified Diff: gpu/command_buffer/client/gles2_demo.cc

Issue 7253052: Execute all GL commands up to the put offset reported by a flush. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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/command_buffer/client/gles2_demo.cc
===================================================================
--- gpu/command_buffer/client/gles2_demo.cc (revision 91774)
+++ gpu/command_buffer/client/gles2_demo.cc (working copy)
@@ -56,9 +56,10 @@
if (!command_buffer->Initialize(size))
return NULL;
- GpuScheduler* gpu_scheduler = new GpuScheduler(command_buffer.get(),
- NULL,
- NULL);
+ GpuScheduler* gpu_scheduler = new GpuScheduler(
+ command_buffer.get(),
+ static_cast<gpu::SurfaceManager*>(NULL),
+ NULL);
if (!gpu_scheduler->Initialize(reinterpret_cast<HWND>(hwnd),
gfx::Size(),
gpu::gles2::DisallowedExtensions(),

Powered by Google App Engine
This is Rietveld 408576698