Searched refs:imgData (Results 1 – 7 of 7) sorted by relevance
/third_party/flutter/skia/modules/canvaskit/canvaskit/ |
D | README.md | 98 let imgData = skcanvas.toDataURL(); 99 // imgData is now a base64 encoded image.
|
/third_party/skia/modules/canvaskit/npm_build/ |
D | README.md | 99 let imgData = skcanvas.toDataURL(); 100 // imgData is now a base64 encoded image.
|
/third_party/flutter/engine/flutter/testing/dart/ |
D | canvas_test.dart | 96 final ByteData imgData = await img.toByteData(); 99 if (getPixel(goldenData, x, y) != getPixel(imgData, x, y)) {
|
/third_party/skia/modules/canvaskit/tests/ |
D | core.spec.js | 92 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/ |
D | canvaskit_bindings.cpp | 810 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/ |
D | canvaskit_bindings.cpp | 594 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/ |
D | 0003-3.2-Beta3-1115.patch | 61693 + 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 …]
|