summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/master' into pipe-videoChristian König2011-05-151-2/+16
|\
| * gallium: Factor out unknown endianness detection.Michel Dänzer2011-05-091-2/+4
| |
| * Don't allow compilation if endianness isn't knownMatt Turner2011-05-091-1/+1
| | | | | | | | | | | | | | | | PIPE_ARCH_UNKNOWN_ENDIAN is used no where else. All #else branches of ifdef PIPE_ARCH_LITTLE assume big-endian. Not #error'ing out here only serves to allow bad things to happen. Signed-off-by: Matt Turner <[email protected]>
| * p_config.h: Rely on glibc endianness definitions when availableMatt Turner2011-05-091-0/+12
| | | | | | | | | | | | Suggested by Julien Cristau. Signed-off-by: Matt Turner <[email protected]>
* | Merge remote-tracking branch 'origin/master' into pipe-videoChristian König2011-05-072-7/+13
|\| | | | | | | | | Conflicts: src/gallium/drivers/r600/r600_state.c
| * gallium: implement seamless cubemap extensionsMarek Olšák2011-05-062-0/+3
| | | | | | | | Reviewed-by: Brian Paul <[email protected]>
| * gallium/xorg st/nv50: add PIPE_BIND_CURSORMarcin Slusarz2011-05-061-1/+2
| | | | | | | | | | We need to distinguish surfaces for mouse cursors from scanouts, because nv50 hardware display engine ignores tiling flags.
| * gallium: reorder fields of pipe_rasterizer_state to pack it more tightlyMarek Olšák2011-05-021-6/+8
| | | | | | | | | | | | | | | | sizeof(struct pipe_rasterizer_state): Before: 32 bytes After: 28 bytes Reviewed-by: Brian Paul <[email protected]>
* | [g3dvl] remove quantizer_scale from picture structureChristian König2011-05-041-2/+0
| |
* | [g3dvl] remove dc_dct_pred from picture structureChristian König2011-05-041-3/+0
| |
* | [g3dvl] Implement MPEG2 VLDChristian König2011-05-042-17/+22
| | | | | | | | | | Based uppon xine's slice_xvmc.c. This gets VDPAU up and running.
* | [g3dvl] make clear color configureableChristian König2011-04-271-0/+5
| |
* | [g3dvl] make reset_dirty_area a public interfaceChristian König2011-04-271-0/+5
| |
* | [g3dvl] rework fence handling and add r600g workaroundChristian König2011-04-241-2/+1
| |
* | [g3dvl] start supporting different render target formatsChristian König2011-04-241-1/+6
| | | | | | | | Let's start with NV12, but anything else shouldn't be much of a problem any more.
* | [g3dvl] remove resource_format workaroundChristian König2011-04-241-1/+0
| |
* | Merge remote branch 'origin/master' into pipe-videoChristian König2011-04-234-75/+99
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * gallium: add A/L/LA/I floating point formatsLuca Barbieri2011-04-151-0/+9
| |
| * gallium: add a CAP for mixed colorbuffer format supportMarek Olšák2011-04-011-0/+1
| | | | | | | | | | Some GPUs can't do it (I think most of DX9 ones), so they should have the option not to allow it.
| * gallium: Use explicit values in caps enums.Michel Dänzer2011-03-301-63/+63
| | | | | | | | Simplifies mapping between numbers and identifiers for these.
| * gallium: remove PIPE_CAP_VERTEX_COLOR_CLAMP_CONTROLMarek Olšák2011-03-291-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * gallium: add EXT_texture_snorm supportMarek Olšák2011-03-291-0/+9
| |
| * gallium: implement clamping controls (ARB_color_buffer_float)Luca Barbieri2011-03-292-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BTW this changes the gallium interface. Some rather cosmetic changes by Marek. Squashed commit of the following: commit 513b37d484f0318311e84bb86ed4c93cdff71f13 Author: Luca Barbieri <[email protected]> Date: Thu Aug 26 18:17:54 2010 +0200 mesa/st: respect fragment clamping in st_DrawPixels commit 546a31e42cad459d7a7a10ebf77fc5ffcf89e9b8 Author: Luca Barbieri <[email protected]> Date: Thu Aug 26 18:17:28 2010 +0200 mesa/st: support fragment and vertex color clamping commit c406514a1fbee6891da4cf9ac3eebe4e4407ec13 Author: Luca Barbieri <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> Date: Thu Aug 26 18:18:25 2010 +0200 gallium: add color clamping to the interface
| * gallium: Avoid redefinition of likely/unlikely macros on non gcc compilers.José Fonseca2011-03-251-6/+8
| |
* | [g3dvl] make ycbcr stream and block data a public interfaceChristian König2011-04-232-29/+24
| |
* | [g3dvl] make motion vector buffers a public interfaceChristian König2011-04-202-13/+33
| |
* | [g3dvl] give mv their own vertex buffer backChristian König2011-04-171-7/+7
| |
* | [g3dvl] make resource_format param constChristian König2011-04-121-1/+1
| |
* | [g3dvl] make resource format selection a public interfaceChristian König2011-04-121-0/+1
| |
* | [g3dvl] make mv weights a public interfaceChristian König2011-04-091-11/+2
| |
* | [g3dvl] add support for different decoding entry pointsChristian König2011-04-072-0/+9
| |
* | [g3dvl] and finally split the decoder part out of the contextChristian König2011-04-062-53/+115
| | | | | | | | This should give a good basis to implement vdpau ontop of it.
* | [g3dvl] split compositor out of video contextChristian König2011-04-031-32/+74
| | | | | | | | Also redesign the compositor a bit and make the result a public available interface
* | [g3dvl] remove PIPE_CAP_DECODE_TARGET_PREFERRED_FORMATChristian König2011-04-021-3/+0
| | | | | | | | It wasn't fully implemented anyway.
* | [g3dvl] fully implement paletted subpicturesChristian König2011-03-261-0/+1
| |
* | [g3dvl] throw out all unused parts of the interfaceChristian König2011-03-261-50/+42
| |
* | [g3dvl] rework supicture handlingChristian König2011-03-251-18/+31
| | | | | | | | This gets ia44 and ai44 at least partial working
* | [g3dvl] make mapping and flushing of buffers a public interfaceChristian König2011-03-241-4/+8
| |
* | [g3dvl] make video buffer a public available interfaceChristian König2011-03-221-16/+28
| |
* | [g3dvl] rename motion vector fieldsChristian König2011-03-201-3/+9
| |
* | [g3dvl] merge fixesChristian König2011-03-191-19/+19
| |
* | Merge remote branch 'origin/master' into pipe-videoChristian König2011-03-196-60/+28
|\| | | | | | | | | | | Conflicts: src/gallium/drivers/r600/r600_asm.c src/gallium/tests/unit/SConscript
| * gallium: add texture barrier support to the interface and st/mesa (v2)Marek Olšák2011-03-151-0/+5
| | | | | | | | v2: change the gallium entry point to texture_barrier.
| * gallium: remove flags from the flush functionMarek Olšák2011-03-113-12/+6
| | | | | | | | | | | | | | | | | | | | 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-112-13/+1
| |
| * gallium: cleanup fence_signalled and fence_finishMarek Olšák2011-03-111-11/+5
| | | | | | | | So that they don't have the driver-specific param and return type.
| * gallium: kill is_resource_referencedMarek Olšák2011-03-112-22/+0
| | | | | | | | Only st/xorg used it and even incorrectly with regards to pipelined transfers.
| * gallium: add timeout parameter to fence_finishMarek Olšák2011-03-082-1/+5
| | | | | | | | | | This is a follow-up to the ARB_sync patch for st/mesa and completes the ARB_sync implementation.
| * gallium/util: add LATC supportMarek Olšák2011-03-081-0/+5
| | | | | | | | | | | | Again, a lot of code is shared with RGTC. The layout is UTIL_FORMAT_LAYOUT_RGTC, because LATC is just swizzled RGTC.
| * 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.