Brian Paul
54bb414e00
mesa: clean-up, simplify compressed texture size checking
2009-10-25 16:59:08 -06:00
José Fonseca
3a49497f10
gallium: Move enum pipe_error into p_defines.h.
...
It's really just another define. No need for its own header.
2009-10-25 21:11:54 +00:00
José Fonseca
88e08d7c6d
llvmpipe: Human friendlier sampler state dump.
2009-10-25 12:27:14 +00:00
José Fonseca
47f0529806
util: Human readable output of texture states.
2009-10-25 12:26:39 +00:00
José Fonseca
5fcb75758c
llvmpipe: Dump the sampler state of the shader key.
2009-10-25 11:49:01 +00:00
José Fonseca
e4c5e01c10
llvmpipe: Immediate multiplication.
2009-10-25 11:48:17 +00:00
José Fonseca
e1342f871b
llvmpipe: Fast path for sampling rgba8 textures with linear filtering.
...
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%.
2009-10-25 09:53:49 +00:00
José Fonseca
f3893ca9c8
llvmpipe: Make lerping work for 8.8 fixed point values.
2009-10-25 09:53:49 +00:00
José Fonseca
bfd7a9ca96
llvmpipe: New module to help make assertions about formats.
2009-10-25 09:53:49 +00:00
José Fonseca
47d241be9f
llvmpipe: New function to unpack rgba8 formats into 4 x u8n AoS.
2009-10-25 09:53:49 +00:00
José Fonseca
abff4214ef
llvmpipe: Split the format swizzling step from the unpacking.
2009-10-25 09:53:48 +00:00
José Fonseca
8d80fd3f55
llvmpipe: Allow different signs when unpacking.
2009-10-25 09:53:48 +00:00
José Fonseca
b544ab7299
llvmpipe: Add inlines to quickly generate types matching the native SIMD register bitwidth.
2009-10-25 09:53:48 +00:00
José Fonseca
a55b305c5b
llvmpipe: Merge lp_build_load_rgba_soa into lp_build_sample_texel.
2009-10-25 09:53:48 +00:00
José Fonseca
bc93e9181c
llvmpipe: Factor our pixel offset computation.
2009-10-25 09:53:48 +00:00
José Fonseca
fedd054d53
llvmpipe: Share testing infrastructure with lp_test_format.
2009-10-25 09:53:48 +00:00
José Fonseca
17afb6dd69
llvmpipe: Eliminate lp_build_store_rgba_aos.
2009-10-25 09:53:48 +00:00
José Fonseca
232b586464
llvmpipe: Eliminate lp_build_load_rgba_aos.
2009-10-25 09:53:48 +00:00
José Fonseca
b4f6907b8d
llvmpipe: Move a few format/sampling functions into better space.
2009-10-25 09:53:47 +00:00
Marek Olšák
c2df759cd7
r300g: fix redefining mipmaps and fetching from them
2009-10-25 10:16:59 +01:00
Marek Olšák
118dfe1688
r300g: added support for 3D textures
...
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.
2009-10-25 08:06:19 +01:00
Brian Paul
d6ee86c77a
mesa: remove _mesa_compressed_texture_size()
...
Use _mesa_format_image_size() instead.
2009-10-24 16:50:00 -06:00
Brian Paul
4c00981b22
mesa: remove ctx->Driver.CompressedTextureSize() hook
...
It always just called _mesa_compressed_texture_size() anyway.
2009-10-24 16:34:25 -06:00
Brian Paul
35efc6a1b3
mesa: change compressed texture size calls
...
Replace calls to ctx->Driver.CompressedTextureSize with calls to
_mesa_format_image_size. The former always called the later.
2009-10-24 16:28:27 -06:00
Brian Paul
bea245ac2f
mesa: minor clean-ups in _mesa_store_compressed_texsubimage2d()
2009-10-24 12:04:09 -06:00
Brian Paul
5c82827696
mesa: simplify _mesa_compressed_row_stride(), _mesa_compressed_image_address()
...
_mesa_compressed_row_stride() can go away soon.
_mesa_compressed_image_address() can be generalized and moved to formats.c
2009-10-24 11:52:36 -06:00
Brian Paul
1ad9671db7
mesa: s/GLuint/gl_format/
2009-10-24 11:41:25 -06:00
Brian Paul
2c3787f513
mesa: move assertion after declaration
2009-10-24 11:34:27 -06:00
Brian Paul
d255aaf54f
mesa: remove hard-coded block sizes
2009-10-24 11:33:58 -06:00
Brian Paul
7b16c43e43
mesa: added _mesa_get_format_block_size()
2009-10-24 11:33:10 -06:00
Brian Paul
51bc12d623
progs/tests: fix sub texture offsets
2009-10-24 11:08:01 -06:00
Brian Paul
bee6794eb1
mesa: added _mesa_get_format_name()
2009-10-24 08:43:16 -06:00
Brian Paul
eb732b1bbb
mesa: additional comments in format code
2009-10-24 08:41:08 -06:00
Joakim Sindholt
94a63dccdd
r300g: fix scons build yet again
2009-10-24 02:43:21 +02:00
Brian Paul
46a784b7fd
Merge branch 'mesa_7_6_branch'
2009-10-23 18:38:43 -06:00
Brian Paul
26f1ad65b9
mesa: simplify att->CubeMapFace assignment
2009-10-23 18:31:03 -06:00
Brian Paul
346250b190
mesa: refactor, new print_shader_info()
2009-10-23 18:31:03 -06:00
Brian Paul
81a4d34f07
mesa: rework error checking code for glGetCompressedTexImage()
...
Do all error checking in new getcompressedteximage_error_check() func.
Move some additional PBO checks out of the driver fallbacks into the
error checking functions.
2009-10-23 18:31:03 -06:00
Brian Paul
d66965c9a1
mesa: remove misplaced VERBOSE_TEXTURE tests
2009-10-23 18:31:02 -06:00
Brian Paul
9b50ceac03
mesa: more detailed error messages in fbo code
2009-10-23 18:31:02 -06:00
Brian Paul
dc8b139aa2
mesa: remove FBO texture depth/stencil test
...
The texture format should not be checked until validation time since
the format might be changed by a subsequent glTexImage() call.
2009-10-23 18:22:41 -06:00
Zack Rusin
b17c885a8a
st/xorg: fix text with component alpha rendering
2009-10-23 19:39:16 -04:00
Brian Paul
0acb057ad1
mesa: fix broken _mesa_str_checksum()
2009-10-23 16:36:15 -06:00
Eric Anholt
49d402e275
Merge remote branch 'origin/mesa_7_6_branch'
...
Conflicts:
src/mesa/drivers/dri/intel/intel_fbo.c
src/mesa/drivers/dri/intel/intel_mipmap_tree.c
src/mesa/drivers/dri/intel/intel_mipmap_tree.h
src/mesa/drivers/dri/intel/intel_tex_copy.c
src/mesa/drivers/dri/intel/intel_tex_image.c
2009-10-23 15:21:05 -07:00
Eric Anholt
bfd51dc34d
i965: Annotate _NEW_COLOR dependency for brw_update_renderbuffer_surface().
2009-10-23 14:13:57 -07:00
Eric Anholt
2d17dbfb53
intel: Keep track of x,y offsets in miptrees and use them for blitting.
...
By just using offsets, we confused the hardware's tiling calculations,
resulting in failures in miptree validation and blit clears.
Fixes piglit fbo-clearmipmap.
Bug #23552 . (automatic mipmap generation)
2009-10-23 14:12:24 -07:00
Brian Paul
b01937a3c9
progs/tests: print requested/internal format info
2009-10-23 14:52:10 -06:00
Brian Paul
96d7d66dff
docs: document updated GL extension header files
2009-10-23 14:49:47 -06:00
Brian Paul
5c0dc902e7
gl: updated wglext.h to version 17
2009-10-23 14:49:26 -06:00
Brian Paul
559da98c2b
gl: updated glxext.h to version 25
2009-10-23 14:49:26 -06:00