]> git.sesse.net Git - nageru/blobdiff - futatabi/video_stream.h
Add summaries for tracking fade and interpolation latency across the GPU.
[nageru] / futatabi / video_stream.h
index a6215e963e384829c5ca8c2c8753dffb6d28fa57..c83a4849d07286cb3719bc906d6c96aae529651c 100644 (file)
@@ -135,6 +135,7 @@ private:
                float alpha;
                BorrowedInterpolatedFrameResources resources;
                RefCountedGLsync fence;  // Set when the interpolated image is read back to the CPU.
+               std::chrono::steady_clock::time_point fence_created;
                GLuint flow_tex, output_tex, cbcr_tex;  // Released in the receiving thread; not really used for anything else. flow_tex will typically even be from a previous frame.
                FrameOnDisk id;