Home | History | Annotate | Download | only in core

Lines Matching refs:layer

35     static void inc_layer() { ++gLayerCounter; printf("----- inc layer %d\n", gLayerCounter); }
36 static void dec_layer() { --gLayerCounter; printf("----- dec layer %d\n", gLayerCounter); }
69 these are used (assuming we're not on a layer) we rebuild these cache
601 DeviceCM* layer = fMCRec->fTopLayer;
603 if (NULL == layer->fNext) { // only one layer
604 layer->updateMC(totalMatrix, totalClip, fClipStack, NULL);
606 layer->updateExternalMatrix(fExternalMatrix,
613 layer->updateMC(totalMatrix, clip, fClipStack, &clip);
615 layer->updateExternalMatrix(fExternalMatrix,
618 } while ((layer = layer->fNext) != NULL);
702 // do this before we create the layer. We don't call the public save() since
719 // early exit if the layer's bounds are clipped out
742 DeviceCM* layer = SkNEW_ARGS(DeviceCM, (device, ir.fLeft, ir.fTop, paint));
745 layer->fNext = fMCRec->fTopLayer;
746 fMCRec->fLayer = layer;
747 fMCRec->fTopLayer = layer; // this field is NOT an owner of layer
778 // reserve our layer (if any)
779 DeviceCM* layer = fMCRec->fLayer; // may be null
788 /* Time to draw the layer's offscreen. We can't call the public drawSprite,
792 if (NULL != layer) {
793 if (layer->fNext) {
794 const SkIPoint& origin = layer->fDevice->getOrigin();
795 this->drawDevice(layer->fDevice, origin.x(), origin.y(),
796 layer->fPaint);
800 SkDELETE(layer);