[clip]
(And as to whether or not it should support XOR blitting, the only
machine I’ve programmed that actually had both a usable fullscreen
rendering API and hardware with accelerated XOR blitting was the
Amiga. Sure, Win32 GDI + drivers support it as well, but to no avail
- GDI is pretty useless on DirectX surfaces.)
Be specific - it’s a driver issue g.
-ALL- 8514/X-descended cards have XOR. (all S3, all ATI afaik, all
C&T, and so on). Just 'cause the -drivers- can’t support it doesn’t
mean the -machine- can’t.
Yes, but as we’re talking about SDL here (which is not the case with a
certain other thread - oops :-), that’s not the point - SDL is not a
driver architecture, and thus, can’t use any features not made available
by any drivers.
Now, if it is supported by a significant number of drivers/APIs,
though… Then again, how many games (or even multimedia applications
in general) use XOR blitting when there’s real colorkey blitting?
Actually you make me curious as the X core - at least under 8514-based
drivers - uses the XOR system (which is a subset of one of the pixel
control codes).
I would have been surprised if it didn’t as virtually all other 2D APIs
I’ve seen do support it.
However, low level APIs, such as DirectX, DGA, GGI, svgalib, fbdev etc,
and consequently SDL, rarely do - if they support anything at all but
opaque blits.
Also I believe OpenGL has a way to do it - but I’m not sure there.
I think so, yes - but I’m not expecting to find it accelerated in
"consumer" implementations - not even if the hardware supports it.
(Speaking of which, all GeForce2+ chips have virtually all features of
the Quadro chips. You can actually enable accelerated lines and stuff by
tweaking the registry, and/or messing with the GPU ID.)
//David Olofson — Programmer, Reologica Instruments AB
.- M A I A -------------------------------------------------.
| Multimedia Application Integration Architecture |
| A Free/Open Source Plugin API for Professional Multimedia |
----------------------------> http://www.linuxdj.com/maia -' .- David Olofson -------------------------------------------. | Audio Hacker - Open Source Advocate - Singer - Songwriter |
-------------------------------------> http://olofson.net -'On Thursday 08 November 2001 06:57, winterlion wrote:
On Wed, 7 Nov 2001, David Olofson wrote: