Brian Paul [Fri, 23 Oct 2009 01:20:38 +0000 (19:20 -0600)]
radeon: simplify radeon_create_renderbuffer()
Alex Deucher [Thu, 22 Oct 2009 18:48:45 +0000 (14:48 -0400)]
r600: fix depth span macros for format changes
Brian Paul [Thu, 22 Oct 2009 18:26:17 +0000 (12:26 -0600)]
radeon: fix some renderbuffer format bugs
Brian Paul [Thu, 22 Oct 2009 03:51:06 +0000 (21:51 -0600)]
progs/tests: draw Z values as luminance, no pixel zoom
Brian Paul [Thu, 22 Oct 2009 03:47:58 +0000 (21:47 -0600)]
i915: replace MESA_FORMAT_Z24_S8 with MESA_FORMAT_S8_Z24
And change parameter type.
Brian Paul [Thu, 22 Oct 2009 03:20:05 +0000 (21:20 -0600)]
radeon: get rid of z24s8 <-> s8z24 conversions in span code
Can just use s8z24 everywhere.
Note: the WRITE_DEPTH macro for R600 may need to be fixed.
Brian Paul [Thu, 22 Oct 2009 03:12:23 +0000 (21:12 -0600)]
radeon: replace MESA_FORMAT_Z24_S8 with MESA_FORMAT_S8_Z24
Core Mesa deals with MESA_FORMAT_S8_Z24 everywhere it should so
we shouldn't have to use MESA_FORMAT_Z24_S8 anymore.
Brian Paul [Thu, 22 Oct 2009 02:02:33 +0000 (20:02 -0600)]
intel: use MESA_FORMAT_S8_Z24 format and avoid z24s8/s8z24 conversions
Brian Paul [Thu, 22 Oct 2009 02:00:43 +0000 (20:00 -0600)]
i965: change parameter type to gl_format
Brian Paul [Thu, 22 Oct 2009 01:58:00 +0000 (19:58 -0600)]
mesa: use MESA_FORMAT_X8_Z24
Brian Paul [Thu, 22 Oct 2009 01:56:18 +0000 (19:56 -0600)]
mesa: use MESA_FORMAT_X8_Z24 format
Brian Paul [Thu, 22 Oct 2009 01:55:44 +0000 (19:55 -0600)]
mesa: added MESA_FORMAT_X8_Z24 format
24-bit Z in 32-bit pixel. We could probably use the MESA_FORMAT_S8_Z24
format but this there's a few places where we explicitly don't want stencil.
This format may go away at some point in the future.
Brian Paul [Thu, 15 Oct 2009 20:57:45 +0000 (14:57 -0600)]
dri/common: updated #includes
Brian Paul [Thu, 15 Oct 2009 20:54:32 +0000 (14:54 -0600)]
dri/common: use _mesa_little_endian() and update comments
Brian Paul [Thu, 15 Oct 2009 20:49:53 +0000 (14:49 -0600)]
dri/common: fix broken _dri_texformat_* initializations
Brian Paul [Wed, 14 Oct 2009 19:14:22 +0000 (13:14 -0600)]
radeon: initialize renderbuffer Format field in radeon_create_renderbuffer()
Plus, use MESA_FORMAT_S8_Z24 everywhere.
Brian Paul [Fri, 9 Oct 2009 02:27:27 +0000 (20:27 -0600)]
mesa: remove a bunch of gl_renderbuffer fields
_ActualFormat is replaced by Format (MESA_FORMAT_x).
ColorEncoding, ComponentType, RedBits, GreenBits, BlueBits, etc. are
all replaced by MESA_FORMAT_x queries.
Brian Paul [Wed, 7 Oct 2009 04:30:01 +0000 (22:30 -0600)]
mesa: added MESA_FORMAT_XRGB8888
Brian Paul [Wed, 7 Oct 2009 01:01:43 +0000 (19:01 -0600)]
mesa: added case for MESA_FORMAT_SIGNED_RGBA_16
Brian Paul [Wed, 7 Oct 2009 01:00:09 +0000 (19:00 -0600)]
mesa: added MESA_FORMAT_SIGNED_RGBA_16 for accum buffers
Brian Paul [Wed, 7 Oct 2009 00:56:29 +0000 (18:56 -0600)]
mesa: added _mesa_get_format_color_encoding()
Brian Paul [Wed, 7 Oct 2009 00:54:13 +0000 (18:54 -0600)]
mesa: accept more pnames in _mesa_get_format_bits()
Brian Paul [Tue, 6 Oct 2009 00:11:35 +0000 (18:11 -0600)]
drivers: don't include texformat.h
And remove other unneeded #includes while we're at it.
Brian Paul [Mon, 5 Oct 2009 23:56:31 +0000 (17:56 -0600)]
mesa: don't include texformat.h
Brian Paul [Mon, 5 Oct 2009 23:54:20 +0000 (17:54 -0600)]
mesa: move _mesa_format_to_type_and_comps() to formats.c
Brian Paul [Mon, 5 Oct 2009 23:50:33 +0000 (17:50 -0600)]
mesa: move gl_format_info struct to formats.c
This is a private datatype.
Brian Paul [Mon, 5 Oct 2009 23:48:22 +0000 (17:48 -0600)]
mesa: remove feature tests
Brian Paul [Mon, 5 Oct 2009 23:28:39 +0000 (17:28 -0600)]
mesa: use FetchTexelf() instead of FetchTexelc()
Brian Paul [Mon, 5 Oct 2009 23:27:50 +0000 (17:27 -0600)]
mesa: add parenthesis
Brian Paul [Mon, 5 Oct 2009 23:12:36 +0000 (17:12 -0600)]
mesa: lift _mesa_set_fetch_functions() calls out of drivers
Call it from in the main Mesa glTexImage functions.
Brian Paul [Mon, 5 Oct 2009 22:52:26 +0000 (16:52 -0600)]
mesa: make _mesa_get_texel_fetch_func() static
Brian Paul [Fri, 2 Oct 2009 03:13:25 +0000 (21:13 -0600)]
mesa: removed gl_texture_image::CompressedSize field
Just call ctx->Driver.CompressedTextureSize() when we need to get
the compressed image size.
Brian Paul [Fri, 2 Oct 2009 01:01:02 +0000 (19:01 -0600)]
mesa: reformatting
Brian Paul [Thu, 1 Oct 2009 22:43:22 +0000 (16:43 -0600)]
progs/tests: additional debug code
Brian Paul [Thu, 1 Oct 2009 22:42:37 +0000 (16:42 -0600)]
mesa: move mesa_set_fetch_functions()
Brian Paul [Thu, 1 Oct 2009 22:41:47 +0000 (16:41 -0600)]
radeon: fix tx_table[] entry
XXX need to still verify that the table entries are in correct order.
Brian Paul [Thu, 1 Oct 2009 22:41:24 +0000 (16:41 -0600)]
savage: s/Xfree/_mesa_free/
Brian Paul [Thu, 1 Oct 2009 22:30:47 +0000 (16:30 -0600)]
mesa: simplify _mesa_compressed_texture_size()
Brian Paul [Thu, 1 Oct 2009 22:29:44 +0000 (16:29 -0600)]
mesa: remove gl_texture_image::IsCompressed field
Use _mesa_is_format_compressed() instead.
Brian Paul [Thu, 1 Oct 2009 22:27:23 +0000 (16:27 -0600)]
mesa: added _mesa_format_row_stride()
Brian Paul [Thu, 1 Oct 2009 21:59:13 +0000 (15:59 -0600)]
mesa: added _mesa_format_image_size()
Brian Paul [Thu, 1 Oct 2009 04:50:05 +0000 (22:50 -0600)]
swrast: fix some texformat regressions
Need to be careful with component ordering for MESA_FORMAT_RGB888
and MESA_FORMAT_RGBA8888.
Brian Paul [Thu, 1 Oct 2009 03:08:06 +0000 (21:08 -0600)]
mesa: rename texformat_tmp.h to texfetch_tmp.h
Brian Paul [Thu, 1 Oct 2009 03:04:14 +0000 (21:04 -0600)]
mesa: remove MESA_FORMAT_RGBA4444
Not used by any hardware driver. ARGB4444 and ARGB4444_REV remain.
Brian Paul [Thu, 1 Oct 2009 03:00:16 +0000 (21:00 -0600)]
mesa: remove GLchan-based formats; use hw 8-bit/channel formats instead
Removed: MESA_FORMAT_RGBA, RGB, ALPHA, LUMINANCE, LUMINANCE_ALPHA, INTENSITY.
Brian Paul [Thu, 1 Oct 2009 02:47:54 +0000 (20:47 -0600)]
mesa: move texel fetch/store into new texfetch.[ch] files
Brian Paul [Thu, 1 Oct 2009 02:36:25 +0000 (20:36 -0600)]
st/mesa: update comment
Brian Paul [Thu, 1 Oct 2009 02:35:32 +0000 (20:35 -0600)]
mesa: remove gl_texture_format
Brian Paul [Thu, 1 Oct 2009 02:28:45 +0000 (20:28 -0600)]
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.
Brian Paul [Tue, 29 Sep 2009 03:55:47 +0000 (21:55 -0600)]
mesa: move StoreTexImageFunc typedef to .c file
Brian Paul [Tue, 29 Sep 2009 03:52:43 +0000 (21:52 -0600)]
mesa: use _mesa_texstore()
Brian Paul [Tue, 29 Sep 2009 03:52:23 +0000 (21:52 -0600)]
st/mesa: use _mesa_texstore()
Brian Paul [Tue, 29 Sep 2009 03:49:38 +0000 (21:49 -0600)]
mesa: make individual texstore functions static
Brian Paul [Tue, 29 Sep 2009 03:49:10 +0000 (21:49 -0600)]
glide: use _mesa_texstore()
Brian Paul [Tue, 29 Sep 2009 03:46:34 +0000 (21:46 -0600)]
drivers: use _mesa_texstore
Brian Paul [Tue, 29 Sep 2009 03:41:11 +0000 (21:41 -0600)]
drivers: use new _mesa_texstore() function
Brian Paul [Tue, 29 Sep 2009 03:40:50 +0000 (21:40 -0600)]
mesa: new _mesa_texstore() function
Brian Paul [Mon, 28 Sep 2009 03:32:12 +0000 (21:32 -0600)]
mesa: change _mesa_format_to_type_and_comps() format parameter type
Brian Paul [Mon, 28 Sep 2009 03:22:57 +0000 (21:22 -0600)]
mesa: sort texstore_funcs[] array, remove search loop
Brian Paul [Mon, 28 Sep 2009 03:14:43 +0000 (21:14 -0600)]
mesa: fix render buffer _BaseFormat assignment
Brian Paul [Mon, 28 Sep 2009 03:14:12 +0000 (21:14 -0600)]
mesa: use texture format functions
Brian Paul [Mon, 28 Sep 2009 03:13:46 +0000 (21:13 -0600)]
mesa: update comments
Brian Paul [Mon, 28 Sep 2009 03:07:57 +0000 (21:07 -0600)]
mesa: use more mesa format functions
Brian Paul [Mon, 28 Sep 2009 02:59:28 +0000 (20:59 -0600)]
mesa: fix GL_TEXTURE_LUMINANCE_SIZE query
Brian Paul [Mon, 28 Sep 2009 02:58:05 +0000 (20:58 -0600)]
mesa: use more mesa format functions
Brian Paul [Mon, 28 Sep 2009 02:56:04 +0000 (20:56 -0600)]
mesa: use more mesa format functions
Brian Paul [Mon, 28 Sep 2009 02:51:18 +0000 (20:51 -0600)]
mesa: use more format helper functions
Brian Paul [Mon, 28 Sep 2009 02:40:53 +0000 (20:40 -0600)]
mesa: code movement
Brian Paul [Mon, 28 Sep 2009 02:40:35 +0000 (20:40 -0600)]
drivers: use more mesa format functions
Brian Paul [Mon, 28 Sep 2009 02:24:59 +0000 (20:24 -0600)]
mesa/drivers: use _mesa_get_format_bytes()
Brian Paul [Mon, 28 Sep 2009 02:07:41 +0000 (20:07 -0600)]
mesa/drivers: use _mesa_get_format_bytes()
Brian Paul [Mon, 28 Sep 2009 01:58:18 +0000 (19:58 -0600)]
via: use mesa texture format helper functions
Brian Paul [Mon, 28 Sep 2009 01:53:54 +0000 (19:53 -0600)]
glide: use _mesa_get_format_bytes()
Brian Paul [Mon, 28 Sep 2009 01:51:45 +0000 (19:51 -0600)]
mesa: use _mesa_get_format_base_format()
Brian Paul [Mon, 28 Sep 2009 01:49:51 +0000 (19:49 -0600)]
mesa: use _mesa_get_format_bytes()
Brian Paul [Mon, 28 Sep 2009 01:42:36 +0000 (19:42 -0600)]
mesa: added _mesa_get_format_datatype()
Brian Paul [Mon, 28 Sep 2009 01:38:21 +0000 (19:38 -0600)]
mesa: use _mesa_get_format_bits()
Brian Paul [Mon, 28 Sep 2009 01:07:44 +0000 (19:07 -0600)]
mesa: added _mesa_get_format_bits()
Brian Paul [Mon, 28 Sep 2009 00:57:02 +0000 (18:57 -0600)]
mesa: remove unused gl_texture_format fields
Brian Paul [Mon, 28 Sep 2009 00:53:22 +0000 (18:53 -0600)]
mesa: added MESA_FORMAT_NONE
Brian Paul [Mon, 28 Sep 2009 00:50:04 +0000 (18:50 -0600)]
mesa: move StoreTexImageFunc to texstore.h
Brian Paul [Mon, 28 Sep 2009 00:49:14 +0000 (18:49 -0600)]
mesa: rework null texel fetch/store funcs
Brian Paul [Mon, 28 Sep 2009 00:39:48 +0000 (18:39 -0600)]
mesa: replace function pointer types with void *
These fields are no longer used and will be removed soon.
Brian Paul [Mon, 28 Sep 2009 00:39:17 +0000 (18:39 -0600)]
st/mesa: use _mesa_get_texstore_func()
Brian Paul [Mon, 28 Sep 2009 00:38:50 +0000 (18:38 -0600)]
mesa: use _mesa_get_texstore_func()
Brian Paul [Mon, 28 Sep 2009 00:34:12 +0000 (18:34 -0600)]
glide: use _mesa_get_texstore_func()
Brian Paul [Mon, 28 Sep 2009 00:28:48 +0000 (18:28 -0600)]
mesa: NULL-out unused texformat field initializers
Brian Paul [Mon, 28 Sep 2009 00:28:22 +0000 (18:28 -0600)]
mesa: use _mesa_get_texstore_func()
Brian Paul [Mon, 28 Sep 2009 00:27:59 +0000 (18:27 -0600)]
st/mesa: use _mesa_get_texstore_func()
Brian Paul [Mon, 28 Sep 2009 00:19:24 +0000 (18:19 -0600)]
mesa: null-out StoreTexImageFunc fields
Brian Paul [Mon, 28 Sep 2009 00:17:32 +0000 (18:17 -0600)]
mesa: use _mesa_get_texel_store_func()
Brian Paul [Mon, 28 Sep 2009 00:09:23 +0000 (18:09 -0600)]
mesa: use new look-up table to get texel fetch/store funcs
Brian Paul [Mon, 28 Sep 2009 00:08:49 +0000 (18:08 -0600)]
mesa: make some s3tc/fxt1 functions public
Brian Paul [Mon, 28 Sep 2009 00:02:02 +0000 (18:02 -0600)]
progs/tests: disable texturing before printing text
Brian Paul [Sun, 27 Sep 2009 23:07:22 +0000 (17:07 -0600)]
mesa: minor clean-up in _mesa_texstore_srgb8()
Brian Paul [Sun, 27 Sep 2009 23:01:41 +0000 (17:01 -0600)]
mesa: use _mesa_get_texstore_func() to get texture image store func
Brian Paul [Sat, 26 Sep 2009 18:32:13 +0000 (12:32 -0600)]
mesa: move _mesa_get_texstore_func() to texstore.c
Brian Paul [Sat, 26 Sep 2009 18:26:18 +0000 (12:26 -0600)]
mesa: begin removing dependencies on gl_texture_format in texstore code
Brian Paul [Sat, 26 Sep 2009 18:25:02 +0000 (12:25 -0600)]
mesa: added formats.c to build
Brian Paul [Sat, 26 Sep 2009 18:24:17 +0000 (12:24 -0600)]
mesa: include formats.h