Home
last modified time | relevance | path

Searched refs:LayerCmds (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/tools/
DMSKPPlayer.h98 struct LayerCmds { struct
99 LayerCmds() = default;
100 LayerCmds(LayerCmds&&) = default;
111 static sk_sp<SkSurface> MakeSurfaceForLayer(const LayerCmds&, SkCanvas* rootCanvas); argument
113 void collectReferencedLayers(const LayerCmds& layer, std::vector<int>*) const;
116 using LayerMap = std::unordered_map<int, LayerCmds>;
132 std::vector<LayerCmds> fRootLayers; // One root layer for each frame.
DMSKPPlayer.cpp78 const LayerCmds& layer = layerMap.at(fLayerId); in draw()
122 CmdRecordCanvas(LayerCmds* dst, LayerMap* offscreenLayers, const SkIRect* clipRect = nullptr) in CmdRecordCanvas()
335 LayerCmds* layer = &fOffscreenLayers->at(fNextDrawPictureToLayerID); in onDrawPicture()
374 LayerCmds* fDst = nullptr;
441 const LayerCmds& layer = fRootLayers[i]; in playFrame()
448 sk_sp<SkSurface> MSKPPlayer::MakeSurfaceForLayer(const LayerCmds& layer, SkCanvas* rootCanvas) { in MakeSurfaceForLayer()
500 void MSKPPlayer::collectReferencedLayers(const LayerCmds& layer, std::vector<int>* out) const { in collectReferencedLayers()