screen_buffer_t
Graphics and Screen4.0 (8.x)Screen Graphics Subsystem Developer's GuideAPIProgrammingUtilities
A handle to a Screen buffer
Synopsis:
#include <screen/screen.h>
typedef struct _screen_buffer* screen_buffer_t;
Library:
libscreenDescription:
A buffer is an area of memory that stores pixel data. Although a buffer can be created in the scope of a context, it can't be used by Screen unless it's attached to a window, stream, or pixmap. Multiple buffers can be associated with a window or stream, but only one buffer can be associated with a pixmap.
After attaching your buffer to a pixmap, stream, or window, you should use the newly created buffer returned by screen_get_pixmap_property_pv(), screen_get_stream_property_pv(), or screen_get_window_property_pv().
For more information, see the Resource Sharing chapter of the Screen Developer's Guide or the Buffers section of the library reference.
Page updated: