Lines Matching refs:SkLayerRasterizer_Rec
72 // MUST stay in sync with definition of SkLayerRasterizer_Rec in SkLayerRasterizer.cpp.
73 struct SkLayerRasterizer_Rec {
78 static bool equals(const SkLayerRasterizer_Rec& rec1, const SkLayerRasterizer_Rec& rec2) {
108 const SkLayerRasterizer_Rec* recFirstCopy = nullptr;
109 const SkLayerRasterizer_Rec* recOneLarger = nullptr;
110 const SkLayerRasterizer_Rec* recDetached = nullptr;
116 // Ensure that our version of SkLayerRasterizer_Rec is the same as the one in
119 REPORTER_ASSERT(reporter, layersFirstCopy.elemSize() == sizeof(SkLayerRasterizer_Rec));
120 REPORTER_ASSERT(reporter, layersOneLarger.elemSize() == sizeof(SkLayerRasterizer_Rec));
121 REPORTER_ASSERT(reporter, layersDetached.elemSize() == sizeof(SkLayerRasterizer_Rec));
128 recFirstCopy = static_cast<const SkLayerRasterizer_Rec*>(iterFirstCopy.next());
129 recOneLarger = static_cast<const SkLayerRasterizer_Rec*>(iterOneLarger.next());
130 recDetached = static_cast<const SkLayerRasterizer_Rec*>(iterDetached.next());