Lines Matching refs:SkEncodedImageFormat
67 static sk_sp<SkData> encode_data(const SkBitmap& bitmap, SkEncodedImageFormat format) { in encode_data()
82 case SkEncodedImageFormat::kPNG: in encode_data()
85 case SkEncodedImageFormat::kWEBP: in encode_data()
88 case SkEncodedImageFormat::kJPEG: in encode_data()
99 EncodeSRGBGM(SkEncodedImageFormat format) in EncodeSRGBGM()
107 case SkEncodedImageFormat::kPNG: in onShortName()
110 case SkEncodedImageFormat::kWEBP: in onShortName()
113 case SkEncodedImageFormat::kJPEG: in onShortName()
154 SkEncodedImageFormat fEncodedFormat;
159 DEF_GM( return new EncodeSRGBGM(SkEncodedImageFormat::kPNG); )
160 DEF_GM( return new EncodeSRGBGM(SkEncodedImageFormat::kWEBP); )
161 DEF_GM( return new EncodeSRGBGM(SkEncodedImageFormat::kJPEG); )