Home
last modified time | relevance | path

Searched refs:pngData (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/tests/
DTestUtils.cpp120 sk_sp<SkData> pngData = wStream.detachAsData(); in BipmapToBase64DataURI() local
121 size_t len = SkBase64::Encode(pngData->data(), pngData->size(), nullptr); in BipmapToBase64DataURI()
132 SkBase64::Encode(pngData->data(), pngData->size(), dst->writable_str()); in BipmapToBase64DataURI()
/third_party/skia/gm/
Dencode.cpp40 auto pngData = SkEncodeBitmap(orig, SkEncodedImageFormat::kPNG, 100); in onDraw() local
43 sk_sp<SkImage> pngImage = SkImage::MakeFromEncoded(pngData); in onDraw()
/third_party/skia/experimental/wasm-skp-debugger/
Ddebugger_bindings.cpp262 sk_sp<SkData> pngData = fImages[index]->encodeToData(); in getImageResource() local
263 size_t len = SkBase64::Encode(pngData->data(), pngData->size(), nullptr); in getImageResource()
266 SkBase64::Encode(pngData->data(), pngData->size(), dst.writable_str()); in getImageResource()
/third_party/skia/src/svg/
DSkSVGDevice.cpp933 sk_sp<SkData> pngData = encode(bm); in drawBitmapCommon() local
934 if (!pngData) { in drawBitmapCommon()
938 size_t b64Size = SkBase64::Encode(pngData->data(), pngData->size(), nullptr); in drawBitmapCommon()
940 SkBase64::Encode(pngData->data(), pngData->size(), b64Data.get()); in drawBitmapCommon()
/third_party/skia/modules/canvaskit/
Dgm_bindings.cpp191 Uint8Array pngData = emscripten::val( in RunGM() local
196 result.set("png", pngData); in RunGM()