Home
last modified time | relevance | path

Searched refs:fInstancedRendering (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/gpu/instanced/
DInstancedOp.cpp27 , fInstancedRendering(nullptr) in InstancedOp()
38 fInstancedRendering->removeOp(this); in ~InstancedOp()
158 SkASSERT(!fInstancedRendering); in wasRecorded()
161 fInstancedRendering = opList->instancedRendering(); in wasRecorded()
163 this->getSingleInstance().fInfo |= fInstancedRendering->addOpParams(this); in wasRecorded()
164 fInstancedRendering->addOp(this); in wasRecorded()
170 SkASSERT(!that->fInstancedRendering || (fInstancedRendering == that->fInstancedRendering)); in onCombineIfPossible()
200 if (!that->fInstancedRendering) { in onCombineIfPossible()
201 that->fInstancedRendering = fInstancedRendering; in onCombineIfPossible()
202 that->getSingleInstance().fInfo |= fInstancedRendering->addOpParams(that); in onCombineIfPossible()
[all …]
DInstancedOp.h84 InstancedRendering* fInstancedRendering; variable
/external/skia/src/gpu/
DGrRenderTargetOpList.cpp33 fInstancedRendering.reset(gpu->createInstancedRendering()); in GrRenderTargetOpList()
82 if (fInstancedRendering) { in prepareOps()
83 fInstancedRendering->beginFlush(flushState->resourceProvider()); in prepareOps()
161 if (fInstancedRendering) { in reset()
162 fInstancedRendering->endFlush(); in reset()
163 fInstancedRendering = nullptr; in reset()
170 if (fInstancedRendering) { in abandonGpuResources()
171 fInstancedRendering->resetGpuResources(InstancedRendering::ResetType::kAbandon); in abandonGpuResources()
176 if (fInstancedRendering) { in freeGpuResources()
177 fInstancedRendering->resetGpuResources(InstancedRendering::ResetType::kDestroy); in freeGpuResources()
DGrRenderTargetOpList.h101 SkASSERT(fInstancedRendering); in instancedRendering()
102 return fInstancedRendering.get(); in instancedRendering()
143 std::unique_ptr<gr_instanced::InstancedRendering> fInstancedRendering; variable