From 7196e011d46f597b406e43a1978fa9d846e747c4 Mon Sep 17 00:00:00 2001 From: "apatrick@chromium.org" Date: Thu, 16 Jun 2011 20:54:53 +0000 Subject: Automatically put all GL contexts associated with a particular GPU channel (and renderer process) in the same share group. This is work towards allowing offscreen canvas contexts to be allocated before compositor view contexts are created. This is a problem because a canvas might be created before the window it will be displayed in exists. This does not fix the bug on its own. BUG=80703 Review URL: http://codereview.chromium.org/7104148 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89395 0039d316-1c4b-4281-b951-d872f2087c98 --- gpu/demos/framework/window.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gpu/demos') diff --git a/gpu/demos/framework/window.cc b/gpu/demos/framework/window.cc index 4cbfbf6..01ce0d8 100644 --- a/gpu/demos/framework/window.cc +++ b/gpu/demos/framework/window.cc @@ -64,7 +64,9 @@ bool Window::CreateRenderContext(gfx::PluginWindowHandle hwnd) { if (!gpu_scheduler->Initialize(hwnd, gfx::Size(), gpu::gles2::DisallowedExtensions(), NULL, std::vector(), - NULL, 0)) { + NULL, + 0, + NULL)) { return false; } -- cgit v1.1