8#ifndef GrWaitRenderTask_DEFINED
9#define GrWaitRenderTask_DEFINED
17 std::unique_ptr<std::unique_ptr<GrSemaphore>[]> semaphores,
20 , fSemaphores(
std::move(semaphores))
21 , fNumSemaphores(numSemaphores)
22 , fWaitedOn(
std::move(surfaceView)) {}
26 return proxy == fWaitedOn.
proxy();
36#if defined(GR_TEST_UTILS)
37 const char*
name() const final {
return "Wait"; }
43 std::unique_ptr<std::unique_ptr<GrSemaphore>[]> fSemaphores;
std::function< void(GrSurfaceProxy *, skgpu::Mipmapped)> GrVisitProxyFunc
GrSurfaceProxy * proxy() const
GrWaitRenderTask(GrSurfaceProxyView surfaceView, std::unique_ptr< std::unique_ptr< GrSemaphore >[]> semaphores, int numSemaphores)
DEF_SWITCHES_START aot vmservice shared library name