Home
last modified time | relevance | path

Searched refs:kLinear (Results 1 – 25 of 175) sorted by relevance

1234567

/external/skqp/tests/
DSRGBReadWritePixelsTest.cpp152 kLinear, enumerator
160 case Encoding::kLinear: return SkColorSpace::MakeSRGBLinear(); in encoding_as_color_space()
169 case Encoding::kLinear: return kRGBA_8888_GrPixelConfig; in encoding_as_pixel_config()
178 case Encoding::kLinear: return "linear"; in encoding_as_str()
270 test_write_read(Encoding::kSRGB, Encoding::kSRGB, Encoding::kLinear, error, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
280 test_write_read(Encoding::kSRGB, Encoding::kLinear, Encoding::kSRGB, error, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
283 test_write_read(Encoding::kSRGB, Encoding::kLinear, Encoding::kUntagged, error, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
285 test_write_read(Encoding::kSRGB, Encoding::kLinear, Encoding::kLinear, error, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
291 for (auto writeEncoding : {Encoding::kSRGB, Encoding::kUntagged, Encoding::kLinear}) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
299 test_write_read(Encoding::kUntagged, writeEncoding, Encoding::kLinear, error, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
/external/skia/tests/
DSRGBReadWritePixelsTest.cpp155 kLinear, enumerator
163 case Encoding::kLinear: return SkColorSpace::MakeSRGBLinear(); in encoding_as_color_space()
172 case Encoding::kLinear: return "linear"; in encoding_as_str()
256 test_write_read(Encoding::kSRGB, Encoding::kSRGB, Encoding::kLinear, error, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
266 test_write_read(Encoding::kSRGB, Encoding::kLinear, Encoding::kSRGB, error, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
269 test_write_read(Encoding::kSRGB, Encoding::kLinear, Encoding::kUntagged, error, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
271 test_write_read(Encoding::kSRGB, Encoding::kLinear, Encoding::kLinear, error, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
277 for (auto writeEncoding : {Encoding::kSRGB, Encoding::kUntagged, Encoding::kLinear}) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
286 test_write_read(Encoding::kUntagged, writeEncoding, Encoding::kLinear, error, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
294 test_write_read(Encoding::kLinear, Encoding::kSRGB, Encoding::kSRGB, error, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
DGrTextureMipMapInvalidationTest.cpp57 SkSamplingOptions sampling(SkFilterMode::kLinear, SkMipmapMode::kLinear); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
110 SkSamplingOptions(SkFilterMode::kLinear, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
111 SkMipmapMode::kLinear)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DSamplingTest.cpp40 for (auto m : {SkMipmapMode::kNone, SkMipmapMode::kNearest, SkMipmapMode::kLinear}) { in DEF_TEST()
41 for (auto f : {SkFilterMode::kNearest, SkFilterMode::kLinear}) { in DEF_TEST()
/external/skia/bench/
DFilteringBench.cpp57 DEF_BENCH( return new FilteringBench(SkFilterMode::kLinear, SkMipmapMode::kLinear); )
58 DEF_BENCH( return new FilteringBench(SkFilterMode::kLinear, SkMipmapMode::kNearest); )
59 DEF_BENCH( return new FilteringBench(SkFilterMode::kLinear, SkMipmapMode::kNone); )
61 DEF_BENCH( return new FilteringBench(SkFilterMode::kNearest, SkMipmapMode::kLinear); )
DGrMipmapBench.cpp50 SkSamplingOptions sampling(SkFilterMode::kLinear, in onDraw()
51 SkMipmapMode::kLinear); in onDraw()
/external/skia/gm/
Dmipmap.cpp50 SkSamplingOptions(SkFilterMode::kLinear),
51 SkSamplingOptions(SkFilterMode::kLinear, SkMipmapMode::kLinear),
82 SkSamplingOptions sampling(SkFilterMode::kLinear, in show_mips()
83 SkMipmapMode::kLinear); in show_mips()
131 SkSamplingOptions sampling(SkFilterMode::kLinear, in show_mips_only()
132 SkMipmapMode::kLinear); in show_mips_only()
Dtexelsubset.cpp53 case Filter::kLinear: in onShortName()
63 case MipmapMode::kLinear: in onShortName()
223 DEF_GM(return new TexelSubset(Filter::kLinear , MipmapMode::kNone , false);)
224 DEF_GM(return new TexelSubset(Filter::kLinear , MipmapMode::kNone , true );)
227 DEF_GM(return new TexelSubset(Filter::kLinear , MipmapMode::kNearest, false);)
228 DEF_GM(return new TexelSubset(Filter::kNearest, MipmapMode::kLinear , false);)
229 DEF_GM(return new TexelSubset(Filter::kLinear , MipmapMode::kLinear , false);)
Dimagesource2.cpp100 DEF_GM(return new ImageSourceGM("low", SkSamplingOptions(SkFilterMode::kLinear));)
101 DEF_GM(return new ImageSourceGM("med", SkSamplingOptions(SkFilterMode::kLinear,
102 SkMipmapMode::kLinear));)
Dfilterindiabox.cpp41 draw_cell(canvas, bm, mat, 1 * dx, SkSamplingOptions(SkFilterMode::kLinear)); in draw_row()
42 draw_cell(canvas, bm, mat, 2 * dx, SkSamplingOptions(SkFilterMode::kLinear, in draw_row()
43 SkMipmapMode::kLinear)); in draw_row()
Dperspimages.cpp83 SkSamplingOptions(SkFilterMode::kLinear), in onDraw()
84 SkSamplingOptions(SkFilterMode::kLinear, SkMipmapMode::kLinear), in onDraw()
Dskbug_8664.cpp29 SkSamplingOptions sampling(SkFilterMode::kLinear,
30 SkMipmapMode::kLinear);
Dresizeimagefilter.cpp78 SkSamplingOptions(SkFilterMode::kLinear), in onDraw()
79 SkSamplingOptions(SkFilterMode::kLinear, SkMipmapMode::kLinear), in onDraw()
Dcrosscontextimage.cpp64 SkSamplingOptions(SkFilterMode::kLinear,
65 SkMipmapMode::kLinear));
Dimagefilterstransformed.cpp206 SkSamplingOptions(SkFilterMode::kLinear), nullptr) in onDraw()
276 filter = SkImageFilters::MatrixTransform(matrix, SkSamplingOptions(SkFilterMode::kLinear), in makeDirectFilter()
287 matrix, SkSamplingOptions(SkFilterMode::kLinear), nullptr); in makeEarlyComposeFilter()
297 filter = SkImageFilters::MatrixTransform(matrix, SkSamplingOptions(SkFilterMode::kLinear), in makeLateComposeFilter()
309 matrix, SkSamplingOptions(SkFilterMode::kLinear), nullptr); in makeFullComposeFilter()
Dshowmiplevels.cpp59 for (auto mm : {SkMipmapMode::kNone, SkMipmapMode::kNearest, SkMipmapMode::kLinear}) { in onDraw()
60 for (auto fm : {SkFilterMode::kNearest, SkFilterMode::kLinear}) { in onDraw()
/external/skia/include/core/
DSkSamplingOptions.h16 kLinear, // interporate between 2x2 sample points (bilinear interpolation) enumerator
18 kLast = kLinear,
24 kLinear, // interpolate between the two nearest levels enumerator
26 kLast = kLinear,
/external/skia/docs/examples/
DImage_scalePixels.cpp18 SkSamplingOptions(SkFilterMode::kLinear), in draw()
19 SkSamplingOptions(SkFilterMode::kLinear, SkMipmapMode::kLinear), in draw()
Dpurplestamp.cpp45 SkSamplingOptions sampling(SkFilterMode::kLinear, SkMipmapMode::kLinear); in draw()
/external/skia/modules/skottie/src/effects/
DGradientEffect.cpp59 kLinear, enumerator
74 fGradient = new_type == InstanceType::kLinear in onSync()
88 ? InstanceType::kLinear in onSync()
97 if (instance_type == InstanceType::kLinear) { in onSync()
/external/deqp-deps/amber/src/vulkan/
Dsampler.cc62 sampler_info.magFilter = sampler->GetMagFilter() == FilterType::kLinear in CreateSampler()
65 sampler_info.minFilter = sampler->GetMinFilter() == FilterType::kLinear in CreateSampler()
68 sampler_info.mipmapMode = sampler->GetMipmapMode() == FilterType::kLinear in CreateSampler()
/external/skia/modules/skottie/src/layers/shapelayer/
DGradient.cpp34 const auto type = (ParseDefault<int>(jgrad["t"], 1) == 1) ? Type::kLinear in Make()
36 auto gradient_node = (type == Type::kLinear) in Make()
49 enum class Type { kLinear, kRadial }; enumerator
70 case Type::kLinear: { in onSync()
/external/skqp/src/core/
DSkColorSpace.cpp58 tf = &SkNamedTransferFn::kLinear.g; in MakeRGB()
79 static SkColorSpace* cs = SkColorSpaceSingletonFactory::Make(SkNamedTransferFn::kLinear, in sk_srgb_linear_singleton()
166 return memcmp(fTransferFn, &SkNamedTransferFn::kLinear.g, 7*sizeof(float)) == 0; in gammaIsLinear()
175 return SkColorSpace::MakeRGB(SkNamedTransferFn::kLinear, gamut); in makeLinearGamma()
356 return make_named_tf(SkNamedTransferFn::kLinear); in Deserialize()
/external/skia/src/core/
DSkColorSpace.cpp58 tf = &SkNamedTransferFn::kLinear; in MakeRGB()
79 static SkColorSpace* cs = SkColorSpaceSingletonFactory::Make(SkNamedTransferFn::kLinear, in sk_srgb_linear_singleton()
155 return memcmp(&fTransferFn, &SkNamedTransferFn::kLinear, 7*sizeof(float)) == 0; in gammaIsLinear()
162 return SkColorSpace::MakeRGB(SkNamedTransferFn::kLinear, fToXYZD50); in makeLinearGamma()
332 return make_named_tf(SkNamedTransferFn::kLinear); in Deserialize()
/external/skia/src/gpu/ops/
DGrAtlasTextOp.cpp243 auto filter = fNeedsGlyphTransform ? GrSamplerState::Filter::kLinear in onPrepareDraws()
370 views, numActiveViews, GrSamplerState::Filter::kLinear); in createDrawForGeneratedGlyphs()
373 views, numActiveViews, GrSamplerState::Filter::kLinear); in createDrawForGeneratedGlyphs()
376 auto filter = fNeedsGlyphTransform ? GrSamplerState::Filter::kLinear in createDrawForGeneratedGlyphs()
465 GrSamplerState::Filter::kLinear, widthAdjust, in setupDfProcessor()
477 GrSamplerState::Filter::kLinear, correction, in setupDfProcessor()
481 GrSamplerState::Filter::kLinear, fDFGPFlags, in setupDfProcessor()

1234567