Home
last modified time | relevance | path

Searched refs:fVertexData (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/gpu/ganesh/ops/
DTriangulatingPathRenderer.cpp109 SkASSERT(!fLockStride && !fVertices && !fVertexBuffer && !fVertexData); in ~StaticVertexAllocator()
114 SkASSERT(!fLockStride && !fVertices && !fVertexBuffer && !fVertexData); in lock()
137 SkASSERT(fLockStride && fVertices && fVertexBuffer && !fVertexData); in unlock()
149 fVertexData = GrThreadSafeCache::MakeVertexData(std::move(fVertexBuffer), in unlock()
157 SkASSERT(!fLockStride && !fVertices && !fVertexBuffer && fVertexData); in detachVertexData()
159 return std::move(fVertexData); in detachVertexData()
163 sk_sp<GrThreadSafeCache::VertexData> fVertexData; member in __anonfb8182330111::StaticVertexAllocator
299 if (!fVertexData) { in createNonAAMesh()
302 fVertexData = std::move(cachedVerts); in createNonAAMesh()
306 if (fVertexData) { in createNonAAMesh()
[all …]
/external/skia/src/gpu/ganesh/
DGrEagerVertexAllocator.cpp39 SkASSERT(!fLockStride && !fVertices && !fVertexData); in lock()
49 SkASSERT(fLockStride && fVertices && !fVertexData); in unlock()
53 fVertexData = GrThreadSafeCache::MakeVertexData(fVertices, actualCount, fLockStride); in unlock()
60 SkASSERT(!fLockStride && !fVertices && fVertexData); in detachVertexData()
62 return std::move(fVertexData); in detachVertexData()
DGrEagerVertexAllocator.h78 SkASSERT(!fLockStride && !fVertices && !fVertexData); in ~GrCpuVertexAllocator()
88 sk_sp<GrThreadSafeCache::VertexData> fVertexData;
/external/skia/bench/
DTriangulatorBench.cpp82 fVertexData.reset(allocSize); in lock()
84 return fVertexData; in lock()
93 AutoTMalloc<char> fVertexData; member in TriangulatorBenchmark
/external/skia/tests/
DGrThreadSafeCacheTest.cpp482 const GrThreadSafeCache::VertexData* vertexData() const { return fVertexData.get(); } in vertexData()
547 if (!fVertexData) { in findOrCreateVertices()
562 fVertexData = cachedVerts; in findOrCreateVertices()
580 fVertexData = GrThreadSafeCache::MakeVertexData(verts, 4, kVertSize); in findOrCreateVertices()
582 auto [tmpV, tmpD] = threadSafeViewCache->addVertsWithData(key, fVertexData, in findOrCreateVertices()
584 if (tmpV != fVertexData) { in findOrCreateVertices()
586 fVertexData = tmpV; in findOrCreateVertices()
590 if (auto dContext = rContext->asDirectContext(); dContext && !fVertexData->gpuBuffer()) { in findOrCreateVertices()
596 sk_sp<GrGpuBuffer> tmp = rp->createBuffer(fVertexData->vertices(), in findOrCreateVertices()
597 fVertexData->size(), in findOrCreateVertices()
[all …]
DTriangulatingPathRendererTests.cpp927 fVertexData.reset(allocSize); in lock()
929 return fVertexData; in lock()
934 AutoTMalloc<char> fVertexData; member in __anon7111d3d02111::SimplerVertexAllocator