summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2011-04-14 23:36:51 +0200
committerRoland Scheidegger <[email protected]>2011-05-20 01:43:40 +0200
commitbe0a2f62f3a5bc6f05c3c7c6b674f2688aee031d (patch)
tree8642e9aa4dff67c48ec7de1f6d2dee032e320386 /Makefile
parent339544f4bbef9be1b4b3465f28482b9699a99692 (diff)
mesa: handle some srgb cases in the fast path in _mesa_get_teximage
Previously, always did unorm8->float/nonlinear-to-linear conversion (using lookup table), then convert back to nonlinear (using the expensive math func pow among others), and finally convert back to int (assuming caller wants unorm8), because the float texture fetch function is used for getting the actual texel values. This should probably all be changed at some point, but for now simply enable the memcpy path also for srgb formats (but if for instance swizzling is required, still the whole conversion will be done).
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions