summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/vdpau/presentation.c
AgeCommit message (Collapse)AuthorFilesLines
2014-01-17s/Tungsten Graphics/VMware/José Fonseca1-1/+1
Tungsten Graphics Inc. was acquired by VMware Inc. in 2008. Leaving the old copyright name is creating unnecessary confusion, hence this change. This was the sed script I used: $ cat tg2vmw.sed # Run as: # # git reset --hard HEAD && find include scons src -type f -not -name 'sed*' -print0 | xargs -0 sed -i -f tg2vmw.sed # # Rename copyrights s/Tungsten Gra\(ph\|hp\)ics,\? [iI]nc\.\?\(, Cedar Park\)\?\(, Austin\)\?\(, \(Texas\|TX\)\)\?\.\?/VMware, Inc./g /Copyright/s/Tungsten Graphics\(,\? [iI]nc\.\)\?\(, Cedar Park\)\?\(, Austin\)\?\(, \(Texas\|TX\)\)\?\.\?/VMware, Inc./ s/TUNGSTEN GRAPHICS/VMWARE/g # Rename emails s/alanh@tungstengraphics.com/alanh@vmware.com/ s/jens@tungstengraphics.com/jowen@vmware.com/g s/jrfonseca-at-tungstengraphics-dot-com/jfonseca-at-vmware-dot-com/ s/jrfonseca\?@tungstengraphics.com/jfonseca@vmware.com/g s/keithw\?@tungstengraphics.com/keithw@vmware.com/g s/michel@tungstengraphics.com/daenzer@vmware.com/g s/thomas-at-tungstengraphics-dot-com/thellstom-at-vmware-dot-com/ s/zack@tungstengraphics.com/zackr@vmware.com/ # Remove dead links s@Tungsten Graphics (http://www.tungstengraphics.com)@Tungsten Graphics@g # C string src/gallium/state_trackers/vega/api_misc.c s/"Tungsten Graphics, Inc"/"VMware, Inc"/ Reviewed-by: Brian Paul <brianp@vmware.com>
2013-12-13swrast* (gallium, classic): add MESA_copy_sub_buffer support (v3)Dave Airlie1-1/+1
This patches add MESA_copy_sub_buffer support to the dri sw loader and then to gallium state tracker, llvmpipe, softpipe and other bits. It reuses the dri1 driver extension interface, and it updates the swrast loader interface for a new putimage which can take a stride. I've tested this with gnome-shell with a cogl hacked to reenable sub copies for llvmpipe and the one piglit test. I could probably split this patch up as well. v2: pass a pipe_box, to reduce the entrypoints, as per Jose's review, add to p_screen doc comments. v3: finish off winsys interfaces, add swrast classic support as well. Reviewed-by: Jose Fonseca <jfonseca@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com> swrast: add support for copy_sub_buffer
2013-10-09st/vdpau: really block until surface is idleGrigori Goronzy1-1/+2
pipe_screen::fence_finish with zero timeout returns quickly and doesn't wait at all. Fix that, and also delete the fence afterwards, so that QuerySurfaceStatus returns the right state later. Addresses: https://trac.videolan.org/vlc/ticket/9281 https://bugs.freedesktop.org/show_bug.cgi?id=68792 Reviewed-by: Christian König <christian.koenig@amd.com>
2013-05-14vl/vdpau: fix PresentationQueueQuerySurfaceStatusChristian König1-3/+5
The last queued surface always keeps displaying. Fixing a problem with XBMC. Signed-off-by: Christian König <christian.koenig@amd.com>
2013-05-01vl/compositor: cleanup background clearingChristian König1-1/+1
Add an extra parameter to specify if we should clear the render target. Signed-off-by: Christian König <christian.koenig@amd.com>
2013-01-04gallium: extend pipe_context::flush for it to accept an END_OF_FRAME flagMarek Olšák1-1/+1
Usage with pipe_context: pipe->flush(pipe, NULL, PIPE_FLUSH_END_OF_FRAME); Usage with st_context_iface: st->flush(st, ST_FLUSH_END_OF_FRAME, NULL); The flag is only a hint for drivers. Radeon will use it for buffer eviction heuristics in the kernel (e.g. for queries like how many frames have passed since a buffer was used). The flag is currently only generated by st/dri on SwapBuffers. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
2012-12-12gallium: remove pipe_surface::usageMarek Olšák1-1/+0
Not really used by anybody now. Reviewed-by: Brian Paul <brianp@vmware.com>
2012-04-03st/vdpau: fix deadlock in PresentationQueueQuerySurfaceStatusChristian König1-1/+2
Signed-off-by: Christian König <deathsimple@vodafone.de>
2012-03-22st/vdpau: improve frame dumping functionality a bitChristian König1-3/+6
Just a workaround until we get a real unit- testing tool for VDPAU. Signed-off-by: Christian König <deathsimple@vodafone.de>
2012-03-05st/vdpau: make the interface thread saveChristian König1-5/+23
Signed-off-by: Christian König <deathsimple@vodafone.de>
2012-03-05st/vdpau: implement support for high-precision output timingChristian König1-10/+3
Signed-off-by: Christian König <deathsimple@vodafone.de>
2012-03-02st/vdpau: avoid an unnessasary copyChristian König1-9/+24
Delay the actual mixer rendering until we really know which surface is the real destination. Signed-off-by: Christian König <deathsimple@vodafone.de>
2012-03-02vl/compositor: add per vertex color suportChristian König1-1/+1
Used in subtitles, for example. Signed-off-by: Christian König <deathsimple@vodafone.de>
2012-03-02vl/compositor: replace pipe_video_rect with u_rectChristian König1-10/+9
So we support things like flipping also. Signed-off-by: Christian König <deathsimple@vodafone.de>
2012-03-02vl/compositor: split shaders and stateChristian König1-7/+11
Signed-off-by: Christian König <deathsimple@vodafone.de>
2012-03-01vl: move dirty area handling into winsys abstractionChristian König1-3/+4
Fixing uninitialized areas in SwapBuffers mode. Signed-off-by: Christian König <deathsimple@vodafone.de>
2012-02-25vl: rework winsys interfaceChristian König1-18/+23
Throw out all the old and now unneeded stuff. Signed-off-by: Christian König <deathsimple@vodafone.de>
2012-02-21st/vdpau: remove unnecessary tracing and adjust tracing levels a bitChristian König1-11/+1
Tracing function entry/exits is a bit pointless when VDPAU_TRACE=1 does the same thing. v2: use WARN instead of ERR for application problems Signed-off-by: Christian König <deathsimple@vodafone.de>
2012-02-06st/vdpau: use dst surface size if clip width/height is zeroChristian König1-2/+2
Just another fix for gstreamer. Signed-off-by: Christian König <deathsimple@vodafone.de>
2011-12-14st/vdpau: fix unwanted output scalingChristian König1-7/+12
vlVdpPresentationQueueDisplay shouldn't scale, so use size of destination surface as source rectangle. Based on work of Maarten Lankhorst <m.b.lankhorst@gmail.com> Signed-off-by: Christian König <deathsimple@vodafone.de>
2011-12-14g3dvl/compositor: improve dirty area handlingChristian König1-1/+3
Take viewport and scissors into account and make the dirty area a parameter instead of a member. Signed-off-by: Christian König <deathsimple@vodafone.de>
2011-09-18gallium: move clear paths from rgba to a pointer to a color union (v2)Dave Airlie1-2/+14
This moves the gallium interface for clears from using a pointer to 4 floats to a pointer to a union of float/unsigned/int values. Notes: 1. the value is opaque. 2. only when the value is used should it be interpretered according to the surface format it is going to be used with. 3. float clears on integer buffers and vice-versa are undefined. v2: fixed up vega and graw, dropped hunks that shouldn't have been in patch. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-09-14st/vdpau: Preliminary support for timestamped output surface into the ↵Emeric Grange1-6/+76
presentation queue Signed-off-by: Emeric Grange <emeric.grange@gmail.com> Signed-off-by: Christian König <deathsimple@vodafone.de>
2011-09-14st/vdpau: Output surfaces that are too large to fit into the display target ↵Emeric Grange1-1/+7
will be clipped Signed-off-by: Emeric Grange <emeric.grange@gmail.com> Reviewed-by: Christian König <deathsimple@vodafone.de>
2011-09-14st/vdpau: Add get_clear_color capabilityEmeric Grange1-1/+9
Signed-off-by: Emeric Grange <emeric.grange@gmail.com> Reviewed-by: Christian König <deathsimple@vodafone.de>
2011-09-14st/vdpau: Add documentation from the VDPAU API and update some tracesEmeric Grange1-1/+29
Signed-off-by: Emeric Grange <emeric.grange@gmail.com> Reviewed-by: Christian König <deathsimple@vodafone.de>
2011-09-14st/vdpau: Various whitespace cleanups found while reading some codeEmeric Grange1-3/+4
Signed-off-by: Emeric Grange <emeric.grange@gmail.com> Reviewed-by: Christian König <deathsimple@vodafone.de>
2011-09-01g3dvl: extend the functionality of the compositorChristian König1-1/+1
Prepares for vdpau menu overlay.
2011-08-29vdpau: Fix include styleKai Wasserbäch1-2/+2
As explained in the thread starting at [0], the internal include style should be »#include "path/to/header.h"« for non-system includes. [0] <http://news.gmane.org/find-root.php?message_id=%3c4E5802BE.6020206%40vmware.com%3e> Signed-off-by: Kai Wasserbäch <kai@dev.carbon-project.org> Signed-off-by: Brian Paul <brianp@vmware.com>
2011-08-26g3dvl: Rework the decoder interface part 4/5Christian König1-2/+1
Make the picture_structure enum spec complient. Also remove it from the compositor. Signed-off-by: Christian König <deathsimple@vodafone.de> Reviewed-by: Younes Manton <younes.m@gmail.com>
2011-07-15g3dvl: no need for flushing inside the compositor any moreChristian König1-1/+1
Move that also inside the state tracker where needed.
2011-07-15g3dvl: correctly distinct dst area and clip area in the compositorChristian König1-1/+1
Otherwise xine won't scale correctly.
2011-07-11[g3dvl] fix a whole bunch of memory leaksChristian König1-0/+2
2011-07-08[g3dvl] and finally remove pipe_video_contextChristian König1-5/+2
2011-07-08[g3dvl] move compositor creation and handling directly into the state trackersChristian König1-8/+8
2011-05-07vdpau: implement PresentationQueueSetBackgroundColorChristian König1-1/+11
2011-05-04vdpau: make state tracker far less noisyChristian König1-3/+3
2011-04-26vdpau: implement PresentationQueueDestroyChristian König1-2/+15
2011-04-25vdpau: implement and cleanup PresentationQueueTarget destructionChristian König1-6/+2
2011-04-16vdpau: implement VDPAU_DUMP optionChristian König1-0/+17
2011-04-09vdpau: Implement basic output functionalityChristian König1-1/+31
Even with totally wrong color space conversion we finally se a picture with VDPAU. Yeah!
2011-04-08vdpau: add compositor to presentation queueChristian König1-3/+16
2011-03-19vdpau: make indention and formating more saneChristian König1-68/+64
2010-10-06vl: implemented a few functions and made stubs to get mplayer runningThomas Balling Sørensen1-3/+31
2010-07-22Added stubs for the rest of the vdpau interfaceThomas Balling Sørensen1-0/+121