From 2e59b9fb93408898f3f1150eadb8e84b1e740cfa Mon Sep 17 00:00:00 2001 From: subhransu mohanty Date: Thu, 23 Aug 2018 17:19:43 +0900 Subject: [PATCH] lottie: remove dead code. Change-Id: I81d8c6e3e0c4b6b6d9cff03f70e8818af57dfade --- src/lottie/lottieitem.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/lottie/lottieitem.h b/src/lottie/lottieitem.h index e260d2d..c20dbdc 100644 --- a/src/lottie/lottieitem.h +++ b/src/lottie/lottieitem.h @@ -165,15 +165,6 @@ class LOTNode; class LOTPathDataItem; class LOTPaintDataItem; class LOTTrimItem; -struct LOTRenderNode -{ - LOTRenderNode(LOTPathDataItem *path, LOTPaintDataItem *paint, VDrawable *render, bool sameG) - :pathNodeRef(path), paintNodeRef(paint), drawable(render), sameGroup(sameG){} - LOTPathDataItem *pathNodeRef; - LOTPaintDataItem *paintNodeRef; - VDrawable *drawable; - bool sameGroup; -}; class LOTContentItem { @@ -190,12 +181,10 @@ public: LOTContentGroupItem(LOTShapeGroupData *data); void addChildren(LOTGroupData *data); void update(int frameNo, const VMatrix &parentMatrix, float parentAlpha, const DirtyFlag &flag) final; - void processPaintOperation(); void processTrimOperation(); void processPathItems(std::vector &list); void renderList(std::vector &list) final; private: - void paintOperationHelper(std::vector &list); void trimOperationHelper(std::vector &list); LOTShapeGroupData *mData; std::vector> mContents; @@ -205,7 +194,6 @@ class LOTPathDataItem : public LOTContentItem { public: LOTPathDataItem(bool staticPath):mInit(false), mStaticPath(staticPath){} - void addPaintOperation(std::vector &list, int externalCount); void update(int frameNo, const VMatrix &parentMatrix, float parentAlpha, const DirtyFlag &flag) final; void addTrimOperation(std::vector &list); bool dirty() const {return mPathChanged;} -- 2.7.4