summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary
AgeCommit message (Collapse)Author
2010-02-10os: Do not use Pthreads barrier functions on Mac OS X.Vinson Lee
Pthreads barrier functions are not available on some POSIX platforms.
2010-02-10gallium: cast to silence waringBrian Paul
2010-02-10gallium: use os_time.h in pb_bufmgr_cache.cBrian Paul
Untested, but seems straightforward.
2010-02-10gallium: use os_time.h in u_timed_winsys.cBrian Paul
2010-02-09gallium/auxiliary: add -D__STDC_CONSTANT_MACROSBrian Paul
Not sure why this is needed now, after the gallivm re-org.
2010-02-09Merge branch 'gallium-nopointsizeminmax'Roland Scheidegger
Conflicts: src/gallium/drivers/nv10/nv10_state.c src/gallium/drivers/nv20/nv20_state.c src/gallium/drivers/nv50/nv50_program.c
2010-02-09gallium: Remove prefilter member from pipe_sampler_state struct.Michal Krol
2010-02-09tgsi: Gather cylindrical wrap info in tgsi_shader_info struct.Michal Krol
2010-02-09tgsi: Add ureg_DECL_fs_input_cyl().Michal Krol
Allows one to declare fragment shader inputs with cylindrical wrap info.
2010-02-09gallium: Add cylindrical wrap info to TGSI declaration.Michal Krol
2010-02-09tgsi: Remove tgsi_dump_c.[ch].Michal Krol
Little utility after development stabilisation, use tgsi_dump instead.
2010-02-08llvmpipe: switch to using dynamic stack allocation instead of registersZack Rusin
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.
2010-02-08gallivm: added lp_bld_misc.cpp to sources listBrian Paul
2010-02-08gallivm: added gallivm/lp_bld_misc.cpp to MakefileBrian Paul
2010-02-08llvmpipe: export the tgsi translation code to a common layerZack Rusin
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.
2010-02-06Gallium: Add Solaris atomic function definitions to u_atomic.hAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-02-05tgsi: remove special-case code for fragment positionBrian Paul
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.
2010-02-05os: Don't assert on missing implementation of barrier init/destroy. Just usage.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-04gallium: add point_quad_rasterization bit to rasterizer stateRoland Scheidegger
This determines if points should be rasterized according to GL point rules or as normal quads (GL point sprites / d3d points / d3d point sprites).
2010-02-04auxiliary: util_stream -> os_streamJosé Fonseca
2010-02-04os: Ensure header includes are outside extern "C" {}.José Fonseca
2010-02-04util: Reimplement u_time on top of os_time.José Fonseca
2010-02-04os: Time abstractions.José Fonseca
Simplified version of u_time.[ch]
2010-02-04os/os_memory_aligned.h: fix memory allocation alignment for 64 bitsJosé Fonseca
Based on Andreia Gaita <shana@jitted.com>'s patch.
2010-02-04util: Disable u_time.c implementation for embedded.José Fonseca
This needs to go into OS module.
2010-02-04util: Add missing include.José Fonseca
2010-02-04os: Add missing dummy threading definitions.José Fonseca
2010-02-03util: Remove unnecessary header.Vinson Lee
2010-02-03util: Cast to match the MSVC intrinsics.José Fonseca
The cast is not optional in C++.
2010-02-03util: Don't include system headers inside extern "C" { ... }José Fonseca
That breaks when some of the system headers have C++ code.
2010-02-03Merge branch 'gallium-embedded'José Fonseca
2010-02-03gallium: clean up point sprite rasterizer stateRoland Scheidegger
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).
2010-02-03tgsi: added debugging code to catch divide by zeroBrian Paul
2010-02-03tgsi: convert CHECK_INF_OR_NAN to inline functionBrian Paul
And disable with if (0). Inf/NaN can occur normally during program execution. Only enable the check code when needed during debugging.
2010-02-03os: Also add the aligned memory prototypes to the embedded section.José Fonseca
2010-02-03util: Reimplement all utility functions in terms of the new OS abstraction.José Fonseca
2010-02-03os: New OS abstraction module.José Fonseca
2010-02-02draw: remove old hard-coded shader length limitsBrian Paul
2010-02-02tgsi: added tgsi_alloc_tokens()Brian Paul
2010-02-02draw: re-implement free_bit() with ffs()Brian Paul
2010-02-02draw: comments and var renamingBrian Paul
2010-02-02tgsi: fix commentBrian Paul
2010-02-02draw: add const qualifiers, fix return typesBrian Paul
2010-02-02draw: new, updated commentsBrian Paul
Try to avoid future confusion between different, but similar functions.
2010-02-02gallium: Move some compiler portability stuff into p_compiler.hJosé Fonseca
2010-02-02gallium: Move deprecated pipe/internal/p_winsys_screen.h inside ↵José Fonseca
util/u_simple_screen.h
2010-02-02gallium: Move p_thread.h and p_atomic.h out of gallium interfaces.José Fonseca
Into os/os_thread.h and util/u_atomic.h respectively.
2010-02-02gallium: Make pipe_atomic a regular int32_t.José Fonseca
2010-02-02gallium: pipe/p_inlines.h -> util/u_inlines.hJosé Fonseca