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

1 2 3

  /external/skia/src/gpu/batches/
GrVertexBatch.cpp 29 int vertexCount = verticesPerInstance * instancesToDraw;
30 void* vertices = target->makeVertexSpace(vertexStride, vertexCount, &vertexBuffer, &firstVertex);
GrAALinearizingConvexPathRenderer.cpp 162 void draw(GrVertexBatch::Target* target, const GrPipeline* pipeline, int vertexCount,
164 if (vertexCount == 0 || indexCount == 0) {
170 void* verts = target->makeVertexSpace(vertexStride, vertexCount, &vertexBuffer,
176 memcpy(verts, vertices, vertexCount * vertexStride);
187 firstIndex, vertexCount, indexCount);
214 int vertexCount = 0;
233 this->draw(target, this->pipeline(), vertexCount, vertexStride, vertices,
235 vertexCount = 0;
239 if (vertexCount + currentVertices > maxVertices) {
240 maxVertices = SkTMax(vertexCount + currentVertices, maxVertices * 2)
    [all...]
GrDrawVerticesBatch.cpp 36 const SkPoint* positions, int vertexCount,
46 installedGeo.fPositions.append(vertexCount, positions);
53 installedGeo.fColors.append(vertexCount, colors);
59 installedGeo.fLocalCoords.append(vertexCount, localCoords);
61 fVertexCount = vertexCount;
289 uint32_t vertexCount = seed_vertices(type) + (primitiveCount - 1) * primitive_vertices(type);
293 randomize_params(seed_vertices(type), vertexCount, kMinVertExtent, kMaxVertExtent,
301 randomize_params(primitive_vertices(type), vertexCount, kMinVertExtent, kMaxVertExtent,
311 SkDEBUGCODE(bool result = ) bounds.setBoundsCheck(positions.begin(), vertexCount);
319 positions.begin(), vertexCount,
    [all...]
GrNonAAStrokeRectBatch.cpp 128 int vertexCount = kVertsPerHairlineRect;
130 vertexCount = kVertsPerStrokeRect;
136 void* verts = target->makeVertexSpace(vertexStride, vertexCount, &vertexBuffer,
161 vertices.init(primType, vertexBuffer, firstVertex, vertexCount);
GrAAConvexPathRenderer.cpp     [all...]
GrAAHairLinePathRenderer.cpp 869 int vertexCount = kLineSegNumVertices * lineCount;
871 target->makeVertexSpace(vertexStride, vertexCount, &vertexBuffer, &firstVertex));
901 int vertexCount = kQuadNumVertices * quadCount + kQuadNumVertices * conicCount
    [all...]
  /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);
  /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;
  /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/deqp/modules/gles3/functional/
es3fOcclusionQueryTests.cpp 125 int vertexCount = verticesPerPrimitive * primitiveCount;
126 dst.resize(vertexCount * ELEMENTS_PER_VERTEX);
128 for (int i = 0; i < vertexCount; i += 3) // First loop gets a random point inside unit square
  /frameworks/base/libs/hwui/
DisplayListCanvas.cpp 314 int vertexCount = (meshWidth + 1) * (meshHeight + 1);
315 vertices = refBuffer<float>(vertices, vertexCount * 2); // 2 floats per vertex
317 colors = refBuffer<int>(colors, vertexCount); // 1 color per vertex
RecordedOp.h 376 SimpleRectsOp(BASE_PARAMS, Vertex* vertices, size_t vertexCount)
379 , vertexCount(vertexCount) {}
381 const size_t vertexCount;
RecordingCanvas.cpp 299 void RecordingCanvas::drawSimpleRects(const float* rects, int vertexCount, const SkPaint* paint) {
302 Vertex* rectData = (Vertex*) mDisplayList->allocator.create_trivial_array<Vertex>(vertexCount);
309 for (int index = 0; index < vertexCount; index += 4) {
329 refPaint(paint), rectData, vertexCount));
507 int vertexCount = (meshWidth + 1) * (meshHeight + 1);
509 calcBoundsOfPoints(vertices, vertexCount * 2),
513 refBuffer<float>(vertices, vertexCount * 2), // 2 floats per vertex
514 refBuffer<int>(colors, vertexCount))); // 1 color per vertex
BakedOpDispatcher.cpp 133 uint32_t vertexCount = opMesh->verticesCount;
134 if (vertexCount == 0) continue;
146 for (uint32_t j = 0; j < vertexCount; j++, opVertices++) {
    [all...]
DisplayListOp.h 831 uint32_t vertexCount = opMesh->verticesCount;
832 if (vertexCount == 0) continue;
844 for (uint32_t j = 0; j < vertexCount; j++, opVertices++) {
    [all...]
  /external/deqp/modules/glshared/
glsScissorTests.cpp 360 const int vertexCount = vertexCountSet[m_primitiveType];
364 vector<float> positions (4*vertexCount*m_primitiveCount);
373 for (int vertNdx = 0; vertNdx < vertexCount; vertNdx++)
375 const int ndx = primNdx*4*vertexCount + vertNdx*4;
383 indices[primNdx*indexCount + ndx] = (deUint16)(baseIndices[ndx] + primNdx*vertexCount);
glsDrawTest.cpp     [all...]
  /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/deqp/external/vulkancts/modules/vulkan/pipeline/
vktPipelineVertexInputTests.cpp     [all...]
  /external/vulkan-validation-layers/tests/
vkrenderframework.cpp     [all...]
  /external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
vktSpvAsmInstructionTests.cpp     [all...]
  /external/skia/third_party/vulkan/
vulkan.h     [all...]
  /external/vulkan-validation-layers/include/vulkan/
vulkan.h     [all...]
  /frameworks/native/vulkan/include/vulkan/
vulkan.h     [all...]
  /prebuilts/ndk/current/platforms/android-24/arch-arm/usr/include/vulkan/
vulkan.h     [all...]

Completed in 608 milliseconds

1 2 3