summaryrefslogtreecommitdiffstats
path: root/gpu/gles2_conform_support
diff options
context:
space:
mode:
authorgman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-29 01:51:40 +0000
committergman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-29 01:51:40 +0000
commit217f0ab8f8e255079c4d046175fdcf2413f512c9 (patch)
tree56925f229cecf1a2dd6f3e7e742db8f8d6730ba1 /gpu/gles2_conform_support
parentab71b35c619a573703b95d1cef5ffb408ab895be (diff)
downloadchromium_src-217f0ab8f8e255079c4d046175fdcf2413f512c9.zip
chromium_src-217f0ab8f8e255079c4d046175fdcf2413f512c9.tar.gz
chromium_src-217f0ab8f8e255079c4d046175fdcf2413f512c9.tar.bz2
Add ShareGroup to GLES2Implemenation
The idea is if you don't pass a ShareGroup it will make one. Otherwise you can do new_gles2_impl = new GLES2Implemetation( ..., some_other_gles2_impl_in_same_process->share_group(), ...); TEST=unit test BUG=120297 TBR=nfullgar@google.com,brettw@chromium.org Review URL: http://codereview.chromium.org/9837124 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129555 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/gles2_conform_support')
-rw-r--r--gpu/gles2_conform_support/egl/display.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gpu/gles2_conform_support/egl/display.cc b/gpu/gles2_conform_support/egl/display.cc
index a5b3f14..d3dbc08 100644
--- a/gpu/gles2_conform_support/egl/display.cc
+++ b/gpu/gles2_conform_support/egl/display.cc
@@ -176,6 +176,7 @@ EGLContext Display::CreateContext(EGLConfig config,
bool share_resources = share_ctx != NULL;
context_.reset(new gpu::gles2::GLES2Implementation(
gles2_cmd_helper_.get(),
+ NULL,
transfer_buffer_.get(),
share_resources,
true));