diff options
author | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-20 19:58:24 +0000 |
---|---|---|
committer | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-20 19:58:24 +0000 |
commit | 3c644d83d23318c6ba120e2303816369045f5964 (patch) | |
tree | 3f0a3b02ce1a4fd7cf8b68d3bb033be8ca8129dd /gpu/demos | |
parent | 35c14eeb34ca5f21b70a388e868ff3968545812f (diff) | |
download | chromium_src-3c644d83d23318c6ba120e2303816369045f5964.zip chromium_src-3c644d83d23318c6ba120e2303816369045f5964.tar.gz chromium_src-3c644d83d23318c6ba120e2303816369045f5964.tar.bz2 |
RendererGLContext supports reparenting a GL context.
This will allow the parenting of offscreen canvas contexts to be deferred until the compositor's view context exists, which in some cases needs to be deferred until the window is asynchronously created by the browser's UI thread. An example is JavaScript opening a popup window and then immediately using canvas to attempt to render to it.
This patch alone does not fix the bug.
BUG=80703
Review URL: http://codereview.chromium.org/7205012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89715 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/demos')
-rw-r--r-- | gpu/demos/framework/window.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gpu/demos/framework/window.cc b/gpu/demos/framework/window.cc index 01ce0d8..30ba86c 100644 --- a/gpu/demos/framework/window.cc +++ b/gpu/demos/framework/window.cc @@ -64,8 +64,6 @@ bool Window::CreateRenderContext(gfx::PluginWindowHandle hwnd) { if (!gpu_scheduler->Initialize(hwnd, gfx::Size(), gpu::gles2::DisallowedExtensions(), NULL, std::vector<int32>(), - NULL, - 0, NULL)) { return false; } |