HomeSort by relevance Sort by last modified time
    Searched refs:vertexSize (Results 1 - 24 of 24) sorted by null

  /frameworks/native/services/surfaceflinger/RenderEngine/
Mesh.cpp 21 Mesh::Mesh(Primitive primitive, size_t vertexCount, size_t vertexSize, size_t texCoordSize)
22 : mVertexCount(vertexCount), mVertexSize(vertexSize), mTexCoordsSize(texCoordSize),
25 mVertices = new float[(vertexSize + texCoordSize) * vertexCount];
Mesh.h 32 Mesh(Primitive primitive, size_t vertexCount, size_t vertexSize, size_t texCoordsSize = 0);
  /external/chromium_org/third_party/skia/src/gpu/
GrBufferAllocPool.h 220 * @param vertexSize specifies size of a vertex to allocate space for
228 void* makeSpace(size_t vertexSize,
236 bool appendVertices(size_t vertexSize,
252 int currentBufferVertices(size_t vertexSize) const;
263 int preallocatedBufferVertices(size_t vertexSize) const;
GrBufferAllocPool.cpp 389 void* GrVertexBufferAllocPool::makeSpace(size_t vertexSize,
400 void* ptr = INHERITED::makeSpace(vertexSize * vertexCount,
401 vertexSize,
406 SkASSERT(0 == offset % vertexSize);
407 *startVertex = static_cast<int>(offset / vertexSize);
411 bool GrVertexBufferAllocPool::appendVertices(size_t vertexSize,
416 void* space = makeSpace(vertexSize, vertexCount, buffer, startVertex);
420 vertexSize * vertexCount);
427 int GrVertexBufferAllocPool::preallocatedBufferVertices(size_t vertexSize) const {
428 return static_cast<int>(INHERITED::preallocatedBufferSize() / vertexSize);
    [all...]
GrDrawState.h 183 * @param vertexSize the size of each vertex in the array
190 int vertexSize,
194 vertexIndex * vertexSize);
198 int vertexSize,
202 vertexIndex * vertexSize);
209 * @param vertexSize the size of each vertex in the array
215 int vertexSize,
219 vertexIndex * vertexSize);
223 int vertexSize,
227 vertexIndex * vertexSize);
    [all...]
GrInOrderDrawBuffer.cpp 62 size_t vertexSize,
65 SkASSERT(vertexSize >= sizeof(GrPoint));
71 point = reinterpret_cast<GrPoint*>(reinterpret_cast<intptr_t>(point) + vertexSize);
651 size_t vertexSize = this->getDrawState().getVertexSize();
652 int32_t currVertices = fVertexPool.currentBufferVertices(vertexSize);
655 *vertexCount <= fVertexPool.preallocatedBufferVertices(vertexSize))) {
664 bool GrInOrderDrawBuffer::onReserveVertexSpace(size_t vertexSize,
672 *vertices = fVertexPool.makeSpace(vertexSize,
GrInOrderDrawBuffer.h 143 virtual bool onReserveVertexSpace(size_t vertexSize,
GrDrawTarget.h     [all...]
GrDrawTarget.cpp 147 bool GrDrawTarget::reserveVertexSpace(size_t vertexSize,
157 acquired = this->onReserveVertexSpace(vertexSize,
164 geoSrc.fVertexSize = vertexSize;
196 size_t vertexSize = this->drawState()->getVertexSize();
199 if (!this->reserveVertexSpace(vertexSize, vertexCount, vertices)) {
    [all...]
GrGpu.cpp 448 bool GrGpu::onReserveVertexSpace(size_t vertexSize,
458 *vertices = fVertexPool->makeSpace(vertexSize,
GrGpu.h 403 virtual bool onReserveVertexSpace(size_t vertexSize, int vertexCount, void** vertices) SK_OVERRIDE;
GrContext.cpp     [all...]
  /external/skia/src/gpu/
GrBufferAllocPool.h 220 * @param vertexSize specifies size of a vertex to allocate space for
228 void* makeSpace(size_t vertexSize,
236 bool appendVertices(size_t vertexSize,
252 int currentBufferVertices(size_t vertexSize) const;
263 int preallocatedBufferVertices(size_t vertexSize) const;
GrBufferAllocPool.cpp 389 void* GrVertexBufferAllocPool::makeSpace(size_t vertexSize,
400 void* ptr = INHERITED::makeSpace(vertexSize * vertexCount,
401 vertexSize,
406 SkASSERT(0 == offset % vertexSize);
407 *startVertex = static_cast<int>(offset / vertexSize);
411 bool GrVertexBufferAllocPool::appendVertices(size_t vertexSize,
416 void* space = makeSpace(vertexSize, vertexCount, buffer, startVertex);
420 vertexSize * vertexCount);
427 int GrVertexBufferAllocPool::preallocatedBufferVertices(size_t vertexSize) const {
428 return static_cast<int>(INHERITED::preallocatedBufferSize() / vertexSize);
    [all...]
GrDrawState.h 183 * @param vertexSize the size of each vertex in the array
190 int vertexSize,
194 vertexIndex * vertexSize);
198 int vertexSize,
202 vertexIndex * vertexSize);
209 * @param vertexSize the size of each vertex in the array
215 int vertexSize,
219 vertexIndex * vertexSize);
223 int vertexSize,
227 vertexIndex * vertexSize);
    [all...]
GrInOrderDrawBuffer.cpp 62 size_t vertexSize,
65 SkASSERT(vertexSize >= sizeof(GrPoint));
71 point = reinterpret_cast<GrPoint*>(reinterpret_cast<intptr_t>(point) + vertexSize);
651 size_t vertexSize = this->getDrawState().getVertexSize();
652 int32_t currVertices = fVertexPool.currentBufferVertices(vertexSize);
655 *vertexCount <= fVertexPool.preallocatedBufferVertices(vertexSize))) {
664 bool GrInOrderDrawBuffer::onReserveVertexSpace(size_t vertexSize,
672 *vertices = fVertexPool.makeSpace(vertexSize,
GrInOrderDrawBuffer.h 143 virtual bool onReserveVertexSpace(size_t vertexSize,
GrDrawTarget.h     [all...]
GrDrawTarget.cpp 147 bool GrDrawTarget::reserveVertexSpace(size_t vertexSize,
157 acquired = this->onReserveVertexSpace(vertexSize,
164 geoSrc.fVertexSize = vertexSize;
196 size_t vertexSize = this->drawState()->getVertexSize();
199 if (!this->reserveVertexSpace(vertexSize, vertexCount, vertices)) {
    [all...]
GrGpu.cpp 448 bool GrGpu::onReserveVertexSpace(size_t vertexSize,
458 *vertices = fVertexPool->makeSpace(vertexSize,
GrGpu.h 403 virtual bool onReserveVertexSpace(size_t vertexSize, int vertexCount, void** vertices) SK_OVERRIDE;
GrContext.cpp     [all...]
  /external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/strip/
TriStrip.java 297 public static void remapArrays(float[] vertexBuffer, int vertexSize, int[] indices) {
298 int[] remapped = remapIndices(indices, vertexBuffer.length / vertexSize);
301 int from = indices[i] * vertexSize;
302 int to = remapped[i] * vertexSize;
303 for (int j = 0; j < vertexSize; j++) {
  /external/replicaisland/src/com/replica/replicaisland/
Grid.java 346 final int vertexSize = mVertexBuffer.capacity() * mCoordinateSize;
350 gl11.glBufferData(GL11.GL_ARRAY_BUFFER, vertexSize,

Completed in 142 milliseconds