Home | History | Annotate | Download | only in gm

Lines Matching defs:rast

14 static void r0(SkLayerRasterizer* rast, SkPaint& p) {
17 rast->addLayer(p, SkIntToScalar(3), SkIntToScalar(3));
22 rast->addLayer(p);
27 rast->addLayer(p);
30 static void r1(SkLayerRasterizer* rast, SkPaint& p) {
31 rast->addLayer(p);
37 rast->addLayer(p);
40 static void r2(SkLayerRasterizer* rast, SkPaint& p) {
43 rast->addLayer(p);
48 rast->addLayer(p);
51 static void r3(SkLayerRasterizer* rast, SkPaint& p) {
54 rast->addLayer(p);
59 rast->addLayer(p);
62 static void r4(SkLayerRasterizer* rast, SkPaint& p) {
64 rast->addLayer(p, SkIntToScalar(3), SkIntToScalar(3));
68 rast->addLayer(p, SK_Scalar1*3/2, SK_Scalar1*3/2);
71 rast->addLayer(p);
76 static void r5(SkLayerRasterizer* rast, SkPaint& p) {
77 rast->addLayer(p);
81 rast->addLayer(p);
84 static void r6(SkLayerRasterizer* rast, SkPaint& p) {
85 rast->addLayer(p);
92 rast->addLayer(p);
103 static void r7(SkLayerRasterizer* rast, SkPaint& p) {
108 rast->addLayer(p);
111 static void r8(SkLayerRasterizer* rast, SkPaint& p) {
112 rast->addLayer(p);
119 rast->addLayer(p);
125 rast->addLayer(p);
128 static void r9(SkLayerRasterizer* rast, SkPaint& p) {
129 rast->addLayer(p);
136 rast->addLayer(p);
142 rast->addLayer(p);
158 SkLayerRasterizer* rast = new SkLayerRasterizer;
161 proc(rast, p);
162 paint->setRasterizer(rast)->unref();