Home
last modified time | relevance | path

Searched refs:kBitmapSize (Results 1 – 10 of 10) sorted by relevance

/third_party/flutter/skia/gm/
Dbigtileimagefilter.cpp59 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
Dandroidblendmodes.cpp40 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/skia/gm/
Dbigtileimagefilter.cpp59 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
Dandroidblendmodes.cpp40 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/
Dchrome_fuzz.cpp13 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/
Dchrome_fuzz.cpp13 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/
DSerializationTest.cpp35 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 …]
DImageFilterTest.cpp33 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/
DSerializationTest.cpp34 static const int kBitmapSize = 256; variable
378 SkIRect canvasRect = SkIRect::MakeWH(kBitmapSize, kBitmapSize); in serialize_and_compare_typeface()
488 bitmap->allocN32Pixels(kBitmapSize, kBitmapSize); in setup_bitmap_for_canvas()
501 const int i = kBitmapSize / 8; in make_checkerboard_image()
503 for (int y = 0; y < kBitmapSize; y += i) { in make_checkerboard_image()
504 for (int x = 0; x < kBitmapSize; x += i) { in make_checkerboard_image()
526 …canvas->drawCircle(SkIntToScalar(kBitmapSize/2), SkIntToScalar(kBitmapSize/2), SkIntToScalar(kBitm… in draw_something()
530 font.setSize(kBitmapSize/3); in draw_something()
531 …canvas->drawString("Picture", SkIntToScalar(kBitmapSize/2), SkIntToScalar(kBitmapSize/4), font, pa… in draw_something()
684 SkImageInfo info = SkImageInfo::MakeN32Premul(kBitmapSize, kBitmapSize); in DEF_TEST()
[all …]
DImageFilterTest.cpp33 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()