summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
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: 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: 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-05Merge branch 'mesa_7_6_branch'Brian Paul
Conflicts: src/gallium/auxiliary/util/u_cpu_detect.c
2009-10-05mesa: fix return value when clipping {Read,Draw}Pixels height <= 0Brian Paul
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> (cherry picked from master, commit 7aeaca33c331f70d507fc83583b13b8d9fc3e847)
2009-10-05Use _mesa_select_tex_image() rather than hardcoding face 0.Michel Dänzer
Fixes crash loading a map in sauerbraten with hwmipmap 1 in ~/.sauerbraten/config.cfg.
2009-10-05mesa: fix return value when clipping {Read,Draw}Pixels height <= 0Ben Skeggs
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2009-10-02mesa: Remove another unexplained Flush call, this time from BindFramebuffer.Eric Anholt
Combined with the previous fix, it takes cairo-gl firefox-talos-gfx time from 120 seconds to 90 seconds on my GM45.
2009-10-02Revert "Flush driver, not just tnl module."Eric Anholt
This reverts commit df058298e1570eea8712f9bb051f674fab2eaf24. It didn't explain why it was required, doesnt appear to be required, and is a significant performance penalty for cairo-gl firefox. Conflicts: src/mesa/main/fbobject.c
2009-10-02mesa: fix incorrect default texture binding in unbind_texobj_from_texunits()Brian Paul
If we deleted a currently bound texture, we were always reverting the texture binding to the default 1D texture rather than the proper default texture.
2009-10-01mesa: fix memory leak when generating mipmaps for compressed texturesBrian Paul
2009-10-01mesa: add missing return when out of memoryBrian Paul