summaryrefslogtreecommitdiff
path: root/src/savage_video.c
AgeCommit message (Collapse)AuthorFilesLines
2011-01-25savage: Drop unused variables and functionsTormod Volden1-4/+1
Silence -Wall warnings. The functions are just #if'ed out, to be left for inspiration.
2011-01-25savage: Replace deprecated x(c)alloc/xfree with m/calloc/freeTormod Volden1-13/+13
sed -i 's/xalloc/malloc/g; s/xcalloc/calloc/g; s/xfree/free/g' Also replace xrealloc with realloc.
2011-01-25savage: Add casts to silence build warningsTormod Volden1-2/+2
savage_exa.c: In function ‘SavageUploadToScreen’: savage_exa.c:545: warning: passing argument 1 of ‘memcpy’ discards qualifiers from pointer target type /usr/include/bits/string3.h:49: note: expected ‘void * restrict’ but argument is of type ‘volatile CARD32 *’ savage_video.c: In function ‘SavagePutImage’: savage_video.c:2007: warning: format ‘%ld’ expects type ‘long int’, but argument 4 has type ‘drmSize’ savage_video.c:2007: warning: format ‘%ld’ expects type ‘long int’, but argument 5 has type ‘int’
2010-04-26Fix builds when XF86DRI is undefinedAlan Coopersmith1-2/+11
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2009-05-27Implement use of Mastered Image Transfer through AGP for UploadToScreen EXA ↵Alex Villacís Lasso1-3/+8
acceleration. Under some conditions (documented in this patch), the UploadToScreen implementation can make use of the AGP scratch buffer used for XVideo as a convenient source for Mastered Image Transfer. The previous implementation is still available as a fallback for when AGP acceleration is not possible. This requires the AGP scratch buffer to be persistent, so the XVideo code is also made aware of an existing DRM mapping for the scratch buffer.
2009-03-23Fix crash by null pointer access when DRI is not available.Alex Villacís Lasso1-1/+1
2009-01-16Add AGPforXv OptionAlex Villacís Lasso1-28/+97
Instructs the BCI Xv pixel formatter to use AGP memory as a scratch buffer for Xv image upload
2009-01-16YUV packed buffer and YV12 planar buffer (if required) are now separate ↵Alex Villacís Lasso1-17/+47
allocations BCI-mediated planar conversion can now use arbitrary offset in framebuffer as planar buffer, no longer restricted to space past packed buffer.
2008-11-06Bug #18378: Use xfVillKeyHelperDrawable if available.Alex Villacís Lasso1-1/+11
2008-02-28Fix broken downscale past 2:1 - MM8190 and MM8198 can be used together for ↵Alex Villacs Lasso1-6/+15
arbitrary downscale
2008-01-30[PATCH] Do not wait for vertical retrace anymore on old streams engine.Alex Villacís Lasso1-0/+2
2008-01-30[PATCH] Reset lastKnownPitch to 0 right after enabling streams.Alex Villacís Lasso1-0/+3
2008-01-30[PATCH] Prevent use of BCI for YV12 -> YUY2 conversion from scribbling past ↵Alex Villacís Lasso1-1/+5
the end of the allocated video buffer.
2008-01-30[PATCH] BCI can only handle widths that are multiple of 16, so only use BCI ↵Alex Villacís Lasso1-10/+7
for these (for now). Small optimizations (use memcpy instead of copy loop).
2008-01-19Fix ambiguous operator precedenceAlex Villací­s Lasso1-3/+3
In the modified lines, the logical-not binds first to psav->videoFlags, not to (psav->videoFlags & VF_STREAMS_ON). If more flags are ever implemented, they could interfere with this check. More of a preventive patch than anything else.
2006-11-22clean up some leftover cruft.Alex Deucher1-32/+0
2006-08-08Add some more missing license statements. Trivial whitespace clean-ups.Ian Romanick1-1/+27
2006-04-30- Add exa support (solid, copy, UTS)Alex Deucher1-25/+138
2006-04-07Add a DrawablePtr argument to the XV functions to pave the way forAaron Plattner1-2/+4
redirected video.
2005-07-11Prep for modular builds by adding guarded #include "config.h" everywhere.XORG-6_8_99_900XORG-6_8_99_16XORG-6_8_99_15Adam Jackson1-0/+4
2005-04-20Fix includes right throughout the Xserver tree:sco_port_update-baseXORG-6_8_99_7XORG-6_8_99_6XORG-6_8_99_5XORG-6_8_99_4Daniel Stone1-1/+1
change "foo.h" to <X11/foo.h> for core headers, e.g. X.h, Xpoll.h; change "foo.h", "extensions/foo.h" and "X11/foo.h" to <X11/extensions/foo.h> for extension headers, e.g. Xv.h; change "foo.[ch]" to <X11/Xtrans/foo.[ch]> for Xtrans files.
2005-03-16- small fixups for old streamsAlex Deucher1-51/+170
- more work on Xv support for savage2000 (still not working 100%)
2004-10-21when using the overlay for Xv, only enable it when displaying the videoAlex Deucher1-5/+33
otherwise the overlay breaks on mode changes.
2004-10-16- fix savage2000, savage3DAlex Deucher1-30/+214
- attempt to fix Xv on savage2000 (not there yet)
2004-10-11Turn off vertical interpolation on "old" engines by default. It's bandwidthAlex Deucher1-6/+31
intensive and causes artifacts on one of my savage4s. I added an Xv attribute, XV_VERTICAL_INTERPOLATION, so users can turn it on and off on the fly.
2004-10-11Fix Xv on savages with the "old" streams engine.Alex Deucher1-51/+25
2004-09-30Add Dualhead Support to Mobile savages (MX, IX, Supersavages) Thanks toAlex Deucher1-53/+226
Austin Yuan for his help on this.
2004-09-16Merge savage DDX from DRI to xorg and fix conflicts.Alex Deucher1-18/+164
2004-07-30Add pseudocolor overlay mode. Leave streams engine running at all times toEgbert Eich1-664/+81
prevent artefacts during video playback. Fixed VBE mode list code to work together with reading DDC data using VBE functions. Fixed data types to muffle compiler. Fixed requested size of FIFO for image writes. Fixes temporary lockups.
2004-06-16DRI trunk-20040613 importDRI-trunk-20040721DRI-trunk-20040613Eric Anholt1-150/+302
2004-06-16DRI XFree86-4_3_99_12-merge importDRI-XFree86-4_3_99_12-mergeEric Anholt1-16/+14
2004-04-23Merging XORG-CURRENT into trunkXACE-SELINUX-MERGEEgbert Eich1-1/+1
2004-03-14Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004xf86-4_4_99_1Egbert Eich1-1/+1
2004-03-03Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004xf86-4_4_0Egbert Eich1-1/+1
2004-02-26readding XFree86's cvs IDsxf86-4_3_99_903Egbert Eich1-1/+1
2004-02-26Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004Egbert Eich1-1/+1
2003-11-25XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_902xf86-4_3_99_901xf86-4_3_99_16Kaleb Keithley1-189/+125
2003-11-14Initial revisionKaleb Keithley1-0/+1982