Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-02-28 | mesa: Add RGTC texture store/fetch support. | Dave Airlie | |
This adds support for the RGTC unsigned and signed texture storage and fetch methods. the code is a port of the DXT5 alpha compression code. Signed-off-by: Dave Airlie <airlied@redhat.com> | |||
2011-02-28 | mesa: make_float_temp_image non-static | Dave Airlie | |
We need this to do signed stuff for RGTC. | |||
2011-01-07 | mesa: Directly include mfeatures.h in files that perform feature tests. | Vinson Lee | |
2011-01-05 | mesa: Include mtypes.h in files that use gl_context struct. | Vinson Lee | |
Directly include mtypes.h if a file uses a gl_context struct. This allows future removal of headers that are not strictly necessary but indirectly include mtypes.h for a file. | |||
2011-01-04 | mesa: preserve 10 bits of precision in the texstore general path for ARGB2101010 | Marek Olšák | |
Use make_temp_float_image instead of _make_temp_chan_image. The latter converts the texture to 8 bits/component, losing 2 bits. | |||
2010-12-23 | mesa: implement new texture format I16 | Marek Olšák | |
2010-12-23 | mesa: implement new texture format L16 | Marek Olšák | |
2010-12-23 | mesa: implement new texture format A16 | Marek Olšák | |
2010-12-23 | mesa: implement new texture format AL44 | Marek Olšák | |
Radeon GPUs can do this. R600 can even do render-to-texture. Packing and extracting aren't implemented, but we shouldn't hit them (I think). Tested with swrast, softpipe, and r300g. | |||
2010-12-23 | mesa: implement new texture format ARGB2101010 | Marek Olšák | |
Radeon GPUs do support GL_RGB10_A2. | |||
2010-11-16 | mesa: fix error messages and minor reindenting | Brian Paul | |
2010-11-07 | mesa: implement uint texstore code | Brian Paul | |
We used float temporary images before which could lose precision for uint-valued texture images. | |||
2010-10-28 | mesa: pixel transfer ops do not apply to integer-valued textures | Brian Paul | |
2010-10-28 | mesa: fix incorrect type in _mesa_texstore_rgba_int16() | Brian Paul | |
2010-10-23 | mesa: split up the image.c file | Brian Paul | |
New files: pack.c - image/row packing/unpacking functions pixeltransfer.c - pixel scale/bias/lookup functions | |||
2010-10-13 | Drop GLcontext typedef and use struct gl_context instead | Kristian Høgsberg | |
2010-10-12 | mesa: reformatting, comments, code movement | Brian Paul | |
2010-10-12 | mesa: remove assertion w/ undeclared variable texelBytes | Brian Paul | |
2010-10-13 | mesa: improve texstore for 8/24 formats and add texstore for S8. | Dave Airlie | |
this improves mesa texstore for 8/24 so it can create S24X8/X24S8 variants by keeping the depth bits static. it also adds a texstore for S8 so we can write out an S8 texture to use in the sampler for accel draw pixels to save memory bw. The logic seems sound here, I've worked it out a few times on paper, though it would be good to have some review. Signed-off-by: Dave Airlie <airlied@redhat.com> | |||
2010-10-01 | ARB_texture_rg: Add R8, R16, RG88, and RG1616 internal formats | Ian Romanick | |
2010-09-23 | mesa: Remove EXT_convolution. | Eric Anholt | |
More optional code. | |||
2010-07-30 | mesa: Remove unnecessary headers. | Vinson Lee | |
2010-07-05 | mesa: initial support for unnormalized integer texture formats | Brian Paul | |
As defined by GL_EXT_texture_integer. | |||
2010-05-09 | mesa: added unsigned 16-bit/channel tex format | Brian Paul | |
2010-05-09 | mesa: added texstore function for signed 16-bit formats | Brian Paul | |
2010-04-26 | mesa: start adding GL 3.1 signed normalized texture formats | Brian Paul | |
2010-02-19 | Replace the _mesa_*printf() wrappers with the plain libc versions | Kristian Høgsberg | |
2010-02-19 | Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versions | Kristian Høgsberg | |
2010-02-19 | mesa: replace old MEMCPY macro with memcpy | Brian Paul | |
2010-02-19 | Remove _mesa_memcpy in favor of plain memcpy. | Kenneth Graunke | |
This may break the SUNOS4 build, but it's no longer relevant. | |||
2010-02-11 | main: Fix compiler warning. No need to convert/store depthScale as GLfloat ↵ | Karl Schultz | |
just to convert it back to GLuint to call unpack_depth_span. Also removes a difference between the 24/8 and 8/24 texstore routines. | |||
2010-01-17 | mesa: Use preprocessor to comment out code. | Vinson Lee | |
2009-12-02 | mesa: Fix bad conversion in AL1616_REV texstore. | Eric Anholt | |
2009-11-17 | AL1616: Fix cut-and-paste bug | Ian Romanick | |
One of the PACK_COLOR_88 cases was left over from copying _mesa_texstore_al88 to _mesa_texstore_al1616. | |||
2009-11-17 | Add MESA_FORMAT_XRGB8888_REV. | Michel Dänzer | |
2009-11-16 | Move 'static' to start of declaration to silence compiler warning | Ian Romanick | |
2009-11-16 | AL1616: Add TexImage storage path | Ian Romanick | |
2009-10-29 | mesa: fix _mesa_texstore_argb8888() for MESA_FORMAT_XRGB8888 | Brian Paul | |
If we hit the general path and call _mesa_make_temp_chan_image() we always want to get a GL_RGBA texture. We were getting a 3-channel GL_RGB texture before and that messed up the memory layout. | |||
2009-10-29 | mesa: Add MESA_FORMAT_Z24_X8. | José Fonseca | |
2009-10-29 | mesa: move declaration to prevent unused var warning | Brian Paul | |
2009-10-29 | mesa: Fix compilation errors and warnings when features are disabled. | Chia-I Wu | |
Some of the fixes are cherry-picked from opengl-es branch. Signed-off-by: Chia-I Wu <olvaffe@gmail.com> | |||
2009-10-29 | mesa/main: Never return NULL in _mesa_get_texstore_func. | Chia-I Wu | |
Signed-off-by: Chia-I Wu <olvaffe@gmail.com> | |||
2009-10-28 | mesa: remove old, unused #define | Brian Paul | |
2009-10-28 | Merge branch 'texformat-rework' | Brian Paul | |
Conflicts: src/mesa/drivers/dri/radeon/radeon_fbo.c src/mesa/drivers/dri/s3v/s3v_tex.c src/mesa/drivers/dri/s3v/s3v_xmesa.c src/mesa/drivers/dri/trident/trident_context.c src/mesa/main/debug.c src/mesa/main/mipmap.c src/mesa/main/texformat.c src/mesa/main/texgetimage.c | |||
2009-10-28 | Merge branch 'mesa_7_6_branch' | Brian Paul | |
2009-10-28 | mesa: Fix memory leak if we run out of memory | Vinson Lee | |
Signed-off-by: Brian Paul <brianp@vmware.com> | |||
2009-10-25 | mesa: choose texture format in core mesa, not drivers | Brian Paul | |
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. | |||
2009-10-25 | mesa: begin removing _mesa_compressed_row_stride() calls | Brian Paul | |
Use equivalent _mesa_format_row_stride() function instead. | |||
2009-10-25 | mesa: simplify texture_row_stride() helper | Brian Paul | |
2009-10-24 | mesa: minor clean-ups in _mesa_store_compressed_texsubimage2d() | Brian Paul | |