Home
last modified time | relevance | path

Searched refs:SkAlphaType (Results 1 – 25 of 282) sorted by relevance

12345678910>>...12

/third_party/skia/include/core/
DSkImageInfo.h37 enum SkAlphaType : int { enum
52 static inline bool SkAlphaTypeIsOpaque(SkAlphaType at) { in SkAlphaTypeIsOpaque()
134 SK_API bool SkColorTypeValidateAlphaType(SkColorType colorType, SkAlphaType alphaType,
135 SkAlphaType* canonical = nullptr);
197 SkColorInfo(SkColorType ct, SkAlphaType at, sk_sp<SkColorSpace> cs) in SkColorInfo()
209 SkAlphaType alphaType() const { return fAlphaType; } in alphaType()
233 SkColorInfo makeAlphaType(SkAlphaType newAlphaType) const { in makeAlphaType()
272 SkAlphaType fAlphaType = kUnknown_SkAlphaType;
309 static SkImageInfo Make(int width, int height, SkColorType ct, SkAlphaType at,
313 static SkImageInfo Make(SkISize dimensions, SkColorType ct, SkAlphaType at,
[all …]
/third_party/flutter/skia/include/core/
DSkImageInfo.h37 enum SkAlphaType { enum
56 static inline bool SkAlphaTypeIsOpaque(SkAlphaType at) { in SkAlphaTypeIsOpaque()
153 SK_API bool SkColorTypeValidateAlphaType(SkColorType colorType, SkAlphaType alphaType,
154 SkAlphaType* canonical = nullptr);
225 static SkImageInfo Make(int width, int height, SkColorType ct, SkAlphaType at,
248 static SkImageInfo MakeN32(int width, int height, SkAlphaType at,
266 static SkImageInfo MakeS32(int width, int height, SkAlphaType at);
367 SkAlphaType alphaType() const { return fAlphaType; } in alphaType()
450 SkImageInfo makeAlphaType(SkAlphaType newAlphaType) const { in makeAlphaType()
609 SkAlphaType fAlphaType;
[all …]
/third_party/flutter/skia/src/gpu/effects/
DGrBicubicEffect.h42 SkAlphaType alphaType() const { return fAlphaType; } in alphaType()
50 SkAlphaType alphaType) { in Make()
64 SkAlphaType alphaType) { in Make()
82 SkAlphaType alphaType,
98 SkAlphaType alphaType) { in Make()
118 GrTextureDomain::Mode modeY, Direction direction, SkAlphaType alphaType);
132 SkAlphaType fAlphaType;
/third_party/skia/src/gpu/effects/
DGrTextureEffect.h24 SkAlphaType,
33 static std::unique_ptr<GrFragmentProcessor> Make(GrSurfaceProxyView, SkAlphaType,
51 SkAlphaType,
66 SkAlphaType,
86 SkAlphaType,
165 inline GrTextureEffect(GrSurfaceProxyView, SkAlphaType, const Sampling&);
DGrBicubicEffect.h44 SkAlphaType,
53 SkAlphaType,
66 SkAlphaType,
80 SkAlphaType,
95 SkAlphaType,
/third_party/flutter/skia/src/gpu/
DGrColorSpaceXform.h24 static sk_sp<GrColorSpaceXform> Make(SkColorSpace* src, SkAlphaType srcAT,
25 SkColorSpace* dst, SkAlphaType dstAT);
53 static std::unique_ptr<GrFragmentProcessor> Make(SkColorSpace* src, SkAlphaType srcAT,
54 SkColorSpace* dst, SkAlphaType dstAT);
61 SkColorSpace* src, SkAlphaType srcAT,
DGrColorSpaceInfo.h20 GrColorSpaceInfo(GrColorType, SkAlphaType, sk_sp<SkColorSpace>);
33 SkAlphaType alphaType() const { return fAlphaType; } in alphaType()
43 SkAlphaType fAlphaType = kUnknown_SkAlphaType;
/third_party/skia/tools/flags/
DCommonFlagsConfig.h65 SkAlphaType alphaType,
81 SkAlphaType getAlphaType() const { return fAlphaType; } in getAlphaType()
96 SkAlphaType fAlphaType;
118 SkAlphaType alphaType, in SkCommandLineConfigGraphite()
130 SkAlphaType getAlphaType() const { return fAlphaType; } in getAlphaType()
136 SkAlphaType fAlphaType;
/third_party/skia/src/core/
DSkSpecialImage.cpp61 SkAlphaType at, const SkSurfaceProps&) const = 0;
69 const SkISize& size, SkAlphaType at) const = 0;
117 SkAlphaType at, const SkSurfaceProps& props) const { in makeSurface()
123 SkAlphaType at) const { in makeTightSurface()
194 SkAlphaType alphaType() const override { return fBitmap.alphaType(); } in alphaType()
228 const SkISize& size, SkAlphaType at, in onMakeSurface()
256 const SkISize& size, SkAlphaType at) const override { in onMakeTightSurface()
324 SkColorType colorType, SkAlphaType alphaType, in wrap_proxy_in_image()
336 SkAlphaType at, sk_sp<SkColorSpace> colorSpace, const SkSurfaceProps& props) in SkSpecialImage_Gpu()
345 SkAlphaType alphaType() const override { return fAlphaType; } in alphaType()
[all …]
DSkSpecialImage.h61 virtual SkAlphaType alphaType() const = 0;
91 SkAlphaType at = kPremul_SkAlphaType);
100 SkAlphaType,
112 SkAlphaType at = kPremul_SkAlphaType) const;
/third_party/skia/src/gpu/
DSurfaceFillContext.h31 template <SkAlphaType AlphaType>
37 template <SkAlphaType AlphaType> void clear(const SkRGBA4f<AlphaType>& color) { in clear()
45 template <SkAlphaType AlphaType>
115 template <SkAlphaType AlphaType>
118 template <SkAlphaType AlphaType>
143 template <SkAlphaType AlphaType>
DGrColorSpaceXform.h26 static sk_sp<GrColorSpaceXform> Make(SkColorSpace* src, SkAlphaType srcAT,
27 SkColorSpace* dst, SkAlphaType dstAT);
70 SkColorSpace* src, SkAlphaType srcAT,
71 SkColorSpace* dst, SkAlphaType dstAT);
DGrImageInfo.h22 GrImageInfo(GrColorType ct, SkAlphaType at, sk_sp<SkColorSpace> cs, int w, int h) in GrImageInfo()
25 GrImageInfo(GrColorType ct, SkAlphaType at, sk_sp<SkColorSpace> cs, const SkISize& dimensions) in GrImageInfo()
43 GrImageInfo makeAlphaType(SkAlphaType at) const { in makeAlphaType()
63 SkAlphaType alphaType() const { return fColorInfo.alphaType(); } in alphaType()
DGrColorInfo.h24 GrColorInfo(GrColorType, SkAlphaType, sk_sp<SkColorSpace>);
47 SkAlphaType alphaType() const { return fAlphaType; } in alphaType()
59 SkAlphaType fAlphaType = kUnknown_SkAlphaType;
/third_party/skia/docs/examples/
Dunexpected_setAlphaType.cpp5 static const char* alphatype_name(SkAlphaType at) { in alphatype_name()
44 static const SkAlphaType kAlphaTypes[] = in draw()
55 for (SkAlphaType canonicalAlphaType : kAlphaTypes) { in draw()
58 for (SkAlphaType alphaType : kAlphaTypes) { in draw()
DBitmap_setAlphaType.cpp12 SkAlphaType alphaTypes[] = { kUnknown_SkAlphaType, kOpaque_SkAlphaType, kPremul_SkAlphaType, in draw()
22 for (SkAlphaType canonicalAlphaType : alphaTypes) { in draw()
25 for (SkAlphaType alphaType : alphaTypes) { in draw()
DColorTypeValidateAlphaType.cpp11 SkAlphaType alphaTypes[] = { kUnknown_SkAlphaType, kOpaque_SkAlphaType, kPremul_SkAlphaType, in draw()
24 for (SkAlphaType alphaType : alphaTypes) { in draw()
25 SkAlphaType canonicalAlphaType = kUnknown_SkAlphaType; in draw()
/third_party/flutter/skia/src/core/
DSkSpecialImage.cpp62 SkAlphaType at, const SkSurfaceProps* = nullptr) const = 0;
70 const SkISize& size, SkAlphaType at) const = 0;
163 SkAlphaType at, const SkSurfaceProps* props) const { in makeSurface()
169 SkAlphaType at) const { in makeTightSurface()
238 SkAlphaType alphaType() const override { return fBitmap.alphaType(); } in alphaType()
269 const SkISize& size, SkAlphaType at, in onMakeSurface()
298 const SkISize& size, SkAlphaType at) const override { in onMakeTightSurface()
367 SkAlphaType alphaType, sk_sp<SkColorSpace> colorSpace) { in wrap_proxy_in_image()
377 uint32_t uniqueID, sk_sp<GrTextureProxy> proxy, SkAlphaType at, in SkSpecialImage_Gpu()
393 SkAlphaType alphaType() const override { return fAlphaType; } in alphaType()
[all …]
DSkSpecialImage.h55 virtual SkAlphaType alphaType() const = 0;
87 SkAlphaType at = kPremul_SkAlphaType);
96 SkAlphaType at = kPremul_SkAlphaType,
108 SkAlphaType at = kPremul_SkAlphaType) const;
/third_party/flutter/skia/docs/examples/
DBitmap_setAlphaType.cpp12 SkAlphaType alphaTypes[] = { kUnknown_SkAlphaType, kOpaque_SkAlphaType, kPremul_SkAlphaType, in draw()
22 for (SkAlphaType canonicalAlphaType : alphaTypes) { in draw()
25 for (SkAlphaType alphaType : alphaTypes) { in draw()
DColorTypeValidateAlphaType.cpp11 SkAlphaType alphaTypes[] = { kUnknown_SkAlphaType, kOpaque_SkAlphaType, kPremul_SkAlphaType, in draw()
24 for (SkAlphaType alphaType : alphaTypes) { in draw()
25 SkAlphaType canonicalAlphaType = kUnknown_SkAlphaType; in draw()
/third_party/skia/gm/
Dreadpixels.cpp110 SkColorType dstColorType, SkAlphaType dstAlphaType, in draw_image()
140 const SkAlphaType alphaTypes[] = { in onDraw()
168 for (SkAlphaType dstAlphaType : alphaTypes) { in onDraw()
205 const SkAlphaType alphaTypes[] = { in onDraw()
228 for (SkAlphaType dstAlphaType : alphaTypes) { in onDraw()
272 const SkAlphaType alphaTypes[] = { in onDraw()
295 for (SkAlphaType dstAlphaType : alphaTypes) { in onDraw()
/third_party/flutter/skia/gm/
Dreadpixels.cpp115 SkAlphaType dstAlphaType, sk_sp<SkColorSpace> dstColorSpace, in draw_image()
145 const SkAlphaType alphaTypes[] = { in onDraw()
172 for (SkAlphaType dstAlphaType : alphaTypes) { in onDraw()
209 const SkAlphaType alphaTypes[] = { in onDraw()
232 for (SkAlphaType dstAlphaType : alphaTypes) { in onDraw()
276 const SkAlphaType alphaTypes[] = { in onDraw()
299 for (SkAlphaType dstAlphaType : alphaTypes) { in onDraw()
/third_party/skia/src/c/
Dsk_imageinfo.cpp29 SkAlphaType fSK;
60 static bool from_c_alphatype(sk_alphatype_t cAT, SkAlphaType* skAT) { in from_c_alphatype()
72 static bool to_c_alphatype(SkAlphaType skAT, sk_alphatype_t* cAT) { in to_c_alphatype()
93 SkAlphaType at; in sk_imageinfo_new()
/third_party/flutter/skia/src/c/
Dsk_imageinfo.cpp29 SkAlphaType fSK;
60 static bool from_c_alphatype(sk_alphatype_t cAT, SkAlphaType* skAT) { in from_c_alphatype()
72 static bool to_c_alphatype(SkAlphaType skAT, sk_alphatype_t* cAT) { in to_c_alphatype()
93 SkAlphaType at; in sk_imageinfo_new()

12345678910>>...12