diff options
author | 2014-08-08 10:05:19 -0700 | |
---|---|---|
committer | 2014-08-08 10:05:20 -0700 | |
commit | f4078ad1ec42f549369ac4f639aab18d00afae95 (patch) | |
tree | 3bf5664bddbd0614d142910356ce5dd3e9bc19ba /src/core/SkRecords.h | |
parent | bab82ed05b304504e3b5d317486e152dce107313 (diff) |
SkRecord: Strip out cull-skipping and y-only drawPosTextH skipping.
These optimizations are outclassed by a general bounding-box hierarchy,
and are just going to make plugging that into SkRecordDraw more complicated.
BUG=skia:
R=robertphillips@google.com, mtklein@google.com
Author: mtklein@chromium.org
Review URL: https://codereview.chromium.org/452983002
Diffstat (limited to 'src/core/SkRecords.h')
-rw-r--r-- | src/core/SkRecords.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/core/SkRecords.h b/src/core/SkRecords.h index 1de1675452..347bc36276 100644 --- a/src/core/SkRecords.h +++ b/src/core/SkRecords.h @@ -47,7 +47,6 @@ namespace SkRecords { M(SaveLayer) \ M(PushCull) \ M(PopCull) \ - M(PairedPushCull) /*From SkRecordAnnotateCullingPairs*/ \ M(Concat) \ M(SetMatrix) \ M(ClipPath) \ @@ -73,8 +72,7 @@ namespace SkRecords { M(DrawSprite) \ M(DrawText) \ M(DrawTextOnPath) \ - M(DrawVertices) \ - M(BoundedDrawPosTextH) /*From SkRecordBoundDrawPosTextH*/ + M(DrawVertices) // Defines SkRecords::Type, an enum of all record types. #define ENUM(T) T##_Type, @@ -297,10 +295,6 @@ struct DrawVertices { int indexCount; }; -// Records added by optimizations. -RECORD2(PairedPushCull, Adopted<PushCull>, base, unsigned, skip); -RECORD3(BoundedDrawPosTextH, Adopted<DrawPosTextH>, base, SkScalar, minY, SkScalar, maxY); - #undef RECORD0 #undef RECORD1 #undef RECORD2 |