Quoting Oron Peled, from the post of Sun, 23 Feb:
> > but I'm not aware
> > of a standard library like DirectX in Linux as of yet.
> 
> What? OpenGL (as was mentioned by others) is a *standard library*

for 3D rendering, the guy was looking for:
1. fast, direct hardware access (not OpenGL's main thing)
2. 2D

OpenGL has nothing to do with either. it can interface with DRI, but its
main function is to standardize the manipulation of 3D graphics, in
theory, do it fast as well.

for instance, mplayer, xine and the rest can use x11 (xlib), xinerama,
XV and other extensions, I have yet to see a media player try to use
OpenGL for 2D rendering or acceleration.

now Mr. (or Ms.?) Shamir wants to do Fractals, which are heavy in CPU
time or even FPU time. the speed of hardware access is actually
negligable. I would render it to memory as the fastest option (and most
versatile) and only copy it to the graphic interface on occasion, in a
separate thread (every few hundred pixels calculated) for better
performance. (YMMV)


-- 
Man of the house
Ira Abramov

http://ira.abramov.org/email/ This post is encrypted twice with ROT-13.
Documenting or attempting to crack this encryption is illegal.

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to