summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote branch 'origin/master' into pipe-videoChristian König2011-04-231-16/+16
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configs/linux-dri src/gallium/drivers/r600/r600_pipe.c src/gallium/drivers/r600/r600_state.c src/gallium/include/pipe/p_format.h src/gallium/tests/graw/fragment-shader/frag-abs.sh src/gallium/tests/graw/fragment-shader/frag-add.sh src/gallium/tests/graw/fragment-shader/frag-cb-1d.sh src/gallium/tests/graw/fragment-shader/frag-cb-2d.sh src/gallium/tests/graw/fragment-shader/frag-dp3.sh src/gallium/tests/graw/fragment-shader/frag-dp4.sh src/gallium/tests/graw/fragment-shader/frag-dst.sh src/gallium/tests/graw/fragment-shader/frag-ex2.sh src/gallium/tests/graw/fragment-shader/frag-face.sh src/gallium/tests/graw/fragment-shader/frag-flr.sh src/gallium/tests/graw/fragment-shader/frag-frc.sh src/gallium/tests/graw/fragment-shader/frag-kil.sh src/gallium/tests/graw/fragment-shader/frag-lg2.sh src/gallium/tests/graw/fragment-shader/frag-lit.sh src/gallium/tests/graw/fragment-shader/frag-lrp.sh src/gallium/tests/graw/fragment-shader/frag-mad-immx.sh src/gallium/tests/graw/fragment-shader/frag-mad.sh src/gallium/tests/graw/fragment-shader/frag-max.sh src/gallium/tests/graw/fragment-shader/frag-min.sh src/gallium/tests/graw/fragment-shader/frag-mov.sh src/gallium/tests/graw/fragment-shader/frag-mul.sh src/gallium/tests/graw/fragment-shader/frag-rcp.sh src/gallium/tests/graw/fragment-shader/frag-rsq.sh src/gallium/tests/graw/fragment-shader/frag-sge.sh src/gallium/tests/graw/fragment-shader/frag-slt.sh src/gallium/tests/graw/fragment-shader/frag-srcmod-abs.sh src/gallium/tests/graw/fragment-shader/frag-srcmod-absneg.sh src/gallium/tests/graw/fragment-shader/frag-srcmod-neg.sh src/gallium/tests/graw/fragment-shader/frag-srcmod-swz.sh src/gallium/tests/graw/fragment-shader/frag-sub.sh src/gallium/tests/graw/fragment-shader/frag-tempx.sh src/gallium/tests/graw/fragment-shader/frag-xpd.sh src/gallium/tests/graw/vertex-shader/vert-abs.sh src/gallium/tests/graw/vertex-shader/vert-add.sh src/gallium/tests/graw/vertex-shader/vert-arl.sh src/gallium/tests/graw/vertex-shader/vert-arr.sh src/gallium/tests/graw/vertex-shader/vert-cb-1d.sh src/gallium/tests/graw/vertex-shader/vert-cb-2d.sh src/gallium/tests/graw/vertex-shader/vert-dp3.sh src/gallium/tests/graw/vertex-shader/vert-dp4.sh src/gallium/tests/graw/vertex-shader/vert-dst.sh src/gallium/tests/graw/vertex-shader/vert-ex2.sh src/gallium/tests/graw/vertex-shader/vert-flr.sh src/gallium/tests/graw/vertex-shader/vert-frc.sh src/gallium/tests/graw/vertex-shader/vert-lg2.sh src/gallium/tests/graw/vertex-shader/vert-lit.sh src/gallium/tests/graw/vertex-shader/vert-lrp.sh src/gallium/tests/graw/vertex-shader/vert-mad.sh src/gallium/tests/graw/vertex-shader/vert-max.sh src/gallium/tests/graw/vertex-shader/vert-min.sh src/gallium/tests/graw/vertex-shader/vert-mov.sh src/gallium/tests/graw/vertex-shader/vert-mul.sh src/gallium/tests/graw/vertex-shader/vert-rcp.sh src/gallium/tests/graw/vertex-shader/vert-rsq.sh src/gallium/tests/graw/vertex-shader/vert-sge.sh src/gallium/tests/graw/vertex-shader/vert-slt.sh src/gallium/tests/graw/vertex-shader/vert-srcmod-abs.sh src/gallium/tests/graw/vertex-shader/vert-srcmod-absneg.sh src/gallium/tests/graw/vertex-shader/vert-srcmod-neg.sh src/gallium/tests/graw/vertex-shader/vert-srcmod-swz.sh src/gallium/tests/graw/vertex-shader/vert-sub.sh src/gallium/tests/graw/vertex-shader/vert-xpd.sh src/gallium/tools/trace/dump.py src/gallium/tools/trace/format.py src/gallium/tools/trace/model.py src/gallium/tools/trace/parse.py
| * softpipe: Take the sampler view's first_level into account when sampling.Henri Verbeet2011-04-081-16/+16
| | | | | | | | Signed-off-by: Brian Paul <[email protected]>
* | [g3dvl] and finally split the decoder part out of the contextChristian König2011-04-061-14/+3
| | | | | | | | This should give a good basis to implement vdpau ontop of it.
* | [g3dvl] remove PIPE_CAP_DECODE_TARGET_PREFERRED_FORMATChristian König2011-04-021-2/+1
| | | | | | | | It wasn't fully implemented anyway.
* | Merge remote branch 'origin/master' into pipe-videoChristian König2011-03-197-90/+107
|\| | | | | | | | | | | Conflicts: src/gallium/drivers/r600/r600_asm.c src/gallium/tests/unit/SConscript
| * gallium: remove flags from the flush functionMarek Olšák2011-03-113-38/+42
| | | | | | | | | | | | | | | | | | | | The drivers have been changed so that they behave as if all of the flags were set. This is already implicit in most hardware drivers and required for multiple contexts. Some state trackers were also abusing the PIPE_FLUSH_RENDER_CACHE flag to decide whether flush_frontbuffer should be called. New flag ST_FLUSH_FRONT has been added to st_api.h as a replacement.
| * gallium: remove the geom_flags param from is_format_supportedMarek Olšák2011-03-111-2/+1
| |
| * gallium: cleanup fence_signalled and fence_finishMarek Olšák2011-03-112-8/+6
| | | | | | | | So that they don't have the driver-specific param and return type.
| * gallium: kill is_resource_referencedMarek Olšák2011-03-113-18/+25
| | | | | | | | Only st/xorg used it and even incorrectly with regards to pipelined transfers.
| * gallium: add timeout parameter to fence_finishMarek Olšák2011-03-082-2/+4
| | | | | | | | | | This is a follow-up to the ARB_sync patch for st/mesa and completes the ARB_sync implementation.
| * softpipe: clamp texcoords in sample_compare()Philip Taylor2011-03-071-24/+30
| | | | | | | | | | | | | | | | | | This fixes http://bugs.freedesktop.org/show_bug.cgi?id=31159 for softpipe and fixes the piglit depth-tex-compare test. NOTE: This is a candidate for the 7.10 branch. Signed-off-by: Brian Paul <[email protected]>
| * gallium: split CAP_INSTANCE_DRAWING into INSTANCEID and INSTANCE_DIVISORMarek Olšák2011-03-051-1/+2
| | | | | | | | | | | | | | | | ARB_instanced_arrays is a subset of D3D9. ARB_draw_instanced is a subset of D3D10. The point of this change is to allow D3D9-level drivers to enable ARB_instanced_arrays without ARB_draw_instanced.
* | [g3dvl] move mpeg12 context out of softpipeChristian König2011-03-174-877/+35
| |
* | [g3dvl] cleanup and documentationChristian König2011-03-162-24/+19
| |
* | [g3dvl] move idct out of mc codeChristian König2011-03-092-12/+119
| | | | | | | | iDCT and MC now look good, but sp_video_context is a total mess
* | [g3dvl] start to cleanup the messChristian König2011-03-082-26/+75
| | | | | | | | Move the vertex buffer out of the mc code
* | Merge remote branch 'origin/master' into pipe-videoChristian König2011-03-032-7/+0
|\|
| * softpipe: enable RGTC now that we have u_format support.Dave Airlie2011-03-021-5/+0
| |
| * softpipe: remove redundant draw_flush() callBrian Paul2011-02-281-2/+0
| | | | | | | | We'll flush after the same-shader comparison.
* | Merge remote branch 'origin/master' into pipe-videoChristian König2011-02-281-0/+5
|\|
| * rgtc: llvmpipe/softpipe refuse RGTC until u_format has support.Dave Airlie2011-02-281-0/+5
| | | | | | | | | | | | So far I haven't implemented the u_format code for these. Signed-off-by: Dave Airlie <[email protected]>
* | Merge remote branch 'origin/master' into pipe-videoChristian König2011-02-2412-52/+327
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.ac src/gallium/auxiliary/Makefile src/gallium/auxiliary/SConscript src/gallium/drivers/r600/r600_asm.c src/gallium/drivers/r600/r600_asm.h src/gallium/drivers/r600/r600_shader.c src/gallium/drivers/r600/r600_state_inlines.h src/gallium/drivers/r600/r600_texture.c
| * softpipe: rename env vars to be consistentBrian Paul2011-02-171-2/+2
| |
| * gallium: notify drivers about possible changes in user buffer contentsMarek Olšák2011-02-141-0/+2
| | | | | | | | Also implement the redefine_user_buffer hook in the drivers.
| * softpipe: rename sampler[] -> fragment_samplers[]Brian Paul2011-02-022-6/+6
| |
| * softpipe: rename fragment sampler/view fieldsBrian Paul2011-02-023-7/+7
| | | | | | | | To be consistant with vertex, geometry sampler fields.
| * softpipe: fix array textures to use resource array_sizeBrian Paul2011-01-283-21/+88
| | | | | | | | Don't use height for 1D array textures or depth for 2D array textures.
| * softpipe: support for 1D/2D texture arraysBrian Paul2011-01-253-1/+210
| |
| * softpipe: fix off-by-one error in setup_fragcoord_coeff()Brian Paul2011-01-251-1/+1
| | | | | | | | | | | | | | | | | | If we invert Y, need to subtract one from the surface height. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=26795 for softpipe. NOTE: This is a candidate for the 7.9 and 7.10 branches.
| * softpipe: pass surface format to get/put_tile functionsBrian Paul2011-01-221-10/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | When we read/write image tiles we need to use the format specified in the pipe_surface, not the pipe_transfer format (which comes from the underlying texture/resource format). This comes up when rendering to sRGB surfaces (via OpenGL render to texture). Ignoring the new GL_ARB/EXT_framebuffer_sRGB extension for now, when we render to a sRGB surface we need to treat it like a regular, linear colorspace RGB surface. Before, when we read/wrote tiles to sRGB surfaces we were inadvertantly doing the color space conversion.
| * gallium/softpipe: replace pipe_get_tile_swizzle()Brian Paul2011-01-221-15/+10
| | | | | | | | | | | | The new function, pipe_get_tile_rgba_format(), no longer takes a swizzle (we weren't actually using it anywhere). Rename it to indicate that the format is passed explicitly.
| * softpipe: use proper type for format fieldBrian Paul2011-01-221-1/+1
| |
* | Merge remote branch 'origin/master' into pipe-videoChristian König2011-01-207-83/+79
|\| | | | | | | | | Conflicts: src/gallium/drivers/r600/r600_asm.c
| * softpipe: check for null pointers during context create/destroyBrian Paul2011-01-201-5/+21
| | | | | | | | | | | | See http://bugs.freedesktop.org/show_bug.cgi?id=32309 Apparently, malloc() is failing during context creation. Not checking for nulls here led to crashes elsewhere.
| * softpipe: Bind samplers to views instead of the underlying resource.Henri Verbeet2011-01-195-55/+39
| | | | | | | | Signed-off-by: Brian Paul <[email protected]>
| * softpipe: Get rid of the redundant resource parameter to get_sampler_variant().Henri Verbeet2011-01-191-5/+1
| | | | | | | | Signed-off-by: Brian Paul <[email protected]>
| * softpipe: rename some functions for consistencyBrian Paul2011-01-181-7/+7
| |
| * softpipe: added some null pointer checksBrian Paul2011-01-181-3/+3
| | | | | | | | | | This shouldn't really be needed but it may help with http://bugs.freedesktop.org/show_bug.cgi?id=32309
| * softpipe: s/tex_cache/fragment_tex_cache/Brian Paul2011-01-185-9/+9
| | | | | | | | Just to be more consistant with the vertex and geometry tex cache fields.
* | Merge remote branch 'origin/master' into pipe-videoChristian König2011-01-201-0/+2
|\| | | | | | | | | | | Conflicts: src/gallium/drivers/r600/r600_asm.c src/gallium/drivers/r600/r600_shader.c
| * Merge branch 'draw-instanced'Brian Paul2011-01-151-0/+2
| |\ | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/draw/draw_llvm.c src/gallium/drivers/llvmpipe/lp_state_fs.c src/glsl/ir_set_program_inouts.cpp src/mesa/tnl/t_vb_program.c
| | * softpipe: enable instanced drawing capBrian Paul2010-12-081-0/+2
| | |
* | | Merge remote branch 'vdpau/pipe-video' into pipe-videoChristian König2011-01-101-7/+10
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c src/gallium/drivers/softpipe/sp_video_context.c src/gallium/include/pipe/p_format.h src/gallium/state_trackers/xorg/xvmc/context.c src/gallium/tests/unit/SConscript
| * | | vl: pipe-video branch merged with Königs pipe-video branchThomas Balling Sørensen2010-10-261-30/+7
| | | |
| * | | Merge branch 'pipe-video' of ↵Thomas Balling Sørensen2010-10-261-0/+38
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://anongit.freedesktop.org/~deathsimple/xvmc-r600 into pipe-video Conflicts: configure.ac src/gallium/auxiliary/vl/vl_compositor.c src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c src/gallium/drivers/softpipe/sp_video_context.c src/gallium/include/pipe/p_defines.h src/gallium/include/pipe/p_screen.h
| * \ \ \ Merge branch 'master' into pipe-videoThomas Balling Sørensen2010-10-268-29/+130
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/include/pipe/p_format.h
| * | | | | vl: bitstream decoder finds startcodesThomas Balling Sørensen2010-10-081-0/+1
| | | | | |
| * | | | | vl: changed video pipe to use the new gallium API within masterThomas Balling Sørensen2010-10-051-25/+27
| | | | | |
| * | | | | Merge branch 'master' into pipe-videoThomas Balling Sørensen2010-10-0529-776/+1344
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configs/linux-dri configure.ac src/gallium/drivers/nvfx/Makefile src/gallium/include/pipe/p_defines.h src/gallium/include/pipe/p_screen.h src/gallium/include/state_tracker/dri1_api.h src/gallium/include/state_tracker/drm_api.h src/gallium/tests/python/samples/tri.py src/gallium/tests/trivial/Makefile src/gallium/tests/unit/Makefile src/gallium/tests/unit/SConscript src/gallium/tests/unit/u_format_test.c src/gallium/winsys/nouveau/drm/nouveau_drm_api.c
* | \ \ \ \ \ Merge remote branch 'origin/master' into pipe-videoChristian König2011-01-085-6/+22
|\ \ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.ac src/gallium/drivers/r600/eg_asm.c src/gallium/drivers/r600/r600_asm.c src/gallium/drivers/r600/r600_asm.h src/gallium/include/pipe/p_format.h src/gallium/targets/dri-nouveau/Makefile