summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util/u_debug.c
AgeCommit message (Collapse)Author
2010-02-14util: Update for os_stream changes.José Fonseca
2010-02-14util: Use util_format_name().José Fonseca
2010-02-05Merge remote branch 'origin/lp-binning'José Fonseca
Conflicts: src/gallium/auxiliary/util/u_dl.c src/gallium/auxiliary/util/u_time.h src/gallium/drivers/llvmpipe/lp_state_derived.c src/gallium/drivers/llvmpipe/lp_state_surface.c src/gallium/drivers/llvmpipe/lp_tex_cache.c src/gallium/drivers/llvmpipe/lp_tile_cache.c
2010-02-04auxiliary: util_stream -> os_streamJosé Fonseca
2010-02-03util: Reimplement all utility functions in terms of the new OS abstraction.José Fonseca
2010-02-02gallium: pipe/p_inlines.h -> util/u_inlines.hJosé Fonseca
2010-01-14gallium/util: added debug_dump_texture() and ppm outputBrian Paul
Now we can get dump debug images on Linux too.
2009-12-31Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: configs/darwin src/gallium/auxiliary/util/u_clear.h src/gallium/state_trackers/xorg/xorg_exa_tgsi.c src/mesa/drivers/dri/i965/brw_draw_upload.c
2009-12-23util: Ensure debug_dump_flags generates a null-terminated string.Vinson Lee
2009-12-22Merge branch 'i965g-restart'Keith Whitwell
Conflicts: configure.ac
2009-12-17Move the remaining format pf_get_* functions to u_format.h.Michal Krol
Previously they depended on format blocks, but after removing those they started depending on format encoding.
2009-11-30gallium: interface cleanups, remove nblocksx/y from pipe_texture and moreRoland Scheidegger
This patch removes nblocksx, nblocksy arrays from pipe_texture (can be recalculated if needed). Furthermore, pipe_format_block struct is gone completely (again, contains just derived state). nblocksx, nblocksy, block are also removed from pipe_transfer, together with the format enum (can be obtained from the texture associated with the transfer).
2009-10-25i965g: more work on compiling, particularly the brw_draw filesKeith Whitwell
2009-07-29util: _debug_printf should print even when DEBUG is not definedKeith Whitwell
The leading underscore is meaningful... This function is used by _warning and _error functions as well as the more common debug_printf(). debug_printf (without underscore) gets turned off when DEBUG is disabled, but warning/error messages still use this function to get their message out. (cherry picked from commit 0ac879dca797360570543d5bd0fd64f8fb8e566e)
2009-07-01util: Increase OutputDebugStringA to 4k.José Fonseca
According to http://unixwiz.net/techtips/outputdebugstring.html that's how big the buffer is. The 512bytes limitation is in kernel mode.
2009-04-24util: Add more entry points for dumping to bmpJakob Bornecrantz
2009-04-17util: flush stdout before emitting debug_printf on stderrKeith Whitwell
A lot of the mesa demos emit commentary on stdout, try to keep it in sync with the corresponding output from debug_printf().
2009-04-03util/debug: Initialise local variables.Michal Krol
2009-03-25util: Don't use x86 asm on x86_64.José Fonseca
2009-03-22debug: Add function for writing transfers to filesJakob Bornecrantz
2009-03-04gallium: Unify reference counting.Michel Dänzer
The core reference counting code is centralized in p_refcnt.h. This has some consequences related to struct pipe_buffer: * The screen member of struct pipe_buffer must be initialized, or pipe_buffer_reference() will crash trying to destroy a buffer with reference count 0. u_simple_screen takes care of this, but I may have missed some of the drivers not using it. * Except for rare exceptions deep in winsys code, buffers must always be allocated via pipe_buffer_create() or via screen->*buffer_create() rather than via winsys->*buffer_create().
2009-02-20util/debug: need to fflush(stderr) on windowsKeith Whitwell
Hard to believe... but true.
2009-02-20util: Also output messages to stderr on windows.José Fonseca
When there is a console attached, and no debugger attached.
2009-02-18Merge branch 'gallium-texture-transfer'Michel Dänzer
Conflicts: src/gallium/drivers/softpipe/sp_tile_cache.c
2009-02-18util: Move p_debug.h into util module.José Fonseca
The debug functions depend on several util function for os abstractions, and these depend on debug functions, so a seperate module is not possible.