/frameworks/base/libs/hwui/tests/microbench/ |
D | ShadowBench.cpp | 73 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/ |
D | TessellationCache.h | 44 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);
|
D | TessellationCache.cpp | 124 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 …]
|
D | ShadowTessellator.h | 29 class VertexBuffer; variable 74 const Rect& localClip, float maxZ, VertexBuffer& shadowVertexBuffer); 79 const Rect& casterBounds, const Rect& localClip, VertexBuffer& shadowVertexBuffer);
|
D | PathTessellator.h | 78 const mat4& transform, VertexBuffer& vertexBuffer); 92 const mat4& transform, VertexBuffer& vertexBuffer); 106 const mat4& transform, VertexBuffer& vertexBuffer);
|
D | VertexBuffer.h | 25 class VertexBuffer { 33 VertexBuffer() in VertexBuffer() function 47 ~VertexBuffer() { in ~VertexBuffer() 92 void copyInto(const VertexBuffer& srcBuffer, float xOffset, float yOffset) { in copyInto()
|
D | AmbientShadow.h | 27 class VertexBuffer; variable 36 float geomFactor, VertexBuffer& shadowVertexBuffer);
|
D | SpotShadow.h | 26 class VertexBuffer; variable 32 const Vector3& polyCentroid, VertexBuffer& retstrips); 62 const Vector3* poly, int polyLength, VertexBuffer& retstrips, const Vector2& centroid);
|
D | PathTessellator.cpp | 184 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 …]
|
D | OpenGLRenderer.h | 71 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,
|
D | AmbientShadow.cpp | 168 float heightFactor, float geomFactor, VertexBuffer& shadowVertexBuffer) { in createAmbientShadow() 169 shadowVertexBuffer.setMeshFeatureFlags(VertexBuffer::kAlpha | VertexBuffer::kIndices); in createAmbientShadow()
|
D | GlopBuilder.h | 35 class VertexBuffer; variable 54 GlopBuilder& setMeshVertexBuffer(const VertexBuffer& vertexBuffer);
|
D | ShadowTessellator.cpp | 34 const Rect& localClip, float maxZ, VertexBuffer& shadowVertexBuffer) { in tessellateAmbientShadow() 64 const Rect& casterBounds, const Rect& localClip, VertexBuffer& shadowVertexBuffer) { in tessellateSpotShadow()
|
D | BakedOpDispatcher.cpp | 347 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()
|
D | GlopBuilder.cpp | 196 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()
|
D | SpotShadow.cpp | 392 VertexBuffer& shadowTriangleStrip) { in createSpotShadow() 852 const Vector3* poly, int polyLength, VertexBuffer& shadowTriangleStrip, in generateTriangleStrip() 1010 shadowTriangleStrip.setMeshFeatureFlags(VertexBuffer::kAlpha | VertexBuffer::kIndices); in generateTriangleStrip()
|
D | OpenGLRenderer.cpp | 1688 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) {
|