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

Unified Diff: webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc

Issue 7205012: RendererGLContext supports reparenting a GL context. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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: webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc
===================================================================
--- webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc (revision 89700)
+++ webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc (working copy)
@@ -588,24 +588,17 @@
::gpu::gles2::DisallowedExtensions(),
allowed_extensions,
attribs,
- NULL,
- 0,
share_group.get())) {
LOG(ERROR) << "Could not initialize GpuScheduler.";
command_buffer_.reset();
}
}
} else {
- GpuScheduler* parent_scheduler =
- parent_.get() ? parent_->gpu_scheduler_ : NULL;
-
if (!gpu_scheduler_->Initialize(render_surface,
size,
::gpu::gles2::DisallowedExtensions(),
allowed_extensions,
attribs,
- parent_scheduler,
- parent_texture_id_,
share_group.get())) {
LOG(ERROR) << "Could not initialize offscreen GpuScheduler.";
command_buffer_.reset();

Powered by Google App Engine
This is Rietveld 408576698