Searched refs:kSmallerSize (Results 1 - 3 of 3) sorted by relevance
/third_party/skia/tests/ |
H A D | SpecialImageTest.cpp | 30 static const int kSmallerSize = 10; variable 32 static const int kFullSize = kSmallerSize + 2 * kPad; 50 SkIntToScalar(kSmallerSize), SkIntToScalar(kSmallerSize)), in create_bm() 63 REPORTER_ASSERT(reporter, kSmallerSize == subset.width()); in test_image() 64 REPORTER_ASSERT(reporter, kSmallerSize == subset.height()); in test_image() 82 REPORTER_ASSERT(reporter, kSmallerSize == bitmap.width()); in test_image() 83 REPORTER_ASSERT(reporter, kSmallerSize == bitmap.height()); in test_image() 106 REPORTER_ASSERT(reporter, SK_ColorRED == bm.getColor(kSmallerSize+kPad-1, in test_image() 107 kSmallerSize in test_image() [all...] |
H A D | SpecialSurfaceTest.cpp | 25 // Both 'kSmallerSize' and 'kFullSize' need to be a non-power-of-2 to exercise 27 static const int kSmallerSize = 10; variable 29 static const int kFullSize = kSmallerSize + 2 * kPad; 39 REPORTER_ASSERT(reporter, kSmallerSize == surfSubset.width()); in test_surface() 40 REPORTER_ASSERT(reporter, kSmallerSize == surfSubset.height()); in test_surface() 59 SkImageInfo info = SkImageInfo::MakeN32(kSmallerSize, kSmallerSize, kOpaque_SkAlphaType); in DEF_TEST() 70 const SkIRect subset = SkIRect::MakeXYWH(kPad, kPad, kSmallerSize, kSmallerSize); in DEF_TEST() 87 SkImageInfo ii = SkImageInfo::Make({ kSmallerSize, kSmallerSiz in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all...] |
H A D | ImageFilterCacheTest.cpp | 19 static const int kSmallerSize = 10; variable 21 static const int kFullSize = kSmallerSize + 2 * kPad; 159 const SkIRect& subset = SkIRect::MakeXYWH(kPad, kPad, kSmallerSize, kSmallerSize); in DEF_TEST() 180 const SkIRect& subset = SkIRect::MakeXYWH(kPad, kPad, kSmallerSize, kSmallerSize); in test_image_backed() 271 const SkIRect& subset = SkIRect::MakeXYWH(kPad, kPad, kSmallerSize, kSmallerSize); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
Completed in 2 milliseconds