mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-04 14:22:02 +00:00
[client] expose EGL stages in frame latency
Correlate received frames with the texture update actually consumed by the renderer and retain damage until its token becomes renderable. Split client latency into dispatch, import, queue, preparation, setup, effects, desktop, composition, and swap stages in FRAME LATENCY. Exclude diagnostic overlay work from composition and preserve client wait time when producer timing is unavailable. Publish joined samples through a bounded token queue, avoid sleeping while producer timing is finalized, and correct Wayland photon units.
This commit is contained in:
@@ -922,9 +922,10 @@ void app_setGraphCompact(GraphHandle handle, bool compact)
|
||||
overlayGraph_setCompact(handle, compact);
|
||||
}
|
||||
|
||||
void app_setFrameImportTime(uint64_t time)
|
||||
void app_setFrameImportTiming(uint64_t importTime, uint64_t importWaitTime)
|
||||
{
|
||||
g_state.frameImportTime = time;
|
||||
g_state.frameImportTime = importTime;
|
||||
g_state.frameImportWaitTime = importWaitTime;
|
||||
}
|
||||
|
||||
void app_registerOverlay(const struct LG_OverlayOps * ops, const void * params)
|
||||
|
||||
Reference in New Issue
Block a user