summaryrefslogtreecommitdiffstats
path: root/.DEPS.git
diff options
context:
space:
mode:
authorgman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-22 03:44:12 +0000
committergman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-22 03:44:12 +0000
commit1b0a675bff2a40e3ffb8b7d80f37ef305eacdae9 (patch)
treed59268068108d4ea324f849750461c575d5f71f3 /.DEPS.git
parent3f1201a57fb69c1dda8d161bce704b86573665c2 (diff)
downloadchromium_src-1b0a675bff2a40e3ffb8b7d80f37ef305eacdae9.zip
chromium_src-1b0a675bff2a40e3ffb8b7d80f37ef305eacdae9.tar.gz
chromium_src-1b0a675bff2a40e3ffb8b7d80f37ef305eacdae9.tar.bz2
Map uniform locations to fake locations.
The issue was there's was a vector of location_info_ that mapped real locations to intern info about the corresponding uniform. It assumed locations would be small numbers but it turns out some drivers use the upper 16 bits of a 32 bit location for the location of array elements. We need lookup to be fast so if we make up fake locations for the client then when the client uses a location we can quickly index into our uniform info and get the real location. TEST=unit tests, ran OpenGL ES 2.0 conformance tests and WebGL tests BUG=112230 R=apatrick@chromium.org Review URL: http://codereview.chromium.org/9372080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122964 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to '.DEPS.git')
0 files changed, 0 insertions, 0 deletions