Screen acquire buffer flags
Graphics and Screen4.0 (8.x)Screen Graphics Subsystem Developer's GuideAPIProgrammingUtilities
Options for the flags
parameter when you try to acquire a buffer from a producer
Synopsis:
#include <screen/screen.h>
enum {
SCREEN_ACQUIRE_AND_RELEASE_OTHERS = (1 << 0),
SCREEN_ACQUIRE_DONT_BLOCK = (1 << 5)
};
Data:
- SCREEN_ACQUIRE_AND_RELEASE_OTHERS
- Atomically release all other buffers when a new one is acquired.
- SCREEN_ACQUIRE_DONT_BLOCK
- Return immediately if no buffer is available.
Library:
libscreenDescription:
These options are valid only for the screen_acquire_buffer() function. Use Screen flushing types for other Screen API functions that accept a flags
parameter.
Page updated: