Commit graph

26563 commits

Author SHA1 Message Date
Brian Paul
749e50442a mesa: fix render buffer _BaseFormat assignment 2009-09-27 21:14:43 -06:00
Brian Paul
ef089604a9 mesa: use texture format functions 2009-09-27 21:14:12 -06:00
Brian Paul
4fc344790d mesa: update comments 2009-09-27 21:13:46 -06:00
Brian Paul
e987ea9d21 mesa: use more mesa format functions 2009-09-27 21:07:57 -06:00
Brian Paul
5767a677a0 mesa: fix GL_TEXTURE_LUMINANCE_SIZE query 2009-09-27 20:59:28 -06:00
Brian Paul
a2b663fe38 mesa: use more mesa format functions 2009-09-27 20:58:05 -06:00
Brian Paul
af0adb5852 mesa: use more mesa format functions 2009-09-27 20:56:04 -06:00
Brian Paul
5cf5d4be21 mesa: use more format helper functions 2009-09-27 20:51:18 -06:00
Brian Paul
5978cbdf77 mesa: code movement 2009-09-27 20:40:53 -06:00
Brian Paul
ddffe4546a drivers: use more mesa format functions 2009-09-27 20:40:35 -06:00
Brian Paul
9fbb8884f0 mesa/drivers: use _mesa_get_format_bytes() 2009-09-27 20:24:59 -06:00
Brian Paul
e0bc4533eb mesa/drivers: use _mesa_get_format_bytes() 2009-09-27 20:07:41 -06:00
Brian Paul
b58bc12ed4 via: use mesa texture format helper functions 2009-09-27 19:58:18 -06:00
Brian Paul
21db8959c1 glide: use _mesa_get_format_bytes() 2009-09-27 19:53:54 -06:00
Brian Paul
2de7683280 mesa: use _mesa_get_format_base_format() 2009-09-27 19:51:45 -06:00
Brian Paul
db8aca3a39 mesa: use _mesa_get_format_bytes() 2009-09-27 19:49:51 -06:00
Brian Paul
5ab5f16919 mesa: added _mesa_get_format_datatype() 2009-09-27 19:42:36 -06:00
Brian Paul
b64d478a5b mesa: use _mesa_get_format_bits() 2009-09-27 19:38:21 -06:00
Brian Paul
c28d78f832 mesa: added _mesa_get_format_bits() 2009-09-27 19:07:44 -06:00
Brian Paul
a608257a02 mesa: remove unused gl_texture_format fields 2009-09-27 18:57:02 -06:00
Brian Paul
e8eed5003b mesa: added MESA_FORMAT_NONE 2009-09-27 18:53:22 -06:00
Brian Paul
cccdc43fa9 mesa: move StoreTexImageFunc to texstore.h 2009-09-27 18:50:04 -06:00
Brian Paul
27e201e9c4 mesa: rework null texel fetch/store funcs 2009-09-27 18:49:14 -06:00
Brian Paul
05e73cc8e2 mesa: replace function pointer types with void *
These fields are no longer used and will be removed soon.
2009-09-27 18:39:52 -06:00
Brian Paul
adce34e23b st/mesa: use _mesa_get_texstore_func() 2009-09-27 18:39:17 -06:00
Brian Paul
f782f90c45 mesa: use _mesa_get_texstore_func() 2009-09-27 18:38:50 -06:00
Brian Paul
d73cd70316 glide: use _mesa_get_texstore_func() 2009-09-27 18:34:12 -06:00
Brian Paul
9525b92efb mesa: NULL-out unused texformat field initializers 2009-09-27 18:28:48 -06:00
Brian Paul
f76cbac04a mesa: use _mesa_get_texstore_func() 2009-09-27 18:28:22 -06:00
Brian Paul
e07862d2c9 st/mesa: use _mesa_get_texstore_func() 2009-09-27 18:27:59 -06:00
Brian Paul
8abb984dc9 mesa: null-out StoreTexImageFunc fields 2009-09-27 18:19:24 -06:00
Brian Paul
431ba64222 mesa: use _mesa_get_texel_store_func() 2009-09-27 18:17:32 -06:00
Brian Paul
da5722bea6 mesa: use new look-up table to get texel fetch/store funcs 2009-09-27 18:09:23 -06:00
Brian Paul
7116ae857c mesa: make some s3tc/fxt1 functions public 2009-09-27 18:08:49 -06:00
Brian Paul
6c6896bd25 progs/tests: disable texturing before printing text 2009-09-27 18:02:02 -06:00
Brian Paul
0f91e4461f mesa: minor clean-up in _mesa_texstore_srgb8() 2009-09-27 17:07:22 -06:00
Brian Paul
722b761564 mesa: use _mesa_get_texstore_func() to get texture image store func 2009-09-27 17:01:41 -06:00
Brian Paul
485105ed18 mesa: move _mesa_get_texstore_func() to texstore.c 2009-09-26 12:32:13 -06:00
Brian Paul
22108bb571 mesa: begin removing dependencies on gl_texture_format in texstore code 2009-09-26 12:26:18 -06:00
Brian Paul
a7455f9fc6 mesa: added formats.c to build 2009-09-26 12:25:02 -06:00
Brian Paul
9e7b56c980 mesa: include formats.h 2009-09-26 12:24:17 -06:00
Brian Paul
813870fd95 mesa: initial check-in of new formats.[ch] files 2009-09-26 12:21:03 -06:00
Dave Airlie
eb5dd947fb r300g: add tx depth support in register.
also enable cube/3d bits in txformat reg
2009-09-26 19:32:46 +10:00
Dave Airlie
9bf85f6b95 r300g: only pass complete texture state to hw setup function
No point passing things twice here, also allows more state
to be setup properly.
2009-09-26 18:39:54 +10:00
Dave Airlie
ec9c02187e r300g: add missing break in OQ emit 2009-09-26 18:39:54 +10:00
José Fonseca
1df539ce87 llvmpipe: Allow building with LLVM 2.6 too. 2009-09-26 09:37:43 +01:00
Dave Airlie
28f531e3fe r300g: report GL1.5, enable cap bits for OQ and shadow.
Its not like it works well on 1.3 so may as well reach for greater
heights.

Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-09-26 18:25:00 +10:00
Dave Airlie
20d3c85128 r300g: add z16 unorm texture format 2009-09-26 18:24:34 +10:00
Dave Airlie
07183b73eb r300g: fix texture pitch to correct value.
pitch is pixels - 1, not bytes.
2009-09-26 16:39:13 +10:00
Ian Romanick
8130375e77 Merge branch 'asm-shader-rework-2'
Conflicts:
	src/mesa/shader/program_parse.tab.c
2009-09-25 16:57:38 -07:00