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

Unified Diff: gpu/gles2_conform_support/egl/display.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/demos/framework/window.cc ('k') | ppapi/proxy/ppb_context_3d_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/gles2_conform_support/egl/display.cc
diff --git a/gpu/gles2_conform_support/egl/display.cc b/gpu/gles2_conform_support/egl/display.cc
index 05603a0d558e2faa77abc9c5957db1f90697d125..7b5d26bbba4e3c25b8e93bd05c5f868376c7ee82 100644
--- a/gpu/gles2_conform_support/egl/display.cc
+++ b/gpu/gles2_conform_support/egl/display.cc
@@ -108,7 +108,7 @@ EGLSurface Display::CreateWindowSurface(EGLConfig config,
using gpu::GpuScheduler;
std::vector<int32> attribs;
- gpu::gles2::ContextGroup::Ref group(new gpu::gles2::ContextGroup());
+ gpu::gles2::ContextGroup::Ref group(new gpu::gles2::ContextGroup(true));
scoped_ptr<GpuScheduler> gpu_scheduler(
GpuScheduler::Create(command_buffer_.get(),
NULL,
@@ -160,7 +160,8 @@ EGLContext Display::CreateContext(EGLConfig config,
buffer.size,
buffer.ptr,
transfer_buffer_id_,
- share_resources));
+ share_resources,
+ true));
context_->EnableFeatureCHROMIUM(
"pepper3d_allow_buffers_on_multiple_targets");
« no previous file with comments | « gpu/demos/framework/window.cc ('k') | ppapi/proxy/ppb_context_3d_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698