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

Unified Diff: webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc

Issue 7762009: Manually merging trunk revs 95836 and 96904 to 835 branch (second attempt) (Closed) Base URL: svn://svn.chromium.org/chrome/branches/835/src/
Patch Set: 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 | « ppapi/shared_impl/graphics_3d_impl.cc ('k') | webkit/plugins/ppapi/ppb_context_3d_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc
===================================================================
--- webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc (revision 98483)
+++ webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc (working copy)
@@ -466,12 +466,14 @@
if (!command_buffer_->Initialize(kCommandBufferSize))
return false;
+ // TODO(gman): This needs to be true if this is Pepper.
+ bool bind_generates_resource = false;
gpu_scheduler_ = GpuScheduler::Create(
command_buffer_.get(),
NULL,
context_group ?
context_group->gpu_scheduler_->decoder()->GetContextGroup() :
- new ::gpu::gles2::ContextGroup);
+ new ::gpu::gles2::ContextGroup(bind_generates_resource));
if (onscreen) {
if (render_surface == gfx::kNullPluginWindow) {
@@ -545,7 +547,8 @@
transfer_buffer.size,
transfer_buffer.ptr,
transfer_buffer_id_,
- true);
+ true,
+ false);
size_ = size;
« no previous file with comments | « ppapi/shared_impl/graphics_3d_impl.cc ('k') | webkit/plugins/ppapi/ppb_context_3d_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698