Home
last modified time | relevance | path

Searched refs:kProfileTextureWidth (Results 1 - 1 of 1) sorted by relevance

/third_party/skia/src/core/
H A DSkBlurMF.cpp794 static constexpr int kProfileTextureWidth = 512; in create_profile_effect() local
795 // This would be kProfileTextureWidth/textureRadius if it weren't for the fact that we do in create_profile_effect()
798 SkMatrix texM = SkMatrix::Scale(kProfileTextureWidth, 1.f); in create_profile_effect()
814 if (!bm.tryAllocPixels(SkImageInfo::MakeA8(kProfileTextureWidth, 1))) { in create_profile_effect()
819 create_half_plane_profile(bm.getAddr8(0, 0), kProfileTextureWidth); in create_profile_effect()
822 SkScalar scale = kProfileTextureWidth / *textureRadius; in create_profile_effect()
824 bm.getAddr8(0, 0), sigma * scale, circleR * scale, kProfileTextureWidth); in create_profile_effect()

Completed in 3 milliseconds