/external/jmonkeyengine/engine/src/core/com/jme3/scene/mesh/ |
IndexBuffer.java | 52 * @param vertexCount The amount of vertices to contain 57 public static IndexBuffer createIndexBuffer(int vertexCount, int indexCount){ 58 if (vertexCount > 65535){
|
/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/ |
GrDrawTarget.h | 161 * vertexCount then the vertex source will be unmodified and likewise for 168 * return false. If vertexCount was non-zero then upon failure the vertex 176 * @param vertexCount the number of vertices to reserve space for. Can be 179 * @param vertices will point to reserved vertex space if vertexCount is 180 * non-zero. Illegal to pass NULL if vertexCount > 0. 184 bool reserveVertexAndIndexSpace(int vertexCount, 197 * @param vertexCount in: hint about how many vertices the caller would 211 virtual bool geometryHints(int* vertexCount, 219 * @param vertexCount the number of vertices in the array. Vertex size is 222 void setVertexSourceToArray(const void* vertexArray, int vertexCount); [all...] |
GrDrawTarget.cpp | 149 int vertexCount, 153 if (vertexCount > 0) { 159 vertexCount, 164 geoSrc.fVertexCount = vertexCount; 193 bool GrDrawTarget::reserveVertexAndIndexSpace(int vertexCount, 198 this->willReserveVertexAndIndexSpace(vertexCount, indexCount); 199 if (vertexCount) { 200 if (!this->reserveVertexSpace(vertexSize, vertexCount, vertices)) { 209 if (vertexCount) { 218 bool GrDrawTarget::geometryHints(int32_t* vertexCount, [all...] |
GrInOrderDrawBuffer.h | 70 virtual bool geometryHints(int* vertexCount, 131 int vertexCount, 138 int vertexCount) SK_OVERRIDE; 145 virtual void willReserveVertexAndIndexSpace(int vertexCount,
|
GrBufferAllocPool.h | 226 * @param vertexCount number of vertices to allocate space for 234 int vertexCount, 242 int vertexCount,
|
GrInOrderDrawBuffer.cpp | 62 int vertexCount, 65 GrAssert(vertexCount > 0); 69 for (int i = 1; i < vertexCount; ++i) { 276 if (draw->startVertex() + draw->vertexCount() != adjustedStartVertex) { 280 GrAssert(poolState.fPoolStartVertex == draw->startVertex() + draw->vertexCount()); 352 size_t vertexBytes = (info.vertexCount() + info.startVertex()) * 569 int vertexCount, 580 !vertexCount && 591 int vcount = vertexCount; 604 bool GrInOrderDrawBuffer::geometryHints(int* vertexCount, [all...] |
GrBufferAllocPool.cpp | 390 int vertexCount, 394 GrAssert(vertexCount >= 0); 400 void* ptr = INHERITED::makeSpace(vertexSize * vertexCount, 412 int vertexCount, 416 void* space = makeSpace(vertexSize, vertexCount, buffer, startVertex); 420 vertexSize * vertexCount);
|
GrGpu.cpp | 401 int vertexCount, 405 GrAssert(vertexCount > 0); 411 vertexCount, 455 void GrGpu::onSetVertexSourceToArray(const void* vertexArray, int vertexCount) { 462 vertexCount,
|
/external/skia/src/gpu/ |
GrDrawTarget.h | 161 * vertexCount then the vertex source will be unmodified and likewise for 168 * return false. If vertexCount was non-zero then upon failure the vertex 176 * @param vertexCount the number of vertices to reserve space for. Can be 179 * @param vertices will point to reserved vertex space if vertexCount is 180 * non-zero. Illegal to pass NULL if vertexCount > 0. 184 bool reserveVertexAndIndexSpace(int vertexCount, 197 * @param vertexCount in: hint about how many vertices the caller would 211 virtual bool geometryHints(int* vertexCount, 219 * @param vertexCount the number of vertices in the array. Vertex size is 222 void setVertexSourceToArray(const void* vertexArray, int vertexCount); [all...] |
GrDrawTarget.cpp | 149 int vertexCount, 153 if (vertexCount > 0) { 159 vertexCount, 164 geoSrc.fVertexCount = vertexCount; 193 bool GrDrawTarget::reserveVertexAndIndexSpace(int vertexCount, 198 this->willReserveVertexAndIndexSpace(vertexCount, indexCount); 199 if (vertexCount) { 200 if (!this->reserveVertexSpace(vertexSize, vertexCount, vertices)) { 209 if (vertexCount) { 218 bool GrDrawTarget::geometryHints(int32_t* vertexCount, [all...] |
GrInOrderDrawBuffer.h | 70 virtual bool geometryHints(int* vertexCount, 131 int vertexCount, 138 int vertexCount) SK_OVERRIDE; 145 virtual void willReserveVertexAndIndexSpace(int vertexCount,
|
GrBufferAllocPool.h | 226 * @param vertexCount number of vertices to allocate space for 234 int vertexCount, 242 int vertexCount,
|
GrInOrderDrawBuffer.cpp | 62 int vertexCount, 65 GrAssert(vertexCount > 0); 69 for (int i = 1; i < vertexCount; ++i) { 276 if (draw->startVertex() + draw->vertexCount() != adjustedStartVertex) { 280 GrAssert(poolState.fPoolStartVertex == draw->startVertex() + draw->vertexCount()); 352 size_t vertexBytes = (info.vertexCount() + info.startVertex()) * 569 int vertexCount, 580 !vertexCount && 591 int vcount = vertexCount; 604 bool GrInOrderDrawBuffer::geometryHints(int* vertexCount, [all...] |
GrBufferAllocPool.cpp | 390 int vertexCount, 394 GrAssert(vertexCount >= 0); 400 void* ptr = INHERITED::makeSpace(vertexSize * vertexCount, 412 int vertexCount, 416 void* space = makeSpace(vertexSize, vertexCount, buffer, startVertex); 420 vertexSize * vertexCount);
|
GrGpu.cpp | 401 int vertexCount, 405 GrAssert(vertexCount > 0); 411 vertexCount, 455 void GrGpu::onSetVertexSourceToArray(const void* vertexArray, int vertexCount) { 462 vertexCount,
|
/frameworks/base/libs/hwui/ |
PathTessellator.h | 47 TYPE* alloc(int vertexCount) { 55 mReallocBuffer = reallocBuffer + vertexCount; 58 mVertexCount = vertexCount; 59 mReallocBuffer = mBuffer = (void*)new TYPE[vertexCount];
|
/packages/screensavers/Basic/src/com/android/dreams/basic/ |
ColorsGLRenderer.java | 343 private final int vertexCount = squareCoords.length / COORDS_PER_VERTEX; 346 private float cornerFrequencies[] = new float[vertexCount]; 356 for (int i=0; i<vertexCount; i++) { 359 cornerRotation = (int)(Math.random() * vertexCount); 369 bb = ByteBuffer.allocateDirect(vertexCount * colorStride); 412 for(int i=0; i<vertexCount; i++) { 414 _tmphsv[0] = HUES[(i + cornerRotation) % vertexCount]; 430 glDrawArrays(GL_TRIANGLE_FAN, 0, vertexCount);
|
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/ |
FloatToFixed.java | 234 int vertexCount = input.capacity() / 3; 235 for (int i = 0; i < vertexCount; i++){ 258 int vertexCount = input.capacity() / 2; 270 for (int i = 0; i < vertexCount; i++){ 320 int vertexCount = input.capacity() / 3; 321 for (int i = 0; i < vertexCount; i++){
|
/external/chromium_org/third_party/skia/src/core/ |
SkBBoxRecord.cpp | 239 void SkBBoxRecord::drawVertices(VertexMode mode, int vertexCount, 245 bbox.set(vertices, vertexCount); 247 INHERITED::drawVertices(mode, vertexCount, vertices, texs,
|
SkBBoxRecord.h | 60 virtual void drawVertices(VertexMode mode, int vertexCount,
|
/external/skia/src/core/ |
SkBBoxRecord.cpp | 239 void SkBBoxRecord::drawVertices(VertexMode mode, int vertexCount, 245 bbox.set(vertices, vertexCount); 247 INHERITED::drawVertices(mode, vertexCount, vertices, texs,
|
/external/chromium_org/third_party/skia/include/utils/ |
SkLuaCanvas.h | 67 virtual void drawVertices(VertexMode vmode, int vertexCount,
|
SkNWayCanvas.h | 68 virtual void drawVertices(VertexMode vmode, int vertexCount,
|