Home
last modified time | relevance | path

Searched refs:SkLayerRasterizer_Rec (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/effects/
DSkLayerRasterizer.cpp23 struct SkLayerRasterizer_Rec { struct
29 : fLayers(SkNEW_ARGS(SkDeque, (sizeof(SkLayerRasterizer_Rec)))) in SkLayerRasterizer() argument
40 SkLayerRasterizer_Rec* rec; in clean_up_layers()
42 while ((rec = (SkLayerRasterizer_Rec*)iter.next()) != NULL) in clean_up_layers()
57 SkLayerRasterizer_Rec* rec; in compute_bounds()
61 while ((rec = (SkLayerRasterizer_Rec*)iter.next()) != NULL) { in compute_bounds()
140 SkLayerRasterizer_Rec* rec; in onRasterize()
142 while ((rec = (SkLayerRasterizer_Rec*)iter.next()) != NULL) { in onRasterize()
158 SkDeque* layers = SkNEW_ARGS(SkDeque, (sizeof(SkLayerRasterizer_Rec))); in ReadLayers()
160 SkLayerRasterizer_Rec* rec = (SkLayerRasterizer_Rec*)layers->push_back(); in ReadLayers()
[all …]
/external/skia/tests/
DLayerRasterizerTest.cpp75 struct SkLayerRasterizer_Rec { struct
80 static bool equals(const SkLayerRasterizer_Rec& rec1, const SkLayerRasterizer_Rec& rec2) { in equals() argument
110 const SkLayerRasterizer_Rec* recFirstCopy = NULL; in DEF_TEST()
111 const SkLayerRasterizer_Rec* recOneLarger = NULL; in DEF_TEST()
112 const SkLayerRasterizer_Rec* recDetached = NULL; in DEF_TEST()
121 REPORTER_ASSERT(reporter, layersFirstCopy.elemSize() == sizeof(SkLayerRasterizer_Rec)); in DEF_TEST()
122 REPORTER_ASSERT(reporter, layersOneLarger.elemSize() == sizeof(SkLayerRasterizer_Rec)); in DEF_TEST()
123 REPORTER_ASSERT(reporter, layersDetached.elemSize() == sizeof(SkLayerRasterizer_Rec)); in DEF_TEST()
130 recFirstCopy = static_cast<const SkLayerRasterizer_Rec*>(iterFirstCopy.next()); in DEF_TEST()
131 recOneLarger = static_cast<const SkLayerRasterizer_Rec*>(iterOneLarger.next()); in DEF_TEST()
[all …]