Home
last modified time | relevance | path

Searched refs:imgData (Results 1 – 7 of 7) sorted by relevance

/third_party/flutter/skia/modules/canvaskit/canvaskit/
DREADME.md98 let imgData = skcanvas.toDataURL();
99 // imgData is now a base64 encoded image.
/third_party/skia/modules/canvaskit/npm_build/
DREADME.md99 let imgData = skcanvas.toDataURL();
100 // imgData is now a base64 encoded image.
/third_party/flutter/engine/flutter/testing/dart/
Dcanvas_test.dart96 final ByteData imgData = await img.toByteData();
99 if (getPixel(goldenData, x, y) != getPixel(imgData, x, y)) {
/third_party/skia/modules/canvaskit/tests/
Dcore.spec.js92 const imgData = values[0];
93 expect(imgData).toBeTruthy();
95 let img = CanvasKit.MakeImageFromEncoded(imgData);
135 const imgData = values[0]; constant
136 expect(imgData).toBeTruthy();
138 let img = CanvasKit.MakeImageFromEncoded(imgData);
/third_party/skia/modules/canvaskit/
Dcanvaskit_bindings.cpp810 uint8_t* imgData = reinterpret_cast<uint8_t*>(iptr); in EMSCRIPTEN_BINDINGS() local
811 auto bytes = SkData::MakeFromMalloc(imgData, length); in EMSCRIPTEN_BINDINGS()
821 uint8_t* imgData = reinterpret_cast<uint8_t*>(iptr); in EMSCRIPTEN_BINDINGS() local
822 sk_sp<SkData> bytes = SkData::MakeFromMalloc(imgData, length); in EMSCRIPTEN_BINDINGS()
/third_party/flutter/skia/modules/canvaskit/
Dcanvaskit_bindings.cpp594 uint8_t* imgData = reinterpret_cast<uint8_t*>(iptr); in EMSCRIPTEN_BINDINGS() local
595 sk_sp<SkData> bytes = SkData::MakeFromMalloc(imgData, length); in EMSCRIPTEN_BINDINGS()
/third_party/chromium/patch/
D0003-3.2-Beta3-1115.patch61693 + std::shared_ptr<ClipBoardImageData> imgData =
61698 + if (imgRecord->SetImgData(imgData)) {
250114 + SkAlphaType AlphaTypeToSkAlphaType(const ClipBoardImageData& imgData) const {
250115 + switch (imgData.alphaType) {
250130 + const ClipBoardImageData& imgData) const {
250131 + switch (imgData.colorType) {
250142 + const ClipBoardImageData& imgData) const {
250143 + SkColorType colorType = PixelFormatToSkColorType(imgData);
250144 + SkAlphaType alphaType = AlphaTypeToSkAlphaType(imgData);
250146 + return SkImageInfo::Make(imgData.width, imgData.height, colorType,
[all …]