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.
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 page explains a bit. Maybe useful to you.
http://www.cis.gsu.edu/~shong/oojokes/
Quote:
Original post by danne89
This page explains a bit. Maybe useful to you.
Thank you. I'm looking for a way to make a GUI independant of the window manager, so no matter which one you're running you'll be able to run the program.
I've some work done, but I find the drawing/color routines of Xlib to be too very much complicated and slow for what I want to do.
[size="2"]I like the Walrus best.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement