diff options
author | oetuaho@nvidia.com <oetuaho@nvidia.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-28 10:38:52 +0000 |
---|---|---|
committer | oetuaho@nvidia.com <oetuaho@nvidia.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-28 10:38:52 +0000 |
commit | 61641f5ad2b69250ac5fafdca9f4c914b32d3b1b (patch) | |
tree | c9aa13e6c0b0815616b4bf2c85889ef214e639f8 /webkit | |
parent | 39438d7d18058d6df829b450d8f9bacfd0db931a (diff) | |
download | chromium_src-61641f5ad2b69250ac5fafdca9f4c914b32d3b1b.zip chromium_src-61641f5ad2b69250ac5fafdca9f4c914b32d3b1b.tar.gz chromium_src-61641f5ad2b69250ac5fafdca9f4c914b32d3b1b.tar.bz2 |
Use webGL context creation attribute to activate GLSL validation
Previously, GLSL validation was implicitly enabled on contexts that had
the noExtensions flag on. Use the webGL flag instead, making the code
less fragile.
BUG=397183
TEST=WebGL conformance tests
Review URL: https://codereview.chromium.org/421513002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285887 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc b/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc index 5f3ae33..5ad1d77 100644 --- a/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc +++ b/webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc @@ -105,7 +105,7 @@ WebGraphicsContext3DInProcessCommandBufferImpl:: bool is_offscreen, gfx::AcceleratedWidget window) : share_resources_(attributes.shareResources), - webgl_context_(attributes.noExtensions), + webgl_context_(attributes.webGL), is_offscreen_(is_offscreen), window_(window), context_(context.Pass()) { |