summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
Commit message (Collapse)AuthorAgeFilesLines
* xvmc: Replace frame_started by picture_structureMaarten Lankhorst2011-09-042-10/+16
| | | | | | | | | | | The preferred solution to keeping track of the picture structure has been putting it in the state tracker, so use picture_structure instead of frame_started to check if a frame needs to begin. If picture_structure has been changed, end the frame and start again. Signed-off-by: Maarten Lankhorst <[email protected]> Signed-off-by: Christian König <[email protected]>
* st/vdpau: Implement VdpOutputSurfacePutBitsIndexed and ↵Christian König2011-09-014-19/+307
| | | | | | | | VdpOutputSurfaceRenderOutputSurface This gets mplayers menu overlay working. Signed-off-by: Christian König <[email protected]>
* st/xvmc: the alpha component of palette entries isn't usedChristian König2011-09-011-1/+1
|
* g3dvl: extend the functionality of the compositorChristian König2011-09-013-4/+4
| | | | Prepares for vdpau menu overlay.
* st/xvmc: remove L4A4_UNORM workaroundChristian König2011-09-011-33/+5
| | | | | | This is no longer needed, since we now have native support for IA44 and AI44. Signed-off-by: Christian König <[email protected]>
* st/wgl: Fix build on mingw-w64José Fonseca2011-08-301-2/+2
| | | | Which already declares wglSwapMultipleBuffers and WGLSWAP.
* xorg/xvmc: Only set decode buffer when availableMaarten Lankhorst2011-08-291-3/+6
| | | | | | The nouveau xvmc decoder doesn't need it. Signed-off-by: Maarten Lankhorst <[email protected]>
* st/xorg: Fix include styleKai Wasserbäch2011-08-297-31/+31
| | | | | | | | | | | 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 <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* vdpau: Fix include styleKai Wasserbäch2011-08-299-31/+32
| | | | | | | | | | | 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 <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* va: Fix include styleKai Wasserbäch2011-08-298-19/+19
| | | | | | | | | | | 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 <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* d3d1x: Fix include styleKai Wasserbäch2011-08-295-19/+19
| | | | | | | | | | | 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 <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* st/vdpau: Respect source_rect in VideoMixerRenderChristian König2011-08-291-1/+11
| | | | Fixing a bug reported by Andy Furniss.
* xvmc tests: Clean up test_rendering slightlyMaarten Lankhorst2011-08-281-14/+24
| | | | Signed-off-by: Maarten Lankhorst <[email protected]>
* android: make DRM optionalChia-I Wu2011-08-272-2/+22
| | | | For BOARD_GPU_DRIVERS=swrast build, DRM is not needed.
* st/xorg: Fix solid fills for formats other than PICT_a8r8g8b8.Michel Dänzer2011-08-261-13/+13
| | | | Signed-off-by: Michel Dänzer <[email protected]>
* st/xorg: Disable dirty throttling by default.Michel Dänzer2011-08-261-1/+1
| | | | | Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Alex Deucher <[email protected]>
* st/xorg: Only damage non-front source in DRI2 CopyRegion hook.Michel Dänzer2011-08-261-7/+9
| | | | | | | Based on a vmwgfx xa/saa fix. Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Alex Deucher <[email protected]>
* g3dvl: Rework the decoder interface part 5/5Christian König2011-08-262-16/+8
| | | | | | | | Make setting the quant matrixes a generic interface. Also removes setting the quant matrix from the XvMC interface Signed-off-by: Christian König <[email protected]> Reviewed-by: Younes Manton <[email protected]>
* g3dvl: Rework the decoder interface part 4/5Christian König2011-08-263-23/+3
| | | | | | | | Make the picture_structure enum spec complient. Also remove it from the compositor. Signed-off-by: Christian König <[email protected]> Reviewed-by: Younes Manton <[email protected]>
* g3dvl: Rework the decoder interface part 3/5Christian König2011-08-263-223/+57
| | | | | | | | Revert back to a macroblock based interface. The structure used tries to keep as close to the spec as possible. Signed-off-by: Christian König <[email protected]> Reviewed-by: Younes Manton <[email protected]>
* g3dvl: Rework the decoder interface part 2/5Christian König2011-08-262-15/+30
| | | | | | | | Implement PIPE_CAP_NUM_BUFFERS_DESIRED giving the decoder control over the number of buffers a state tracker should allocate. Signed-off-by: Christian König <[email protected]> Reviewed-by: Younes Manton <[email protected]>
* g3dvl: Rework the decoder interface part 1/5Christian König2011-08-264-68/+108
| | | | | | | | | First of all get ride of the decode_buffer structure, while still giving the decoder the ability to organize it's buffers depending on the needs of the state tracker. Signed-off-by: Christian König <[email protected]> Reviewed-by: Younes Manton <[email protected]>
* Merge branch 'kasanen-post-process-v2'Brian Paul2011-08-255-4/+47
|\ | | | | | | | | | | Conflicts: src/gallium/auxiliary/Makefile src/gallium/auxiliary/SConscript
| * st/dri: Bind the post-processing queue to driLauri Kasanen2011-08-195-4/+47
| | | | | | | | | | Signed-off-by: Lauri Kasanen <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* | d3d1x: save to correct slot in xs_set_constant_buffersChristoph Bumiller2011-08-251-2/+2
| |
* | d3d1x: fix xs_set_samplersChristoph Bumiller2011-08-251-1/+2
| |
* | st/xorg: Advertise support for XvMCMaarten Lankhorst2011-08-234-0/+129
| | | | | | | | | | | | | | | | Formats were based on a patch sent to xf86-video-nouveau by Bryan Cain Signed-off-by: Maarten Lankhorst <[email protected]> [Michel Dänzer: Add xorg_xvmc.c to SConscript.]
* | st/egl: add a missing includeChia-I Wu2011-08-211-0/+1
| | | | | | | | Reported by cwhuang.
* | st/egl: improve error loggingChia-I Wu2011-08-211-2/+3
| | | | | | | | This helps diagnose problems in EGL initialization.
* | st/egl: add buffer preserving support to AndroidChia-I Wu2011-08-211-4/+67
| | | | | | | | Use a staging color buffer when buffer preserving is enabled.
* | st/egl: improve buffer cache for AndroidChia-I Wu2011-08-211-31/+73
| | | | | | | | | | There may be more than two back buffers. Clean up and prepare the buffer cache for that.
* | st/egl: swapping without a buffer is not an errorChia-I Wu2011-08-211-1/+1
| | | | | | | | This fixes Kwaak3.
* | st/egl: use HAL formats for Android backendChia-I Wu2011-08-211-26/+15
| | | | | | | | Native buffers use HAL formats, not UI formats.
* | android: build st/egl with android backendChia-I Wu2011-08-211-0/+54
| | | | | | | | This builds the static library libmesa_st_egl from st/egl.
* | st/egl: add android backendChia-I Wu2011-08-215-0/+781
|/ | | | | | | | | | Both HW and SW rendering are supported for Android. For SW rendering, we use the generic gralloc lock/unlock for mapping and unmapping color buffers (in winsys/android). For HW rendering, we need to know the real type of color buffers. This backend works with drm_gralloc, where a color buffer is backed by a GEM object.
* st/dri: Indent driconf optionsLauri Kasanen2011-08-171-7/+11
|
* st/dri: remove an unused-but-set variableMarek Olšák2011-08-161-1/+0
|
* dri2: check if context is valid before flushing the pipeCooper Yuan2011-08-161-1/+2
|
* dri2: add code to dri2_Flush extension.Cooper Yuan2011-08-161-0/+4
| | | | | | | It's going to flush client's commands in eglWaitClient(). Before this, egl applications using pixmap or pbuffer flicker because of no flush. Reviewed-by: Alan Hourihane
* d3d1x: adapt to resource_resolve interface changeChristoph Bumiller2011-08-071-3/+20
|
* st/dri: remove an unused-but-set variableMarek Olšák2011-08-051-7/+0
|
* st/dri: remove a dummy function dri2_create_contextMarek Olšák2011-08-051-15/+1
| | | | It does nothing besides calling dri_create_context with the same parameters.
* egl/gbm: Fix EGL_DEFAULT_DISPLAYBenjamin Franzke2011-08-042-5/+22
|
* st/egl: create pbuffers with PIPE_BIND_SAMPLER_VIEWChia-I Wu2011-07-291-3/+4
| | | | So that eglBindTexImage works.
* vdpau: enable mpeg1 hw decoding, using the exact same code path as mpeg2Emeric2011-07-251-12/+13
| | | | | | Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=39307 Signed-off-by: Christian König <[email protected]>
* g3dvl: no need for flushing inside the compositor any moreChristian König2011-07-153-4/+5
| | | | Move that also inside the state tracker where needed.
* g3dvl: correctly distinct dst area and clip area in the compositorChristian König2011-07-153-3/+4
| | | | Otherwise xine won't scale correctly.
* g3dvl: change picture parameter of decode_bitstream to general versionChristian König2011-07-151-1/+1
| | | | Using pipe_mpeg12_picture_desc was unintentional here.
* Merge branch 'pipe-video'Christian König2011-07-1342-0/+7029
|\
| * vaapi: cleanup the source and let the st at least compile againChristian König2011-07-1211-611/+517
| |