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
diff --git a/src/core/SkRecords.h b/src/core/SkRecords.h
index 1de1675..347bc36 100644
--- a/src/core/SkRecords.h
+++ b/src/core/SkRecords.h
@@ -47,7 +47,6 @@
M(SaveLayer) \
M(PushCull) \
M(PopCull) \
- M(PairedPushCull) /*From SkRecordAnnotateCullingPairs*/ \
M(Concat) \
M(SetMatrix) \
M(ClipPath) \
@@ -73,8 +72,7 @@
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 @@
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