Age | Commit message (Collapse) | Author |
|
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
|
|
|
|
|
|
plus some general fixes
|
|
|
|
|
|
Also, set a pitch for rectangles only.
|
|
|
|
Call the ctx->Driver.ChooseTextureFormat() function from core Mesa's
_mesa_[Copy]TexImage functions instead of in the driver functions.
One less thing for drivers to do.
|
|
|
|
|
|
|
|
And fix incorrect first parameter.
|
|
|
|
Use equivalent _mesa_format_row_stride() function instead.
|
|
|
|
|
|
|
|
It's really just another define. No need for its own header.
|
|
|
|
|
|
|
|
|
|
Implement Keith's suggestion of doing most of the sampling with 16x8
and 8x16 AoS, and only doing the conversion to floating point SoA at
the very last step.
Improves gloss performance by 10%.
|
|
|
|
|
|
|
|
|
|
|
|
register bitwidth.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Mipmaps not tested. Also, I am not sure why piglit/texturing/tex3d needs
to have color tolerance +-1 to pass. The classic Mesa driver doesn't
need that.
|
|
Use _mesa_format_image_size() instead.
|
|
It always just called _mesa_compressed_texture_size() anyway.
|
|
Replace calls to ctx->Driver.CompressedTextureSize with calls to
_mesa_format_image_size. The former always called the later.
|
|
|
|
_mesa_compressed_row_stride() can go away soon.
_mesa_compressed_image_address() can be generalized and moved to formats.c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|