summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util
Commit message (Collapse)AuthorAgeFilesLines
* util: fix possible null pointer usageZack Rusin2009-07-064-11/+46
| | | | found by the clang static analyzer
* Merge branch 'mesa_7_5_branch'Jakob Bornecrantz2009-07-031-4/+2
|\ | | | | | | | | | | Conflicts: src/mesa/main/dlist.c src/mesa/vbo/vbo_save_api.c
| * util: Increase OutputDebugStringA to 4k.José Fonseca2009-07-011-4/+2
| | | | | | | | | | | | | | According to http://unixwiz.net/techtips/outputdebugstring.html that's how big the buffer is. The 512bytes limitation is in kernel mode.
* | Merge branch 'mesa_7_5_branch'Brian Paul2009-06-301-1/+3
|\| | | | | | | | | | | Conflicts: src/mesa/vbo/vbo_exec_draw.c
| * util: Set PIPE_BUFFER_USAGE_FLUSH_EXPLICIT when calling ↵José Fonseca2009-06-301-1/+3
| | | | | | | | buffer_flush_mapped_range.
* | Merge branch 'mesa_7_5_branch'Brian Paul2009-06-241-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/i915/i915_tex_layout.c src/mesa/drivers/dri/i965/brw_wm_glsl.c src/mesa/drivers/dri/intel/intel_buffer_objects.c src/mesa/drivers/dri/intel/intel_pixel_bitmap.c src/mesa/drivers/dri/intel/intel_pixel_draw.c src/mesa/main/enums.c src/mesa/main/texstate.c src/mesa/vbo/vbo_exec_array.c
| * util: Add cast.José Fonseca2009-06-181-1/+1
| | | | | | | | It is expected to loose precision here.
* | gallium/util: s/boolean/unsigned/Brian Paul2009-06-191-1/+1
| |
* | Merge branch 'mesa_7_5_branch'José Fonseca2009-06-111-1/+1
|\| | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_cb_fbo.c src/mesa/state_tracker/st_framebuffer.c
| * util: Single precision constants.José Fonseca2009-06-101-1/+1
| |
* | util: Fix winsock include.Michal Krol2009-06-051-1/+1
| |
* | Merge branch 'mesa_7_5_branch'Brian Paul2009-06-041-1/+16
|\| | | | | | | | | | | Conflicts: src/mesa/main/context.c
| * util: Unsaved change missing from last commit.José Fonseca2009-06-021-1/+1
| |
| * util: Support Z24S8/Z24X8 -> unsigned conversion.José Fonseca2009-06-021-0/+15
| |
| * util: Fix 24 to 32 bit expansion binary arithmetic expression.José Fonseca2009-06-021-1/+1
| | | | | | | | | | | | When approaching y = x * 0xffffffff / 0xffffff with bit arithmetic, the 8 least significant bits of y should come from the 8 most significant bits of x.
| * util/upload: catch failures to map_range and return errorKeith Whitwell2009-05-081-13/+17
| | | | | | | | Caller may be able to do something about this - eg flush and retry.
| * util: Limit the stack walk to avoid referencing undefined memory.José Fonseca2009-05-081-1/+10
| |
* | util: Add simple network functionsJakob Bornecrantz2009-06-014-0/+214
| |
* | util/upload: catch failures to map_range and return errorKeith Whitwell2009-05-081-13/+17
| | | | | | | | Caller may be able to do something about this - eg flush and retry.
* | Merge branch 'mesa_7_5_branch'Brian Paul2009-05-051-10/+86
|\|
| * gallium: fix texcoords for cubemap mipmap generationBrian Paul2009-05-051-10/+86
| | | | | | | | | | We need to use (s,t,r) cubemap coords when sampling from the cubemap texture so the rendered quad gets texture samples from the correct cube face.
* | util: Limit the stack walk to avoid referencing undefined memory.José Fonseca2009-05-051-1/+10
|/
* util: Remove unix includes.José Fonseca2009-04-271-4/+0
|
* util/time: add util_time_sleep() for windows userspaceKeith Whitwell2009-04-271-0/+9
| | | | Somebody with a clue could probably do a better implemenation...
* util: Add debug_printf_onceMicah Dowty2009-04-241-0/+16
|
* util: Add more entry points for dumping to bmpJakob Bornecrantz2009-04-242-18/+43
|
* gallium: license, copyrightBrian Paul2009-04-222-0/+62
|
* util: don't set unused blend stateKeith Whitwell2009-04-202-8/+0
| | | | Try to avoid creating multiple blend atoms.
* util: flush stdout before emitting debug_printf on stderrKeith Whitwell2009-04-171-0/+2
| | | | | A lot of the mesa demos emit commentary on stdout, try to keep it in sync with the corresponding output from debug_printf().
* util: Fix surface usageJakob Bornecrantz2009-04-151-2/+2
|
* gallium: new, simple RGBA surface create/destroy helpersBrian Paul2009-04-154-0/+167
| | | | Use these for quickly creating an RGBA drawing surface.
* gallium: remove unneeded compressed=0 assignmentBrian Paul2009-04-091-1/+0
|
* gallium: handle the case of util_pack_z_stencil(format=PIPE_FORMAT_S8_UNORM)Brian Paul2009-04-081-0/+8
| | | | Fixes failed assertion in glean fbo test.
* gallium: Clean up driver clear() interface.Michel Dänzer2009-04-042-6/+68
| | | | | Only allows clearing currently bound buffers, but colour and depth/stencil in a single call.
* gallium: Add utility helper for packing combined depth/stencil values.Michel Dänzer2009-04-041-0/+20
|
* util/debug: Initialise local variables.Michal Krol2009-04-031-2/+2
|
* util: Fix x86_64 build.José Fonseca2009-04-011-1/+1
|
* util: Lookup symbol names from addresses.José Fonseca2009-04-015-1/+308
| | | | | | Nice for stack backtraces. Windows-only for now.
* gallium: added util_is_inf_or_nan() function to u_math.hBrian Paul2009-03-311-0/+12
|
* util: Enable assembly breakpointt on x86_64.José Fonseca2009-03-311-1/+1
| | | | A breakpoint is much nicer than abort when gdb is attached.
* util: Support Z24S8/Z24X8.José Fonseca2009-03-271-0/+16
|
* util: Use size_t (for x86_64).José Fonseca2009-03-251-1/+1
|
* util: Don't use x86 asm on x86_64.José Fonseca2009-03-254-16/+21
|
* Add #ifdefs needed to compile Gallium on Solaris with gcc or Sun ccAlan Coopersmith2009-03-253-10/+10
| | | | Signed-off-by: Alan Coopersmith <[email protected]>
* debug: Add function for writing transfers to filesJakob Bornecrantz2009-03-222-32/+42
|
* util: Add a new macro for testing empty lists.José Fonseca2009-03-231-0/+3
|
* gallium/util: add upload manager helper moduleKeith Whitwell2009-03-204-0/+297
| | | | | | | | Add a module that will manage uploading and coalescing multiple user-buffers, malloc-buffers and other random data that doesn't happen to be in a GPU buffer already. The module stuffs multiple little uploads into larger GPU buffers to reduce create/destroy overheads, etc.
* util: avoid clashprone UINT, UBYTE enum valuesKeith Whitwell2009-03-181-58/+58
|
* util: Realloc takes bytes.José Fonseca2009-03-171-2/+2
|
* util: bitmask data type.José Fonseca2009-03-163-0/+435
|