Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DPathTessellator.cpp25 for (unsigned int i = 0; i < vertexBuffer.getSize(); i++) { \
30 for (unsigned int i = 0; i < vertexBuffer.getSize(); i++) { \
183 void getFillVerticesFromPerimeter(const Vector<Vertex>& perimeter, VertexBuffer& vertexBuffer) { in getFillVerticesFromPerimeter() argument
184 Vertex* buffer = vertexBuffer.alloc<Vertex>(perimeter.size()); in getFillVerticesFromPerimeter()
208 VertexBuffer& vertexBuffer) { in getStrokeVerticesFromPerimeter() argument
209 Vertex* buffer = vertexBuffer.alloc<Vertex>(perimeter.size() * 2 + 2); in getStrokeVerticesFromPerimeter()
266 const Vector<Vertex>& vertices, VertexBuffer& vertexBuffer) { in getStrokeVerticesFromUnclosedVertices() argument
269 Vertex* buffer = vertexBuffer.alloc<Vertex>(allocSize); in getStrokeVerticesFromUnclosedVertices()
346 VertexBuffer& vertexBuffer, float maxAlpha = 1.0f) { in getFillVerticesFromPerimeterAA() argument
347 AlphaVertex* buffer = vertexBuffer.alloc<AlphaVertex>(perimeter.size() * 3 + 2); in getFillVerticesFromPerimeterAA()
[all …]
DPathTessellator.h74 const mat4& transform, VertexBuffer& vertexBuffer);
88 const mat4& transform, VertexBuffer& vertexBuffer);
102 const mat4& transform, VertexBuffer& vertexBuffer);
DGlopBuilder.cpp182 GlopBuilder& GlopBuilder::setMeshVertexBuffer(const VertexBuffer& vertexBuffer, bool shadowInterp) { in setMeshVertexBuffer() argument
185 const VertexBuffer::MeshFeatureFlags flags = vertexBuffer.getMeshFeatureFlags(); in setMeshVertexBuffer()
191 mOutGlop->mesh.indices = { 0, vertexBuffer.getIndices() }; in setMeshVertexBuffer()
195 vertexBuffer.getBuffer(), nullptr, nullptr, in setMeshVertexBuffer()
198 ? vertexBuffer.getIndexCount() : vertexBuffer.getVertexCount(); in setMeshVertexBuffer()
DOpenGLRenderer.h720 void drawVertexBuffer(float translateX, float translateY, const VertexBuffer& vertexBuffer,
726 void drawVertexBuffer(const VertexBuffer& vertexBuffer,
728 drawVertexBuffer(0.0f, 0.0f, vertexBuffer, paint, flags);
DGlopBuilder.h53 GlopBuilder& setMeshVertexBuffer(const VertexBuffer& vertexBuffer, bool shadowInterp);
DOpenGLRenderer.cpp1750 const VertexBuffer& vertexBuffer, const SkPaint* paint, int displayFlags) {
1752 if (!vertexBuffer.getVertexCount()) {
1762 .setMeshVertexBuffer(vertexBuffer, shadowInterp)
1765 .setModelViewOffsetRect(translateX, translateY, vertexBuffer.getBounds())
1780 VertexBuffer vertexBuffer;
1783 PathTessellator::tessellatePath(path, paint, *currentTransform(), vertexBuffer);
1784 drawVertexBuffer(vertexBuffer, paint);
1877 const VertexBuffer* vertexBuffer = mCaches.tessellationCache.getRoundRect(
1879 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()