summaryrefslogtreecommitdiff
path: root/include/types/wlr_buffer.h
blob: 016cae86aea003777510144a477a5c527c6f6a8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef TYPES_WLR_BUFFER
#define TYPES_WLR_BUFFER

#include <wlr/types/wlr_buffer.h>

/**
 * Check whether a buffer is fully opaque.
 *
 * When true is returned, the buffer is guaranteed to be fully opaque, but the
 * reverse is not true: false may be returned in cases where the buffer is fully
 * opaque.
 */
bool buffer_is_opaque(struct wlr_buffer *buffer);

#endif