summaryrefslogtreecommitdiff
path: root/src/mesa/main/debug.c
AgeCommit message (Collapse)Author
2010-09-09Revert "glapi: Implement optional dispatch logging"Kristian Høgsberg
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.
2010-09-09glapi: Implement optional dispatch loggingKristian Høgsberg
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.
2010-05-02mesa: s/sprintf/_mesa_snprintf/Vinson Lee
2010-03-23mesa: Also print _NEW_STENCIL in _mesa_print_state()Kristian Høgsberg
2010-02-19mesa: casts to silence new warnings from printf()Brian Paul
2010-02-19Replace the _mesa_*printf() wrappers with the plain libc versionsKristian Høgsberg
2010-02-19Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg
2010-02-19Remove _mesa_strstr in favor of plain strstr.Kenneth Graunke
2010-01-18mesa: Fix typo of 'unknown' in debug.c.Vinson Lee
2010-01-18mesa: Remove unnecessary headers from debug.c.Vinson Lee
2009-10-29mesa: move, clean-up _mesa_print_texture()Brian Paul
2009-10-28Merge branch 'texformat-rework'Brian Paul
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
2009-10-27mesa: more texture debug code changes, improvementsBrian Paul
2009-10-22mesa: added _mesa_dump_texture()Brian Paul
2009-10-21mesa: added _mesa_dump_renderbuffers() debug codeBrian Paul
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-05mesa: don't include texformat.hBrian Paul
2009-09-30mesa: replace gl_texture_format with gl_formatBrian Paul
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.
2009-08-04mesa: better texture dump/debug codeBrian Paul
2009-06-09Merge branch 'mesa_7_5_branch'Jakob Bornecrantz
Conflicts: Makefile src/mesa/main/version.h src/mesa/shader/slang/slang_preprocess.c src/mesa/state_tracker/st_cb_bufferobjects.c
2009-06-08mesa: Use matching signedness for the counter as upper bound.José Fonseca
2009-06-04mesa: call _mesa_ funcs, not gl funcs for debuggingBrian Paul
2009-05-21mesa: added debug functions for dumping color/depth/stencil buffersBrian Paul
2009-04-22mesa: fix _mesa_dump_textures(), add null ptr checkBrian Paul
Calling _mesa_dump_textures() deleted the textures... oops!!!
2009-03-02mesa: more tex image debug/dumping codeBrian Paul
2009-02-11mesa: Move statements after declarations.José Fonseca
2009-02-07mesa: debug code for printing info about textures, writing teximages to diskBrian Paul
2009-02-06glsl: new MESA_GLSL env var for GLSL debugging featuresBrian Paul
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.
2009-02-06Revert "mesa: meaningless whitespace change to see if git's working (ignore)"Brian Paul
This reverts commit b2e779988eeb595187933fe2122d86f8ccfe059c. I didn't mean to push this stuff yet. I'm having a bad git day...
2009-02-06mesa: meaningless whitespace change to see if git's working (ignore)Brian Paul
2008-11-01mesa: additional debug flags for glsl debug/disassemblyBrian Paul
2005-11-10Move code to enable FP exceptions into debug.c (set MESA_DEBUG=fpexceptions).Brian Paul
Get rid of MESA_DEBUG preprocessor symbol, just use DEBUG instead.
2005-09-13Move the ctx->FirstTimeCurrent initializationBrian Paul
2005-05-12new MESA_DEBUG option: disassemKeith Whitwell
2004-11-12added DD_TRI_TWOSTENCIL to ease EXT_stencil_two_side in device driversDaniel Borca
2004-08-25Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵Brian Paul
1015696)
2004-01-20remove _mesa_check_driver_hooks() - it's really not too useful anymoreBrian Paul
2003-09-18removed unused NoRaster and Rendering fields from GLcontextBrian Paul
2003-07-17Merge Jose's documentation and core Mesa changes from embedded branchKeith Whitwell
2003-06-05Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick
2002-10-24Header file clean-up:Brian Paul
1. Remove all.h and PC_HEADER junk. 2. Rolled mem.c and mem.h into imports.c and imports.h 3. Include imports.h instead of mem.h Restore _mesa_create/initialize_context() to be like they were in 4.0.4 New wrappers for a few std C functions: _mesa_atoi(), _mesa_strstr(), etc.
2002-06-29Applied Matt Sealey's patch to remove/isolate all stdio.h function calls.Brian Paul
Instead of mstdio.[ch], use imports.[ch] to isolate these functions.
2001-03-29Remove ENABLE_* flags, ctx->_Enabled.Keith Whitwell
Replace with ctx->Texture._TexMatEnabled, ctx->Texture._TexGenEnabled.
2001-03-29Removed DD_STENCIL, DD_FEEDBACK, DD_SELECT.Keith Whitwell
Added some switchable debug to s_context.c
2001-03-29Removed DD_Z_NEVER.Brian Paul
Replaced SEPERATE with SEPARATE. Renumbered _NEW_ flags. Removed _NEW_COLORTABLE.
2001-03-12Consistent copyright info (version number, date) across all files.Gareth Hughes
2001-03-03lots of gl_*() to _mesa_*() namespace clean-upBrian Paul
2000-12-28try and force a log messageKeith Whitwell