Searched refs:kBaseSize (Results 1 – 3 of 3) sorted by relevance
98 static constexpr SkISize kBaseSize{256, 256}; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local99 static const size_t kRowBytes = sizeof(uint32_t) * kBaseSize.fWidth; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()101 const SkImageInfo ii = SkImageInfo::MakeN32Premul(kBaseSize); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()103 SkAutoTMalloc<uint32_t> srcPixels(kBaseSize.area()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()104 for (int y = 0; y < kBaseSize.fHeight; ++y) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()105 for (int x = 0; x < kBaseSize.fWidth; ++x) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()106 srcPixels.get()[y*kBaseSize.fWidth+x] = SkPreMultiplyARGB(x, y, x, 0xFF); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()114 SkAutoTMalloc<uint32_t> read(kBaseSize.area()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()140 sk_memset32(read.get(), 0, kBaseSize.fWidth * kBaseSize.fHeight); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()148 for (int y = 0; y < kBaseSize.fHeight && !abort; ++y) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()[all …]
33 void Proposal::set_base_size(const float base_size) { (void)this->AddAttr(kBaseSize, MakeValue(base… in set_base_size()36 auto value_ptr = GetAttr(kBaseSize); in get_base_size()
41 constexpr auto kBaseSize = "base_size"; variable