Christian König
fa31b1095e
Merge remote branch 'origin/master' into pipe-video
...
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
2011-04-23 14:27:40 +02:00
Christian König
2e6274fc3b
[g3dvl] make ycbcr stream and block data a public interface
2011-04-23 13:24:35 +02:00
Christian König
b7acf83d52
[g3dvl] make motion vector buffers a public interface
2011-04-20 13:44:26 +02:00
Christian König
b8a6e0e6fc
[g3dvl] give mv their own vertex buffer back
2011-04-17 18:53:22 +02:00
Luca Barbieri
33128310b0
gallium: add A/L/LA/I floating point formats
2011-04-15 05:08:00 +02:00
Christian König
3745025b28
[g3dvl] make resource_format param const
2011-04-12 20:45:31 +02:00
Christian König
4f3fb1586a
[g3dvl] make resource format selection a public interface
2011-04-12 19:21:07 +02:00
Christian König
7a5390b06f
[g3dvl] make mv weights a public interface
2011-04-09 20:38:20 +02:00
Christian König
fcdf50f74b
[g3dvl] add support for different decoding entry points
2011-04-07 20:10:55 +02:00
Christian König
d9ad3aa3b9
[g3dvl] and finally split the decoder part out of the context
...
This should give a good basis to implement vdpau ontop of it.
2011-04-06 00:06:20 +02:00
Christian König
e5f78a74f8
[g3dvl] split compositor out of video context
...
Also redesign the compositor a bit and make the result a public available interface
2011-04-03 16:09:23 +02:00
Christian König
71ee815b5c
[g3dvl] remove PIPE_CAP_DECODE_TARGET_PREFERRED_FORMAT
...
It wasn't fully implemented anyway.
2011-04-02 19:50:37 +02:00
Marek Olšák
25f2699767
gallium: add a CAP for mixed colorbuffer format support
...
Some GPUs can't do it (I think most of DX9 ones), so they should have
the option not to allow it.
2011-04-01 13:48:01 +02:00
Michel Dänzer
167d35c303
gallium: Use explicit values in caps enums.
...
Simplifies mapping between numbers and identifiers for these.
2011-03-30 10:50:11 +02:00
Marek Olšák
8d4ec87d7f
gallium: remove PIPE_CAP_VERTEX_COLOR_CLAMP_CONTROL
...
The vertex color clamp control is a property of an API,
a lot like gl_rasterization_rules.
The state should be set according to the API being implemented, for example:
OpenGL Compatibility: enabled by default
OpenGL Core: disabled by default
D3D11: always disabled
This patch also changes the way ARB_color_buffer_float is advertised.
If no SNORM or FLOAT render target is supported, fragment color clamping
is not required.
2011-03-29 12:50:27 +02:00
Marek Olšák
2af1da1546
gallium: add EXT_texture_snorm support
2011-03-29 12:04:55 +02:00
Luca Barbieri
47e3896dfd
gallium: implement clamping controls (ARB_color_buffer_float)
...
BTW this changes the gallium interface.
Some rather cosmetic changes by Marek.
Squashed commit of the following:
commit 513b37d484f0318311e84bb86ed4c93cdff71f13
Author: Luca Barbieri <luca@luca-barbieri.com>
Date: Thu Aug 26 18:17:54 2010 +0200
mesa/st: respect fragment clamping in st_DrawPixels
commit 546a31e42cad459d7a7a10ebf77fc5ffcf89e9b8
Author: Luca Barbieri <luca@luca-barbieri.com>
Date: Thu Aug 26 18:17:28 2010 +0200
mesa/st: support fragment and vertex color clamping
commit c406514a1fbee6891da4cf9ac3eebe4e4407ec13
Author: Luca Barbieri <luca@luca-barbieri.com>
Date: Tue Aug 24 21:56:37 2010 +0200
mesa/st: expose ARB_color_buffer_float if unclamping is supported
commit d0c5ea11b6f75f3da2f4ca989115f150ebc7cf8d
Author: Luca Barbieri <luca@luca-barbieri.com>
Date: Thu Aug 26 17:53:41 2010 +0200
mesa/st: use unclamped colors
This assumes that Gallium is to be interpreted as given drivers the
responsibility to clamp these colors if necessary.
commit aef5c3c6be6edd076e955e37c80905bc447f8a82
Author: Luca Barbieri <luca@luca-barbieri.com>
Date: Thu Aug 26 18:12:34 2010 +0200
mesa, mesa/st: handle read color clamping properly
We set IMAGE_CLAMP_BIT in the caller based on _ClampReadColor, where
the operation mandates it. (see the removed XXX comment. -Marek)
TODO: did I get the set of operations mandating it right?
commit 76bdfcfe3ff4145a1818e6cb6e227b730a5f12d8
Author: Luca Barbieri <luca@luca-barbieri.com>
Date: Thu Aug 26 18:18:25 2010 +0200
gallium: add color clamping to the interface
2011-03-29 12:04:55 +02:00
Christian König
7f426615ab
[g3dvl] fully implement paletted subpictures
2011-03-26 12:36:01 +01:00
Christian König
3d40d4f391
[g3dvl] throw out all unused parts of the interface
2011-03-26 00:20:16 +01:00
Christian König
4a0b80f00d
[g3dvl] rework supicture handling
...
This gets ia44 and ai44 at least partial working
2011-03-25 23:38:50 +01:00
José Fonseca
5858abec6e
gallium: Avoid redefinition of likely/unlikely macros on non gcc compilers.
2011-03-25 16:22:28 +00:00
Christian König
884cb79edf
[g3dvl] make mapping and flushing of buffers a public interface
2011-03-24 20:33:32 +01:00
Christian König
ba0bff8530
[g3dvl] make video buffer a public available interface
2011-03-22 19:58:21 +01:00
Christian König
bac8760f7f
[g3dvl] rename motion vector fields
2011-03-20 21:34:38 +01:00
Christian König
e9b305c100
[g3dvl] merge fixes
2011-03-19 12:26:17 +01:00
Christian König
2bf95c519e
Merge remote branch 'origin/master' into pipe-video
...
Conflicts:
src/gallium/drivers/r600/r600_asm.c
src/gallium/tests/unit/SConscript
2011-03-19 01:02:40 +01:00
Marek Olšák
aea4ed41ed
gallium: add texture barrier support to the interface and st/mesa (v2)
...
v2: change the gallium entry point to texture_barrier.
2011-03-15 15:58:12 +01:00
Marek Olšák
7e02303497
gallium: remove flags from the flush function
...
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.
2011-03-11 21:39:31 +01:00
Marek Olšák
e968975cb5
gallium: remove the geom_flags param from is_format_supported
2011-03-11 21:39:30 +01:00
Marek Olšák
bfe88e6998
gallium: cleanup fence_signalled and fence_finish
...
So that they don't have the driver-specific param and return type.
2011-03-11 21:39:30 +01:00
Marek Olšák
25485f4b69
gallium: kill is_resource_referenced
...
Only st/xorg used it and even incorrectly with regards to pipelined transfers.
2011-03-11 21:39:30 +01:00
Marek Olšák
b39bccbd4e
gallium: add timeout parameter to fence_finish
...
This is a follow-up to the ARB_sync patch for st/mesa and completes
the ARB_sync implementation.
2011-03-08 23:52:37 +01:00
Marek Olšák
23f92c20d7
gallium/util: add LATC support
...
Again, a lot of code is shared with RGTC.
The layout is UTIL_FORMAT_LAYOUT_RGTC, because LATC is just swizzled RGTC.
2011-03-08 23:52:37 +01:00
Marek Olšák
95c7881ac8
gallium: split CAP_INSTANCE_DRAWING into INSTANCEID and INSTANCE_DIVISOR
...
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.
2011-03-05 17:40:19 +01:00
Christian König
54f11a27a1
Merge remote branch 'origin/master' into pipe-video
2011-03-04 17:15:43 +01:00
José Fonseca
d40b868db5
gallium: Define __func__ on MSVC.
2011-03-04 11:55:36 +00:00
Christian König
b922a0ce12
Merge remote branch 'origin/master' into pipe-video
...
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
2011-02-24 22:02:42 +01:00
José Fonseca
7aeb610fe1
gallium: s/PIPE_TRANSFER_CPU_READ/PIPE_TRANSFER_READ/ in comments.
2011-02-22 14:14:45 +00:00
Keith Whitwell
fad8497d3b
gallium: new transfer flag: DISCARD_WHOLE_RESOURCE
2011-02-22 14:13:07 +00:00
Marek Olšák
588fa884d2
gallium: notify drivers about possible changes in user buffer contents
...
Also implement the redefine_user_buffer hook in the drivers.
2011-02-14 21:50:08 +01:00
Marek Olšák
cdca3c58aa
gallium: remove pipe_vertex_buffer::max_index
...
This is redundant to pipe_draw_info::max_index and doesn't really fit
in the optimizations I plan.
2011-02-14 21:50:08 +01:00
Brian Paul
f9a36a496f
gallium: added comments to pipe_transfer
2011-01-28 20:25:27 -07:00
Zack Rusin
0657fc00dd
gallium: add an interface for query predicates
...
as specified in the arb_occlusion_query2. just the interface.
2011-01-26 00:03:12 -05:00
Brian Paul
c0d941877b
tgsi: add support for 1D/2D texture arrays
2011-01-25 20:25:53 -07:00
Zack Rusin
bdbe77f9c6
gallium: implement modern sampling scheme
...
largely a merge of the previously discussed origin/gallium-resource-sampling
but updated.
the idea is to allow arbitrary binding of resources, the way opencl, new gl
versions and dx10+ require, i.e.
DCL RES[0], 2D, FLOAT
LOAD DST[0], SRC[0], RES[0]
SAMPLE DST[0], SRC[0], RES[0], SAMP[0]
2011-01-24 17:47:10 -05:00
Christian König
d2ff6b8715
Merge remote branch 'origin/master' into pipe-video
...
Conflicts:
src/gallium/drivers/r600/r600_asm.c
src/gallium/drivers/r600/r600_shader.c
2011-01-20 22:10:37 +01:00
Brian Paul
652901e95b
Merge branch 'draw-instanced'
...
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
2011-01-15 10:24:08 -07:00
Christian König
7965e2fc16
[g3dvl] merge fix
2011-01-11 21:54:30 +01:00
Christian König
9032d2a13e
Merge remote branch 'vdpau/pipe-video' into pipe-video
...
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
2011-01-10 23:41:08 +01:00
Christian König
72e3099155
Merge remote branch 'origin/master' into pipe-video
...
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
2011-01-08 13:24:36 +01:00