summaryrefslogtreecommitdiffstats
path: root/samples/training
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2013-04-05 11:17:55 -0700
committerRomain Guy <romainguy@google.com>2013-04-05 14:17:17 -0700
commitb48800428906ae455c2b63acacd44e390e1fee49 (patch)
treebc0de8c6f51eb5c9cac2d5fe1d5a41fede6d727a /samples/training
parent80fdc9624e6d53a78031bf99d34e7c01d53ad66e (diff)
downloadframeworks_base-b48800428906ae455c2b63acacd44e390e1fee49.zip
frameworks_base-b48800428906ae455c2b63acacd44e390e1fee49.tar.gz
frameworks_base-b48800428906ae455c2b63acacd44e390e1fee49.tar.bz2
Use float textures to render gradients when possible
Float textures offer better precision for dithering. In addition this change removes two uniforms from gradient shaders. These uniforms were used to dither gradients but their value is a build time constant. Instead we hardcode the value directly in the shader source at compile time. Change-Id: I05e9fd3eef93771843bbd91b453274452dfaefee
Diffstat (limited to 'samples/training')
0 files changed, 0 insertions, 0 deletions