summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* r300g: Do not abort on fragment program compiler errorNicolai Hähnle2009-10-032-4/+9
| | | | Signed-off-by: Nicolai Hähnle <[email protected]>
* r300g: Fix memory leak in radeon_texture_from_shared_handleNicolai Hähnle2009-10-031-1/+6
| | | | Signed-off-by: Nicolai Hähnle <[email protected]>
* r300g: Build in the trace and softpipe driver for xorg state trackerSedat Dilek2009-10-031-0/+2
| | | | | | | | | Same as in src/gallium/winsys/drm/intel/xorg/Makefile Thanks MrCooper for explanations on IRC [ Summary amended by Michel Dänzer to clarify that this is related to the xorg state tracker ]
* r300g: Remove an unnecessarily created pipe buffer (and thus fix a leak)Nicolai Hähnle2009-10-031-7/+0
| | | | Signed-off-by: Nicolai Hähnle <[email protected]>
* st/dri: Install APPLE_vertex_array_object functionsNicolai Hähnle2009-10-031-0/+2
| | | | | | | Besides from being necessary to use that extension, it also fixes a crash when deleting the currently bound vertex array object. Signed-off-by: Nicolai Hähnle <[email protected]>
* r300g: Reset vbo_offset after allocation of a new bufferNicolai Hähnle2009-10-031-2/+3
| | | | | | This fixes the glxgears bug, among other things. Signed-off-by: Nicolai Hähnle <[email protected]>
* st/dri: Install ARB_vertex_array_object functionsNicolai Hähnle2009-10-031-0/+2
| | | | Signed-off-by: Nicolai Hähnle <[email protected]>
* st/xorg: Use PIPE_TRANSFER_MAP_DIRECTLY flag in EXA PrepareAccess hook.Michel Dänzer2009-10-021-59/+34
| | | | | | | Propagate NULL return value. This also allows removing the DRM_MODE_FEATURE_DIRTYFB specific pixmap management hacks.
* gallium: Add PIPE_TRANSFER_MAP_DIRECTLY usage flag.Michel Dänzer2009-10-021-1/+12
| | | | | Asks the driver to map the texture storage directly or return NULL if that's not possible.
* gallium: Preparations for adding more PIPE_TRANSFER_* usage flags.Michel Dänzer2009-10-0216-160/+61
| | | | | | 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.
* g3dvl: Formatting.Younes Manton2009-10-011-175/+172
|
* g3dvl: Delete state_trackers/g3dvl, other unused files.Younes Manton2009-10-0123-4778/+0
|
* g3dvl: Copyright blocks.Younes Manton2009-10-0129-0/+783
|
* st/xvmc: Set default CSC matrix to BT.601, no ProcAmp, full range RGB.Younes Manton2009-10-011-0/+11
|
* g3dvl: Color space conv interface & vl impl.Younes Manton2009-10-018-113/+249
| | | | | | | | 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).
* Merge branch 'mesa_7_6_branch'Brian Paul2009-10-011-4/+4
|\
| * gallium/xlib: fix GLX_RENDER_TYPE queryBrian Paul2009-09-291-4/+4
| | | | | | | | Return GLX_RGBA_TYPE or GLX_COLOR_INDEX_TYPE.
* | st/xorg: Check that ms->api->destroy is not NULL before calling it.Michel Dänzer2009-10-011-1/+3
| | | | | | | | Fixes potential crash on X server shutdown.
* | util: Enable sockets on BSDRobert Noland2009-10-013-5/+5
| | | | | | | | | | | | | | I think this should be safe for all of the BSDs. Signed-off-by: Robert Noland <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* | util: define PIPE_OS_FREEBSD to correct u_cpu_detect on FreeBSD.Robert Noland2009-10-011-0/+13
| | | | | | | | | | | | | | Since the various BSDs use some different features here, define PIPE_OS_OPENBSD and PIPE_OS_NETBSD as well Signed-off-by: Robert Noland <[email protected]>
* | gallium: remove depth.occlusion_count flagKeith Whitwell2009-10-015-7/+0
| | | | | | | | | | | | | | 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.
* | st/xorg: Fix debug option function call typo.Michel Dänzer2009-09-301-1/+1
| |
* | st/egl: Fix a double free in drm_destroy_context.Chia-I Wu2009-09-301-1/+0
| | | | | | | | | | | | st_destroy_context has destroyed the pipe context for us. Signed-off-by: Chia-I Wu <[email protected]>
* | st/egl: Fix a crash when unbinding current context.Chia-I Wu2009-09-303-14/+4
| | | | | | | | | | | | | | | | 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 <[email protected]>
* | llvmpipe: Workaround for bug in llvm 2.5.José Fonseca2009-09-291-1/+14
| | | | | | | | | | | | | | | | 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.
* | llvmpipe: First verify LLVM IR, only then run optimizing passes.José Fonseca2009-09-291-5/+5
| |
* | llvmpipe: Runtime cpu checks for lp_build_min_simple too.José Fonseca2009-09-291-10/+9
| |
* | llvmpipe: Implement non SSE4.1 versions of floor and round.José Fonseca2009-09-293-35/+159
| |
* | Merge branch 'mesa_7_6_branch'Brian Paul2009-09-291-0/+5
|\| | | | | | | | | | | | | | | | | | | | | 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
| * softpipe: initialize the clear_flags bitvector in sp_create_tile_cache()Brian Paul2009-09-291-0/+5
| | | | | | | | | | This silences tons of valgrind warnings in programs that don't call glClear(), such as progs/demos/gamma.
| * softpipe: Grab a ref when the fb is set.Brian Paul2009-09-292-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | llvmpipe: Emit SSE intrinsics based on runtime cpu capability check.José Fonseca2009-09-294-51/+37
| | | | | | | | | | | | | | 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.
* | util: Cleanup u_cpu_detect, build. Support X86_64 and detect SSE4.1 too.José Fonseca2009-09-294-415/+410
| | | | | | | | | | | | | | | | | | | | 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.
* | gallium: New PIPE_OS_UNIX to simplify code that is portable to all unices.José Fonseca2009-09-291-0/+5
| |
* | i915: Fix MSVC build.Vinson Lee2009-09-291-1/+1
| |
* | python: Update for surface_buffer_create change.José Fonseca2009-09-291-0/+1
| |
* | g3dvl: assert.h -> util/u_debug.hJosé Fonseca2009-09-291-1/+1
| |
* | g3dvl: Define PIPE_VIDEO_CODEC_UNKNOWN for failures.José Fonseca2009-09-292-3/+3
| | | | | | | | gcc 4.4 seems particularly picky with int -> enum conversions.
* | st/xorg: Add debug for fallbacksJakob Bornecrantz2009-09-284-34/+54
| |
* | st/xorg: Make debug printing optionalJakob Bornecrantz2009-09-282-2/+15
| |
* | Merge branch 'mesa_7_6_branch'Brian Paul2009-09-281-0/+11
|\|
| * Merge branch 'mesa_7_5_branch' into mesa_7_6_branchBrian Paul2009-09-281-0/+11
| |\
| | * gallium/util: add sanity check assertionsBrian Paul2009-09-281-0/+11
| | |
* | | llvmpipe: Grab a ref when the fb is set.Younes Manton2009-09-282-4/+9
| | | | | | | | | | | | Based on softpipe commit a77226071f6814a53358a5d6caff685889d0e4ec.
* | | softpipe: Fix MSVC build.José Fonseca2009-09-281-1/+2
| | |
* | | g3dvl: Fix MSVC build.José Fonseca2009-09-285-52/+95
| | | | | | | | | | | | pipe/p_compiler for integer types. No declarations out of scope.
* | | r300g: fix r300g cause GPU hang issue.Cooper Yuan2009-09-281-3/+2
| | | | | | | | | | | | | | | | | | | | | 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.
* | | xvmc: Fail on unsupported formats, operations.Younes Manton2009-09-281-2/+21
| | |
* | | g3dvl: Missing semicolon.Younes Manton2009-09-271-1/+1
| | |
* | | g3dvl: Formatting and cleanups.Younes Manton2009-09-279-457/+313
| | |