wlmaker
Loading...
Searching...
No Matches
Public Attributes | List of all members
_wlmcl_dblbuf_t Struct Reference
Collaboration diagram for _wlmcl_dblbuf_t:
Collaboration graph
[legend]

Public Attributes

unsigned width
 
unsigned height
 
struct wlmcl_buffer buffers [_WLCL_DBLBUF_NUM]
 
struct wlmcl_bufferreleased_buffer_ptrs [_WLCL_DBLBUF_NUM]
 
int released
 
bool frame_is_due
 
void * data_ptr
 
size_t data_size
 
wlmcl_dblbuf_ready_callback_t callback
 
void * callback_ud_ptr
 
struct wl_surface * wl_surface_ptr
 

Detailed Description

State of double-buffered shared memory.

Member Data Documentation

◆ buffers

struct wlmcl_buffer _wlmcl_dblbuf_t::buffers[_WLCL_DBLBUF_NUM]

Holds the two wlmcl_buffer backing this double buffer.

◆ callback

wlmcl_dblbuf_ready_callback_t _wlmcl_dblbuf_t::callback

Will be called when the buffer is ready to draw into.

◆ callback_ud_ptr

void* _wlmcl_dblbuf_t::callback_ud_ptr

◆ data_ptr

void* _wlmcl_dblbuf_t::data_ptr

Blob of memory-mapped buffer data.

◆ data_size

size_t _wlmcl_dblbuf_t::data_size

◆ frame_is_due

bool _wlmcl_dblbuf_t::frame_is_due

Indicates that a frame is due to be drawn.

◆ height

unsigned _wlmcl_dblbuf_t::height

Height of the buffer, in pixels.

◆ released

int _wlmcl_dblbuf_t::released

◆ released_buffer_ptrs

struct wlmcl_buffer* _wlmcl_dblbuf_t::released_buffer_ptrs[_WLCL_DBLBUF_NUM]

Holds wlmcl_dblbuf_t::buffers items that are released.

◆ width

unsigned _wlmcl_dblbuf_t::width

With of the buffer, in pixels.

◆ wl_surface_ptr

struct wl_surface* _wlmcl_dblbuf_t::wl_surface_ptr

Surface that this double buffer is operating on.


The documentation for this struct was generated from the following file: