Home
last modified time | relevance | path

Searched refs:SimpleImageInfo (Results 1 – 4 of 4) sorted by relevance

/external/skia/experimental/wasm-skp-debugger/
Ddebugger_bindings.cpp53 struct SimpleImageInfo { struct
60 SkImageInfo toSkImageInfo(const SimpleImageInfo& sii) { in toSkImageInfo() argument
64 SimpleImageInfo toSimpleImageInfo(const SkImageInfo& ii) { in toSimpleImageInfo()
65 return (SimpleImageInfo){ii.width(), ii.height(), ii.colorType(), ii.alphaType()}; in toSimpleImageInfo()
276 SimpleImageInfo getImageInfo(int index) { in getImageInfo()
528 sk_sp<SkSurface> MakeRenderTarget(sk_sp<GrDirectContext> dContext, SimpleImageInfo sii) { in MakeRenderTarget()
599 value_object<SimpleImageInfo>("SkImageInfo") in EMSCRIPTEN_BINDINGS()
600 .field("width", &SimpleImageInfo::width) in EMSCRIPTEN_BINDINGS()
601 .field("height", &SimpleImageInfo::height) in EMSCRIPTEN_BINDINGS()
602 .field("colorType", &SimpleImageInfo::colorType) in EMSCRIPTEN_BINDINGS()
[all …]
/external/skia/experimental/skottiekit/
Dskottiekit_bindings.cpp204 struct SimpleImageInfo { struct
212 SkImageInfo toSkImageInfo(const SimpleImageInfo& sii) { in toSkImageInfo() argument
268 sk_sp<SkSurface> MakeRenderTarget(sk_sp<GrDirectContext> grContext, SimpleImageInfo sii) { in MakeRenderTarget()
298 … select_overload<sk_sp<SkSurface>(sk_sp<GrDirectContext>, SimpleImageInfo)>(&MakeRenderTarget)); in EMSCRIPTEN_BINDINGS()
329 function("_getRasterDirectSurface", optional_override([](const SimpleImageInfo ii, in EMSCRIPTEN_BINDINGS()
428 value_object<SimpleImageInfo>("SkImageInfo") in EMSCRIPTEN_BINDINGS()
429 .field("width", &SimpleImageInfo::width) in EMSCRIPTEN_BINDINGS()
430 .field("height", &SimpleImageInfo::height) in EMSCRIPTEN_BINDINGS()
431 .field("colorType", &SimpleImageInfo::colorType) in EMSCRIPTEN_BINDINGS()
432 .field("alphaType", &SimpleImageInfo::alphaType); in EMSCRIPTEN_BINDINGS()
/external/skqp/experimental/canvaskit/
Dcanvaskit_bindings.cpp130 struct SimpleImageInfo { struct
138 SkImageInfo toSkImageInfo(const SimpleImageInfo& sii) { in toSkImageInfo() argument
514 function("_getRasterDirectSurface", optional_override([](const SimpleImageInfo ii, in EMSCRIPTEN_BINDINGS()
542 function("_MakeImage", optional_override([](SimpleImageInfo ii, in EMSCRIPTEN_BINDINGS()
708 .function("_readPixels", optional_override([](SkCanvas& self, SimpleImageInfo di, in EMSCRIPTEN_BINDINGS()
722 .function("_writePixels", optional_override([](SkCanvas& self, SimpleImageInfo di, in EMSCRIPTEN_BINDINGS()
1058 value_object<SimpleImageInfo>("SkImageInfo") in EMSCRIPTEN_BINDINGS()
1059 .field("width", &SimpleImageInfo::width) in EMSCRIPTEN_BINDINGS()
1060 .field("height", &SimpleImageInfo::height) in EMSCRIPTEN_BINDINGS()
1061 .field("colorType", &SimpleImageInfo::colorType) in EMSCRIPTEN_BINDINGS()
[all …]
/external/skia/modules/canvaskit/
Dcanvaskit_bindings.cpp117 struct SimpleImageInfo { struct
125 SkImageInfo toSkImageInfo(const SimpleImageInfo& sii) { in toSkImageInfo() argument
199 sk_sp<SkSurface> MakeRenderTarget(sk_sp<GrDirectContext> dContext, SimpleImageInfo sii) { in MakeRenderTarget()
726 …derTarget", select_overload<sk_sp<SkSurface>(sk_sp<GrDirectContext>, SimpleImageInfo)>(&MakeRender… in EMSCRIPTEN_BINDINGS()
754 function("_MakeImage", optional_override([](SimpleImageInfo ii, in EMSCRIPTEN_BINDINGS()
1091 ….function("makeSurface", optional_override([](SkCanvas& self, SimpleImageInfo sii)->sk_sp<SkSurfac… in EMSCRIPTEN_BINDINGS()
1098 .function("_readPixels", optional_override([](SkCanvas& self, SimpleImageInfo di, in EMSCRIPTEN_BINDINGS()
1121 .function("_writePixels", optional_override([](SkCanvas& self, SimpleImageInfo di, in EMSCRIPTEN_BINDINGS()
1322 SimpleImageInfo sii, uintptr_t /* uint8_t* */ pPtr, in EMSCRIPTEN_BINDINGS()
1765 .class_function("_makeRasterDirect", optional_override([](const SimpleImageInfo ii, in EMSCRIPTEN_BINDINGS()
[all …]