Home
last modified time | relevance | path

Searched refs:VertexBuffer (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/libs/hwui/tests/microbench/
DShadowBench.cpp73 const SkPath& shape, VertexBuffer* ambient, VertexBuffer* spot) { in tessellateShadows()
87 VertexBuffer ambient; in BM_TessellateShadows_roundrect_opaque()
88 VertexBuffer spot; in BM_TessellateShadows_roundrect_opaque()
104 std::unique_ptr<VertexBuffer> ambient(new VertexBuffer); in BM_TessellateShadows_roundrect_translucent()
105 std::unique_ptr<VertexBuffer> spot(new VertexBuffer); in BM_TessellateShadows_roundrect_translucent()
/frameworks/base/libs/hwui/
DTessellationCache.h44 class VertexBuffer; variable
52 typedef Pair<VertexBuffer*, VertexBuffer*> vertexBuffer_pair_t;
121 VertexBuffer ambientBuffer;
122 VertexBuffer spotBuffer;
161 const VertexBuffer* getRoundRect(const Matrix4& transform, const SkPaint& paint,
185 typedef VertexBuffer* (*Tessellator)(const Description&);
203 sp<TaskProcessor<VertexBuffer*> > mProcessor;
231 VertexBuffer& ambientBuffer, VertexBuffer& spotBuffer);
DTessellationCache.cpp124 class TessellationCache::TessellationTask : public Task<VertexBuffer*> {
137 class TessellationCache::TessellationProcessor : public TaskProcessor<VertexBuffer*> {
140 : TaskProcessor<VertexBuffer*>(&caches.tasks) {} in TessellationProcessor()
143 virtual void onProcess(const sp<Task<VertexBuffer*> >& task) override { in onProcess()
146 VertexBuffer* buffer = t->tessellator(t->description); in onProcess()
153 Buffer(const sp<Task<VertexBuffer*> >& task) in Buffer()
168 const VertexBuffer* getVertexBuffer() { in getVertexBuffer()
181 sp<Task<VertexBuffer*> > mTask;
182 VertexBuffer* mBuffer;
212 VertexBuffer& ambientBuffer, VertexBuffer& spotBuffer) { in tessellateShadows()
[all …]
DShadowTessellator.h29 class VertexBuffer; variable
74 const Rect& localClip, float maxZ, VertexBuffer& shadowVertexBuffer);
79 const Rect& casterBounds, const Rect& localClip, VertexBuffer& shadowVertexBuffer);
DPathTessellator.h78 const mat4& transform, VertexBuffer& vertexBuffer);
92 const mat4& transform, VertexBuffer& vertexBuffer);
106 const mat4& transform, VertexBuffer& vertexBuffer);
DVertexBuffer.h25 class VertexBuffer {
33 VertexBuffer() in VertexBuffer() function
47 ~VertexBuffer() { in ~VertexBuffer()
92 void copyInto(const VertexBuffer& srcBuffer, float xOffset, float yOffset) { in copyInto()
DAmbientShadow.h27 class VertexBuffer; variable
36 float geomFactor, VertexBuffer& shadowVertexBuffer);
DSpotShadow.h26 class VertexBuffer; variable
32 const Vector3& polyCentroid, VertexBuffer& retstrips);
62 const Vector3* poly, int polyLength, VertexBuffer& retstrips, const Vector2& centroid);
DPathTessellator.cpp184 VertexBuffer& vertexBuffer) { in getFillVerticesFromPerimeter()
209 const std::vector<Vertex>& perimeter, VertexBuffer& vertexBuffer) { in getStrokeVerticesFromPerimeter()
267 const std::vector<Vertex>& vertices, VertexBuffer& vertexBuffer) { in getStrokeVerticesFromUnclosedVertices()
347 const std::vector<Vertex>& perimeter, VertexBuffer& vertexBuffer, in getFillVerticesFromPerimeterAA()
577 const std::vector<Vertex>& vertices, VertexBuffer& vertexBuffer) { in getStrokeVerticesFromUnclosedVerticesAA()
651 const std::vector<Vertex>& perimeter, VertexBuffer& vertexBuffer) { in getStrokeVerticesFromPerimeterAA()
724 const mat4& transform, VertexBuffer& vertexBuffer) { in tessellatePath()
789 vertexBuffer.setMeshFeatureFlags(paintInfo.isAA ? VertexBuffer::kAlpha : VertexBuffer::kNone); in tessellatePath()
793 static void instanceVertices(VertexBuffer& srcBuffer, VertexBuffer& dstBuffer, in instanceVertices()
809 const mat4& transform, VertexBuffer& vertexBuffer) { in tessellatePoints()
[all …]
DOpenGLRenderer.h71 class VertexBuffer; variable
202 const VertexBuffer* ambientShadowVertexBuffer,
203 const VertexBuffer* spotShadowVertexBuffer);
619 void drawVertexBuffer(float translateX, float translateY, const VertexBuffer& vertexBuffer,
625 void drawVertexBuffer(const VertexBuffer& vertexBuffer,
DAmbientShadow.cpp168 float heightFactor, float geomFactor, VertexBuffer& shadowVertexBuffer) { in createAmbientShadow()
169 shadowVertexBuffer.setMeshFeatureFlags(VertexBuffer::kAlpha | VertexBuffer::kIndices); in createAmbientShadow()
DGlopBuilder.h35 class VertexBuffer; variable
54 GlopBuilder& setMeshVertexBuffer(const VertexBuffer& vertexBuffer);
DShadowTessellator.cpp34 const Rect& localClip, float maxZ, VertexBuffer& shadowVertexBuffer) { in tessellateAmbientShadow()
64 const Rect& casterBounds, const Rect& localClip, VertexBuffer& shadowVertexBuffer) { in tessellateSpotShadow()
DBakedOpDispatcher.cpp347 const VertexBuffer& vertexBuffer, float translateX, float translateY, in renderVertexBuffer()
368 VertexBuffer vertexBuffer; in renderConvexPath()
564 VertexBuffer buffer; in onLinesOp()
634 VertexBuffer buffer; in onPointsOp()
694 const VertexBuffer* buffer = renderer.caches().tessellationCache.getRoundRect( in onRoundRectOp()
703 const VertexBuffer* ambientShadowVertexBuffer, const VertexBuffer* spotShadowVertexBuffer) { in renderShadow()
DGlopBuilder.cpp196 GlopBuilder& GlopBuilder::setMeshVertexBuffer(const VertexBuffer& vertexBuffer) { in setMeshVertexBuffer()
199 const VertexBuffer::MeshFeatureFlags flags = vertexBuffer.getMeshFeatureFlags(); in setMeshVertexBuffer()
201 bool alphaVertex = flags & VertexBuffer::kAlpha; in setMeshVertexBuffer()
202 bool indices = flags & VertexBuffer::kIndices; in setMeshVertexBuffer()
DSpotShadow.cpp392 VertexBuffer& shadowTriangleStrip) { in createSpotShadow()
852 const Vector3* poly, int polyLength, VertexBuffer& shadowTriangleStrip, in generateTriangleStrip()
1010 shadowTriangleStrip.setMeshFeatureFlags(VertexBuffer::kAlpha | VertexBuffer::kIndices); in generateTriangleStrip()
DOpenGLRenderer.cpp1688 const VertexBuffer& vertexBuffer, const SkPaint* paint, int displayFlags) {
1718 VertexBuffer vertexBuffer;
1741 VertexBuffer buffer;
1758 VertexBuffer buffer;
1815 const VertexBuffer* vertexBuffer = mCaches.tessellationCache.getRoundRect(
2352 const VertexBuffer* ambientShadowVertexBuffer, const VertexBuffer* spotShadowVertexBuffer) {