MCPcopy Create free account
hub / github.com/Tencent/tgfx / FrameCapture

Method FrameCapture

src/inspect/FrameCapture.cpp:31–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29
30namespace tgfx::inspect {
31FrameCapture::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
37FrameCapture::~FrameCapture() {
38 shutdown.store(true, std::memory_order_relaxed);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected