Commit Graph

157 Commits

Author SHA1 Message Date
Eric Anholt c9be11459b Enable overlay and/or textured video at runtime according to hardware
capabilities.  Sets up 16 textured-video ports.  Left in one hack (disconnected
but advertised BRIGHTNESS and CONTRAST atoms) which may actually not be
necessary.
2006-05-16 10:10:32 -07:00
Eric Anholt f268979a0c Correct drawing issues with planar formats when top or left != 0, and Y didn't
get its offset.
2006-05-16 10:10:32 -07:00
Eric Anholt b09fd42d70 Fix the planar formats to display correctly in textured mode. Still has issues
with clipping, and some sampling differences between ximagesink and xvimagesink.
2006-05-16 10:10:31 -07:00
Eric Anholt dd48790f46 Divide width by 2 in planar-to-packed conversion loop, since each pass through
the loop writes two source pixels.
2006-05-16 10:10:31 -07:00
Eric Anholt eec5e996ec Merge textured-video-wip to textured-video-planar-full. 2006-05-16 10:10:31 -07:00
Eric Anholt 4154a2f748 Experimental work to use a full pixel shader for planar to YUV conversion, which
also doesn't quite work.
2006-05-16 10:09:26 -07:00
Eric Anholt 3e0a9c9082 Do a separate BEGIN/ADVANCE_LP_RING set in the planar vs packed blocks, so I
can adjust the planar code more easily.
2006-05-16 10:09:26 -07:00
Eric Anholt 3af4a967e7 Add a couple of macros to simplify writing of video pixel shaders. 2006-05-16 10:09:26 -07:00
Eric Anholt 06e62ec521 Commit a WIP implementation of the planar video shader that does the
planar-to-packed conversion for us.  Unfortunately the documentation is unclear,
and I haven't managed to get any implementation of it working correctly.
2006-05-16 10:09:26 -07:00
Eric Anholt b1090a42b2 More magic number reduction in rotation code. 2006-05-16 10:09:26 -07:00
Eric Anholt 3a2d8af214 Add initial textured XV support for i915, which can do YUY2 and UYVY, but fails
on I420 and YV12 currently, doesn't support the composite extension, and should
break XV support on non-i915.
2006-05-16 10:09:25 -07:00
Eric Anholt 66875c1559 Convert magic numbers in i915 rotation 3D state to symbolic names. 2006-05-16 10:09:25 -07:00
Keith Packard f2967a2f5f Video overlay gamma bounds checking must be done bytewise.
Also, pend bound computations to register writes to allow
updates to individual values that are 'out of spec' so
the client can update multiple values.
(cherry picked from 190f9ad060 commit)
2006-05-09 13:57:23 -07:00
Matthieu Herrb 99b0e53244 Fix non-dri build. 2006-05-01 10:47:09 +02:00
Matthieu Herrb 86f0119f47 Fix non-dri build. 2006-05-01 10:41:10 +02:00
Alan Hourihane 1dbb19059f fix bug 6365 2006-04-20 10:43:19 +01:00
Ian Romanick a85be82003 Add missing new-line character in log message. 2006-04-17 12:52:30 -07:00
Alan Hourihane 3c9bc19db6 fix typo 2006-04-12 21:54:50 +01:00
Wang Zhenyu a797a6626a Fix a broken test that resulted in page flipping always being enabled, not just
when the user enabled it.
2006-04-11 16:44:42 -07:00
Eric Anholt 66d216da3b Replace .cvsignore with .gitignore. 2006-04-11 16:37:10 -07:00
Adam Jackson 692a4a4baf Bump to 1.6.0. 2006-04-10 11:27:25 -07:00
Aaron Plattner 43c93057c0 Add a DrawablePtr argument to the XV functions to pave the way for redirected
video.
2006-04-10 11:26:33 -07:00
Alan Hourihane 39bdfbb4c2 x86_64 warning fixes 2006-04-10 11:26:06 -07:00
Dave Airlie 35e4756645 Fix some argument inversions in xf86DrvMsg function calls 2006-04-05 07:12:00 +00:00
Kristian Høgsberg 6e5f9b0263 Add more missing #include's, in particular assert.h. 2006-04-04 18:22:32 +00:00
Kristian Høgsberg fdfce49c54 Drop libc wrapper; don't include xf86_ansic.h and add includes now missing. 2006-03-22 23:24:03 +00:00
Alan Hourihane 58817c9909 Enable gamma for hw cursor when ARGB cursor in use (Lukas Hejtmanek) 2006-03-10 13:07:00 +00:00
Alan Hourihane ab4c2f3bf4 Check the version of shadow being used and turn off rotation if it isn't the
right one.
Bump the Xvideo resolution support from 1920x1080 to 1920x1088.
2006-03-03 16:27:37 +00:00
Alan Hourihane be6216cd8c Fix a rotation problem when DRI is disabled 2006-02-20 03:25:50 +00:00
Alan Hourihane 073c4a6a18 Fix a rotation problem when DRI is disabled 2006-02-20 03:22:26 +00:00
Alan Hourihane 7cca2ae73e fix another build problem 2006-02-19 00:04:49 +00:00
Alan Hourihane 2e01277da0 fix build failure 2006-02-17 16:16:10 +00:00
Alan Hourihane 86fa253693 a little more of a workaround until we unplug the frontbuffer from libdri 2006-02-15 18:31:22 +00:00
Alan Hourihane 32f97e02ac temporary workaround until DRI frontbuffer mapping code is removed from
libdri.a
2006-02-10 21:59:37 +00:00
Alan Hourihane 50e5c26963 update Changelog 2006-01-26 09:55:15 +00:00
Alan Hourihane 91d2ba5743 add changelog 2006-01-26 09:05:50 +00:00
Alan Hourihane 076971b95e When going dual head only take a portion of memory for the second head
instead of doubling the requirements.
2006-01-25 22:22:42 +00:00
Alan Hourihane 77d1c579f3 Fix a glitch in a dual head fix from #3105 2006-01-25 22:17:00 +00:00
Alan Hourihane d8d7490809 Bump version to 1.5.0.0
Add Intel 945GM support
Add RandR rotation support (full 3D acceleration, HWcursor & Xvideo rotated too)
Remove shadow framebuffer rotation code
Add a new LinearAlloc option to allow more offscreen memory to be allocated
for XVideo applications. This allows HDTV movies to be played via Xvideo.
2006-01-24 15:20:34 +00:00
Kevin E Martin 919d36b671 Update package version for X11R7 release. 2005-12-21 02:30:00 +00:00
Adam Jackson 92962f32fc Stub COPYING files 2005-12-19 16:25:53 +00:00
Alan Coopersmith d2ef609211 Typo fixes, mailing list & url updates, and other changes to prepare for
X11R6.9 & 7.0 releases.
2005-12-19 09:07:50 +00:00
Kevin E Martin 1c51ff5c65 Update package version number for final X11R7 release candidate. 2005-12-15 00:24:17 +00:00
Kevin E Martin c5007a4b46 Change *man_SOURCES ==> *man_PRE to fix autotools warnings. 2005-12-06 22:48:35 +00:00
Kevin E Martin 15df421534 Update package version number for X11R7 RC3 release. 2005-12-03 05:49:33 +00:00
Kevin E Martin c50cd5a7f5 Remove extraneous AC_MSG_RESULT. 2005-12-02 02:16:08 +00:00
Adam Jackson da2c00c0e8 Bump libdrm dep to 2.0. 2005-11-30 18:47:54 +00:00
Adam Jackson ca36f1da4e Only build dlloader modules by default. 2005-11-29 23:29:59 +00:00
Alan Coopersmith 0b337390d6 Change *mandir targets to use new *_MAN_DIR variables set by xorg-macros.m4
update to fix bug #5167 (Linux prefers *.1x man pages in man1 subdir)
2005-11-28 22:04:09 +00:00
Eric Anholt 159bea0278 Add .cvsignores for drivers. 2005-11-21 10:49:14 +00:00