Glop support for indexed quads
bug:19014311
Change-Id: If35a873421b41cc4508b0d8ac1b4d900c9bb3717
diff --git a/libs/hwui/GlopBuilder.h b/libs/hwui/GlopBuilder.h
index c7464cd..48ce81a 100644
--- a/libs/hwui/GlopBuilder.h
+++ b/libs/hwui/GlopBuilder.h
@@ -36,15 +36,18 @@
PREVENT_COPY_AND_ASSIGN(GlopBuilder);
public:
GlopBuilder(RenderState& renderState, Caches& caches, Glop* outGlop);
+
GlopBuilder& setMeshUnitQuad();
GlopBuilder& setMeshVertexBuffer(const VertexBuffer& vertexBuffer, bool shadowInterp);
+ GlopBuilder& setMeshIndexedQuads(void* vertexData, int quadCount);
GlopBuilder& setTransform(const Matrix4& ortho, const Matrix4& transform, bool fudgingOffset);
GlopBuilder& setModelViewMapUnitToRect(const Rect destination);
GlopBuilder& setModelViewOffsetRect(float offsetX, float offsetY, const Rect source);
- GlopBuilder& setPaint(const SkPaint* paint, float alphaScale);
+ GlopBuilder& setOptionalPaint(const SkPaint* paint, float alphaScale);
+ GlopBuilder& setPaint(const SkPaint& paint, float alphaScale);
void build();
private:
enum StageFlags {