Loading libs/hwui/DisplayListOps.in +0 −1 Original line number Diff line number Diff line Loading @@ -14,7 +14,6 @@ * limitations under the License. */ X(Flush) X(Save) X(Restore) X(SaveLayer) Loading libs/hwui/RecordingCanvas.cpp +0 −13 Original line number Diff line number Diff line Loading @@ -107,11 +107,6 @@ struct Op { }; static_assert(sizeof(Op) == 4, ""); struct Flush final : Op { static const auto kType = Type::Flush; void draw(SkCanvas* c, const SkMatrix&) const { c->flush(); } }; struct Save final : Op { static const auto kType = Type::Save; void draw(SkCanvas* c, const SkMatrix&) const { c->save(); } Loading Loading @@ -751,10 +746,6 @@ inline void DisplayListData::map(const Fn fns[], Args... args) const { } } void DisplayListData::flush() { this->push<Flush>(0); } void DisplayListData::save() { this->push<Save>(0); } Loading Loading @@ -1046,10 +1037,6 @@ sk_sp<SkSurface> RecordingCanvas::onNewSurface(const SkImageInfo&, const SkSurfa return nullptr; } void RecordingCanvas::onFlush() { fDL->flush(); } void RecordingCanvas::willSave() { mSaveCount++; fDL->save(); Loading libs/hwui/RecordingCanvas.h +0 −4 Original line number Diff line number Diff line Loading @@ -127,8 +127,6 @@ public: private: friend class RecordingCanvas; void flush(); void save(); void saveLayer(const SkRect*, const SkPaint*, const SkImageFilter*, SkCanvas::SaveLayerFlags); void saveBehind(const SkRect*); Loading Loading @@ -208,8 +206,6 @@ public: void willRestore() override; bool onDoSaveBehind(const SkRect*) override; void onFlush() override; void didConcat44(const SkM44&) override; void didSetM44(const SkM44&) override; void didScale(SkScalar, SkScalar) override; Loading Loading
libs/hwui/DisplayListOps.in +0 −1 Original line number Diff line number Diff line Loading @@ -14,7 +14,6 @@ * limitations under the License. */ X(Flush) X(Save) X(Restore) X(SaveLayer) Loading
libs/hwui/RecordingCanvas.cpp +0 −13 Original line number Diff line number Diff line Loading @@ -107,11 +107,6 @@ struct Op { }; static_assert(sizeof(Op) == 4, ""); struct Flush final : Op { static const auto kType = Type::Flush; void draw(SkCanvas* c, const SkMatrix&) const { c->flush(); } }; struct Save final : Op { static const auto kType = Type::Save; void draw(SkCanvas* c, const SkMatrix&) const { c->save(); } Loading Loading @@ -751,10 +746,6 @@ inline void DisplayListData::map(const Fn fns[], Args... args) const { } } void DisplayListData::flush() { this->push<Flush>(0); } void DisplayListData::save() { this->push<Save>(0); } Loading Loading @@ -1046,10 +1037,6 @@ sk_sp<SkSurface> RecordingCanvas::onNewSurface(const SkImageInfo&, const SkSurfa return nullptr; } void RecordingCanvas::onFlush() { fDL->flush(); } void RecordingCanvas::willSave() { mSaveCount++; fDL->save(); Loading
libs/hwui/RecordingCanvas.h +0 −4 Original line number Diff line number Diff line Loading @@ -127,8 +127,6 @@ public: private: friend class RecordingCanvas; void flush(); void save(); void saveLayer(const SkRect*, const SkPaint*, const SkImageFilter*, SkCanvas::SaveLayerFlags); void saveBehind(const SkRect*); Loading Loading @@ -208,8 +206,6 @@ public: void willRestore() override; bool onDoSaveBehind(const SkRect*) override; void onFlush() override; void didConcat44(const SkM44&) override; void didSetM44(const SkM44&) override; void didScale(SkScalar, SkScalar) override; Loading