aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main
Commit message (Collapse)AuthorAgeFilesLines
* mesa: minor code clean-up in client_state()Brian Paul2009-10-271-10/+11
|
* mesa: avoid redundant state setting in glClientActiveTextureBrian Paul2009-10-271-0/+7
| | | | Plus add code for verbose/debugging.
* Merge branch 'mesa_7_6_branch'Brian Paul2009-10-232-14/+2
|\
| * mesa: remove FBO texture depth/stencil testBrian Paul2009-10-231-12/+0
| | | | | | | | | | The texture format should not be checked until validation time since the format might be changed by a subsequent glTexImage() call.
| * mesa: fix broken _mesa_str_checksum()Brian Paul2009-10-231-2/+2
| |
* | mesa: simplify att->CubeMapFace assignmentBrian Paul2009-10-231-6/+1
| |
* | mesa: rework error checking code for glGetCompressedTexImage()Brian Paul2009-10-231-48/+122
| | | | | | | | | | | | 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.
* | mesa: remove misplaced VERBOSE_TEXTURE testsBrian Paul2009-10-232-5/+5
| |
* | mesa: more detailed error messages in fbo codeBrian Paul2009-10-231-2/+5
| |
* | Merge remote branch 'origin/mesa_7_6_branch'Eric Anholt2009-10-234-9/+71
|\| | | | | | | | | | | | | | | | | 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
| * mesa: fix GL_TEXTURE_INTERNAL_FORMAT query for compressed formatsBrian Paul2009-10-231-1/+9
| | | | | | | | | | Need to return the actual compressed format when the user originally requested a generic compressed format.
| * mesa: added _mesa_compressed_format_to_glenum()Brian Paul2009-10-232-0/+54
| | | | | | | | | | | | Maps a compressed MESA_FORMAT_x to correspding GLenum. Needed for querying a texture's actual format when a generic format was originally requested.
| * mesa: change s3tc vs. fxt1 priority when choosing compressed formatsBrian Paul2009-10-231-8/+8
| |
* | glapi: Always build libglapi.a.Chia-I Wu2009-10-235-5/+1
| | | | | | | | | | | | | | | | 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 <[email protected]>
* | mesa: Enable remap table in core.Chia-I Wu2009-10-231-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]>
* | mesa/main: Add support for remap table.Chia-I Wu2009-10-234-0/+6193
| | | | | | | | | | | | | | This commit only adds the source files. It is supposed to replace the remap table in DRI drivers. Signed-off-by: Chia-I Wu <[email protected]>
* | Merge branch 'mesa_7_6_branch'Brian Paul2009-10-222-8/+37
|\|
| * mesa: code refactoring- new _mesa_finish(), _mesa_flush()Brian Paul2009-10-222-8/+37
| |
* | mesa: added _mesa_dump_texture()Brian Paul2009-10-222-3/+28
| |
* | Merge branch 'mesa_7_6_branch' of ↵Alex Deucher2009-10-221-0/+3
|\| | | | | | | git+ssh://[email protected]/git/mesa/mesa
| * mesa: Fix Mac OS build.Vinson Lee2009-10-201-0/+3
| | | | | | | | | | strtod_l needs the xlocale.h header on Mac OS. It's possible other non-Linux OSes would need this header too.
* | mesa: added _mesa_dump_renderbuffers() debug codeBrian Paul2009-10-212-2/+77
| |
* | Merge branch 'mesa_7_6_branch' of ↵Alex Deucher2009-10-191-0/+12
|\| | | | | | | | | | | git+ssh://[email protected]/git/mesa/mesa regenerated lex.yy.c
| * mesa: use C locale for _mesa_strtod()Brian Paul2009-10-161-0/+12
| | | | | | | | | | | | | | | | | | _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.
* | mesa: fix/update some commentsBrian Paul2009-10-161-4/+4
| |
* | mesa: move a commaBrian Paul2009-10-161-1/+1
| |
* | mesa: added MESA_GLSL=useprog debug flagBrian Paul2009-10-161-0/+1
| | | | | | | | This logs glUseProgram() calls to stderr.
* | mesa: added VERBOSE_SWAPBUFFERSBrian Paul2009-10-143-2/+6
| |
* | mesa: added MESA_VERBOSE option 'draw' to debug glDrawArrays/Elements, etc.Brian Paul2009-10-142-1/+5
| |
* | mesa: rename VERBOSE_IMMEDIATE->VERBOSE_MATERIAL to reflect what it doesBrian Paul2009-10-143-3/+3
| |
* | mesa: remove unused ctx->Driver.PrioritizeTextures() hookBrian Paul2009-10-142-8/+0
| |
* | mesa: remove unused ctx->Driver.TextureMatrix() hookBrian Paul2009-10-142-8/+0
| |
* | mesa: rework _mesa_read_shader() debug hookBrian Paul2009-10-131-12/+12
| | | | | | | | | | Look for shaders named "newshader_<CHECKSUM>" to replace the incoming shader text. For debug purposes.
* | mesa: minor clean up in check_begin_texture_render()Brian Paul2009-10-121-1/+1
| |
* | Merge branch 'mesa_7_6_branch'Brian Paul2009-10-101-1/+1
|\|
| * mesa: fix incorrect assertion in _mesa_add_aux_renderbuffers()Brian Paul2009-10-091-1/+1
| | | | | | | | Fixes bug 24426.
* | mesa: free display list state after freeing shared stateBrian Paul2009-10-081-1/+3
| | | | | | | | Fixes bug 24402.
* | mesa: clean up extended opcode codeBrian Paul2009-10-071-18/+53
| |
* | mesa: move gl_list_instruction and gl_list_extensions to dlist.cBrian Paul2009-10-072-42/+52
| |
* | mesa: added _mesa_free_display_list_data()Brian Paul2009-10-073-0/+10
| |
* | mesa: clean-up display list mem allocation, fix NULL handlingBrian Paul2009-10-071-13/+34
| | | | | | | | The -1 term in alloc_instruction() foiled later NULL pointer checks.
* | main: replace ALLOC_INSTRUCTION macro with regular functionBrian Paul2009-10-071-199/+202
| |
* | mesa: rename display list functionsBrian Paul2009-10-072-12/+12
| | | | | | | | | | _mesa_alloc_instruction() sounded like it was related to vertex/fragment program instructions, but it wasn't.
* | Merge branch 'mesa_7_6_branch'Brian Paul2009-10-054-9/+19
|\| | | | | | | | | | | Conflicts: src/gallium/auxiliary/util/u_cpu_detect.c
| * mesa: fix return value when clipping {Read,Draw}Pixels height <= 0Brian Paul2009-10-051-2/+2
| | | | | | | | | | | | Signed-off-by: Ben Skeggs <[email protected]> (cherry picked from master, commit 7aeaca33c331f70d507fc83583b13b8d9fc3e847)
| * Use _mesa_select_tex_image() rather than hardcoding face 0.Michel Dänzer2009-10-051-2/+1
| | | | | | | | | | | | | | | | Fixes crash loading a map in sauerbraten with hwmipmap 1 in ~/.sauerbraten/config.cfg.
| * mesa: fix incorrect default texture binding in unbind_texobj_from_texunits()Brian Paul2009-10-021-1/+1
| | | | | | | | | | 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.
| * mesa: fix memory leak when generating mipmaps for compressed texturesBrian Paul2009-10-011-6/+10
| |
| * mesa: add missing return when out of memoryBrian Paul2009-10-011-0/+1
| |
| * mesa: fix potential uninitialized memory readsBrian Paul2009-10-011-0/+6
| |