summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
Commit message (Collapse)AuthorAgeFilesLines
* gallivm: s/debug_dump_/util_dump_/José Fonseca2010-02-141-2/+2
|
* util: Rename u_debug_dump.[ch] -> u_dump.[ch].José Fonseca2010-02-144-57/+57
| | | | | | I have more plans for this than mere debugging -- it will be an helper to provide human readible representations of all gallium state for the python state tracker.
* draw: Use util_format_name().José Fonseca2010-02-141-1/+1
|
* util: Use util_format_name().José Fonseca2010-02-141-118/+1
|
* util: Add pf_name() replacement: util_format_name().José Fonseca2010-02-141-0/+13
|
* util: Properly init memory for blitter CSOs.Corbin Simpson2010-02-121-8/+5
| | | | Fixes misrender on r300g.
* Merge branch 'gallium-dynamicstencilref'Roland Scheidegger2010-02-124-49/+69
|\
| * gallium: make u_blitter code save/restore stencil ref valuesRoland Scheidegger2010-02-112-0/+10
| |
| * gallium: give pipe_stencil_ref its own cso_save/restore functionsRoland Scheidegger2010-02-112-5/+16
| | | | | | | | seems cleaner, and other dynamic state like viewport is handled that way too
| * gallium: also save/restore stencil_ref in cso_save/restore_depth_stencil_alphaRoland Scheidegger2010-02-111-3/+6
| | | | | | | | makes life of state trackers easier
| * gallium: don't put stencil ref value in pipe_depth_stencil_alpha_stateRoland Scheidegger2010-02-093-47/+43
| | | | | | | | | | | | | | | | This will make driver's life a bit harder, however it makes sense that stencil reference value is not part of the pipe_depth_stencil_alpha_state, because it often (there are some algorithms which require this) changes more frequently than the rest of the dsa state. This is also encouraged by some graphic APIs. Treat it similar to pipe_blend_color.
* | Revert "util: Fix descriptors for R32_FLOAT and R32G32_FLOAT formats."Michal Krol2010-02-121-2/+2
| | | | | | | | This reverts commit aa0b671422880b99dc178d43d1e4e1a3f766bf7f.
* | util: Fix descriptors for R32_FLOAT and R32G32_FLOAT formats.Michal Krol2010-02-121-2/+2
| | | | | | | | Fill in ones for missing components.
* | llvmpipe: Handle TGSI_TOKEN_TYPE_PROPERTY.José Fonseca2010-02-112-0/+4
| | | | | | | | Avoids assertion failures with certain shaders.
* | gallivm: TGSI_OPCODE_CONT is not deprecated.José Fonseca2010-02-111-2/+1
| | | | | | | | | | | | Note that with FIXME instead of an assertion failure. Addresses fdo 25956.
* | os: Do not use Pthreads barrier functions on Mac OS X.Vinson Lee2010-02-101-42/+52
| | | | | | | | Pthreads barrier functions are not available on some POSIX platforms.
* | gallium: cast to silence waringBrian Paul2010-02-101-1/+1
| |
* | gallium: use os_time.h in pb_bufmgr_cache.cBrian Paul2010-02-101-9/+9
| | | | | | | | Untested, but seems straightforward.
* | gallium: use os_time.h in u_timed_winsys.cBrian Paul2010-02-101-19/+13
| |
* | gallium/auxiliary: add -D__STDC_CONSTANT_MACROSBrian Paul2010-02-091-0/+3
|/ | | | Not sure why this is needed now, after the gallivm re-org.
* Merge branch 'gallium-nopointsizeminmax'Roland Scheidegger2010-02-092-21/+13
|\ | | | | | | | | | | | | Conflicts: src/gallium/drivers/nv10/nv10_state.c src/gallium/drivers/nv20/nv20_state.c src/gallium/drivers/nv50/nv50_program.c
| * gallium: add point_quad_rasterization bit to rasterizer stateRoland Scheidegger2010-02-041-0/+1
| | | | | | | | | | This determines if points should be rasterized according to GL point rules or as normal quads (GL point sprites / d3d points / d3d point sprites).
| * gallium: clean up point sprite rasterizer stateRoland Scheidegger2010-02-032-10/+12
| | | | | | | | | | | | | | | | | | | | Don't need sprite coord origin per coord. Also, don't need separate sprite enable bit - if all coords have it diabled, then there are no point sprites (technically, there's a distinction in pre-GL3, but it only differs in having more leniency in clamping to max size, something the state tracker would need to handle and the hardware won't bother anyway). Also, use packed field for the per-coord enables. All in all, should save 3 dwords in rasterizer state (from 10 down to 7).
| * gallium: remove point_size_min and point_size_max from rasterizer stateRoland Scheidegger2010-01-121-11/+0
| | | | | | | | | | | | | | The state tracker is responsible for clamping to any graphics API enforced size min/max limits for both the static point_size setting as well as per vertex point size (in the vertex shader). Note that mesa state tracker didn't actually use these values.
* | gallium: Remove prefilter member from pipe_sampler_state struct.Michal Krol2010-02-095-5/+0
| |
* | tgsi: Gather cylindrical wrap info in tgsi_shader_info struct.Michal Krol2010-02-092-0/+2
| |
* | tgsi: Add ureg_DECL_fs_input_cyl().Michal Krol2010-02-092-52/+94
| | | | | | | | Allows one to declare fragment shader inputs with cylindrical wrap info.
* | gallium: Add cylindrical wrap info to TGSI declaration.Michal Krol2010-02-093-1/+21
| |
* | tgsi: Remove tgsi_dump_c.[ch].Michal Krol2010-02-093-512/+0
| | | | | | | | Little utility after development stabilisation, use tgsi_dump instead.
* | llvmpipe: switch to using dynamic stack allocation instead of registersZack Rusin2010-02-083-3/+59
| | | | | | | | | | | | | | | | with mutable vars we don't need to follow the phi nodes. meaning that control flow becomes trivial as we don't have scan the rest of the tgsi to figure out the variable usage anymore. futhermore the memory2register pass promotes alloca/store/load to registers while inserting the right phi nodes. so we get simplicity and performance.
* | gallivm: added lp_bld_misc.cpp to sources listBrian Paul2010-02-081-0/+1
| |
* | gallivm: added gallivm/lp_bld_misc.cpp to MakefileBrian Paul2010-02-081-0/+5
| |
* | llvmpipe: export the tgsi translation code to a common layerZack Rusin2010-02-0866-5580/+11064
| | | | | | | | | | | | | | the llvmpipe tgsi translation is a lot more complete than what was in gallivm so replacing the latter with the former. this is needed since the draw llvm paths will use the same code. effectively the proven llvmpipe code becomes gallivm.
* | Gallium: Add Solaris atomic function definitions to u_atomic.hAlan Coopersmith2010-02-061-1/+35
| | | | | | | | Signed-off-by: Alan Coopersmith <[email protected]>
* | tgsi: remove special-case code for fragment positionBrian Paul2010-02-051-7/+1
| | | | | | | | | | | | | | | | | | Since the origin_lower_left / pixel_center_origin changes, we need to use the fragcoord info that's set up in setup_fragcoord_coeff(). The code in exec_declaration() was clobbering the the interpolated fragment position. Fixes progs/glsl/fragcoord.c demo.
* | os: Don't assert on missing implementation of barrier init/destroy. Just usage.José Fonseca2010-02-051-2/+0
| |
* | Merge remote branch 'origin/lp-binning'José Fonseca2010-02-057-15/+338
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * \ Merge remote branch 'origin/master' into lp-binningJosé Fonseca2010-01-3156-918/+1631
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile src/gallium/auxiliary/util/u_surface.c src/gallium/drivers/llvmpipe/lp_flush.c src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/llvmpipe/lp_state_derived.c src/gallium/drivers/llvmpipe/lp_state_fs.c src/gallium/drivers/llvmpipe/lp_state_surface.c src/gallium/drivers/llvmpipe/lp_tex_cache.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/llvmpipe/lp_tile_cache.c src/mesa/state_tracker/st_cb_condrender.c
| * | | gallium/util: comments for time-related functionsBrian Paul2010-01-271-0/+9
| | | |
| * | | gallium/util: print dlerror() info upon dlopen() failureBrian Paul2010-01-271-2/+7
| | | |
| * | | util: fix broken util_ringbuffer_dequeue()Brian Paul2010-01-181-3/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The tests for an empty ring buffer were incorrect. Fixes glxinfo segfaults. Plus, add a new assertion.
| * | | Merge remote branch 'origin/master' into lp-binningJosé Fonseca2010-01-1642-363/+969
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/drivers/llvmpipe/lp_quad.h src/gallium/drivers/llvmpipe/lp_setup.c
| * | | | gallium/util: added debug_dump_texture() and ppm outputBrian Paul2010-01-142-0/+79
| | | | | | | | | | | | | | | | | | | | Now we can get dump debug images on Linux too.
| * | | | Merge remote branch 'origin/master' into lp-binningJosé Fonseca2010-01-08144-6304/+8326
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/util/u_surface.c src/gallium/drivers/llvmpipe/Makefile src/gallium/drivers/llvmpipe/SConscript src/gallium/drivers/llvmpipe/lp_bld_arit.c src/gallium/drivers/llvmpipe/lp_bld_flow.c src/gallium/drivers/llvmpipe/lp_bld_interp.c src/gallium/drivers/llvmpipe/lp_clear.c src/gallium/drivers/llvmpipe/lp_context.c src/gallium/drivers/llvmpipe/lp_context.h src/gallium/drivers/llvmpipe/lp_draw_arrays.c src/gallium/drivers/llvmpipe/lp_jit.c src/gallium/drivers/llvmpipe/lp_jit.h src/gallium/drivers/llvmpipe/lp_prim_vbuf.c src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/llvmpipe/lp_setup_point.c src/gallium/drivers/llvmpipe/lp_state.h src/gallium/drivers/llvmpipe/lp_state_blend.c src/gallium/drivers/llvmpipe/lp_state_derived.c src/gallium/drivers/llvmpipe/lp_state_fs.c src/gallium/drivers/llvmpipe/lp_state_sampler.c src/gallium/drivers/llvmpipe/lp_state_surface.c src/gallium/drivers/llvmpipe/lp_tex_cache.c src/gallium/drivers/llvmpipe/lp_tex_cache.h src/gallium/drivers/llvmpipe/lp_tex_sample.h src/gallium/drivers/llvmpipe/lp_tile_cache.c
| * | | | | gallium/util: added util_unreference_framebuffer_state()Brian Paul2009-12-111-0/+16
| | | | | |
| * | | | | gallium/util: simplify util_framebuffer_state_equal()Brian Paul2009-12-112-10/+16
| | | | | | | | | | | | | | | | | | | | | | | | And copy width, height in util_copy_framebuffer_state().
| * | | | | gallium/util: added framebuffer compare, copy util funcsBrian Paul2009-12-102-0/+58
| | | | | |
| * | | | | util: Force ESI register for cpuid's ebx result.José Fonseca2009-10-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes a segfault and better code. Unfortunately using an arbitrary register ("=r") causes the gcc to abort when the code is optimized saying it can't satisfy the constraint. Setting seems to do the trick.
* | | | | | auxiliary: util_stream -> os_streamJosé Fonseca2010-02-046-81/+78
| | | | | |
* | | | | | os: Ensure header includes are outside extern "C" {}.José Fonseca2010-02-041-2/+6
| | | | | |