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

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

Issue 7633060: Add option to not generate resources on bind in OpenGL ES (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nacl fix Created 9 years, 4 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
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/gles2_implementation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/client/gles2_demo.cc
diff --git a/gpu/command_buffer/client/gles2_demo.cc b/gpu/command_buffer/client/gles2_demo.cc
index 974f18717c345c31593b5dc14e1b758f92a207d6..66e90266190914aa67c9b1982331062cca6a053b 100644
--- a/gpu/command_buffer/client/gles2_demo.cc
+++ b/gpu/command_buffer/client/gles2_demo.cc
@@ -64,7 +64,7 @@ bool GLES2Demo::Setup(void* hwnd, int32 size) {
if (!command_buffer->Initialize(size))
return NULL;
- gpu::gles2::ContextGroup::Ref group(new gpu::gles2::ContextGroup());
+ gpu::gles2::ContextGroup::Ref group(new gpu::gles2::ContextGroup(true));
GpuScheduler* gpu_scheduler = GpuScheduler::Create(command_buffer.get(),
NULL,
group.get());
@@ -101,7 +101,8 @@ bool GLES2Demo::Setup(void* hwnd, int32 size) {
transfer_buffer.size,
transfer_buffer.ptr,
transfer_buffer_id,
- false));
+ false,
+ true));
GLFromCPPInit();
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/gles2_implementation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698