In article <[EMAIL PROTECTED]>,
 Greg Ercolano <[EMAIL PROTECTED]> wrote:

> gga wrote:
> > glDrawPixels should not be used as it is slow.  Rely on actually drawing
> > one textured quad (or more than one if the texture is too big for the
> > hardware).  There's demos all over the net how to do this.
> 
>       Oh yeah, the texture trick.. even better.
>       Assuming your hardware supports this.. most does I think these days.

Ahh, the old "don't use glDrawPixels because it's slow". Probably it 
never got optimized in PCs because no-one was using it in games 
"loophole".

Yet, it's the perfect way to draw video or bitmap states: no wasted 
texture memory and immediate rendering. In fact, in SGI/SUN GL 
implementations, it's as fast as glTexImage*, and you don't need to draw 
the quad.

oh well...

we're all doing games with GL anyway, right?
_______________________________________________
fltk-opengl mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-opengl

Reply via email to