Brian Paul
4ca9ba2544
mesa: move mesa_set_fetch_functions()
2009-10-01 16:42:37 -06:00
Brian Paul
073d55f584
radeon: fix tx_table[] entry
...
XXX need to still verify that the table entries are in correct order.
2009-10-01 16:41:52 -06:00
Brian Paul
4208a8c026
savage: s/Xfree/_mesa_free/
2009-10-01 16:41:24 -06:00
Brian Paul
354d66e2f5
mesa: simplify _mesa_compressed_texture_size()
2009-10-01 16:30:47 -06:00
Brian Paul
b6bdafdf2c
mesa: remove gl_texture_image::IsCompressed field
...
Use _mesa_is_format_compressed() instead.
2009-10-01 16:29:44 -06:00
Brian Paul
040fd7ed44
mesa: added _mesa_format_row_stride()
2009-10-01 16:27:23 -06:00
Brian Paul
1c7ec97ec4
mesa: added _mesa_format_image_size()
2009-10-01 15:59:13 -06:00
Brian Paul
8c36ca707c
swrast: fix some texformat regressions
...
Need to be careful with component ordering for MESA_FORMAT_RGB888
and MESA_FORMAT_RGBA8888.
2009-09-30 22:50:08 -06:00
Brian Paul
3d6a20e5b6
mesa: rename texformat_tmp.h to texfetch_tmp.h
2009-09-30 21:08:06 -06:00
Brian Paul
60843e3ee5
mesa: remove MESA_FORMAT_RGBA4444
...
Not used by any hardware driver. ARGB4444 and ARGB4444_REV remain.
2009-09-30 21:04:17 -06:00
Brian Paul
3fa7dbf368
mesa: remove GLchan-based formats; use hw 8-bit/channel formats instead
...
Removed: MESA_FORMAT_RGBA, RGB, ALPHA, LUMINANCE, LUMINANCE_ALPHA, INTENSITY.
2009-09-30 21:00:16 -06:00
Brian Paul
74ae14a2bd
mesa: move texel fetch/store into new texfetch.[ch] files
2009-09-30 20:47:54 -06:00
Brian Paul
884d1abb2a
st/mesa: update comment
2009-09-30 20:36:25 -06:00
Brian Paul
bdc761b0f9
mesa: remove gl_texture_format
2009-09-30 20:35:32 -06:00
Brian Paul
1f7c914ad0
mesa: replace gl_texture_format with gl_format
...
Now gl_texture_image::TexFormat is a simple MESA_FORMAT_x enum.
ctx->Driver.ChooseTexture format also returns a MESA_FORMAT_x.
gl_texture_format will go away next.
2009-09-30 20:28:45 -06:00
Brian Paul
e2e7bd6c1f
mesa: move StoreTexImageFunc typedef to .c file
2009-09-28 21:55:47 -06:00
Brian Paul
0a306daf71
mesa: use _mesa_texstore()
2009-09-28 21:52:43 -06:00
Brian Paul
6480210b89
st/mesa: use _mesa_texstore()
2009-09-28 21:52:23 -06:00
Brian Paul
49263e0856
mesa: make individual texstore functions static
2009-09-28 21:49:38 -06:00
Brian Paul
cb0ef0cbf8
glide: use _mesa_texstore()
2009-09-28 21:49:10 -06:00
Brian Paul
b436d729d1
drivers: use _mesa_texstore
2009-09-28 21:46:34 -06:00
Brian Paul
0b1f4dc0fa
drivers: use new _mesa_texstore() function
2009-09-28 21:41:11 -06:00
Brian Paul
660ca9c5a2
mesa: new _mesa_texstore() function
2009-09-28 21:40:50 -06:00
Brian Paul
729ff875f4
mesa: change _mesa_format_to_type_and_comps() format parameter type
2009-09-27 21:32:12 -06:00
Brian Paul
bd00a7fa4b
mesa: sort texstore_funcs[] array, remove search loop
2009-09-27 21:22:57 -06:00
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