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

Method ProcessorGuard

src/gpu/ProgramBuilder.cpp:25–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23class ProcessorGuard {
24 public:
25 ProcessorGuard(ProgramBuilder* builder, const Processor* processor) : builder(builder) {
26 builder->currentProcessors.push_back(processor);
27 }
28
29 ~ProcessorGuard() {
30 builder->currentProcessors.pop_back();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected