summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* gallivm: Updated lp_build_log2_approx to use a more accurate polynomial.James Benton2012-04-053-34/+43
| | | | | | | Tested with lp_test_arit with 100% passes and piglit tests with 100% pass for log but some tests still fail for pow. Signed-off-by: José Fonseca <[email protected]>
* gallivm: Updated lp_build_polynomial to compute odd and even terms ↵James Benton2012-04-051-7/+25
| | | | | | separately to decrease data dependency for faster runtime. Signed-off-by: José Fonseca <[email protected]>
* xatracker: fix the build of a 32bit lib on a 64bit osAlexandre Demers2012-04-051-1/+1
| | | | | | we were missing cflags. Signed-off-by: Zack Rusin <[email protected]>
* r600g: inline r600_upload_index_bufferMarek Olšák2012-04-043-14/+5
|
* r600g: inline r600_upload_const_bufferMarek Olšák2012-04-043-50/+32
|
* r600g: handle DISCARD_WHOLE_RESOURCE for buffersMarek Olšák2012-04-042-1/+60
| | | | | | This should prevent stalls and therefore increase perfomance in some cases. Reviewed-by: Alex Deucher <[email protected]>
* r600g: invalidate caches at the beginning of CSMarek Olšák2012-04-041-0/+9
| | | | Reviewed-by: Alex Deucher <[email protected]>
* r600g: remove dead code after the reworkMarek Olšák2012-04-045-125/+8
| | | | Reviewed-by: Alex Deucher <[email protected]>
* r600g: rework state emission of constant buffersMarek Olšák2012-04-046-93/+188
| | | | | | | | Framerate in ipers: before: 43.6 FPS after: 46.6 FPS Reviewed-by: Alex Deucher <[email protected]>
* r600g: rework state emission of vertex buffersMarek Olšák2012-04-047-67/+93
| | | | | | | | | | | | This reduces a little of CPU overhead. The idea is to translate pipe vertex buffers directly into the CS and not using any intermediate representations. Framerate in Torcs: before: 32.2 after: 34.6 Reviewed-by: Alex Deucher <[email protected]>
* r600g: kill off the fallback for crazy src_offset valuesMarek Olšák2012-04-043-51/+17
| | | | | | | st/mesa doesn't allow src_offset to be greater than stride and the maximum stride r600 supports is 2047. Reviewed-by: Alex Deucher <[email protected]>
* st/xvmc: fix library installation dirAlexandre Demers2012-04-041-4/+4
| | | | | | | | | Fixes https://bugs.freedesktop.org/show_bug.cgi?id=47878 v2: some reordering and while at it also fix the comment in Makefile.xvmc Signed-off-by: Christian König <[email protected]>
* r300g/swtcl: fix crash when back color is present in vertex shaderMarek Olšák2012-04-041-39/+56
| | | | The shader transformation code sometimes produced invalid TGSI.
* r300g/swtcl: initialize some Draw optionsMarek Olšák2012-04-041-0/+3
|
* r300g/swtcl: fix polygon offsetMarek Olšák2012-04-041-0/+4
|
* r300g/swtcl: don't expose shader subroutine supportMarek Olšák2012-04-041-0/+1
| | | | RET in the main function doesn't work. This should be fixed in Draw, but meh.
* r300g: initialize state & render functions before creating u_vbuf & u_blitterMarek Olšák2012-04-043-11/+15
|
* r300g/swtcl: don't enter u_vbuf_mgrMarek Olšák2012-04-045-34/+48
|
* r300g/swtcl: don't print an error when getting ClipVertexMarek Olšák2012-04-044-9/+21
| | | | Draw can do it just fine.
* st/egl: Update to the new wl_shm_pool interfaceBenjamin Franzke2012-04-033-3/+10
|
* u_blitter: don't use user buffersMarek Olšák2012-04-031-18/+23
|
* gallivm: Pass in a MCInstrInfo to createMCInstPrinter on llvm-3.1.Vinson Lee2012-04-031-1/+7
| | | | | | | llvm-3.1svn r153860 makes MCInstrInfo available to the MCInstPrinter. Signed-off-by: Vinson Lee <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* st/vdpau: fix deadlock in PresentationQueueQuerySurfaceStatusChristian König2012-04-031-1/+2
| | | | Signed-off-by: Christian König <[email protected]>
* r600g: remove dead code in r600_update_derived_stateMarek Olšák2012-04-031-6/+0
|
* gallivm: Maximum loop iterationsJames Benton2012-04-033-3/+45
| | | | | | | | Limits maximum loop iterations in a TGSI shader to prevent infinite loops from occurring, any iteration in any loop counts towards this limit Signed-off-by: José Fonseca <[email protected]>
* gallivm: Simplify/reorder minimax helper.José Fonseca2012-04-031-10/+15
|
* r600g: unduplicate code for PS partial flushMarek Olšák2012-04-011-4/+2
|
* r600g: determine in advance if hw has vertex cacheMarek Olšák2012-04-013-14/+16
|
* r600g: optimize r600_resource_vaMarek Olšák2012-04-015-18/+11
| | | | Avoid calling get_radeon_bo and inline it.
* targets/{xvmc,vdpau,va}: remove all objects on make cleanMarcin Slusarz2012-04-013-3/+3
|
* gallium/postprocess: document serious issue causing undefined behaviorMarek Olšák2012-03-301-0/+4
|
* r600g: cleanup after get_query_result changeMarek Olšák2012-03-302-35/+9
| | | | Finally, union r600_query_result can be removed.
* r300g: cleanup after get_query_result changeMarek Olšák2012-03-301-10/+13
|
* gallium/util: add helper function util_query_clear_resultMarek Olšák2012-03-301-0/+30
|
* gallium: adapt to get_query_result interface changeMarek Olšák2012-03-3015-27/+30
| | | | Reviewed-by: Brian Paul <[email protected]>
* gallium: make get_query_result return union* and not void*Marek Olšák2012-03-302-1/+55
| | | | | | | | | | | | | | | This replaces the cryptic void* parameter with a union. (based on union r600_query_result) Users of this can still pass uint64* in it, but that cannot work for every query type, obviously. Most importantly, the code now documents what should be expected from get_query_result. This also adds pipe_query_data_pipeline_statistics as per the D3D11 docs. v2: fix indentation, add comments and use the doxygen style Reviewed-by: Brian Paul <[email protected]>
* gallivm: Fix method overriding in raw_debug_ostream.Vinson Lee2012-03-281-3/+3
| | | | | | | Use matching type qualifers to avoid method hiding. Signed-off-by: Vinson Lee <[email protected]> Reviewed-by: José Fonseca <[email protected]>
* draw: fix missing immediates bug in polygon stipple codeBrian Paul2012-03-281-0/+5
| | | | | | | | The function that counts the number of TGSI immediates also needs to emit the immediates. This fixes assorted failures when using polygon stipple with fragment shaders that have their own immediates. NOTE: This is a candidate for the 8.0 branch.
* vl: move winsys helper out of winsys directoryChristian König2012-03-2829-71/+52
| | | | | | | | | They aren't winsys of their own, just help dealing with them. v2: add some more comments in vl_winsys.h Signed-off-by: Christian König <[email protected]>
* r600g: also disable transform feedback on caymanMarek Olšák2012-03-281-3/+4
| | | | | It's said to cause troubles there. The env var is R600_STREAMOUT again.
* r600g: enable transform feedback on everything that isn't r700Marek Olšák2012-03-272-2/+7
| | | | Use R700_STREAMOUT=1 if you wanna hack transform feedback on r700.
* st/egl: Also remove wl_buffer_damage in wayland backendBenjamin Franzke2012-03-271-1/+0
| | | | As commit 03eca9d92d407c71a59ff8a43067759769da0ae4 does for egl_dri2.
* gallivm: Use InitializeNativeTargetDisassembler().ojab2012-03-271-1/+3
| | | | | | To initialize only native LLVM Disassembler on LLVM >= 3.1. Signed-off-by: José Fonseca <[email protected]>
* st/vdpau: clear video surface at least onceChristian König2012-03-263-0/+31
| | | | | | | | So if anything goes wrong we won't display a random image. v2: flush before using the surface with the decoder. Signed-off-by: Christian König <[email protected]>
* st/vdpau: invert interlaced buffer checksChristian König2012-03-261-1/+1
| | | | | | That wasn't working as supposed. Signed-off-by: Christian König <[email protected]>
* drisw: fix image stride calculation for 16-bit.Dave Airlie2012-03-251-3/+3
| | | | | | | | | | | If you ran g-s in 16-bpp we'd do a bunch of memory corruption. now it just misrenders for some other reasons. applies to stable. Signed-off-by: Dave Airlie <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* st/vdpau: improve frame dumping functionality a bitChristian König2012-03-221-3/+6
| | | | | | | Just a workaround until we get a real unit- testing tool for VDPAU. Signed-off-by: Christian König <[email protected]>
* st/vdpau: add VC-1 startcode if none is found in the streamChristian König2012-03-221-7/+42
| | | | | | v2: only advanced profile needs that. Signed-off-by: Christian König <[email protected]>
* r600g: add support for TN (trinity) APUsAlex Deucher2012-03-204-4/+7
| | | | | | Note: this is a candidate for the stable branches. Signed-off-by: Alex Deucher <[email protected]>
* Add Makefile.in to toplevel .gitignoreKenneth Graunke2012-03-202-2/+0
| | | | | | | To avoid redundancies, this patch also removes Makefile.in from the other .gitignore files. Acked-by: Eric Anholt <[email protected]>