Lines Matching defs:mode
480 static void push_codec_src(Path path, CodecSrc::Mode mode, CodecSrc::DstColorType dstColorType,
483 const bool simple = CodecSrc::kCodec_Mode == mode || CodecSrc::kAnimated_Mode == mode;
490 switch (mode) {
540 CodecSrc* src = new CodecSrc(path, mode, dstColorType, dstAlphaType, scale);
579 static void push_image_gen_src(Path path, ImageGenSrc::Mode mode, SkAlphaType alphaType, bool isGpu)
582 switch (mode) {
609 ImageGenSrc* src = new ImageGenSrc(path, mode, alphaType, isGpu);
614 static void push_brd_src(Path path, CodecSrc::DstColorType dstColorType, BRDSrc::Mode mode,
617 switch (mode) {
643 BRDSrc* src = new BRDSrc(path, mode, dstColorType, sampleSize);
667 for (BRDSrc::Mode mode : modes) {
668 push_brd_src(path, CodecSrc::kGetFromCanvas_DstColorType, mode, sampleSize);
727 for (CodecSrc::Mode mode : nativeModes) {
732 if (CodecSrc::kCroppedScanline_Mode == mode &&
737 push_codec_src(path, mode, colorType, alphaType, 1.0f);
746 push_codec_src(path, mode, colorType, alphaType, scale);