Home
last modified time | relevance | path

Searched refs:vertexBuffer (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/libs/hwui/
DPathTessellator.cpp22 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 …]
DPathTessellator.h78 const mat4& transform, VertexBuffer& vertexBuffer);
92 const mat4& transform, VertexBuffer& vertexBuffer);
106 const mat4& transform, VertexBuffer& vertexBuffer);
DGlopBuilder.cpp196 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()
DOpenGLRenderer.h619 void drawVertexBuffer(float translateX, float translateY, const VertexBuffer& vertexBuffer,
625 void drawVertexBuffer(const VertexBuffer& vertexBuffer,
627 drawVertexBuffer(0.0f, 0.0f, vertexBuffer, paint, flags);
DBakedOpDispatcher.cpp347 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()
DGlopBuilder.h54 GlopBuilder& setMeshVertexBuffer(const VertexBuffer& vertexBuffer);
DOpenGLRenderer.cpp1688 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/
Dshapes.jd55 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);
Ddraw.jd196 vertexStride, vertexBuffer);
/frameworks/rs/java/tests/GenImages/src/com/android/rs/genimage/
DGenImage.java126 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()