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

Method SemaphoreWaitTask

src/gpu/tasks/SemaphoreWaitTask.h:27–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25class SemaphoreWaitTask : public RenderTask {
26 public:
27 explicit SemaphoreWaitTask(std::shared_ptr<Semaphore> semaphore)
28 : semaphore(std::move(semaphore)) {
29 }
30
31 void execute(CommandEncoder* encoder) override {
32 encoder->waitForFence(semaphore->getFence());

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected