diff options
author | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-22 03:44:12 +0000 |
---|---|---|
committer | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-22 03:44:12 +0000 |
commit | 1b0a675bff2a40e3ffb8b7d80f37ef305eacdae9 (patch) | |
tree | d59268068108d4ea324f849750461c575d5f71f3 /.DEPS.git | |
parent | 3f1201a57fb69c1dda8d161bce704b86573665c2 (diff) | |
download | chromium_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