summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2009-10-29glsl: make shader substitution a little betterBrian Paul
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: Make FEATURE_texture_s3tc follow feature conventions.Chia-I Wu
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-29mesa/main: Make FEATURE_texture_fxt1 follow feature conventions.Chia-I Wu
Also remove the unused initialization and GLchan fetch functions. 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-28mesa: move some gl_texture_image and gl_renderbuffer fields aroundBrian Paul
2009-10-28mesa: minor code movementBrian 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-28mesa: choose texture format in _mesa_get_fallback_texture()Brian Paul
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-27mesa: consolidate _mesa_CompressedTexSubImage[123]DARB() functionsBrian Paul
2009-10-27mesa: consolidate CompressedTexSubImage1/2/3DARB() error checkingBrian Paul
2009-10-27mesa: simplify teximage code with get_current_tex_object()Brian Paul
2009-10-27mesa: code refactoring to eliminate a switch stmt in bind_buffer_object()Brian Paul
2009-10-27mesa: debug code for glBlitFramebuffer()Brian Paul
2009-10-27mesa: more texture debug code changes, improvementsBrian Paul
2009-10-27mesa: minor code clean-up in client_state()Brian Paul
2009-10-27mesa: avoid redundant state setting in glClientActiveTextureBrian Paul
Plus add code for verbose/debugging.
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: remove _mesa_compressed_texture_size_glenum() stubBrian Paul
2009-10-25mesa: remove _mesa_compressed_row_stride()Brian Paul
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-25mesa: fix-up error checking related to compressed texture block sizeBrian Paul
2009-10-25mesa: clean-up, simplify compressed texture size checkingBrian Paul
2009-10-24mesa: remove _mesa_compressed_texture_size()Brian Paul
Use _mesa_format_image_size() instead.
2009-10-24mesa: remove ctx->Driver.CompressedTextureSize() hookBrian Paul
It always just called _mesa_compressed_texture_size() anyway.
2009-10-24mesa: change compressed texture size callsBrian Paul
Replace calls to ctx->Driver.CompressedTextureSize with calls to _mesa_format_image_size. The former always called the later.
2009-10-24mesa: minor clean-ups in _mesa_store_compressed_texsubimage2d()Brian Paul
2009-10-24mesa: simplify _mesa_compressed_row_stride(), _mesa_compressed_image_address()Brian Paul
_mesa_compressed_row_stride() can go away soon. _mesa_compressed_image_address() can be generalized and moved to formats.c
2009-10-24mesa: s/GLuint/gl_format/Brian Paul
2009-10-24mesa: move assertion after declarationBrian Paul
2009-10-24mesa: remove hard-coded block sizesBrian Paul
2009-10-24mesa: added _mesa_get_format_block_size()Brian Paul
2009-10-24mesa: added _mesa_get_format_name()Brian Paul
2009-10-24mesa: additional comments in format codeBrian Paul
2009-10-23Merge branch 'mesa_7_6_branch'Brian Paul
2009-10-23mesa: simplify att->CubeMapFace assignmentBrian Paul
2009-10-23mesa: rework error checking code for glGetCompressedTexImage()Brian Paul
Do all error checking in new getcompressedteximage_error_check() func. Move some additional PBO checks out of the driver fallbacks into the error checking functions.
2009-10-23mesa: remove misplaced VERBOSE_TEXTURE testsBrian Paul
2009-10-23mesa: more detailed error messages in fbo codeBrian Paul
2009-10-23mesa: remove FBO texture depth/stencil testBrian Paul
The texture format should not be checked until validation time since the format might be changed by a subsequent glTexImage() call.
2009-10-23mesa: fix broken _mesa_str_checksum()Brian Paul
2009-10-23Merge remote branch 'origin/mesa_7_6_branch'Eric Anholt
Conflicts: src/mesa/drivers/dri/intel/intel_fbo.c src/mesa/drivers/dri/intel/intel_mipmap_tree.c src/mesa/drivers/dri/intel/intel_mipmap_tree.h src/mesa/drivers/dri/intel/intel_tex_copy.c src/mesa/drivers/dri/intel/intel_tex_image.c
2009-10-23mesa: fix GL_TEXTURE_INTERNAL_FORMAT query for compressed formatsBrian Paul
Need to return the actual compressed format when the user originally requested a generic compressed format.
2009-10-23mesa: added _mesa_compressed_format_to_glenum()Brian Paul
Maps a compressed MESA_FORMAT_x to correspding GLenum. Needed for querying a texture's actual format when a generic format was originally requested.
2009-10-23mesa: change s3tc vs. fxt1 priority when choosing compressed formatsBrian Paul