Searched refs:vertexBuffer (Results 1 – 7 of 7) 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 | 185 GlopBuilder& GlopBuilder::setMeshVertexBuffer(const VertexBuffer& vertexBuffer) { in setMeshVertexBuffer() argument 188 const VertexBuffer::MeshFeatureFlags flags = vertexBuffer.getMeshFeatureFlags(); in setMeshVertexBuffer() 194 mOutGlop->mesh.indices = { 0, vertexBuffer.getIndices() }; in setMeshVertexBuffer() 198 vertexBuffer.getBuffer(), nullptr, nullptr, in setMeshVertexBuffer() 201 ? vertexBuffer.getIndexCount() : vertexBuffer.getVertexCount(); in setMeshVertexBuffer() 202 mOutGlop->mesh.vertexCount = vertexBuffer.getVertexCount(); // used for glDrawRangeElements() in setMeshVertexBuffer()
|
D | BakedOpDispatcher.cpp | 341 const VertexBuffer& vertexBuffer, float translateX, float translateY, in renderVertexBuffer() argument 343 if (CC_LIKELY(vertexBuffer.getVertexCount())) { in renderVertexBuffer() 351 .setMeshVertexBuffer(vertexBuffer) in renderVertexBuffer() 354 .setModelViewOffsetRect(translateX, translateY, vertexBuffer.getBounds()) in renderVertexBuffer() 362 VertexBuffer vertexBuffer; in renderConvexPath() local 364 PathTessellator::tessellatePath(path, &paint, state.computedState.transform, vertexBuffer); in renderConvexPath() 365 renderVertexBuffer(renderer, state, vertexBuffer, 0.0f, 0.0f, paint, 0); in renderConvexPath()
|
D | GlopBuilder.h | 58 GlopBuilder& setMeshVertexBuffer(const VertexBuffer& vertexBuffer);
|
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/ |
D | Swarm.java | 60 private volatile FloatBuffer vertexBuffer; field in Swarm 149 vertexBuffer = v; in setTriangles() 157 if (!mDrawSwarm || vertexBuffer == null) return; in draw() 159 synchronized (vertexBuffer) { in draw() 160 vertexBuffer.position(0); in draw() 166 …ES20.glVertexAttribPointer(mPositionHandle, 3, GLES20.GL_FLOAT, false, vertexStride, vertexBuffer); in draw()
|
/frameworks/rs/tests/java_api/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()
|