/external/skqp/tests/ |
D | SRGBReadWritePixelsTest.cpp | 152 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/ |
D | SRGBReadWritePixelsTest.cpp | 155 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 …]
|
D | GrTextureMipMapInvalidationTest.cpp | 57 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()
|
D | SamplingTest.cpp | 40 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/ |
D | FilteringBench.cpp | 57 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); )
|
D | GrMipmapBench.cpp | 50 SkSamplingOptions sampling(SkFilterMode::kLinear, in onDraw() 51 SkMipmapMode::kLinear); in onDraw()
|
/external/skia/gm/ |
D | mipmap.cpp | 50 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()
|
D | texelsubset.cpp | 53 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);)
|
D | imagesource2.cpp | 100 DEF_GM(return new ImageSourceGM("low", SkSamplingOptions(SkFilterMode::kLinear));) 101 DEF_GM(return new ImageSourceGM("med", SkSamplingOptions(SkFilterMode::kLinear, 102 SkMipmapMode::kLinear));)
|
D | filterindiabox.cpp | 41 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()
|
D | perspimages.cpp | 83 SkSamplingOptions(SkFilterMode::kLinear), in onDraw() 84 SkSamplingOptions(SkFilterMode::kLinear, SkMipmapMode::kLinear), in onDraw()
|
D | skbug_8664.cpp | 29 SkSamplingOptions sampling(SkFilterMode::kLinear, 30 SkMipmapMode::kLinear);
|
D | resizeimagefilter.cpp | 78 SkSamplingOptions(SkFilterMode::kLinear), in onDraw() 79 SkSamplingOptions(SkFilterMode::kLinear, SkMipmapMode::kLinear), in onDraw()
|
D | crosscontextimage.cpp | 64 SkSamplingOptions(SkFilterMode::kLinear, 65 SkMipmapMode::kLinear));
|
D | imagefilterstransformed.cpp | 206 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()
|
D | showmiplevels.cpp | 59 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/ |
D | SkSamplingOptions.h | 16 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/ |
D | Image_scalePixels.cpp | 18 SkSamplingOptions(SkFilterMode::kLinear), in draw() 19 SkSamplingOptions(SkFilterMode::kLinear, SkMipmapMode::kLinear), in draw()
|
D | purplestamp.cpp | 45 SkSamplingOptions sampling(SkFilterMode::kLinear, SkMipmapMode::kLinear); in draw()
|
/external/skia/modules/skottie/src/effects/ |
D | GradientEffect.cpp | 59 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/ |
D | sampler.cc | 62 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/ |
D | Gradient.cpp | 34 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/ |
D | SkColorSpace.cpp | 58 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/ |
D | SkColorSpace.cpp | 58 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/ |
D | GrAtlasTextOp.cpp | 243 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()
|