diff options
author | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-02 19:45:52 +0000 |
---|---|---|
committer | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-02 19:45:52 +0000 |
commit | aa766612f25b5211ac65f40a19afe09d45c07c9a (patch) | |
tree | e404e96c940225c31b759df1227e475e4133a689 /webkit | |
parent | 180096e984be38d99d04f0036408a3ffd077210e (diff) | |
download | chromium_src-aa766612f25b5211ac65f40a19afe09d45c07c9a.zip chromium_src-aa766612f25b5211ac65f40a19afe09d45c07c9a.tar.gz chromium_src-aa766612f25b5211ac65f40a19afe09d45c07c9a.tar.bz2 |
Remove support for switching draw surfaces on a context.This was originally intended to share canvas "back buffers" between the GPU process and the browser process. The plan is to issue all the GL calls in the GPU process now, with the browser process just doing the final present. Removing the redundant code.
Review URL: http://codereview.chromium.org/7701021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99424 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc b/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc index 0c862fe..40a5957 100644 --- a/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc +++ b/webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc @@ -436,7 +436,6 @@ bool GLInProcessContext::Initialize(bool onscreen, 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(bind_generates_resource)); |