/third_party/skia/gm/ |
D | bigtileimagefilter.cpp | 59 fRedImage = create_circle_texture(kBitmapSize, SK_ColorRED); in onOnceBeforeDraw() 60 fGreenImage = create_circle_texture(kBitmapSize, SK_ColorGREEN); in onOnceBeforeDraw() 73 SkRect::MakeIWH(kBitmapSize, kBitmapSize), SkRect::MakeIWH(kWidth, kHeight), in onDraw() 85 const SkRect bound2 = SkRect::MakeIWH(kBitmapSize, kBitmapSize); in onDraw() 88 SkRect::MakeIWH(kBitmapSize, kBitmapSize), in onDraw() 89 SkRect::MakeIWH(kBitmapSize, kBitmapSize), in onDraw() 99 SkIntToScalar(kBitmapSize), in onDraw() 100 SkIntToScalar(kBitmapSize)); in onDraw() 110 inline static constexpr int kBitmapSize = 64; member in skiagm::BigTileImageFilterGM
|
D | androidblendmodes.cpp | 40 return SkISize::Make(kNumCols * kBitmapSize, kNumRows * kBitmapSize); in onISize() 44 SkImageInfo ii = SkImageInfo::MakeN32Premul(kBitmapSize, kBitmapSize); in onOnceBeforeDraw() 105 xOffset + kBitmapSize/2.0f, in onDraw() 106 yOffset + kBitmapSize, in onDraw() 118 static const int kBitmapSize = 256; member in skiagm::AndroidBlendModesGM
|
/third_party/flutter/skia/gm/ |
D | bigtileimagefilter.cpp | 59 fRedImage = create_circle_texture(kBitmapSize, SK_ColorRED); in onOnceBeforeDraw() 60 fGreenImage = create_circle_texture(kBitmapSize, SK_ColorGREEN); in onOnceBeforeDraw() 73 SkRect::MakeIWH(kBitmapSize, kBitmapSize), SkRect::MakeIWH(kWidth, kHeight), in onDraw() 85 const SkRect bound2 = SkRect::MakeIWH(kBitmapSize, kBitmapSize); in onDraw() 88 SkRect::MakeIWH(kBitmapSize, kBitmapSize), in onDraw() 89 SkRect::MakeIWH(kBitmapSize, kBitmapSize), in onDraw() 99 SkIntToScalar(kBitmapSize), in onDraw() 100 SkIntToScalar(kBitmapSize)); in onDraw() 110 static constexpr int kBitmapSize = 64; member in skiagm::BigTileImageFilterGM
|
D | androidblendmodes.cpp | 40 return SkISize::Make(kNumCols * kBitmapSize, kNumRows * kBitmapSize); in onISize() 44 SkImageInfo ii = SkImageInfo::MakeN32Premul(kBitmapSize, kBitmapSize); in onOnceBeforeDraw() 105 xOffset + kBitmapSize/2.0f, in onDraw() 106 yOffset + kBitmapSize, in onDraw() 118 static const int kBitmapSize = 256; member in skiagm::AndroidBlendModesGM
|
/third_party/flutter/skia/tools/ |
D | chrome_fuzz.cpp | 13 static const int kBitmapSize = 24; variable 46 0, 0, SkIntToScalar(kBitmapSize), SkIntToScalar(kBitmapSize))); in run_test_case() 73 bitmap.allocN32Pixels(kBitmapSize, kBitmapSize); in main()
|
/third_party/skia/tools/ |
D | chrome_fuzz.cpp | 13 static const int kBitmapSize = 24; variable 46 0, 0, SkIntToScalar(kBitmapSize), SkIntToScalar(kBitmapSize))); in run_test_case() 73 bitmap.allocN32Pixels(kBitmapSize, kBitmapSize); in main()
|
/third_party/flutter/skia/tests/ |
D | SerializationTest.cpp | 35 static const int kBitmapSize = 256; variable 350 SkIRect canvasRect = SkIRect::MakeWH(kBitmapSize, kBitmapSize); in serialize_and_compare_typeface() 400 bitmap->allocN32Pixels(kBitmapSize, kBitmapSize); in setup_bitmap_for_canvas() 412 const int i = kBitmapSize / 8; in make_checkerboard_bitmap() 414 for (int y = 0; y < kBitmapSize; y += i) { in make_checkerboard_bitmap() 415 for (int x = 0; x < kBitmapSize; x += i) { in make_checkerboard_bitmap() 440 …canvas->drawCircle(SkIntToScalar(kBitmapSize/2), SkIntToScalar(kBitmapSize/2), SkIntToScalar(kBitm… in draw_something() 444 font.setSize(kBitmapSize/3); in draw_something() 445 …canvas->drawString("Picture", SkIntToScalar(kBitmapSize/2), SkIntToScalar(kBitmapSize/4), font, pa… in draw_something() 551 SkImageInfo info = SkImageInfo::MakeN32Premul(kBitmapSize, kBitmapSize); in DEF_TEST() [all …]
|
D | ImageFilterTest.cpp | 33 static const int kBitmapSize = 4; variable 276 auto surface(SkSurface::MakeRasterN32Premul(kBitmapSize, kBitmapSize)); in make_small_image() 283 const int kRectSize = kBitmapSize / 4; in make_small_image() 284 static_assert(kBitmapSize % 4 == 0, "bitmap size not multiple of 4"); in make_small_image() 286 for (int y = 0; y < kBitmapSize; y += kRectSize) { in make_small_image() 287 for (int x = 0; x < kBitmapSize; x += kRectSize) { in make_small_image() 428 result.allocN32Pixels(kBitmapSize, kBitmapSize); in DEF_TEST() 435 SkRect rect = SkRect::Make(SkIRect::MakeWH(kBitmapSize, kBitmapSize)); in DEF_TEST() 446 result.allocN32Pixels(kBitmapSize, kBitmapSize); in DEF_TEST() 464 SkRect r = SkRect::MakeIWH(kBitmapSize, kBitmapSize); in DEF_TEST()
|
/third_party/skia/tests/ |
D | SerializationTest.cpp | 34 static const int kBitmapSize = 256; variable 378 SkIRect canvasRect = SkIRect::MakeWH(kBitmapSize, kBitmapSize); in serialize_and_compare_typeface() 483 bitmap->allocN32Pixels(kBitmapSize, kBitmapSize); in setup_bitmap_for_canvas() 496 const int i = kBitmapSize / 8; in make_checkerboard_image() 498 for (int y = 0; y < kBitmapSize; y += i) { in make_checkerboard_image() 499 for (int x = 0; x < kBitmapSize; x += i) { in make_checkerboard_image() 521 …canvas->drawCircle(SkIntToScalar(kBitmapSize/2), SkIntToScalar(kBitmapSize/2), SkIntToScalar(kBitm… in draw_something() 525 font.setSize(kBitmapSize/3); in draw_something() 526 …canvas->drawString("Picture", SkIntToScalar(kBitmapSize/2), SkIntToScalar(kBitmapSize/4), font, pa… in draw_something() 679 SkImageInfo info = SkImageInfo::MakeN32Premul(kBitmapSize, kBitmapSize); in DEF_TEST() [all …]
|
D | ImageFilterTest.cpp | 33 static const int kBitmapSize = 4; variable 276 auto surface(SkSurface::MakeRasterN32Premul(kBitmapSize, kBitmapSize)); in make_small_image() 283 const int kRectSize = kBitmapSize / 4; in make_small_image() 284 static_assert(kBitmapSize % 4 == 0, "bitmap size not multiple of 4"); in make_small_image() 286 for (int y = 0; y < kBitmapSize; y += kRectSize) { in make_small_image() 287 for (int x = 0; x < kBitmapSize; x += kRectSize) { in make_small_image() 432 result.allocN32Pixels(kBitmapSize, kBitmapSize); in DEF_TEST() 439 SkRect rect = SkRect::Make(SkIRect::MakeWH(kBitmapSize, kBitmapSize)); in DEF_TEST() 450 result.allocN32Pixels(kBitmapSize, kBitmapSize); in DEF_TEST() 468 SkRect r = SkRect::MakeIWH(kBitmapSize, kBitmapSize); in DEF_TEST()
|