mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-23 23:51:30 +00:00
[client] render: bound software surface update backlog
This commit is contained in:
@@ -36,6 +36,8 @@ typedef void (*RenderQueueSourceAppliedFn)(void * opaque,
|
||||
bool swSurface);
|
||||
typedef bool (*RenderQueueSourcePrepareFn)(void * opaque,
|
||||
RenderQueueSource source, uint64_t generation, uint64_t serial);
|
||||
typedef void (*RenderQueueSourceRejectFn)(void * opaque,
|
||||
RenderQueueSource source, uint64_t serial);
|
||||
|
||||
void renderQueue_init(void);
|
||||
void renderQueue_free(void);
|
||||
@@ -44,6 +46,7 @@ void renderQueue_process(void);
|
||||
void renderQueue_presented(void);
|
||||
|
||||
void renderQueue_setSourceFns(RenderQueueSourcePrepareFn prepare,
|
||||
RenderQueueSourceRejectFn reject,
|
||||
RenderQueueSourceAppliedFn applied, void * opaque);
|
||||
|
||||
/* Starting a source lifecycle makes commands from its prior generation stale.
|
||||
@@ -57,6 +60,9 @@ uint64_t renderQueue_sourceTransition(RenderQueueSource source,
|
||||
uint64_t generation, bool swSurface,
|
||||
atomic_uint_least64_t * publishedSerial);
|
||||
|
||||
bool renderQueue_sourceSwSurfaceConfigure(RenderQueueSource source,
|
||||
uint64_t generation, int width, int height);
|
||||
|
||||
uint64_t renderQueue_sourceSwSurfaceConfigureTransition(
|
||||
RenderQueueSource source, uint64_t generation, int width, int height,
|
||||
atomic_uint_least64_t * publishedSerial);
|
||||
|
||||
Reference in New Issue
Block a user