summaryrefslogtreecommitdiff
path: root/src/mesa/main/texstore.c
AgeCommit message (Collapse)Author
2009-10-29mesa: move declaration to prevent unused var warningBrian Paul
2009-10-29mesa: 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-29mesa/main: Never return NULL in _mesa_get_texstore_func.Chia-I Wu
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-28mesa: remove old, unused #defineBrian Paul
2009-10-28Merge 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-28Merge branch 'mesa_7_6_branch'Brian Paul
2009-10-28mesa: Fix memory leak if we run out of memoryVinson Lee
Signed-off-by: Brian Paul <brianp@vmware.com>
2009-10-25mesa: choose texture format in core mesa, not driversBrian 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-25mesa: begin removing _mesa_compressed_row_stride() callsBrian Paul
Use equivalent _mesa_format_row_stride() function instead.
2009-10-25mesa: simplify texture_row_stride() helperBrian Paul
2009-10-24mesa: minor clean-ups in _mesa_store_compressed_texsubimage2d()Brian Paul
2009-10-24mesa: remove hard-coded block sizesBrian Paul
2009-10-21mesa: added MESA_FORMAT_X8_Z24 formatBrian Paul
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.
2009-10-06mesa: added MESA_FORMAT_XRGB8888Brian Paul
2009-10-06mesa: added MESA_FORMAT_SIGNED_RGBA_16 for accum buffersBrian Paul
2009-10-05mesa: don't include texformat.hBrian Paul
2009-10-05mesa: lift _mesa_set_fetch_functions() calls out of driversBrian Paul
Call it from in the main Mesa glTexImage functions.
2009-10-01mesa: removed gl_texture_image::CompressedSize fieldBrian Paul
Just call ctx->Driver.CompressedTextureSize() when we need to get the compressed image size.
2009-10-01mesa: reformattingBrian Paul
2009-10-01mesa: move mesa_set_fetch_functions()Brian Paul
2009-10-01mesa: remove gl_texture_image::IsCompressed fieldBrian Paul
Use _mesa_is_format_compressed() instead.
2009-09-30mesa: remove MESA_FORMAT_RGBA4444Brian Paul
Not used by any hardware driver. ARGB4444 and ARGB4444_REV remain.
2009-09-30mesa: remove GLchan-based formats; use hw 8-bit/channel formats insteadBrian Paul
Removed: MESA_FORMAT_RGBA, RGB, ALPHA, LUMINANCE, LUMINANCE_ALPHA, INTENSITY.
2009-09-30mesa: move texel fetch/store into new texfetch.[ch] filesBrian Paul
2009-09-30mesa: replace gl_texture_format with gl_formatBrian Paul
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-28mesa: move StoreTexImageFunc typedef to .c fileBrian Paul
2009-09-28mesa: make individual texstore functions staticBrian Paul
2009-09-28mesa: new _mesa_texstore() functionBrian Paul
2009-09-27mesa: sort texstore_funcs[] array, remove search loopBrian Paul
2009-09-27mesa: use more mesa format functionsBrian Paul
2009-09-27mesa: use new look-up table to get texel fetch/store funcsBrian Paul
2009-09-27mesa: minor clean-up in _mesa_texstore_srgb8()Brian Paul
2009-09-27mesa: use _mesa_get_texstore_func() to get texture image store funcBrian Paul
2009-09-26mesa: move _mesa_get_texstore_func() to texstore.cBrian Paul
2009-09-26mesa: begin removing dependencies on gl_texture_format in texstore codeBrian Paul
2009-09-24mesa/main: Make FEATURE_convolve follow feature conventions.Chia-I Wu
As shown in mfeatures.h, this allows users of convolve.h to work without knowing if the feature is available.
2009-09-16mesa: begin some texstore code refactoringBrian Paul
Next step will be to move the calls to ctx->Driver.ChooseTextureFormat() into the teximage.c functions so drivers don't have to do it.
2009-09-15mesa: move generate mipmap callsBrian Paul
Per the suggestion in the Intel driver, move the calls to ctx->Driver.GenerateMipmap() into core Mesa so that drivers don't have to worry about it.
2009-08-12mesa: use _mesa_is_bufferobj()Brian Paul
2009-06-12mesa: Enable uploads of only depth to z24s8 texturesJakob Bornecrantz
2009-04-03mesa: move glGetTexImage(), glGetCompresssedTexImage() code into new fileBrian Paul
2009-04-03mesa: remove the noClamp parameter to _mesa_pack_rgba_span_float()Brian Paul
It was only set to GL_TRUE in one place where it isn't really needed (glGetTexImage(sRGB format)).
2009-04-03mesa: clamp colors to [0,1] for glGetTexImage() when format is GL_LUMINANCEBrian Paul
For luminance, we add R+G+B and it seems we should always clamp in case.
2009-04-03mesa: whitespace and comment clean-upBrian Paul
2009-03-28mesa: fix a glGetTexImage issue with base-converted texture formatsRoland Scheidegger
need to respect the user-supplied base format, not the one derived from the texture format actually used.
2009-03-28mesa: add _rev signed rgba texture formatRoland Scheidegger
2009-03-28mesa: add new signed rgba texture formatRoland Scheidegger
This is a (partial) backport of the signed texture format support in OGL 3.1. Since it wasn't promoted from an existing extension roll our own.
2009-03-12mesa: add support for ATI_envmap_bumpmapRoland Scheidegger
add new entrypoints, new texture format, etc translate in texenvprogram.c for drivers using the mesa-generated tex env fragment program also handled in swrast, but not tested (cannot work due to negative texel results not handled correctly)
2009-02-09fix _mesa_get_teximage for srgb texturesRoland Scheidegger
2009-01-22Merge commit 'origin/master' into gallium-0.2Alan Hourihane
Conflicts: windows/VC8/mesa/osmesa/osmesa.vcproj windows/VC8/progs/demos/gears.vcproj windows/VC8/progs/progs.sln