Jakob Bornecrantz
ef067b5f01
st/xorg: Fix dpms include problems
hace 16 años
Zack Rusin
59cf40059a
st/xorg: get transparency on fills working (fixes Qt/KDE apps)
hace 16 años
Zack Rusin
1cc1c3a033
st/xorg: solid fills with masks are supported
gradients are supported, but not enabled by default due to little
testing they got
hace 16 años
Zack Rusin
89bb33fb20
st/xorg: fix and enable by default xrender acceleration
src in mask was broken
hace 16 años
Zack Rusin
150d4968e3
st/xorg: initialize pipe in the renderer
hace 16 años
Zack Rusin
319a588238
st/xorg: lots of rendering and xv changes
extract all the rendering code to xorg_rendedrer, make both exa and xv
share that code. in the process cleanup the rendering code and implement
a lot more of the xv infrastructure.
hace 16 años
Zack Rusin
4969d014e5
st/xorg: implement basics of xv
hace 16 años
Jakob Bornecrantz
db828ed758
st/xorg: Old X servers don't deal well with failing accesses
hace 16 años
Jakob Bornecrantz
6d629d4aa2
st/xorg: More fallback debugging
Change the fallback debugging around a bit and do the old commit correctly
hace 16 años
Jakob Bornecrantz
992b143b25
Revert "st/xorg: Debug fallbacks for composite as well"
This commit included a change that should have been in
its own commit, and turns out that you can do what was
suposed to go in it in much better way as well.
This reverts commit 5080e8bea6 .
hace 16 años
Jakob Bornecrantz
5080e8bea6
st/xorg: Debug fallbacks for composite as well
hace 16 años
Jakob Bornecrantz
552efdae06
st/xorg: Use A8 textures for depth 8 pixmaps
There is no hardware out there that can render to I8 textures.
hace 16 años
Jakob Bornecrantz
a31d16cbfa
st/xorg: Fix depth stencil buffers on old X servers
Sanity checking is for the weak.
hace 16 años
Michel Dänzer
316b4ddcf7
st/xorg: Use PIPE_TRANSFER_MAP_DIRECTLY flag in EXA PrepareAccess hook.
Propagate NULL return value.
This also allows removing the DRM_MODE_FEATURE_DIRTYFB specific pixmap
management hacks.
hace 16 años
Younes Manton
fcb595c04f
g3dvl: Copyright blocks.
hace 16 años
Younes Manton
62db9b21da
st/xvmc: Set default CSC matrix to BT.601, no ProcAmp, full range RGB.
hace 16 años
Michel Dänzer
e32a341be6
st/xorg: Check that ms->api->destroy is not NULL before calling it.
Fixes potential crash on X server shutdown.
hace 16 años
Michel Dänzer
81a62edc08
st/xorg: Fix debug option function call typo.
hace 16 años
Jakob Bornecrantz
3a8d525373
st/xorg: Add debug for fallbacks
hace 16 años
Jakob Bornecrantz
e226bf8a5d
st/xorg: Make debug printing optional
hace 16 años
Younes Manton
70c44073ad
xvmc: Fail on unsupported formats, operations.
hace 16 años
Younes Manton
d52d51ab8a
g3dvl: Formatting and cleanups.
hace 16 años
Younes Manton
97c28bb63a
g3dvl: Move XvMC under the Xorg state tracker.
hace 16 años
Michel Dänzer
c19482b16f
st/xorg: Re-enable accelerated fills and copies.
These seem to work well enough now with the new code. Composite acceleration
isn't quite there yet and thus remains disabled in xorg_composite_bind_state()
for now.
hace 16 años
Michel Dänzer
07e2d6edfa
st/xorg: Flush render cache if but only if a source has pending write operations.
hace 16 años
Michel Dänzer
626553f327
st/xorg: Reject Composite acceleration for some cases not working yet.
hace 16 años
Michel Dänzer
9c449502a2
st/xorg: Make sure struct is fully initialized.
gcc complained about a missing initializer.
hace 16 años
Michel Dänzer
b0ddfe8a3d
st/xorg: Use generic semantic for Composite mask coordinates.
hace 16 años
Michel Dänzer
ac2e0ddcd8
st/xorg: Flesh out EXA PrepareComposite hook a little.
Check that the formats are supported, and don't crash with source-only
pictures.
hace 16 años
Michel Dänzer
b97547027e
st/xorg: Use I8 format instead of A8 for depth 8 pixmaps.
Seems to work better for Composite acceleration.
hace 16 años
Michel Dänzer
67fb13ba68
st/xorg: Bind rasterizer state for copies.
hace 16 años
Michel Dänzer
7edda9350a
st/xorg: Source-only pictures always have format PICT_a8r8g8b8.
See xserver/render/picture.c:createSourcePicture(). This both simplifies the
code and avoids a crash because pFormat is NULL.
hace 16 años
Michel Dänzer
07f107467e
st/xorg: Better checks for unsupported component alpha pictures.
hace 16 años
Zack Rusin
228aa45fcb
st/xorg: start working on the Xv acceleration code
hace 16 años
Zack Rusin
80965fca74
st/xorg: fills are supported plussome minor clenups
hace 16 años
Zack Rusin
53d2fa46e7
st/xorg: add easier way of disabling/enabling acceleration
hace 16 años
Zack Rusin
1ddb217d8e
st/xorg: fix a typo
it'd be too easy, eh
hace 16 años
Zack Rusin
5a7f708530
st/xorg: keep the user buffer contents around
Michel noticed that they were getting out of scope
hace 16 años
Jakob Bornecrantz
bade906ed1
st/xorg: Fix two leeks
We where leaking both surfaces in the composit code
and textures from pixmaps.
hace 16 años
Dave Airlie
e9d6ab72be
xorg/st: fixup builds against later dpms headers.
hace 16 años
Zack Rusin
a016043386
st/xorg: fixing copies and composite shaders
copies were busted when src == dst. also the composite shaders
were incorrectly using the fragments instead of the texture coordinate.
hace 16 años
Zack Rusin
8adcad0c70
st/xorg: lots of fixes
fixes blending binding and copy coordinates
hace 16 años
Zack Rusin
f1ce6b09cd
st/xorg: Brian suggested that those could be mad's
optimizes the common paths
hace 16 años
Michel Dänzer
0469465c31
st/xorg: Only unreference texture on pixmap destruction, don't destroy it.
Fixes memory corruption if e.g. the driver still has references to the texture.
hace 16 años
Michel Dänzer
45cf2696ca
st/xorg: Explicitly check whether the driver supports the pixmap formats.
Rather than arbitrarily checking for pixmap depth < 15.
hace 16 años
Michel Dänzer
be94a1d3bc
st/xorg: Use A8 format for depth 8 pixmaps.
The inconsistent bpp caused issues with UploadTo/DownloadFromScreen.
hace 16 años
Zack Rusin
ef77462171
st/xorg: add some debugging helpers
hace 16 años
Brian Paul
5a87a25a65
st/xorg: fix ureg_DECL_constant() parameters
This fixes the compilation errors reported in bug 23945 but someone more
familiar with the code should review for correctness and close the bug
report.
hace 16 años
Keith Whitwell
ae4704eabc
tgsi/ureg: give ureg_DECL_constant an explicit index parameter
Avoid the need to emit all constant declarations in order. Makes
referring to a specific constant in the constant buffer much easier.
hace 16 años
Keith Whitwell
6d8dbd3d1e
tgsi/ureg: VS inputs don't have any semantic tags, just an index
Fix ureg_DECL_vs_input to reflect this and fix up all callers.
hace 16 años