summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2009-10-02gallium: Preparations for adding more PIPE_TRANSFER_* usage flags.Michel Dänzer
Always test for PIPE_TRANSFER_READ/WRITE using the bit-wise and operator, and add a pipe_transfer_buffer_flags() helper for getting the buffer usage flags corresponding to them.
2009-10-01g3dvl: Formatting.Younes Manton
2009-10-01g3dvl: Delete state_trackers/g3dvl, other unused files.Younes Manton
2009-10-01g3dvl: Copyright blocks.Younes Manton
2009-10-01st/xvmc: Set default CSC matrix to BT.601, no ProcAmp, full range RGB.Younes Manton
2009-10-01g3dvl: Color space conv interface & vl impl.Younes Manton
Interface is pipe_video_context::set_csc_matrix(). vl_csc.h defines some helpers to generate CSC matrices based on one of the color standard and a user defined ProcAmp (brightness, contrast, saturation, hue).
2009-10-01Merge branch 'mesa_7_6_branch'Brian Paul
2009-10-01st/xorg: Check that ms->api->destroy is not NULL before calling it.Michel Dänzer
Fixes potential crash on X server shutdown.
2009-10-01util: Enable sockets on BSDRobert Noland
I think this should be safe for all of the BSDs. Signed-off-by: Robert Noland <rnoland@2hip.net> Signed-off-by: Brian Paul <brianp@vmware.com>
2009-10-01util: define PIPE_OS_FREEBSD to correct u_cpu_detect on FreeBSD.Robert Noland
Since the various BSDs use some different features here, define PIPE_OS_OPENBSD and PIPE_OS_NETBSD as well Signed-off-by: Robert Noland <rnoland@2hip.net>
2009-10-01gallium: remove depth.occlusion_count flagKeith Whitwell
This was redundant as drivers can just keep track of whether they are inside a begin/end query pair. We want to add more query types later and also support nested queries, none of which map well onto a flag like this. No driver appeared to be using the flag.
2009-09-30st/xorg: Fix debug option function call typo.Michel Dänzer
2009-09-30st/egl: Fix a double free in drm_destroy_context.Chia-I Wu
st_destroy_context has destroyed the pipe context for us. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-09-30st/egl: Fix a crash when unbinding current context.Chia-I Wu
This fixes a NULL-pointer dereference when eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT) is called. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-09-29gallium/xlib: fix GLX_RENDER_TYPE queryBrian Paul
Return GLX_RGBA_TYPE or GLX_COLOR_INDEX_TYPE.
2009-09-29llvmpipe: Workaround for bug in llvm 2.5.José Fonseca
The combination of fptosi and sitofp (necessary for trunc/floor/ceil/round implementation) somehow becomes invalid code. Skip the instruction combining pass when SSE4.1 is not available.
2009-09-29llvmpipe: First verify LLVM IR, only then run optimizing passes.José Fonseca
2009-09-29llvmpipe: Runtime cpu checks for lp_build_min_simple too.José Fonseca
2009-09-29llvmpipe: Implement non SSE4.1 versions of floor and round.José Fonseca
2009-09-29Merge branch 'mesa_7_6_branch'Brian Paul
Conflicts: Makefile configs/default docs/relnotes.html src/gallium/drivers/softpipe/sp_context.c src/gallium/drivers/softpipe/sp_tile_cache.c src/mesa/main/version.h
2009-09-29softpipe: initialize the clear_flags bitvector in sp_create_tile_cache()Brian Paul
This silences tons of valgrind warnings in programs that don't call glClear(), such as progs/demos/gamma.
2009-09-29softpipe: Grab a ref when the fb is set.Brian Paul
Nasty bug when the surface is freed and another is allocated right on top of it. The next time we set the fb state SP thinks it's the same surface and doesn't flush, and when the flush eventually happens the surface belongs to a completely different texture. (cherry picked from commit a77226071f6814a53358a5d6caff685889d0e4ec) Conflicts: src/gallium/drivers/softpipe/sp_context.c
2009-09-29llvmpipe: Emit SSE intrinsics based on runtime cpu capability check.José Fonseca
Note that llvmpipe still doesn't run on any processor yet: if you don't have a recent processor with SSE4.1 you will still likely end up hitting a code path for which a generic non-sse4 version is not implemented yet.
2009-09-29util: Cleanup u_cpu_detect, build. Support X86_64 and detect SSE4.1 too.José Fonseca
I was waiting for the need to use this code to arise, and it finally came. I've tested building this on Linux and Windows, both x86 and x64_64. But it might break other platforms. Please bear with me and help me fix it. Many thanks to Dennis Smit who submitted this, and Eric Anholt whose work this was based on.
2009-09-29gallium: New PIPE_OS_UNIX to simplify code that is portable to all unices.José Fonseca
2009-09-29i915: Fix MSVC build.Vinson Lee
2009-09-29python: Update for surface_buffer_create change.José Fonseca
2009-09-29g3dvl: assert.h -> util/u_debug.hJosé Fonseca
2009-09-29g3dvl: Define PIPE_VIDEO_CODEC_UNKNOWN for failures.José Fonseca
gcc 4.4 seems particularly picky with int -> enum conversions.
2009-09-28st/xorg: Add debug for fallbacksJakob Bornecrantz
2009-09-28st/xorg: Make debug printing optionalJakob Bornecrantz
2009-09-28Merge branch 'mesa_7_6_branch'Brian Paul
2009-09-28Merge branch 'mesa_7_5_branch' into mesa_7_6_branchBrian Paul
2009-09-28gallium/util: add sanity check assertionsBrian Paul
2009-09-28llvmpipe: Grab a ref when the fb is set.Younes Manton
Based on softpipe commit a77226071f6814a53358a5d6caff685889d0e4ec.
2009-09-28softpipe: Fix MSVC build.José Fonseca
2009-09-28g3dvl: Fix MSVC build.José Fonseca
pipe/p_compiler for integer types. No declarations out of scope.
2009-09-28r300g: fix r300g cause GPU hang issue.Cooper Yuan
why there are two input position semantic tags is that ureg doesn't set vs input semantic due to commit: 6d8dbd3d1ec888 so use vs input index instead of semantic name.
2009-09-28xvmc: Fail on unsupported formats, operations.Younes Manton
2009-09-27g3dvl: Missing semicolon.Younes Manton
2009-09-27g3dvl: Formatting and cleanups.Younes Manton
2009-09-27g3dvl: Move XvMC under the Xorg state tracker.Younes Manton
2009-09-27g3dvl: Implement XvMC using pipe_video_context.Younes Manton
2009-09-27g3dvl: pipe_video_context interface, softpipe impl, auxiliary libsYounes Manton
2009-09-27util: Add util_next_power_of_two() for rounding a uint up to a POT.Younes Manton
2009-09-27r300g: fix erroneous conditionMaciej Cencora
2009-09-27r300g: don't force vertex position for HW TCL pathMaciej Cencora
It could be generated by vertex shader.
2009-09-27r300g: add some assertionsMaciej Cencora
Not sure why we are getting a shader with two inputs with position semantic, but we don't know how to handle it correctly so it's better to stop the app than lock the machine.
2009-09-27r300g: plug memory leakMaciej Cencora
2009-09-27r300g: add some debugging infoMaciej Cencora