diff options
author | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-09 08:52:40 +0000 |
---|---|---|
committer | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-09 08:52:40 +0000 |
commit | 9353a3fb8e06707142d5b72f7bbd31911ff24d09 (patch) | |
tree | 3808efd39627eb6d9f6b1aa0ab0a2f4d56bd6419 /webkit | |
parent | ae78f4a223d043b10dd9b5eee30cf8d0b6d6230e (diff) | |
download | chromium_src-9353a3fb8e06707142d5b72f7bbd31911ff24d09.zip chromium_src-9353a3fb8e06707142d5b72f7bbd31911ff24d09.tar.gz chromium_src-9353a3fb8e06707142d5b72f7bbd31911ff24d09.tar.bz2 |
Release current context after initializing a WebGraphicsContext3DInProcessImpl
This is so that it can be used on another thread. WebKit will make it current when it needs to.
BUG=None
TEST=WebKit compositor in browser process
Review URL: http://codereview.chromium.org/8201020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104671 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/gpu/webgraphicscontext3d_in_process_impl.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/gpu/webgraphicscontext3d_in_process_impl.cc b/webkit/gpu/webgraphicscontext3d_in_process_impl.cc index 909cabe..ffcd46d 100644 --- a/webkit/gpu/webgraphicscontext3d_in_process_impl.cc +++ b/webkit/gpu/webgraphicscontext3d_in_process_impl.cc @@ -220,6 +220,7 @@ bool WebGraphicsContext3DInProcessImpl::initialize( glGenFramebuffersEXT(1, ©_texture_to_parent_texture_fbo_); initialized_ = true; + gl_context_->ReleaseCurrent(gl_surface_.get()); return true; } |