Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrEagerVertexAllocator.h25 template<typename T> T* lock(int eagerCount) { in lock() argument
26 return static_cast<T*>(this->lock(sizeof(T), eagerCount)); in lock()
28 virtual void* lock(size_t stride, int eagerCount) = 0;
57 void* lock(size_t stride, int eagerCount) final { in lock() argument
59 SkASSERT(eagerCount); in lock()
60 if (void* data = fTarget->makeVertexSpace(stride, eagerCount, fVertexBuffer, fBaseVertex)) { in lock()
62 fLockCount = eagerCount; in lock()
101 void* lock(size_t stride, int eagerCount) override;
/external/skia/src/gpu/ops/
DGrTriangulatingPathRenderer.cpp108 void* lock(size_t stride, int eagerCount) override { in lock() argument
110 SkASSERT(stride && eagerCount); in lock()
112 size_t size = eagerCount * stride; in lock()
122 fVertices = sk_malloc_throw(eagerCount * stride); in lock()
164 void* GrCpuVertexAllocator::lock(size_t stride, int eagerCount) { in lock() argument
166 SkASSERT(stride && eagerCount); in lock()
168 fVertices = sk_malloc_throw(eagerCount * stride); in lock()
/external/skia/bench/
DTriangulatorBench.cpp75 void* lock(size_t stride, int eagerCount) override { in lock() argument
76 size_t allocSize = eagerCount * stride; in lock()
/external/skia/tests/
DTriangulatingPathRendererTests.cpp781 void* lock(size_t stride, int eagerCount) override { in lock() argument
784 fPoints.reset(eagerCount); in lock()