Lines Matching refs:SkImageInfo
181 struct SK_API SkImageInfo { struct
183 SkImageInfo() in SkImageInfo() function
191 static SkImageInfo Make(int width, int height, SkColorType ct, SkAlphaType at,
193 return SkImageInfo(width, height, ct, at, std::move(cs));
199 static SkImageInfo MakeN32(int width, int height, SkAlphaType at,
207 static SkImageInfo MakeS32(int width, int height, SkAlphaType at);
212 static SkImageInfo MakeN32Premul(int width, int height, sk_sp<SkColorSpace> cs = nullptr) {
216 static SkImageInfo MakeN32Premul(const SkISize& size) { in MakeN32Premul() argument
220 static SkImageInfo MakeA8(int width, int height) { in MakeA8() argument
224 static SkImageInfo MakeUnknown(int width, int height) { in MakeUnknown() argument
228 static SkImageInfo MakeUnknown() { in MakeUnknown() argument
256 SkImageInfo makeWH(int newWidth, int newHeight) const { in makeWH() argument
260 SkImageInfo makeAlphaType(SkAlphaType newAlphaType) const { in makeAlphaType() argument
264 SkImageInfo makeColorType(SkColorType newColorType) const { in makeColorType() argument
268 SkImageInfo makeColorSpace(sk_sp<SkColorSpace> cs) const { in makeColorSpace() argument
294 bool operator==(const SkImageInfo& other) const { argument
299 bool operator!=(const SkImageInfo& other) const {
343 SkImageInfo(int width, int height, SkColorType ct, SkAlphaType at, sk_sp<SkColorSpace> cs) in SkImageInfo() argument