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

1 2 3 4

  /frameworks/native/services/surfaceflinger/RenderEngine/
Mesh.cpp 23 Mesh::Mesh(Primitive primitive, size_t vertexCount, size_t vertexSize, size_t texCoordSize)
24 : mVertexCount(vertexCount), mVertexSize(vertexSize), mTexCoordsSize(texCoordSize),
27 if (vertexCount == 0) {
35 size_t remainder = (stride * vertexCount) / vertexCount;
38 // will be equal to stride as long as stride * vertexCount doesn't overflow.
40 ALOGE("Overflow in Mesh(..., %zu, %zu, %zu)", vertexCount, vertexSize,
51 mVertices = new float[stride * vertexCount];
Mesh.h 32 Mesh(Primitive primitive, size_t vertexCount, size_t vertexSize, size_t texCoordsSize = 0);
  /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/base/libs/hwui/
VertexBuffer.h 59 TYPE* alloc(int vertexCount) {
67 mReallocBuffer = reallocBuffer + vertexCount;
70 mAllocatedVertexCount = vertexCount;
71 mVertexCount = vertexCount;
73 mReallocBuffer = mBuffer = (void*)new TYPE[vertexCount];
108 void computeBounds(int vertexCount = 0) {
115 if (vertexCount == 0) vertexCount = mVertexCount;
118 TYPE* end = current + vertexCount;
SkiaCanvasProxy.h 71 virtual void onDrawVertices(VertexMode, int vertexCount, const SkPoint vertices[],
  /external/skia/src/gpu/
GrVertices.h 19 int vertexCount() const { return fVertexCount; }
50 int vertexCount) {
52 SkASSERT(vertexCount);
59 fVertexCount = vertexCount;
72 int vertexCount,
77 SkASSERT(vertexCount);
85 fVertexCount = vertexCount;
GrBatch.cpp 59 int vertexCount = verticesPerInstance * instancesToDraw;
60 void* vertices = batchTarget->makeVertSpace(vertexStride, vertexCount,
GrBatchTarget.cpp 66 void* GrBatchTarget::makeVertSpace(size_t vertexSize, int vertexCount,
68 return fVertexPool->makeSpace(vertexSize, vertexCount, buffer, startVertex);
GrBufferAllocPool.h 166 * @param vertexCount number of vertices to allocate space for
174 int vertexCount,
GrContext.cpp 462 int vertexCount = kVertsPerHairlineRect;
464 vertexCount = kVertsPerStrokeRect;
470 void* verts = batchTarget->makeVertSpace(vertexStride, vertexCount,
497 vertices.init(primType, vertexBuffer, firstVertex, vertexCount);
746 const SkPoint* positions, int vertexCount,
751 vertexCount, indices, indexCount, colors,
813 void* verts = batchTarget->makeVertSpace(vertexStride, this->vertexCount(),
862 firstIndex, this->vertexCount(), this->indexCount());
865 vertices.init(this->primitiveType(), vertexBuffer, firstVertex, this->vertexCount());
875 const SkPoint* positions, int vertexCount,
    [all...]
GrBufferAllocPool.cpp 368 int vertexCount,
372 SkASSERT(vertexCount >= 0);
378 void* ptr = INHERITED::makeSpace(vertexSize * vertexCount,
  /development/samples/OpenGL/HelloOpenGLES20/src/com/example/android/opengl/
Triangle.java 62 private final int vertexCount = triangleCoords.length / COORDS_PER_VERTEX;
135 GLES20.glDrawArrays(GLES20.GL_TRIANGLES, 0, 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);
  /platform_testing/tests/perf/PerformanceLaunch/src/com/android/performanceLaunch/helper/
Triangle.java 65 private final int vertexCount = triangleCoords.length / COORDS_PER_VERTEX;
139 GLES20.glDrawArrays(GLES20.GL_TRIANGLES, 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/skia/experimental/PdfViewer/
SkTrackDevice.h 140 virtual void drawVertices(const SkDraw& dummy1, SkCanvas::VertexMode dummy2, int vertexCount,
146 INHERITED::drawVertices(dummy1, dummy2, vertexCount,verts, texs,colors, xmode, indices,
  /external/skia/src/core/
SkRecorder.cpp 260 int vertexCount, const SkPoint vertices[],
266 vertexCount,
267 this->copy(vertices, vertexCount),
268 texs ? this->copy(texs, vertexCount) : NULL,
269 colors ? this->copy(colors, vertexCount) : NULL,
SkRecords.h 318 int vertexCount,
327 , vertexCount(vertexCount)
337 int vertexCount;
SkPictureRecord.cpp 712 void SkPictureRecord::onDrawVertices(VertexMode vmode, int vertexCount,
735 size_t size = 5 * kUInt32Size + vertexCount * sizeof(SkPoint);
737 size += vertexCount * sizeof(SkPoint); // + uvs
740 size += vertexCount * sizeof(SkColor); // + vert colors
755 this->addInt(vertexCount);
756 this->addPoints(vertices, vertexCount);
758 this->addPoints(texs, vertexCount);
761 fWriter.writeMul4(colors, vertexCount * sizeof(SkColor));
    [all...]
  /external/skia/include/utils/
SkLuaCanvas.h 58 void onDrawVertices(VertexMode vmode, int vertexCount,
SkPaintFilterCanvas.h 66 void onDrawVertices(VertexMode vmode, int vertexCount,
  /external/skia/src/svg/
SkSVGDevice.h 50 void drawVertices(const SkDraw&, SkCanvas::VertexMode, int vertexCount,
  /external/skia/src/utils/
SkPaintFilterCanvas.cpp 106 void SkPaintFilterCanvas::onDrawVertices(VertexMode vmode, int vertexCount,
112 this->INHERITED::onDrawVertices(vmode, vertexCount, vertices, texs, colors, xmode, indices,
  /external/skia/src/utils/debugger/
SkDrawCommand.cpp 790 SkDrawVerticesCommand::SkDrawVerticesCommand(SkCanvas::VertexMode vmode, int vertexCount,
798 fVertexCount = vertexCount;
800 fVertices = new SkPoint[vertexCount];
801 memcpy(fVertices, vertices, vertexCount * sizeof(SkPoint));
804 fTexs = new SkPoint[vertexCount];
805 memcpy(fTexs, texs, vertexCount * sizeof(SkPoint));
811 fColors = new SkColor[vertexCount];
812 memcpy(fColors, colors, vertexCount * sizeof(SkColor));
  /external/skia/src/pipe/
SkGPipeWrite.cpp 281 void onDrawVertices(VertexMode vmode, int vertexCount,
    [all...]

Completed in 886 milliseconds

1 2 3 4