summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
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.
2009-10-19Merge branch 'mesa_7_6_branch' of ↵Alex Deucher
git+ssh://agd5f@git.freedesktop.org/git/mesa/mesa regenerated lex.yy.c
2009-10-16mesa: fix/update some commentsBrian Paul
2009-10-16mesa: move a commaBrian Paul
2009-10-16mesa: added MESA_GLSL=useprog debug flagBrian Paul
This logs glUseProgram() calls to stderr.
2009-10-16mesa: use C locale for _mesa_strtod()Brian Paul
_mesa_strtod() is used for shader/program parsing where the decimal point character is always '.' Use strtod_l() with a "C" locale to ensure correct string->double conversion when the actual locale uses another character such as ',' for the decimal point. Fixes bug 24531.
2009-10-14mesa: added VERBOSE_SWAPBUFFERSBrian Paul
2009-10-14mesa: added MESA_VERBOSE option 'draw' to debug glDrawArrays/Elements, etc.Brian Paul
2009-10-14mesa: rename VERBOSE_IMMEDIATE->VERBOSE_MATERIAL to reflect what it doesBrian Paul
2009-10-14mesa: remove unused ctx->Driver.PrioritizeTextures() hookBrian Paul
2009-10-14mesa: remove unused ctx->Driver.TextureMatrix() hookBrian Paul
2009-10-13mesa: rework _mesa_read_shader() debug hookBrian Paul
Look for shaders named "newshader_<CHECKSUM>" to replace the incoming shader text. For debug purposes.
2009-10-12mesa: minor clean up in check_begin_texture_render()Brian Paul
2009-10-10Merge branch 'mesa_7_6_branch'Brian Paul
2009-10-09mesa: fix incorrect assertion in _mesa_add_aux_renderbuffers()Brian Paul
Fixes bug 24426.
2009-10-08mesa: remove a bunch of gl_renderbuffer fieldsBrian Paul
_ActualFormat is replaced by Format (MESA_FORMAT_x). ColorEncoding, ComponentType, RedBits, GreenBits, BlueBits, etc. are all replaced by MESA_FORMAT_x queries.
2009-10-08mesa: free display list state after freeing shared stateBrian Paul
Fixes bug 24402.
2009-10-07mesa: clean up extended opcode codeBrian Paul
2009-10-07mesa: move gl_list_instruction and gl_list_extensions to dlist.cBrian Paul
2009-10-07mesa: added _mesa_free_display_list_data()Brian Paul
2009-10-07mesa: clean-up display list mem allocation, fix NULL handlingBrian Paul
The -1 term in alloc_instruction() foiled later NULL pointer checks.
2009-10-07main: replace ALLOC_INSTRUCTION macro with regular functionBrian Paul
2009-10-07mesa: rename display list functionsBrian Paul
_mesa_alloc_instruction() sounded like it was related to vertex/fragment program instructions, but it wasn't.
2009-10-06mesa: added MESA_FORMAT_XRGB8888Brian Paul
2009-10-06mesa: added case for MESA_FORMAT_SIGNED_RGBA_16Brian Paul
2009-10-06mesa: added MESA_FORMAT_SIGNED_RGBA_16 for accum buffersBrian Paul
2009-10-06mesa: added _mesa_get_format_color_encoding()Brian Paul
2009-10-06mesa: accept more pnames in _mesa_get_format_bits()Brian Paul
2009-10-05mesa: don't include texformat.hBrian Paul
2009-10-05mesa: move _mesa_format_to_type_and_comps() to formats.cBrian Paul