X11/XLib - Pixmap: Is there a way to access the pixel buffer directly?
I can't find the documentation of the XLib Pixmap structure.
I've seen that people ussually uses a XImage to do double buffering in X. I want to use a Pixmap instead. Is it possible/recommended?
EDIT: I want to access the pixmap buffer directly to plot pixel values myself.
Thanks.
[size="2"]I like the Walrus best.
I know. You mean it is not possible?
Thanks.
Thanks.
[size="2"]I like the Walrus best.
July 13, 2004 03:13 PM
Look up the MIT-SHM extension or DGA (direct graphics access). They may do what you want.
I just found out that Xrender is the way to do fast drawing in X.
Thankyou everyoneesss.
Thankyou everyoneesss.
[size="2"]I like the Walrus best.
theoretically.
If the driver accelerates render, then you have every reason to use nothing but render and complete forget X's core graphics routines. It's superior.
Some render accelerations suck, however. NVIDIA's driver (last I checjed, long ago) was super buggy (w.r.t. render acceleration) and had to be manually enabled.
If the driver accelerates render, then you have every reason to use nothing but render and complete forget X's core graphics routines. It's superior.
Some render accelerations suck, however. NVIDIA's driver (last I checjed, long ago) was super buggy (w.r.t. render acceleration) and had to be manually enabled.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement