Searched refs:vertexBuffer (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/libs/hwui/ |
D | PathTessellator.cpp | 22 for (unsigned int i = 0; i < vertexBuffer.getSize(); i++) { \ 27 for (unsigned int i = 0; i < vertexBuffer.getSize(); i++) { \ 184 VertexBuffer& vertexBuffer) { in getFillVerticesFromPerimeter() argument 185 Vertex* buffer = vertexBuffer.alloc<Vertex>(perimeter.size()); in getFillVerticesFromPerimeter() 209 const std::vector<Vertex>& perimeter, VertexBuffer& vertexBuffer) { in getStrokeVerticesFromPerimeter() argument 210 Vertex* buffer = vertexBuffer.alloc<Vertex>(perimeter.size() * 2 + 2); in getStrokeVerticesFromPerimeter() 267 const std::vector<Vertex>& vertices, VertexBuffer& vertexBuffer) { in getStrokeVerticesFromUnclosedVertices() argument 270 Vertex* buffer = vertexBuffer.alloc<Vertex>(allocSize); in getStrokeVerticesFromUnclosedVertices() 347 const std::vector<Vertex>& perimeter, VertexBuffer& vertexBuffer, in getFillVerticesFromPerimeterAA() argument 349 AlphaVertex* buffer = vertexBuffer.alloc<AlphaVertex>(perimeter.size() * 3 + 2); in getFillVerticesFromPerimeterAA() [all …]
|
D | PathTessellator.h | 78 const mat4& transform, VertexBuffer& vertexBuffer); 92 const mat4& transform, VertexBuffer& vertexBuffer); 106 const mat4& transform, VertexBuffer& vertexBuffer);
|
D | GlopBuilder.cpp | 196 GlopBuilder& GlopBuilder::setMeshVertexBuffer(const VertexBuffer& vertexBuffer) { in setMeshVertexBuffer() argument 199 const VertexBuffer::MeshFeatureFlags flags = vertexBuffer.getMeshFeatureFlags(); in setMeshVertexBuffer() 205 mOutGlop->mesh.indices = { 0, vertexBuffer.getIndices() }; in setMeshVertexBuffer() 209 vertexBuffer.getBuffer(), nullptr, nullptr, in setMeshVertexBuffer() 212 ? vertexBuffer.getIndexCount() : vertexBuffer.getVertexCount(); in setMeshVertexBuffer()
|
D | OpenGLRenderer.h | 619 void drawVertexBuffer(float translateX, float translateY, const VertexBuffer& vertexBuffer, 625 void drawVertexBuffer(const VertexBuffer& vertexBuffer, 627 drawVertexBuffer(0.0f, 0.0f, vertexBuffer, paint, flags);
|
D | BakedOpDispatcher.cpp | 347 const VertexBuffer& vertexBuffer, float translateX, float translateY, in renderVertexBuffer() argument 349 if (CC_LIKELY(vertexBuffer.getVertexCount())) { in renderVertexBuffer() 357 .setMeshVertexBuffer(vertexBuffer) in renderVertexBuffer() 360 .setModelViewOffsetRect(translateX, translateY, vertexBuffer.getBounds()) in renderVertexBuffer() 368 VertexBuffer vertexBuffer; in renderConvexPath() local 370 PathTessellator::tessellatePath(path, &paint, state.computedState.transform, vertexBuffer); in renderConvexPath() 371 renderVertexBuffer(renderer, state, vertexBuffer, 0.0f, 0.0f, paint, 0); in renderConvexPath()
|
D | GlopBuilder.h | 54 GlopBuilder& setMeshVertexBuffer(const VertexBuffer& vertexBuffer);
|
D | OpenGLRenderer.cpp | 1688 const VertexBuffer& vertexBuffer, const SkPaint* paint, int displayFlags) { 1690 if (!vertexBuffer.getVertexCount()) { 1700 .setMeshVertexBuffer(vertexBuffer) 1703 .setModelViewOffsetRect(translateX, translateY, vertexBuffer.getBounds()) 1718 VertexBuffer vertexBuffer; 1721 PathTessellator::tessellatePath(path, paint, *currentTransform(), vertexBuffer); 1722 drawVertexBuffer(vertexBuffer, paint); 1815 const VertexBuffer* vertexBuffer = mCaches.tessellationCache.getRoundRect( 1817 drawVertexBuffer(left, top, *vertexBuffer, p);
|
/frameworks/base/docs/html/training/graphics/opengl/ |
D | shapes.jd | 55 private FloatBuffer vertexBuffer; 77 vertexBuffer = bb.asFloatBuffer(); 79 vertexBuffer.put(triangleCoords); 81 vertexBuffer.position(0); 117 private FloatBuffer vertexBuffer; 136 vertexBuffer = bb.asFloatBuffer(); 137 vertexBuffer.put(squareCoords); 138 vertexBuffer.position(0);
|
D | draw.jd | 196 vertexStride, vertexBuffer);
|
/frameworks/rs/java/tests/GenImages/src/com/android/rs/genimage/ |
D | GenImage.java | 126 private final FloatBuffer vertexBuffer; field in Triangle 212 vertexBuffer = createFloatBuffer(triangleCoords); in Triangle() 242 GLES20.glVertexAttribPointer(posA, 3, GLES20.GL_FLOAT, false, 12, vertexBuffer); in draw()
|