gdk pixbufs, rgbbufs, efficiency, painting onto them



cali writes:
I found that using a pixbuf was annoying because I was setting individual 
pixel values using drawpoint...  
So what am I talking about? A few things really. Can I copy directly to the 
x-servers memory from within GTK, or would that mess things up?
...
Maybe I'm being stupid because I don't know better. If you wanted fast 
client side access to individual pixels but also the ability to draw 
primatives, and you wanted to use GTK, what would you do?


   Learn OpenGL and use gtkglext/MesaGL. It gives you direct access to double
framebuffers and lets you draw primitives via an available graphics
accelerator.

Dale



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]