summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/debug.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: simplify parameters to GetTexImage() driver hookBrian Paul2011-09-301-3/+1
| | | | | | | The target, level and texObj can be obtained through the texImage parameter. We could make similar changes for the TexImage() hooks too. Reviewed-by: Eric Anholt <[email protected]>
* mesa: remove CHAN_TYPE cruft from debug.cBrian Paul2011-09-201-4/+0
|
* mesa: Remove all mention of MESA_FORMAT_CI8Ian Romanick2011-08-291-1/+0
| | | | | | | | | | | Nothing in Mesa supports color-index textures, and most of the other infrastructure that could allow such support has already been removed. This puts the final nail in the coffin. Also clean out some GL_COLOR_INDEX comments in formats.c. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
* mesa: Convert texture debug dump function to using MapTextureImage().Brian Paul2011-08-291-43/+51
| | | | Reviewed-by: Brian Paul <[email protected]>
* mesa: Remove use of fpu_control.hChad Versace2011-08-161-11/+0
| | | | | | | | | | | Remove the inclusion of fpu_control.h from compiler.h. Since Bionic lacks fpu_control.h, this fixes the Android build. Also remove the sole use of the fpu_control bits, which was in debug.c. Those were brianp's debug bits, and he approved of their removal. Reviewed-by: Eric Anholt <[email protected]> Signed-off-by: Chad Versace <[email protected]>
* mesa: Recognize MESA_VERBOSE=all as shortcut for all debug options.José Fonseca2011-04-061-1/+1
|
* mesa: added _mesa_dump_image() for debuggingBrian Paul2011-03-241-0/+24
|
* mesa: remove the MESA_NO_DITHER env varBrian Paul2011-02-171-10/+0
| | | | This was sometimes useful back when 16-bit framebuffers were prominent.
* mesa: make _mesa_write_renderbuffer_image() non-staticBrian Paul2011-02-161-3/+11
|
* mesa: get rid of _NEW_ACCUM, clean-up _NEW_* #definesBrian Paul2011-01-231-2/+1
| | | | | | The _NEW_ACCUM flag was only set when changing the accumulation buffer clear color and never used anywhere. Reclaim that dirty bit. Clean up the definitions of the other dirty bit flags.
* mesa: clean-up _mesa_lookup_prim_by_nr()Brian Paul2011-01-201-20/+0
| | | | Remove the redundant public _mesa_prim_name[] array.
* mesa: Fix printf format warnings.Vinson Lee2010-11-101-1/+1
|
* mesa: remove unneeded DD_POINT_SIZE and DD_LINE_WIDTH tricapsRoland Scheidegger2010-11-101-2/+0
| | | | | | | | DD_POINT_SIZE was broken for quite some time, and the only driver (r200) relying on this no longer needs it. Both DD_POINT_SIZE and DD_LINE_WIDTH have no users left outside of debugging output, hence instead of fixing DD_POINT_SIZE setting just drop both of them - there was a plan to remove tricaps flags entirely at some point.
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-2/+2
|
* mesa: Remove SGI_color_matrix.Eric Anholt2010-09-231-2/+1
| | | | Another optional ARB_imaging subset extension.
* Revert "glapi: Implement optional dispatch logging"Kristian Høgsberg2010-09-091-5/+1
| | | | | | This reverts commit b9abc6139a310677a37754ea7172d976dbf56979 and the follow on fixes (7aae704 and 6fe1b47). It's changing the glapi/driver ABI and causes a number of problems for debug/non-debug builds.
* glapi: Implement optional dispatch loggingKristian Høgsberg2010-09-091-1/+5
| | | | | | | There's a useful feature buried in glapi to log all API calls to stderr. Unfortunately it requires editing the code and then it's enabled unconditionally for that build. This patch builds in API logging for debug builds and makes it run-time switchable by setting MESA_DEBUG=dispatch.
* mesa: s/sprintf/_mesa_snprintf/Vinson Lee2010-05-021-2/+2
|
* mesa: Also print _NEW_STENCIL in _mesa_print_state()Kristian Høgsberg2010-03-231-1/+2
|
* mesa: casts to silence new warnings from printf()Brian Paul2010-02-191-2/+2
|
* Replace the _mesa_*printf() wrappers with the plain libc versionsKristian Høgsberg2010-02-191-28/+28
|
* Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg2010-02-191-14/+14
|
* Remove _mesa_strstr in favor of plain strstr.Kenneth Graunke2010-02-191-3/+3
|
* mesa: Fix typo of 'unknown' in debug.c.Vinson Lee2010-01-181-1/+1
|
* mesa: Remove unnecessary headers from debug.c.Vinson Lee2010-01-181-2/+0
|
* mesa: move, clean-up _mesa_print_texture()Brian Paul2009-10-291-0/+61
|
* Merge branch 'texformat-rework'Brian Paul2009-10-281-3/+4
|\ | | | | | | | | | | | | | | | | | | | | | | 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
| * mesa: don't include texformat.hBrian Paul2009-10-051-1/+0
| |
| * mesa: replace gl_texture_format with gl_formatBrian Paul2009-09-301-1/+1
| | | | | | | | | | | | Now gl_texture_image::TexFormat is a simple MESA_FORMAT_x enum. ctx->Driver.ChooseTexture format also returns a MESA_FORMAT_x. gl_texture_format will go away next.
* | mesa: more texture debug code changes, improvementsBrian Paul2009-10-271-27/+66
| |
* | mesa: added _mesa_dump_texture()Brian Paul2009-10-221-3/+25
| |
* | mesa: added _mesa_dump_renderbuffers() debug codeBrian Paul2009-10-211-2/+74
| |
* | mesa: added VERBOSE_SWAPBUFFERSBrian Paul2009-10-141-1/+2
| |
* | mesa: added MESA_VERBOSE option 'draw' to debug glDrawArrays/Elements, etc.Brian Paul2009-10-141-1/+2
| |
* | mesa: rename VERBOSE_IMMEDIATE->VERBOSE_MATERIAL to reflect what it doesBrian Paul2009-10-141-1/+1
|/
* mesa: better texture dump/debug codeBrian Paul2009-08-041-52/+45
|
* Merge branch 'mesa_7_5_branch'Jakob Bornecrantz2009-06-091-1/+1
|\ | | | | | | | | | | | | | | | | Conflicts: Makefile src/mesa/main/version.h src/mesa/shader/slang/slang_preprocess.c src/mesa/state_tracker/st_cb_bufferobjects.c
| * mesa: Use matching signedness for the counter as upper bound.José Fonseca2009-06-081-1/+1
| |
* | mesa: call _mesa_ funcs, not gl funcs for debuggingBrian Paul2009-06-041-15/+18
| |
* | mesa: added debug functions for dumping color/depth/stencil buffersBrian Paul2009-05-211-0/+101
|/
* mesa: fix _mesa_dump_textures(), add null ptr checkBrian Paul2009-04-221-2/+3
| | | | Calling _mesa_dump_textures() deleted the textures... oops!!!
* mesa: more tex image debug/dumping codeBrian Paul2009-03-021-0/+22
|
* mesa: Move statements after declarations.José Fonseca2009-02-111-1/+1
|
* mesa: debug code for printing info about textures, writing teximages to diskBrian Paul2009-02-071-0/+99
|
* glsl: new MESA_GLSL env var for GLSL debugging featuresBrian Paul2009-02-061-3/+1
| | | | | | Replaces the VERBOSE_GLSL, VERBOSE_GLSL_DUMP flags which only worked in debug builds. MESA_GLSL will work both in debug and non-debug builds. Also add facility to dump glUniform() calls to stdout.
* Revert "mesa: meaningless whitespace change to see if git's working (ignore)"Brian Paul2009-02-061-1/+3
| | | | | | This reverts commit b2e779988eeb595187933fe2122d86f8ccfe059c. I didn't mean to push this stuff yet. I'm having a bad git day...
* mesa: meaningless whitespace change to see if git's working (ignore)Brian Paul2009-02-061-3/+1
|
* mesa: additional debug flags for glsl debug/disassemblyBrian Paul2008-11-011-29/+25
|
* Move code to enable FP exceptions into debug.c (set MESA_DEBUG=fpexceptions).Brian Paul2005-11-101-1/+13
| | | | Get rid of MESA_DEBUG preprocessor symbol, just use DEBUG instead.
* Move the ctx->FirstTimeCurrent initializationBrian Paul2005-09-131-5/+2
|