summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
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
2009-10-23glapi: Always build libglapi.a.Chia-I Wu
This is made possible by making glapioffsets.h and glapidispatch.h internal headers of glapi. They should only be included indirectly through dispatch.h by mesa. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-23mesa: Enable remap table in core.Chia-I Wu
This enables the remap table in core. driInitExtensions is adapted to use the remap table. All uses of extension_helper.h are replaced by remap_helper.h. The chicken-egg problem of the DRI drivers is also solved. It is now also possible to pass NULL extensions to driInitExtensions. It will cause driInitExtensions to map all known functions. This functionality is used by software drivers and EGL_i915. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-23mesa/main: Add support for remap table.Chia-I Wu
This commit only adds the source files. It is supposed to replace the remap table in DRI drivers. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-22Merge branch 'mesa_7_6_branch'Brian Paul
2009-10-22mesa: added _mesa_dump_texture()Brian Paul
2009-10-22mesa: code refactoring- new _mesa_finish(), _mesa_flush()Brian Paul
2009-10-22Merge branch 'mesa_7_6_branch' of ↵Alex Deucher
git+ssh://agd5f@git.freedesktop.org/git/mesa/mesa
2009-10-21mesa: use MESA_FORMAT_X8_Z24Brian Paul
2009-10-21mesa: use MESA_FORMAT_X8_Z24 formatBrian 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-21mesa: added _mesa_dump_renderbuffers() debug codeBrian Paul
2009-10-20mesa: Fix Mac OS build.Vinson Lee
strtod_l needs the xlocale.h header on Mac OS. It's possible other non-Linux OSes would need this header too.