/external/skia/src/gpu/mock/ |
D | GrMockOpTarget.h | 44 void* makeVertexSpace(size_t vertexSize, int vertexCount, sk_sp<const GrBuffer>* buffer, in makeVertexSpace() argument 46 if (vertexSize * vertexCount > sizeof(fStaticVertexData)) { in makeVertexSpace() 48 vertexSize * vertexCount, sizeof(fStaticVertexData)); in makeVertexSpace() 55 void* makeVertexSpaceAtLeast(size_t vertexSize, int minVertexCount, int fallbackVertexCount, in makeVertexSpaceAtLeast() argument 58 if (vertexSize * minVertexCount > sizeof(fStaticVertexData)) { in makeVertexSpaceAtLeast() 60 vertexSize * minVertexCount, sizeof(fStaticVertexData)); in makeVertexSpaceAtLeast() 64 *actualVertexCount = sizeof(fStaticVertexData) / vertexSize; in makeVertexSpaceAtLeast()
|
/external/skqp/src/gpu/ |
D | GrBufferAllocPool.cpp | 380 void* GrVertexBufferAllocPool::makeSpace(size_t vertexSize, in makeSpace() argument 389 void* ptr = INHERITED::makeSpace(SkSafeMath::Mul(vertexSize, vertexCount), in makeSpace() 390 vertexSize, in makeSpace() 394 SkASSERT(0 == offset % vertexSize); in makeSpace() 395 *startVertex = static_cast<int>(offset / vertexSize); in makeSpace() 399 void* GrVertexBufferAllocPool::makeSpaceAtLeast(size_t vertexSize, int minVertexCount, in makeSpaceAtLeast() argument 411 void* ptr = INHERITED::makeSpaceAtLeast(SkSafeMath::Mul(vertexSize, minVertexCount), in makeSpaceAtLeast() 412 SkSafeMath::Mul(vertexSize, fallbackVertexCount), in makeSpaceAtLeast() 413 vertexSize, in makeSpaceAtLeast() 418 SkASSERT(0 == offset % vertexSize); in makeSpaceAtLeast() [all …]
|
D | GrOpFlushState.cpp | 132 void* GrOpFlushState::makeVertexSpace(size_t vertexSize, int vertexCount, in makeVertexSpace() argument 134 return fVertexPool.makeSpace(vertexSize, vertexCount, buffer, startVertex); in makeVertexSpace() 142 void* GrOpFlushState::makeVertexSpaceAtLeast(size_t vertexSize, int minVertexCount, in makeVertexSpaceAtLeast() argument 145 return fVertexPool.makeSpaceAtLeast(vertexSize, minVertexCount, fallbackVertexCount, buffer, in makeVertexSpaceAtLeast()
|
D | GrBufferAllocPool.h | 182 void* makeSpace(size_t vertexSize, 214 void* makeSpaceAtLeast(size_t vertexSize,
|
D | GrOpFlushState.h | 88 void* makeVertexSpace(size_t vertexSize, int vertexCount, sk_sp<const GrBuffer>*, 91 void* makeVertexSpaceAtLeast(size_t vertexSize, int minVertexCount, int fallbackVertexCount,
|
/external/skia/src/gpu/ |
D | GrBufferAllocPool.cpp | 429 void* GrVertexBufferAllocPool::makeSpace(size_t vertexSize, in makeSpace() argument 438 void* ptr = INHERITED::makeSpace(SkSafeMath::Mul(vertexSize, vertexCount), in makeSpace() 439 vertexSize, in makeSpace() 443 SkASSERT(0 == offset % vertexSize); in makeSpace() 444 *startVertex = static_cast<int>(offset / vertexSize); in makeSpace() 448 void* GrVertexBufferAllocPool::makeSpaceAtLeast(size_t vertexSize, int minVertexCount, in makeSpaceAtLeast() argument 460 void* ptr = INHERITED::makeSpaceAtLeast(SkSafeMath::Mul(vertexSize, minVertexCount), in makeSpaceAtLeast() 461 SkSafeMath::Mul(vertexSize, fallbackVertexCount), in makeSpaceAtLeast() 462 vertexSize, in makeSpaceAtLeast() 467 SkASSERT(0 == offset % vertexSize); in makeSpaceAtLeast() [all …]
|
D | GrThreadSafeCache.h | 112 size_t vertexSize() const { return fVertexSize; } in vertexSize() function 136 VertexData(const void* vertices, int numVertices, size_t vertexSize) in VertexData() argument 139 , fVertexSize(vertexSize) { in VertexData() 142 VertexData(sk_sp<GrGpuBuffer> gpuBuffer, int numVertices, size_t vertexSize) in VertexData() argument 145 , fVertexSize(vertexSize) in VertexData() 160 size_t vertexSize); 163 size_t vertexSize);
|
D | GrOpFlushState.cpp | 171 void* GrOpFlushState::makeVertexSpace(size_t vertexSize, int vertexCount, in makeVertexSpace() argument 173 return fVertexPool.makeSpace(vertexSize, vertexCount, buffer, startVertex); in makeVertexSpace() 181 void* GrOpFlushState::makeVertexSpaceAtLeast(size_t vertexSize, int minVertexCount, in makeVertexSpaceAtLeast() argument 184 return fVertexPool.makeSpaceAtLeast(vertexSize, minVertexCount, fallbackVertexCount, buffer, in makeVertexSpaceAtLeast()
|
D | GrThreadSafeCache.cpp | 253 size_t vertexSize) { in MakeVertexData() argument 254 return sk_sp<VertexData>(new VertexData(vertices, vertexCount, vertexSize)); in MakeVertexData() 259 size_t vertexSize) { in MakeVertexData() argument 260 return sk_sp<VertexData>(new VertexData(std::move(buffer), vertexCount, vertexSize)); in MakeVertexData()
|
D | GrBufferAllocPool.h | 205 void* makeSpace(size_t vertexSize, 237 void* makeSpaceAtLeast(size_t vertexSize,
|
D | GrOpFlushState.h | 133 void* makeVertexSpace(size_t vertexSize, int vertexCount, sk_sp<const GrBuffer>*, 136 void* makeVertexSpaceAtLeast(size_t vertexSize, int minVertexCount, int fallbackVertexCount,
|
/external/skqp/src/gpu/ops/ |
D | GrMeshDrawOp.h | 103 virtual void* makeVertexSpace(size_t vertexSize, int vertexCount, sk_sp<const GrBuffer>*, 119 virtual void* makeVertexSpaceAtLeast(size_t vertexSize, int minVertexCount,
|
D | GrTextureOp.cpp | 395 size_t vertexSize = gp->vertexStride(); in onPrepareDraws() local 413 vertexSize, meshVertexCnt, numQuadVerticesLeft, &vbuffer, in onPrepareDraws() 438 vdata = reinterpret_cast<char*>(vdata) + vertexSize * meshVertexCnt; in onPrepareDraws()
|
D | GrFillRectOp.cpp | 187 size_t vertexSize = gp->vertexStride(); in onPrepareDraws() local 194 vertexSize, this->quadCount() * vertexSpec.verticesPerQuad(), in onPrepareDraws()
|
/external/skia/src/gpu/ops/ |
D | GrMeshDrawOp.h | 169 virtual void* makeVertexSpace(size_t vertexSize, int vertexCount, sk_sp<const GrBuffer>*, 185 virtual void* makeVertexSpaceAtLeast(size_t vertexSize, int minVertexCount,
|
D | GrFillRectOp.cpp | 212 SkASSERT(gp->vertexStride() == vertexSpec.vertexSize()); in onCreateProgramInfo() 239 const size_t totalVertexSizeInBytes = vertexSpec.vertexSize() * totalNumVertices; in onPrePrepareDraws() 273 void* vdata = target->makeVertexSpace(vertexSpec.vertexSize(), totalNumVertices, in onPrepareDraws() 281 const size_t totalVertexSizeInBytes = vertexSpec.vertexSize() * totalNumVertices; in onPrepareDraws()
|
D | GrTextureOp.cpp | 420 return this->totalNumVertices() * fVertexSpec.vertexSize(); in totalSizeInBytes() 674 SkASSERT(fDesc->fVertexSpec.vertexSize() == gp->vertexStride()); in onCreateProgramInfo() 714 SkDEBUGCODE(const size_t vertexSize = desc->fVertexSpec.vertexSize()); in FillInVertices() 731 SkASSERT((totVerticesSeen + meshVertexCnt) * vertexSize in FillInVertices() 886 size_t vertexSize = fDesc->fVertexSpec.vertexSize(); in onPrepareDraws() local 888 void* vdata = target->makeVertexSpace(vertexSize, fDesc->totalNumVertices(), in onPrepareDraws()
|
D | GrQuadPerEdgeAA.h | 101 size_t vertexSize() const;
|
D | GrQuadPerEdgeAA.cpp | 498 size_t VertexSpec::vertexSize() const { in vertexSize() function in GrQuadPerEdgeAA::VertexSpec
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | Grid.java | 346 final int vertexSize = mVertexBuffer.capacity() * mCoordinateSize; in generateHardwareBuffers() local 350 gl11.glBufferData(GL11.GL_ARRAY_BUFFER, vertexSize, in generateHardwareBuffers()
|
/external/swiftshader/tests/VulkanWrapper/ |
D | DrawTester.cpp | 408 …rtexBuffer(void *vertexBufferData, size_t vertexBufferDataSize, size_t vertexSize, std::vector<vk:… in addVertexBuffer() argument 429 vertices.inputBinding.stride = static_cast<uint32_t>(vertexSize); in addVertexBuffer() 440 vertices.numVertices = static_cast<uint32_t>(vertexBufferDataSize / vertexSize); in addVertexBuffer()
|
D | DrawTester.hpp | 121 …void addVertexBuffer(void *vertexBufferData, size_t vertexBufferDataSize, size_t vertexSize, std::…
|