|
wlmaker
|

Public Attributes | |
| unsigned | width |
| unsigned | height |
| struct wlmcl_buffer | buffers [_WLCL_DBLBUF_NUM] |
| struct wlmcl_buffer * | released_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 |
State of double-buffered shared memory.
| struct wlmcl_buffer _wlmcl_dblbuf_t::buffers[_WLCL_DBLBUF_NUM] |
Holds the two wlmcl_buffer backing this double buffer.
| wlmcl_dblbuf_ready_callback_t _wlmcl_dblbuf_t::callback |
Will be called when the buffer is ready to draw into.
| void* _wlmcl_dblbuf_t::callback_ud_ptr |
Argument to wlmcl_dblbuf_t::callback.
| void* _wlmcl_dblbuf_t::data_ptr |
Blob of memory-mapped buffer data.
| size_t _wlmcl_dblbuf_t::data_size |
Size of wlmcl_dblbuf_t::data_ptr.
| bool _wlmcl_dblbuf_t::frame_is_due |
Indicates that a frame is due to be drawn.
| unsigned _wlmcl_dblbuf_t::height |
Height of the buffer, in pixels.
| int _wlmcl_dblbuf_t::released |
Number of items in wlmcl_dblbuf_t::released_buffer_ptrs.
| struct wlmcl_buffer* _wlmcl_dblbuf_t::released_buffer_ptrs[_WLCL_DBLBUF_NUM] |
Holds wlmcl_dblbuf_t::buffers items that are released.
| unsigned _wlmcl_dblbuf_t::width |
With of the buffer, in pixels.
| struct wl_surface* _wlmcl_dblbuf_t::wl_surface_ptr |
Surface that this double buffer is operating on.