Lines Matching refs:fSurface
80 if (!layerState->fSurface) { in draw()
82 layerState->fSurface = MSKPPlayer::MakeSurfaceForLayer(layer, canvas); in draw()
83 if (!layerState->fSurface) { in draw()
93 SkCanvas* layerCanvas = layerState->fSurface->getCanvas(); in draw()
104 layerState->fSurface->getCanvas()->clear(SK_ColorTRANSPARENT); in draw()
110 canvas->drawImageRect(layerState->fSurface->makeImageSnapshot(), in draw()
432 if (state.fSurface) { in playFrame()
433 if (state.fSurface->recordingContext() != canvas->recordingContext()) { in playFrame()
470 if (!state.fSurface || state.fSurface->recordingContext() != canvas->recordingContext()) { in allocateLayers()
472 state.fSurface = MakeSurfaceForLayer(fOffscreenLayers[id], canvas); in allocateLayers()
494 if (iter == fOffscreenLayerStates.end() || !iter->second.fSurface) { in layerSnapshot()
497 return iter->second.fSurface->makeImageSnapshot(); in layerSnapshot()