Searched refs:img0 (Results 1 – 8 of 8) sorted by relevance
/third_party/skia/gm/ |
D | encode_alpha_jpeg.cpp | 70 auto img0 = encode_pixmap_and_make_image(src, SkJpegEncoder::AlphaOption::kIgnore); in onDraw() local 72 canvas->drawImage(img0, 0.0f, 0.0f); in onDraw() 78 img0 = encode_pixmap_and_make_image(src, SkJpegEncoder::AlphaOption::kIgnore); in onDraw() 80 canvas->drawImage(img0, 100.0f, 0.0f); in onDraw() 87 img0 = encode_pixmap_and_make_image(src, SkJpegEncoder::AlphaOption::kIgnore); in onDraw() 89 canvas->drawImage(img0, 200.0f, 0.0f); in onDraw() 95 img0 = encode_pixmap_and_make_image(src, SkJpegEncoder::AlphaOption::kIgnore); in onDraw() 97 canvas->drawImage(img0, 300.0f, 0.0f); in onDraw()
|
D | cgm.c | 65 sk_image_t* img0 = sk_surface_new_image_snapshot(surf); in sk_test_c_api() local 68 sk_canvas_draw_image(canvas, img0, W + 10, 10, NULL, NULL); in sk_test_c_api() 70 sk_data_t* data = sk_image_encode(img0); in sk_test_c_api() 71 sk_image_unref(img0); in sk_test_c_api()
|
/third_party/skia/docs/examples/ |
D | skbug_5648.cpp | 9 auto img0 = bitmap.asImage(); in draw() local 11 SkDebugf("%u\n%u\n", img0->uniqueID(), img1->uniqueID()); in draw()
|
/third_party/skia/tests/ |
D | CanvasStateTest.cpp | 88 static void compare(skiatest::Reporter* reporter, SkImage* img0, SkImage* img1) { in compare() argument 95 write_image(img0, name.c_str()); in compare() 102 REPORTER_ASSERT(reporter, img0->peekPixels(&pm[0])); in compare()
|
D | TextBlobTest.cpp | 425 sk_sp<SkImage> img0 = render(blob0.get()); in DEF_TEST() local 427 if (img0 && img1) { in DEF_TEST() 428 REPORTER_ASSERT(reporter, ToolUtils::equal_pixels(img0.get(), img1.get())); in DEF_TEST()
|
D | SerializationTest.cpp | 717 sk_sp<SkImage> img0 = render(*pict); in DEF_TEST() local 719 if (img0 && img1) { in DEF_TEST() 720 REPORTER_ASSERT(reporter, ToolUtils::equal_pixels(img0.get(), img1.get())); in DEF_TEST()
|
D | ImageTest.cpp | 1284 auto img0 = bm0.asImage(); in DEF_TEST() local 1285 sk_sp<SkData> data = img0->encodeToData(SkEncodedImageFormat::kPNG, 100); in DEF_TEST()
|
/third_party/mesa3d/src/mesa/main/ |
D | texobj.c | 869 const struct gl_texture_image *img0, *img; in _mesa_cube_level_complete() local 879 img0 = texObj->Image[0][level]; in _mesa_cube_level_complete() 880 if (!img0 || in _mesa_cube_level_complete() 881 img0->Width < 1 || in _mesa_cube_level_complete() 882 img0->Width != img0->Height) in _mesa_cube_level_complete() 889 img->Width != img0->Width || in _mesa_cube_level_complete() 890 img->Height != img0->Height || in _mesa_cube_level_complete() 891 img->TexFormat != img0->TexFormat) in _mesa_cube_level_complete()
|