summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
Commit message (Collapse)AuthorAgeFilesLines
* darwin: Use machine/endian.h to determine endiannessJeremy Huddleston2011-07-311-0/+9
| | | | Signed-off-by: Jeremy Huddleston <[email protected]>
* Fix PPC detection on darwinJeremy Huddleston2011-07-311-2/+2
| | | | | | Fixes regression introduced by 7004582c1894ede839c44e292b413fe4916d7e9e Signed-off-by: Jeremy Huddleston <[email protected]>
* g3dvl: change picture parameter of decode_bitstream to general versionChristian König2011-07-151-1/+1
| | | | Using pipe_mpeg12_picture_desc was unintentional here.
* gallium: don't use enum bitfields in p_video_state.hBrian Paul2011-07-141-6/+6
| | | | | | | Silences many warnings about "type of bit-field ‘field_select’ is a GCC extension". Since the field sizes were 8 and 16 bits, just use basic types.
* gallium: put video-related enums in separate headerBrian Paul2011-07-144-45/+79
| | | | | | | | | | | The forward references to video enum types in p_context.h causes a massive number of compiler warnings (ISO C forbids forward references to ‘enum’ types). By putting the new video enums in a separate header that can be included by p_context.h and p_screen.h we can avoid this. Acked-by Christian König <[email protected]>
* [g3dvl] add some more PIPE_VIDEO_CAPsChristian König2011-07-121-1/+4
|
* [g3dvl] revert some unintended white space changesChristian König2011-07-111-9/+12
|
* [g3dvl] and finally remove pipe_video_contextChristian König2011-07-083-29/+13
|
* [g3dvl] move video buffer creation out of video contextChristian König2011-07-082-8/+12
|
* [g3dvl] remove the unused priv member from pipe_video_contextChristian König2011-07-082-4/+1
|
* [g3dvl] move compositor creation and handling directly into the state trackersChristian König2011-07-081-83/+0
|
* [g3dvl] remove sampler view handling from video contextChristian König2011-07-081-31/+0
|
* [g3dvl] remove create_surface from video contextChristian König2011-07-081-7/+0
|
* [g3dvl] make pipe_context mandatory for creation pipe_video_contextChristian König2011-07-081-1/+3
|
* [g3dvl] rename is_format_supported to is_video_format_supported and move it ↵Christian König2011-07-082-7/+8
| | | | into screen object
* [g3dvl] rename get_param to get_video_param and move into screen objectChristian König2011-07-073-6/+11
|
* Merge remote-tracking branch 'origin/master' into pipe-videoChristian König2011-07-042-23/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.ac src/gallium/drivers/r600/r600_state_inlines.h src/gallium/tests/trivial/Makefile src/gallium/winsys/g3dvl/dri/XF86dri.c src/gallium/winsys/g3dvl/dri/driclient.c src/gallium/winsys/g3dvl/dri/driclient.h src/gallium/winsys/g3dvl/dri/xf86dri.h src/gallium/winsys/g3dvl/dri/xf86dristr.h src/gallium/winsys/r600/drm/r600_bo.c
| * st-api: Rework how drawables are invalidated v3.Thomas Hellstrom2011-06-291-19/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The api and the state tracker manager code as well as the state tracker code assumed that only a single context could be bound to a drawable. That is not a valid assumption, since multiple contexts can bind to the same drawable. Fix this by making it the state tracker's responsibility to update all contexts binding to a drawable Note that the state trackers themselves don't use atomic stamps on frame-buffers. Multiple context rendering to the same drawable should be protected by the application. Signed-off-by: Thomas Hellstrom <[email protected]>
| * scons: make embedding orthogonal to the platformJosé Fonseca2011-06-171-4/+0
| | | | | | | | To enable embedding in platforms other than linux.
* | Merge remote-tracking branch 'origin/master' into pipe-videoChristian König2011-06-091-7/+9
|\| | | | | | | | | | | Conflicts: src/gallium/tests/unit/u_format_test.c src/gallium/winsys/r600/drm/r600_hw_context.c
| * gallium: fix comments for pipe_stream_output_stateBrian Paul2011-06-081-7/+9
| |
* | [g3dvl] rework video buffer format handlingChristian König2011-06-071-3/+2
| |
* | [g3dvl] move dummy quantification into xvmc state trackerChristian König2011-06-071-2/+2
| |
* | [g3dvl] split quant matrix out of picture infoChristian König2011-06-052-4/+7
| |
* | [g3dvl] rename map/unmap to begin/end frameChristian König2011-06-051-2/+2
| | | | | | | | | | mapping and unmapping of buffers is just an implementation detail. begining and ending an frame is much more descriptive
* | [g3dvl] remove unused and dublicate fields from picture structureChristian König2011-06-051-10/+0
| |
* | Merge remote-tracking branch 'origin/master' into pipe-videoChristian König2011-06-051-1/+1
|\|
| * gallium: include limits.h in p_config.hDave Airlie2011-05-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | We are getting inconsistent methods for endian detection (same answer when it works, just doesn't work on some platforms) depending on whether __GLIBC__ is defined, which of course depends on include ordering before p_config.h Just make p_config.h include limits.h to solve this. Signed-off-by: Dave Airlie <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* | Merge remote-tracking branch 'origin/master' into pipe-videoChristian König2011-05-211-11/+13
|\|
| * st/glx: define/set new ST_CONTEXT_FLAG_bitsBrian Paul2011-05-191-11/+13
| |
* | 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.