Home | History | Annotate | Download | only in dm

Lines Matching refs:Mode

400 static void push_codec_src(Path path, CodecSrc::Mode mode, CodecSrc::DstColorType dstColorType,
403 const bool simple = CodecSrc::kCodec_Mode == mode || CodecSrc::kAnimated_Mode == mode;
410 switch (mode) {
460 CodecSrc* src = new CodecSrc(path, mode, dstColorType, dstAlphaType, scale);
499 static void push_image_gen_src(Path path, ImageGenSrc::Mode mode, SkAlphaType alphaType, bool isGpu)
502 switch (mode) {
529 ImageGenSrc* src = new ImageGenSrc(path, mode, alphaType, isGpu);
533 static void push_brd_src(Path path, CodecSrc::DstColorType dstColorType, BRDSrc::Modemode,
536 switch (mode) {
562 BRDSrc* src = new BRDSrc(path, mode, dstColorType, sampleSize);
568 // Only run grayscale to one sampleSize and Mode. Though interesting
571 // Arbitrarily choose Mode and sampleSize.
583 const BRDSrc::Mode modes[] = { BRDSrc::kFullImage_Mode, BRDSrc::kDivisor_Mode, };
586 for (BRDSrc::Mode mode : modes) {
587 push_brd_src(path, CodecSrc::kGetFromCanvas_DstColorType, mode, sampleSize);
607 SkTArray<CodecSrc::Mode> nativeModes;
645 for (CodecSrc::Mode mode : nativeModes) {
650 if (CodecSrc::kCroppedScanline_Mode == mode &&
655 push_codec_src(path, mode, colorType, alphaType, 1.0f);
664 push_codec_src(path, mode, colorType, alphaType, scale);
818 // Should we test this Dst in F16 mode (even though the Dst gamma is 2.2 instead of sRGB)?