Lines Matching refs:function

541   function("MinVersion", &MinVersion);
546 .function("changeFrame", &SkpDebugPlayer::changeFrame)
547 .function("deleteCommand", &SkpDebugPlayer::deleteCommand)
548 .function("draw", &SkpDebugPlayer::draw, allow_raw_pointers())
549 .function("drawTo", &SkpDebugPlayer::drawTo, allow_raw_pointers())
550 .function("findCommandByPixel", &SkpDebugPlayer::findCommandByPixel, allow_raw_pointers())
551 .function("getBounds", &SkpDebugPlayer::getBounds)
552 .function("getBoundsForFrame", &SkpDebugPlayer::getBoundsForFrame)
553 .function("getFrameCount", &SkpDebugPlayer::getFrameCount)
554 .function("getImageResource", &SkpDebugPlayer::getImageResource)
555 .function("getImageCount", &SkpDebugPlayer::getImageCount)
556 .function("getImageInfo", &SkpDebugPlayer::getImageInfo)
557 .function("getLayerKeys", &SkpDebugPlayer::getLayerKeys)
558 .function("getLayerSummariesJs", &SkpDebugPlayer::getLayerSummariesJs)
559 .function("getSize", &SkpDebugPlayer::getSize)
560 .function("imageUseInfo", &SkpDebugPlayer::imageUseInfo)
561 .function("imageUseInfoForFrameJs", optional_override([](SkpDebugPlayer& self, const int frame)->JSObject {
565 .function("jsonCommandList", &SkpDebugPlayer::jsonCommandList, allow_raw_pointers())
566 .function("lastCommandInfo", &SkpDebugPlayer::lastCommandInfo)
567 .function("loadSkp", &SkpDebugPlayer::loadSkp, allow_raw_pointers())
568 .function("setClipVizColor", &SkpDebugPlayer::setClipVizColor)
569 .function("setCommandVisibility", &SkpDebugPlayer::setCommandVisibility)
570 .function("setGpuOpBounds", &SkpDebugPlayer::setGpuOpBounds)
571 .function("setInspectedLayer", &SkpDebugPlayer::setInspectedLayer)
572 .function("setOriginVisible", &SkpDebugPlayer::setOriginVisible)
573 .function("setOverdrawVis", &SkpDebugPlayer::setOverdrawVis)
574 .function("setAndroidClipViz", &SkpDebugPlayer::setAndroidClipViz);
582 // emscripten provided the following convenience function for binding vector<T>
605 function("_getRasterDirectSurface", optional_override([](const SimpleImageInfo ii,
615 .function("width", &SkSurface::width)
616 .function("height", &SkSurface::height)
617 .function("_flush", optional_override([](SkSurface& self) {
620 .function("clear", optional_override([](SkSurface& self, JSColor color)->void {
623 .function("getCanvas", &SkSurface::getCanvas, allow_raw_pointers());
626 .function("clear", optional_override([](SkCanvas& self, JSColor color)->void {
635 function("currentContext", &emscripten_webgl_get_current_context);
636 function("setCurrentContext", &emscripten_webgl_make_context_current);
637 function("MakeGrContext", &MakeGrContext);
638 function("MakeOnScreenGLSurface", &MakeOnScreenGLSurface);
639 function("MakeRenderTarget", select_overload<sk_sp<SkSurface>(
641 function("MakeRenderTarget", select_overload<sk_sp<SkSurface>(