HomeSort by relevance Sort by last modified time
    Searched refs:vertexCount (Results 1 - 25 of 112) sorted by null

1 2 3 4 5

  /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 168 * vertexCount then the vertex source will be unmodified and likewise for
175 * return false. If vertexCount was non-zero then upon failure the vertex
183 * @param vertexCount the number of vertices to reserve space for. Can be
186 * @param vertices will point to reserved vertex space if vertexCount is
187 * non-zero. Illegal to pass NULL if vertexCount > 0.
191 bool reserveVertexAndIndexSpace(int vertexCount,
204 * @param vertexCount in: hint about how many vertices the caller would
218 virtual bool geometryHints(int* vertexCount,
226 * @param vertexCount the number of vertices in the array. Vertex size is
229 void setVertexSourceToArray(const void* vertexArray, int vertexCount);
    [all...]
GrDrawTarget.cpp 148 int vertexCount,
152 if (vertexCount > 0) {
158 vertexCount,
163 geoSrc.fVertexCount = vertexCount;
192 bool GrDrawTarget::reserveVertexAndIndexSpace(int vertexCount,
197 this->willReserveVertexAndIndexSpace(vertexCount, indexCount);
198 if (vertexCount) {
199 if (!this->reserveVertexSpace(vertexSize, vertexCount, vertices)) {
208 if (vertexCount) {
217 bool GrDrawTarget::geometryHints(int32_t* vertexCount,
    [all...]
GrInOrderDrawBuffer.h 70 virtual bool geometryHints(int* vertexCount,
144 int vertexCount,
151 int vertexCount) SK_OVERRIDE;
158 virtual void willReserveVertexAndIndexSpace(int vertexCount,
GrBufferAllocPool.h 221 * @param vertexCount number of vertices to allocate space for
229 int vertexCount,
237 int vertexCount,
GrInOrderDrawBuffer.cpp 63 int vertexCount,
66 SkASSERT(vertexCount > 0);
70 for (int i = 1; i < vertexCount; ++i) {
277 if (draw->startVertex() + draw->vertexCount() != adjustedStartVertex) {
281 SkASSERT(poolState.fPoolStartVertex == draw->startVertex() + draw->vertexCount());
353 size_t vertexBytes = (info.vertexCount() + info.startVertex()) *
599 void GrInOrderDrawBuffer::willReserveVertexAndIndexSpace(int vertexCount,
610 !vertexCount &&
621 int vcount = vertexCount;
634 bool GrInOrderDrawBuffer::geometryHints(int* vertexCount,
    [all...]
GrBufferAllocPool.cpp 390 int vertexCount,
394 SkASSERT(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 449 int vertexCount,
453 SkASSERT(vertexCount > 0);
459 vertexCount,
503 void GrGpu::onSetVertexSourceToArray(const void* vertexArray, int vertexCount) {
510 vertexCount,
  /external/skia/src/gpu/
GrDrawTarget.h 168 * vertexCount then the vertex source will be unmodified and likewise for
175 * return false. If vertexCount was non-zero then upon failure the vertex
183 * @param vertexCount the number of vertices to reserve space for. Can be
186 * @param vertices will point to reserved vertex space if vertexCount is
187 * non-zero. Illegal to pass NULL if vertexCount > 0.
191 bool reserveVertexAndIndexSpace(int vertexCount,
204 * @param vertexCount in: hint about how many vertices the caller would
218 virtual bool geometryHints(int* vertexCount,
226 * @param vertexCount the number of vertices in the array. Vertex size is
229 void setVertexSourceToArray(const void* vertexArray, int vertexCount);
    [all...]
GrDrawTarget.cpp 148 int vertexCount,
152 if (vertexCount > 0) {
158 vertexCount,
163 geoSrc.fVertexCount = vertexCount;
192 bool GrDrawTarget::reserveVertexAndIndexSpace(int vertexCount,
197 this->willReserveVertexAndIndexSpace(vertexCount, indexCount);
198 if (vertexCount) {
199 if (!this->reserveVertexSpace(vertexSize, vertexCount, vertices)) {
208 if (vertexCount) {
217 bool GrDrawTarget::geometryHints(int32_t* vertexCount,
    [all...]
GrInOrderDrawBuffer.h 70 virtual bool geometryHints(int* vertexCount,
144 int vertexCount,
151 int vertexCount) SK_OVERRIDE;
158 virtual void willReserveVertexAndIndexSpace(int vertexCount,
GrBufferAllocPool.h 221 * @param vertexCount number of vertices to allocate space for
229 int vertexCount,
237 int vertexCount,
GrInOrderDrawBuffer.cpp 63 int vertexCount,
66 SkASSERT(vertexCount > 0);
70 for (int i = 1; i < vertexCount; ++i) {
277 if (draw->startVertex() + draw->vertexCount() != adjustedStartVertex) {
281 SkASSERT(poolState.fPoolStartVertex == draw->startVertex() + draw->vertexCount());
353 size_t vertexBytes = (info.vertexCount() + info.startVertex()) *
599 void GrInOrderDrawBuffer::willReserveVertexAndIndexSpace(int vertexCount,
610 !vertexCount &&
621 int vcount = vertexCount;
634 bool GrInOrderDrawBuffer::geometryHints(int* vertexCount,
    [all...]
GrBufferAllocPool.cpp 390 int vertexCount,
394 SkASSERT(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 449 int vertexCount,
453 SkASSERT(vertexCount > 0);
459 vertexCount,
503 void GrGpu::onSetVertexSourceToArray(const void* vertexArray, int vertexCount) {
510 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 250 void SkBBoxRecord::drawVertices(VertexMode mode, int vertexCount,
256 bbox.set(vertices, vertexCount);
258 INHERITED::drawVertices(mode, vertexCount, vertices, texs,
SkBBoxRecord.h 61 virtual void drawVertices(VertexMode mode, int vertexCount,
  /external/skia/src/core/
SkBBoxRecord.cpp 250 void SkBBoxRecord::drawVertices(VertexMode mode, int vertexCount,
256 bbox.set(vertices, vertexCount);
258 INHERITED::drawVertices(mode, vertexCount, vertices, texs,
  /external/chromium_org/third_party/skia/include/utils/
SkLuaCanvas.h 68 virtual void drawVertices(VertexMode vmode, int vertexCount,
  /external/skia/include/utils/
SkLuaCanvas.h 68 virtual void drawVertices(VertexMode vmode, int vertexCount,

Completed in 1013 milliseconds

1 2 3 4 5