Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: src/core/SkLatticeIter.h

Issue 2255683004: Revert of Batched implementation of drawLattice() for GPU (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/private/SkTArray.h ('k') | src/core/SkLatticeIter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkLatticeIter.h
diff --git a/src/core/SkLatticeIter.h b/src/core/SkLatticeIter.h
index 192b6c5b54e49f1d4d96cefd18821e7ed250c278..e2d767f1c8a5383d2f6d2e1b0bb115129a35156c 100644
--- a/src/core/SkLatticeIter.h
+++ b/src/core/SkLatticeIter.h
@@ -35,28 +35,15 @@
*/
bool next(SkRect* src, SkRect* dst);
- /**
- * Apply a matrix to the dst points.
- */
- void mapDstScaleTranslate(const SkMatrix& matrix);
-
- /**
- * Returns the total number of rects that will be drawn.
- */
- int numRects() const {
- return fNumRects;
- }
-
private:
SkTArray<SkScalar> fSrcX;
SkTArray<SkScalar> fSrcY;
SkTArray<SkScalar> fDstX;
SkTArray<SkScalar> fDstY;
- int fCurrX;
- int fCurrY;
+ int fCurrX;
+ int fCurrY;
bool fDone;
- int fNumRects;
};
#endif
« no previous file with comments | « include/private/SkTArray.h ('k') | src/core/SkLatticeIter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698