| 29 | |
| 30 | namespace tgfx::inspect { |
| 31 | FrameCapture::FrameCapture() |
| 32 | : epoch(Clock::Now()), initTime(Clock::Now()), dataBuffer(TargetFrameSize * 3), |
| 33 | lz4Buf(LZ4Size + sizeof(int)), lz4Stream(LZ4_createStream()), broadcast(BroadcastCount) { |
| 34 | spawnWorkerThreads(); |
| 35 | } |
| 36 | |
| 37 | FrameCapture::~FrameCapture() { |
| 38 | shutdown.store(true, std::memory_order_relaxed); |
nothing calls this directly
no outgoing calls
no test coverage detected