20 SURFACE_STATE_INVALID,
21 SURFACE_STATE_DEQUEUED,
34 bool has_requested[2];
35 uint32_t current_slot;
38 uint32_t *gpu_buffer_memory;
39 uint32_t *gpu_buffer_memory_alloc;
Represents conditions for the completion of an asynchronous graphics operation.
Definition: fence.h:18
A surface that can be drawn to.
Definition: surface.h:30
IGraphicBufferProducer object.
Definition: graphic_buffer_queue.h:24
result_t surface_queue_buffer(surface_t *surface)
Submit the current buffer to be displayed.
Graphics buffer.
Definition: graphic_buffer.h:19
uint32_t result_t
Function result.
Definition: types.h:51
handle_t revent_h
revent handle
Definition: types.h:47
surface_state_t
Keeps track of the internal state of a surface_t.
Definition: surface.h:19
Graphics buffer queues data structures and functions.
result_t surface_get_buffer_event(surface_t *surface, revent_h *out)
Gets a copy of the buffer event.
Buffer to be used for various GPU functions.
Definition: gpu.h:18
result_t surface_dequeue_buffer(surface_t *surface, uint32_t **image)
Acquire a buffer for rendering.
result_t surface_create(surface_t *surface, uint64_t layer_id, igbp_t igbp)
Create a new Surface.
result_t surface_wait_buffer(surface_t *surface)
Wait for any asynchronous operations on the current buffer to complete.