Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | os: remove gratuitous pipe_barrier placeholder code | nobled | 2010-07-12 | 1 | -21/+1 |
| | | | | | | | There's already an implementation of pipe_barrier using the other pipe_* primitives; just use that on Windows, too. Now Windows passes pipe_barrier_test. | ||||
* | os, rbug: remove PIPE_THREAD_HAVE_CONDVAR | nobled | 2010-07-12 | 1 | -1/+0 |
| | | | | | The new default implementation of pipe_condvar makes it unnecessary. | ||||
* | os: Implement pipe_condvar on Windows Vista and later | nobled | 2010-07-12 | 1 | -0/+30 |
| | | | | | | | | Unfortunately compiling with these defines enabled would mean Gallium can't run on Windows XP/2003 or older. Todo: Need a macro to declare if we don't care about WinXP compatibililty. | ||||
* | os: Implement pipe_condvar on win32 | nobled | 2010-07-12 | 1 | -7/+27 |
| | | | | | | | | Or at least a little of it. This version will sleep for a fixed amount of time instead of just deadlocking, which is a slight improvement. Also do the same thing on any unrecognized platform. | ||||
* | u_blitter: add draw_rectangle callback which can be overridden by a driver | Marek Olšák | 2010-07-12 | 2 | -19/+104 |
| | |||||
* | u_blitter: clean up the texcoord computations | Marek Olšák | 2010-07-12 | 1 | -28/+35 |
| | |||||
* | u_blitter: simplify blitter_set_rectangle | Marek Olšák | 2010-07-12 | 1 | -19/+32 |
| | |||||
* | u_blitter: rename blitter->base, add a way to get a pipe context from blitter | Marek Olšák | 2010-07-12 | 2 | -70/+80 |
| | |||||
* | draw: Fix off-by-one error in assert. | Vinson Lee | 2010-07-08 | 1 | -1/+1 |
| | | | | textures is an array of size PIPE_MAX_VERTEX_SAMPLERS. | ||||
* | gallivm: restore const qualifier | Brian Paul | 2010-07-07 | 1 | -1/+1 |
| | |||||
* | gallivm: fix cube map LOD computation | Brian Paul | 2010-07-07 | 1 | -38/+54 |
| | | | | | | | | | | | | | | | First, this undoes commit e503af4baa2c709ae5743bb278b277d3faaba076 so we use iround() in lp_build_nearest_mip_level(). Second, in lp_build_sample_general() we need to check if we're sampling a cube map before anything else. Choose the cube face and then recompute the partial derivatives of (S,T) with respect to the chosen cube face. Before, we were using the directional (S,T,R) derivatives to compute the LOD. Third, work around an apparent bug in LLVM 2.7 where setting the lod variable to a const(0) value results in bad x86 code. See comments in the code. | ||||
* | draw: Remove unnecessary header. | Vinson Lee | 2010-07-06 | 1 | -1/+0 |
| | |||||
* | gallivm: Remove unnecessary header. | Vinson Lee | 2010-07-06 | 1 | -1/+0 |
| | |||||
* | util: print help for debug options on non-debug builds | Marek Olšák | 2010-07-07 | 1 | -2/+2 |
| | | | | I'd like to see the help when I request it. | ||||
* | gallivm: use trunc, not round in lp_build_nearest_mip_level() | Brian Paul | 2010-07-06 | 1 | -1/+1 |
| | | | | Fixes fd.o bug 28036 (piglit fbo-cubemap.c regression) | ||||
* | gallivm: finish implementation of lp_build_iceil() | Brian Paul | 2010-07-06 | 1 | -19/+67 |
| | | | | | | Plus fix minor error in lp_build_iceil() by tweaking the offset value. And add a bunch of comments for the round(), trunc(), floor(), ceil() functions. | ||||
* | draw: make sure softpipe doesn't crash with vertex tex sampling | Zack Rusin | 2010-07-06 | 1 | -7/+16 |
| | | | | | | softpipe doesn't implement the draw's llvm tex sampling interface so make sure draw can handle the cases where the driver doesn't implement the interface | ||||
* | draw: implement vertex texture sampling using llvm | Zack Rusin | 2010-07-06 | 9 | -28/+420 |
| | |||||
* | gallivm: Use SSE4.1's BLENDV instructions for lp_build_select(). | José Fonseca | 2010-07-06 | 1 | -0/+41 |
| | |||||
* | gallivm: Fix 8bit comparisons. | José Fonseca | 2010-07-06 | 1 | -5/+3 |
| | |||||
* | auxiliary/util: Add SM3 meta-cap list. | Corbin Simpson | 2010-07-05 | 1 | -0/+17 |
| | |||||
* | gallivm: Remove unnecessary headers. | Vinson Lee | 2010-07-03 | 2 | -2/+0 |
| | |||||
* | gallivm: Do 4ubyte AoS texture filtering for any format that can be expressed. | José Fonseca | 2010-07-02 | 3 | -52/+96 |
| | | | | | Except if it has only one channel, as it would take the same number of instructions. | ||||
* | gallivm: Use util_format_description::fetch_rgba_8unorm() when available. | José Fonseca | 2010-07-02 | 1 | -7/+100 |
| | |||||
* | util: Add a fetch_rgba_8unorm. | José Fonseca | 2010-07-02 | 2 | -0/+15 |
| | | | | | | Not always implemented, but useful in situations where we want 8unorms and the samples comes as 8unorms as we needlessly convert to/from floats. | ||||
* | gallivm: Support multiple pixels in lp_build_fetch_rgba_aos(). | José Fonseca | 2010-07-02 | 5 | -111/+199 |
| | | | | | This allows to do the unpacking of formats that fit in 4 x unorm8 in parallel, 4 pixels at a time. | ||||
* | gallivm: Move lp_build_rgba8_to_f32_soa() to lp_bld_format_soa.c | José Fonseca | 2010-07-02 | 3 | -32/+40 |
| | | | | It will be more useful here. | ||||
* | gallivm: Move gather functions to its own module. | José Fonseca | 2010-07-02 | 10 | -61/+215 |
| | | | | | They need to grow, and they provide basic functionality which is not specific to sampling. | ||||
* | gallivm: Check inputs/outputs in lp_build_conv() | José Fonseca | 2010-07-02 | 1 | -2/+6 |
| | |||||
* | util: Expose util_format_fits_8unorm(). | José Fonseca | 2010-07-02 | 2 | -1/+4 |
| | |||||
* | gallium/cso: check for set_vertex_sampler_views != NULL before calling it | Brian Paul | 2010-07-02 | 1 | -1/+2 |
| | | | | | Not all drivers implement this method. Fixes regression reported by Chris Rankin and bug 28889. | ||||
* | gallivm: Code generate YUV format unpacking. | José Fonseca | 2010-07-02 | 5 | -0/+431 |
| | |||||
* | gallivm: Fix 4 x unorm8 -> 4 x float conversion. | José Fonseca | 2010-07-02 | 2 | -7/+30 |
| | | | | Also fix the test. | ||||
* | r600: use gallium list macros instead of making our own. | Dave Airlie | 2010-07-02 | 1 | -1/+16 |
| | | | | | | | | | before this change, r600 glxinfo segfaulted in the list code, and I wasn't debugging another linked list implementation, its 2010 after all. So add the two missing list macros to the gallium header from X.org list header file (after fixing them), then port all r600 lists to the new header. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | gallium/cso: unbind sampler views in cso_release_all() | Brian Paul | 2010-07-01 | 1 | -0/+2 |
| | |||||
* | gallivm: Support 4 x unorm8 in lp_build_fetch_rgba_aos(). | José Fonseca | 2010-07-01 | 5 | -70/+213 |
| | | | | Uses code and ideas from Brian Paul. | ||||
* | gallivm: Allow to conversions to/from registers of different sizes. | José Fonseca | 2010-07-01 | 3 | -21/+125 |
| | | | | | | Allow for example to convert from 4 x float32 to 4 x unorm8 and vice versa. Uses code and ideas from Brian Paul. | ||||
* | gallivm: Support extended swizzles in lp_build_swizzle1_aos(). | José Fonseca | 2010-07-01 | 3 | -23/+169 |
| | | | | And rename to lp_build_swizzle_aos(). | ||||
* | gallivm: Setup a global optimization pass. | José Fonseca | 2010-07-01 | 2 | -0/+31 |
| | | | | | Modules are still free to setup their own optimization passes, but for the normal case it should not be necessary. | ||||
* | llvmpipe: Remove lp_build_swizzle2_aos(). | José Fonseca | 2010-07-01 | 2 | -61/+0 |
| | | | | Unnecessary special case. | ||||
* | draw: fix out of memory handling in polygon stipple stage | Brian Paul | 2010-06-30 | 1 | -5/+10 |
| | |||||
* | draw: Add inline keyword to inline function. | José Fonseca | 2010-06-29 | 1 | -1/+1 |
| | | | | Otherwise gcc will warn about unusued functions. | ||||
* | util: reference surfaces and sampler views in blitter when saving them | Marek Olšák | 2010-06-29 | 2 | -5/+46 |
| | | | | Ooops. This should possibly fix some bugs... | ||||
* | glhd: Re-integrate with the debug system | Jakob Bornecrantz | 2010-06-28 | 1 | -0/+8 |
| | |||||
* | Merge branch 'gallium-drm-driver-drescriptor' | Jakob Bornecrantz | 2010-06-28 | 3 | -0/+133 |
|\ | | | | | | | | | | | | | | | | | Conflicts: src/gallium/state_trackers/egl/x11/native_dri2.c src/gallium/state_trackers/egl/x11/native_x11.c src/gallium/state_trackers/egl/x11/native_x11.h src/gallium/state_trackers/xorg/xorg_driver.c src/gallium/winsys/radeon/drm/radeon_drm.c | ||||
| * | gallium: Add debug target helper | Jakob Bornecrantz | 2010-06-24 | 1 | -0/+36 |
| | | |||||
| * | gallium: Remove drm_api and all references to it | Jakob Bornecrantz | 2010-06-24 | 1 | -46/+0 |
| | | |||||
| * | target-helpers: Add inline helpers | Jakob Bornecrantz | 2010-06-23 | 2 | -0/+97 |
| | | |||||
| * | gallium: drm api compat helper | Jakob Bornecrantz | 2010-06-06 | 1 | -0/+46 |
| | | | | | | | | | | This is temporary untill all drivers have moved to the new drm driver descriptor interface. | ||||
* | | util: fix a memory leak in blitter | Marek Olšák | 2010-06-27 | 1 | -6/+1 |
| | |