Zack Rusin
150d4968e3
st/xorg: initialize pipe in the renderer
16 years ago
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.
16 years ago
Zack Rusin
4969d014e5
st/xorg: implement basics of xv
16 years ago
Jakob Bornecrantz
db828ed758
st/xorg: Old X servers don't deal well with failing accesses
16 years ago
Jakob Bornecrantz
6d629d4aa2
st/xorg: More fallback debugging
Change the fallback debugging around a bit and do the old commit correctly
16 years ago
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 .
16 years ago
Jakob Bornecrantz
5080e8bea6
st/xorg: Debug fallbacks for composite as well
16 years ago
Jakob Bornecrantz
552efdae06
st/xorg: Use A8 textures for depth 8 pixmaps
There is no hardware out there that can render to I8 textures.
16 years ago
Jakob Bornecrantz
a31d16cbfa
st/xorg: Fix depth stencil buffers on old X servers
Sanity checking is for the weak.
16 years ago
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.
16 years ago
Younes Manton
fcb595c04f
g3dvl: Copyright blocks.
16 years ago
Younes Manton
62db9b21da
st/xvmc: Set default CSC matrix to BT.601, no ProcAmp, full range RGB.
16 years ago
Michel Dänzer
e32a341be6
st/xorg: Check that ms->api->destroy is not NULL before calling it.
Fixes potential crash on X server shutdown.
16 years ago
Michel Dänzer
81a62edc08
st/xorg: Fix debug option function call typo.
16 years ago
Jakob Bornecrantz
3a8d525373
st/xorg: Add debug for fallbacks
16 years ago
Jakob Bornecrantz
e226bf8a5d
st/xorg: Make debug printing optional
16 years ago
Younes Manton
70c44073ad
xvmc: Fail on unsupported formats, operations.
16 years ago
Younes Manton
d52d51ab8a
g3dvl: Formatting and cleanups.
16 years ago
Younes Manton
97c28bb63a
g3dvl: Move XvMC under the Xorg state tracker.
16 years ago
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.
16 years ago
Michel Dänzer
07e2d6edfa
st/xorg: Flush render cache if but only if a source has pending write operations.
16 years ago
Michel Dänzer
626553f327
st/xorg: Reject Composite acceleration for some cases not working yet.
16 years ago
Michel Dänzer
9c449502a2
st/xorg: Make sure struct is fully initialized.
gcc complained about a missing initializer.
16 years ago
Michel Dänzer
b0ddfe8a3d
st/xorg: Use generic semantic for Composite mask coordinates.
16 years ago
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.
16 years ago
Michel Dänzer
b97547027e
st/xorg: Use I8 format instead of A8 for depth 8 pixmaps.
Seems to work better for Composite acceleration.
16 years ago
Michel Dänzer
67fb13ba68
st/xorg: Bind rasterizer state for copies.
16 years ago
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.
16 years ago
Michel Dänzer
07f107467e
st/xorg: Better checks for unsupported component alpha pictures.
16 years ago
Zack Rusin
228aa45fcb
st/xorg: start working on the Xv acceleration code
16 years ago
Zack Rusin
80965fca74
st/xorg: fills are supported plussome minor clenups
16 years ago
Zack Rusin
53d2fa46e7
st/xorg: add easier way of disabling/enabling acceleration
16 years ago
Zack Rusin
1ddb217d8e
st/xorg: fix a typo
it'd be too easy, eh
16 years ago
Zack Rusin
5a7f708530
st/xorg: keep the user buffer contents around
Michel noticed that they were getting out of scope
16 years ago
Jakob Bornecrantz
bade906ed1
st/xorg: Fix two leeks
We where leaking both surfaces in the composit code
and textures from pixmaps.
16 years ago
Dave Airlie
e9d6ab72be
xorg/st: fixup builds against later dpms headers.
16 years ago
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.
16 years ago
Zack Rusin
8adcad0c70
st/xorg: lots of fixes
fixes blending binding and copy coordinates
16 years ago
Zack Rusin
f1ce6b09cd
st/xorg: Brian suggested that those could be mad's
optimizes the common paths
16 years ago
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.
16 years ago
Michel Dänzer
45cf2696ca
st/xorg: Explicitly check whether the driver supports the pixmap formats.
Rather than arbitrarily checking for pixmap depth < 15.
16 years ago
Michel Dänzer
be94a1d3bc
st/xorg: Use A8 format for depth 8 pixmaps.
The inconsistent bpp caused issues with UploadTo/DownloadFromScreen.
16 years ago
Zack Rusin
ef77462171
st/xorg: add some debugging helpers
16 years ago
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.
16 years ago
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.
16 years ago
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.
16 years ago
Zack Rusin
8c37a4c8fd
st/xorg: rename ctx to pipe to match every other gallium state tracker
plus it avoids the "ctx->ctx->" syntax
16 years ago
Zack Rusin
85a716bf62
st/xorg: temporarily disablie copies
16 years ago
Zack Rusin
feb74e7753
st/xorg: implement pipelines surface/texture copies
16 years ago
Zack Rusin
57d0934bc5
st/xorg: unite finalization and stub out pipelined copies
16 years ago