Home | History | Annotate | Download | only in core

Lines Matching refs:layer

39     static void inc_layer() { ++gLayerCounter; printf("----- inc layer %d\n", gLayerCounter); }
40 static void dec_layer() { --gLayerCounter; printf("----- dec layer %d\n", gLayerCounter); }
134 these are used (assuming we're not on a layer) we rebuild these cache
699 DeviceCM* layer = fMCRec->fTopLayer;
701 if (NULL == layer->fNext) { // only one layer
702 layer->updateMC(totalMatrix, totalClip, fClipStack, NULL);
706 layer->updateMC(totalMatrix, clip, fClipStack, &clip);
707 } while ((layer = layer->fNext) != NULL);
792 // early exit if the layer's bounds are clipped out
824 // do this before we create the layer. We don't call the public save() since
840 // early exit if the layer was just for the imageFilter
861 SkDebugf("Unable to create device for layer.");
866 DeviceCM* layer = SkNEW_ARGS(DeviceCM, (device, ir.fLeft, ir.fTop, paint, this));
869 layer->fNext = fMCRec->fTopLayer;
870 fMCRec->fLayer = layer;
871 fMCRec->fTopLayer = layer; // this field is NOT an owner of layer
905 // reserve our layer (if any)
906 DeviceCM* layer = fMCRec->fLayer; // may be null
915 /* Time to draw the layer's offscreen. We can't call the public drawSprite,
919 if (NULL != layer) {
920 if (layer->fNext) {
921 const SkIPoint& origin = layer->fDevice->getOrigin();
922 this->internalDrawDevice(layer->fDevice, origin.x(), origin.y(),
923 layer->fPaint);
930 SkDELETE(layer);