Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DTessellationCache.cpp98 class TessellationCache::TessellationTask : public Task<VertexBuffer*> {
111 class TessellationCache::TessellationProcessor : public TaskProcessor<VertexBuffer*> {
114 : TaskProcessor<VertexBuffer*>(&caches.tasks) {} in TessellationProcessor()
117 virtual void onProcess(const sp<Task<VertexBuffer*> >& task) { in onProcess()
120 VertexBuffer* buffer = t->tessellator(t->description); in onProcess()
127 Buffer(const sp<Task<VertexBuffer*> >& task) in Buffer()
142 const VertexBuffer* getVertexBuffer() { in getVertexBuffer()
155 sp<Task<VertexBuffer*> > mTask;
156 VertexBuffer* mBuffer;
215 VertexBuffer& ambientBuffer, VertexBuffer& spotBuffer) { in tessellateShadows()
[all …]
DTessellationCache.h46 typedef Pair<VertexBuffer*, VertexBuffer*> vertexBuffer_pair_t;
128 const VertexBuffer* getRoundRect(const Matrix4& transform, const SkPaint& paint,
147 typedef VertexBuffer* (*Tessellator)(const Description&);
166 sp<TaskProcessor<VertexBuffer*> > mProcessor;
DPathTessellator.h54 const mat4& transform, VertexBuffer& vertexBuffer);
68 const mat4& transform, VertexBuffer& vertexBuffer);
82 const mat4& transform, VertexBuffer& vertexBuffer);
DVertexBuffer.h25 class VertexBuffer {
34 VertexBuffer() in VertexBuffer() function
48 ~VertexBuffer() { in ~VertexBuffer()
93 void copyInto(const VertexBuffer& srcBuffer, float xOffset, float yOffset) { in copyInto()
DShadowTessellator.h72 const Rect& localClip, float maxZ, VertexBuffer& shadowVertexBuffer);
77 const Rect& casterBounds, const Rect& localClip, VertexBuffer& shadowVertexBuffer);
DSpotShadow.h31 const Vector3& polyCentroid, VertexBuffer& retstrips);
61 const Vector3* poly, int polyLength, VertexBuffer& retstrips, const Vector2& centroid);
DPathTessellator.cpp183 void getFillVerticesFromPerimeter(const Vector<Vertex>& perimeter, VertexBuffer& vertexBuffer) { in getFillVerticesFromPerimeter()
208 VertexBuffer& vertexBuffer) { in getStrokeVerticesFromPerimeter()
267 const Vector<Vertex>& vertices, VertexBuffer& vertexBuffer) { in getStrokeVerticesFromUnclosedVertices()
348 VertexBuffer& vertexBuffer, float maxAlpha = 1.0f) { in getFillVerticesFromPerimeterAA()
578 const Vector<Vertex>& vertices, VertexBuffer& vertexBuffer) { in getStrokeVerticesFromUnclosedVerticesAA()
652 VertexBuffer& vertexBuffer) { in getStrokeVerticesFromPerimeterAA()
726 const mat4& transform, VertexBuffer& vertexBuffer) { in tessellatePath()
793 static void instanceVertices(VertexBuffer& srcBuffer, VertexBuffer& dstBuffer, in instanceVertices()
809 const mat4& transform, VertexBuffer& vertexBuffer) { in tessellatePoints()
835 VertexBuffer tempBuffer; in tessellatePoints()
[all …]
DAmbientShadow.h36 float geomFactor, VertexBuffer& shadowVertexBuffer);
DOpenGLRenderer.h63 class VertexBuffer; variable
199 … const VertexBuffer* ambientShadowVertexBuffer, const VertexBuffer* spotShadowVertexBuffer);
666 status_t drawVertexBuffer(float translateX, float translateY, const VertexBuffer& vertexBuffer,
672 status_t drawVertexBuffer(const VertexBuffer& vertexBuffer,
DAmbientShadow.cpp180 float heightFactor, float geomFactor, VertexBuffer& shadowVertexBuffer) { in createAmbientShadow()
181 shadowVertexBuffer.setMode(VertexBuffer::kIndices); in createAmbientShadow()
DShadowTessellator.cpp35 const Rect& localClip, float maxZ, VertexBuffer& shadowVertexBuffer) { in tessellateAmbientShadow()
66 const Rect& casterBounds, const Rect& localClip, VertexBuffer& shadowVertexBuffer) { in tessellateSpotShadow()
DOpenGLRenderer.cpp2328 const VertexBuffer& vertexBuffer, const SkPaint* paint, int displayFlags) {
2370 const VertexBuffer::Mode mode = vertexBuffer.getMode();
2371 if (mode == VertexBuffer::kStandard) {
2374 } else if (mode == VertexBuffer::kOnePolyRingShadow) {
2377 } else if (mode == VertexBuffer::kTwoPolyRingShadow) {
2380 } else if (mode == VertexBuffer::kIndices) {
2403 VertexBuffer vertexBuffer;
2425 VertexBuffer buffer;
2442 VertexBuffer buffer;
2498 const VertexBuffer* vertexBuffer = mCaches.tessellationCache.getRoundRect(
[all …]
DSpotShadow.cpp415 VertexBuffer& shadowTriangleStrip) { in createSpotShadow()
871 const Vector3* poly, int polyLength, VertexBuffer& shadowTriangleStrip, in generateTriangleStrip()
1029 shadowTriangleStrip.setMode(VertexBuffer::kIndices); in generateTriangleStrip()