Searched refs:kLinearInset (Results 1 – 6 of 6) sorted by relevance
/external/skia/src/gpu/ganesh/effects/ |
D | GrTextureEffect.h | 52 inline static constexpr float kLinearInset = 0.5f + kInsetEpsilon; variable
|
/external/skia/src/gpu/ganesh/ops/ |
D | TextureOp.cpp | 151 ltrb += skvx::Vec<4, float>({ GrTextureEffect::kLinearInset, GrTextureEffect::kLinearInset, in normalize_and_inset_subset() 152 -GrTextureEffect::kLinearInset, -GrTextureEffect::kLinearInset}); in normalize_and_inset_subset() 213 if (subsetRect.makeInset(GrTextureEffect::kLinearInset, in safe_to_ignore_subset_rect() 214 GrTextureEffect::kLinearInset) in safe_to_ignore_subset_rect()
|
/external/skia/src/sksl/ |
D | sksl_graphite_frag.sksl | 19 // Matches GrTextureEffect::kLinearInset, to make sure we don't touch an outer 21 const float $kLinearInset = 0.5 + 0.00001; 317 insetClamp = float4(floor(subset.xy) + $kLinearInset, ceil(subset.zw) - $kLinearInset); 398 float2($kLinearInset), s); 416 filterMode, float2($kLinearInset), s); 503 filterModeY, float2($kLinearInset), sY); 513 filterModeY, float2($kLinearInset), sA);
|
/external/skia/src/gpu/ganesh/ |
D | Device_drawTexture.cpp | 189 GrTextureEffect::kLinearInset * (filter == GrSamplerState::Filter::kLinear); in draw_texture()
|
/external/skia/src/sksl/generated/ |
D | sksl_graphite_frag.unoptimized.sksl | 4 " $kMaskFormatA8=0;const float $kLinearInset=.50001;$pure half4 sk_error(){return" 74 "floor(subset.xy)+$kLinearInset,ceil(subset.zw)-$kLinearInset);else insetClamp"
|
/external/skia/src/gpu/graphite/ |
D | KeyHelpers.cpp | 612 const float kLinearInset = 0.5f + 0.00001f; in add_clamp_image_uniform_data() local 620 subsetInsetClamp.inset(kLinearInset, kLinearInset); in add_clamp_image_uniform_data()
|