Lines Matching defs:saveLayer

51 // where the saveLayer's color can be moved into the drawBitmapRect
60 SkSaveLayerCommand* saveLayer =
65 const SkPaint* saveLayerPaint = saveLayer->paint();
68 // For this optimization we only fold the saveLayer and drawBitmapRect
69 // together if the saveLayer's draw is simple (i.e., no fancy effects)
80 // Fold the saveLayer's alpha into the drawBitmapRect and remove the saveLayer
83 SkSaveLayerCommand* saveLayer =
85 const SkPaint* saveLayerPaint = saveLayer->paint();
94 // if the DBMR doesn't have a paint just use the saveLayer's
113 canvas->deleteDrawCommandAt(curCommand); // saveLayer
123 // where the saveLayer's color can be moved into the drawBitmapRect
135 SkSaveLayerCommand* saveLayer =
140 const SkPaint* saveLayerPaint = saveLayer->paint();
143 // For this optimization we only fold the saveLayer and drawBitmapRect
144 // together if the saveLayer's draw is simple (i.e., no fancy effects) and
145 // and the only difference in the colors is that the saveLayer's can have
158 // Fold the saveLayer's alpha into the drawBitmapRect and remove the saveLayer
161 SkSaveLayerCommand* saveLayer =
163 const SkPaint* saveLayerPaint = saveLayer->paint();
181 canvas->deleteDrawCommandAt(curCommand); // saveLayer
358 // all the saveLayer's paints can be rolled into the drawBitmapRectToRect's paint
456 // the src and dst Rects and the saveLayer paints into the drawBitmapRectToRect's
520 canvas->deleteDrawCommandAt(curCommand+5); // saveLayer
523 canvas->deleteDrawCommandAt(curCommand+2); // saveLayer