Flutter Engine
The Flutter Engine
|
#include <DebugLayerManager.h>
Classes | |
struct | DrawEventSummary |
struct | LayerKey |
struct | LayerSummary |
Public Member Functions | |
DebugLayerManager () | |
void | storeSkPicture (int nodeId, int frame, const sk_sp< SkPicture > &picture, SkIRect dirty) |
void | setCommand (int nodeId, int frame, int command) |
void | drawLayerEventTo (SkSurface *, const int nodeId, const int frame) |
sk_sp< SkImage > | getLayerAsImage (const int nodeId, const int frame) |
DrawEventSummary | event (int nodeId, int frame) const |
std::vector< LayerSummary > | summarizeLayers (int frame) const |
std::vector< int > | listNodesForFrame (int frame) const |
std::vector< int > | listFramesForNode (int nodeId) const |
void | toJSON (SkJSONWriter &, UrlDataManager &, SkCanvas *, int nodeId, int frame) |
DebugCanvas * | getEventDebugCanvas (int nodeid, int frame) |
void | setOverdrawViz (bool overdrawViz) |
void | setClipVizColor (SkColor clipVizColor) |
void | setDrawGpuOpBounds (bool drawGpuOpBounds) |
const std::vector< DebugLayerManager::LayerKey > & | getKeys () const |
Definition at line 45 of file DebugLayerManager.h.
|
inline |
Definition at line 47 of file DebugLayerManager.h.
Definition at line 81 of file DebugLayerManager.cpp.
DebugLayerManager::DrawEventSummary DebugLayerManager::event | ( | int | nodeId, |
int | frame | ||
) | const |
Definition at line 126 of file DebugLayerManager.cpp.
DebugCanvas * DebugLayerManager::getEventDebugCanvas | ( | int | nodeid, |
int | frame | ||
) |
Definition at line 190 of file DebugLayerManager.cpp.
|
inline |
Definition at line 135 of file DebugLayerManager.h.
Definition at line 86 of file DebugLayerManager.cpp.
Definition at line 180 of file DebugLayerManager.cpp.
void DebugLayerManager::setClipVizColor | ( | SkColor | clipVizColor | ) |
Definition at line 202 of file DebugLayerManager.cpp.
Definition at line 29 of file DebugLayerManager.cpp.
void DebugLayerManager::setDrawGpuOpBounds | ( | bool | drawGpuOpBounds | ) |
Definition at line 209 of file DebugLayerManager.cpp.
void DebugLayerManager::setOverdrawViz | ( | bool | overdrawViz | ) |
Definition at line 195 of file DebugLayerManager.cpp.
void DebugLayerManager::storeSkPicture | ( | int | nodeId, |
int | frame, | ||
const sk_sp< SkPicture > & | picture, | ||
SkIRect | dirty | ||
) |
Definition at line 49 of file DebugLayerManager.cpp.
std::vector< DebugLayerManager::LayerSummary > DebugLayerManager::summarizeLayers | ( | int | frame | ) | const |
Definition at line 135 of file DebugLayerManager.cpp.
void DebugLayerManager::toJSON | ( | SkJSONWriter & | , |
UrlDataManager & | , | ||
SkCanvas * | , | ||
int | nodeId, | ||
int | frame | ||
) |