8#ifndef DEBUGLAYERMANAGER_H_
9#define DEBUGLAYERMANAGER_H_
130 return this->frame==
b.frame && this->nodeId==
b.nodeId;
135 const std::vector<DebugLayerManager::LayerKey>&
getKeys()
const {
return keys; }
151 std::unique_ptr<DebugCanvas> debugCanvas;
161 std::vector<LayerKey> keys;
DrawEventSummary event(int nodeId, int frame) const
std::vector< int > listNodesForFrame(int frame) const
void setCommand(int nodeId, int frame, int command)
DebugCanvas * getEventDebugCanvas(int nodeid, int frame)
void drawLayerEventTo(SkSurface *, const int nodeId, const int frame)
void setClipVizColor(SkColor clipVizColor)
void setOverdrawViz(bool overdrawViz)
void storeSkPicture(int nodeId, int frame, const sk_sp< SkPicture > &picture, SkIRect dirty)
const std::vector< DebugLayerManager::LayerKey > & getKeys() const
void setDrawGpuOpBounds(bool drawGpuOpBounds)
void toJSON(SkJSONWriter &, UrlDataManager &, SkCanvas *, int nodeId, int frame)
std::vector< int > listFramesForNode(int nodeId) const
sk_sp< SkImage > getLayerAsImage(const int nodeId, const int frame)
std::vector< LayerSummary > summarizeLayers(int frame) const
sk_sp< const SkImage > image
sk_sp< const SkPicture > picture
bool operator==(const LayerKey &b) const