499 {
500
502
503
504 class_<SkpDebugPlayer>("SkpDebugPlayer")
505 .constructor<>()
522
524 }))
535
536
537
538 value_object<SkIRect>("SkIRect")
543
544
545 register_vector<DebugLayerManager::LayerSummary>("VectorLayerSummary");
546 value_object<DebugLayerManager::LayerSummary>("LayerSummary")
552
553 value_object<ImageInfoNoColorspace>("ImageInfoNoColorspace")
558}
std::string jsonCommandList(sk_sp< SkSurface > surface)
void setCommandVisibility(int index, bool visible)
int findCommandByPixel(SkSurface *surface, int x, int y, int commandIndex)
std::string getImageResource(int index)
void setAndroidClipViz(bool on)
void setOriginVisible(bool on)
JSObject imageUseInfo(int framenumber, int nodeid)
void setOverdrawVis(bool on)
std::string loadSkp(uintptr_t cptr, int length)
void draw(SkSurface *surface)
void changeFrame(int index)
const SkIRect getBoundsForFrame(int32_t frame)
JSArray getLayerSummariesJs()
void drawTo(SkSurface *surface, int32_t index)
void deleteCommand(int index)
void setClipVizColor(JSColor color)
void setGpuOpBounds(bool on)
const SkIRect getBounds()
std::string lastCommandInfo()
int getFrameCount() const
void setInspectedLayer(int nodeId)
ImageInfoNoColorspace getImageInfo(int index)
Dart_NativeFunction function
int32_t fBottom
larger y-axis bounds
int32_t fTop
smaller y-axis bounds
int32_t fLeft
smaller x-axis bounds
int32_t fRight
larger x-axis bounds