Home
last modified time | relevance | path

Searched refs:kLinearInset (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/gpu/ganesh/effects/
DGrTextureEffect.h52 inline static constexpr float kLinearInset = 0.5f + kInsetEpsilon; variable
/external/skia/src/gpu/ganesh/ops/
DTextureOp.cpp151 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/
Dsksl_graphite_frag.sksl19 // 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/
DDevice_drawTexture.cpp189 GrTextureEffect::kLinearInset * (filter == GrSamplerState::Filter::kLinear); in draw_texture()
/external/skia/src/sksl/generated/
Dsksl_graphite_frag.unoptimized.sksl4 " $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/
DKeyHelpers.cpp612 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()