Lines Matching defs:saveLayer

50 // where the saveLayer's color can be moved into the drawBitmapRect
59 SkSaveLayerCommand* saveLayer =
64 const SkPaint* saveLayerPaint = saveLayer->paint();
67 // For this optimization we only fold the saveLayer and drawBitmapRect
68 // together if the saveLayer's draw is simple (i.e., no fancy effects)
79 // Fold the saveLayer's alpha into the drawBitmapRect and remove the saveLayer
82 SkSaveLayerCommand* saveLayer =
84 const SkPaint* saveLayerPaint = saveLayer->paint();
93 // if the DBMR doesn't have a paint just use the saveLayer's
112 canvas->deleteDrawCommandAt(curCommand); // saveLayer
122 // where the saveLayer's color can be moved into the drawBitmapRect
134 SkSaveLayerCommand* saveLayer =
139 const SkPaint* saveLayerPaint = saveLayer->paint();
142 // For this optimization we only fold the saveLayer and drawBitmapRect
143 // together if the saveLayer's draw is simple (i.e., no fancy effects) and
144 // and the only difference in the colors is that the saveLayer's can have
157 // Fold the saveLayer's alpha into the drawBitmapRect and remove the saveLayer
160 SkSaveLayerCommand* saveLayer =
162 const SkPaint* saveLayerPaint = saveLayer->paint();
180 canvas->deleteDrawCommandAt(curCommand); // saveLayer
357 // all the saveLayer's paints can be rolled into the drawBitmapRectToRect's paint
455 // the src and dst Rects and the saveLayer paints into the drawBitmapRectToRect's
519 canvas->deleteDrawCommandAt(curCommand+5); // saveLayer
522 canvas->deleteDrawCommandAt(curCommand+2); // saveLayer