Home
last modified time | relevance | path

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

12345678910

/external/skia/include/core/
DSkImageInfo.h37 enum SkAlphaType { enum
52 static inline bool SkAlphaTypeIsOpaque(SkAlphaType at) { in SkAlphaTypeIsOpaque()
132 SK_API bool SkColorTypeValidateAlphaType(SkColorType colorType, SkAlphaType alphaType,
133 SkAlphaType* canonical = nullptr);
195 SkColorInfo(SkColorType ct, SkAlphaType at, sk_sp<SkColorSpace> cs) in SkColorInfo()
207 SkAlphaType alphaType() const { return fAlphaType; } in alphaType()
231 SkColorInfo makeAlphaType(SkAlphaType newAlphaType) const { in makeAlphaType()
270 SkAlphaType fAlphaType = kUnknown_SkAlphaType;
307 static SkImageInfo Make(int width, int height, SkColorType ct, SkAlphaType at,
311 static SkImageInfo Make(SkISize dimensions, SkColorType ct, SkAlphaType at,
[all …]
/external/skqp/include/core/
DSkImageInfo.h47 enum SkAlphaType { enum
66 static inline bool SkAlphaTypeIsOpaque(SkAlphaType at) { in SkAlphaTypeIsOpaque()
162 SK_API bool SkColorTypeValidateAlphaType(SkColorType colorType, SkAlphaType alphaType,
163 SkAlphaType* canonical = nullptr);
229 static SkImageInfo Make(int width, int height, SkColorType ct, SkAlphaType at,
252 static SkImageInfo MakeN32(int width, int height, SkAlphaType at,
270 static SkImageInfo MakeS32(int width, int height, SkAlphaType at);
371 SkAlphaType alphaType() const { return fAlphaType; } in alphaType()
454 SkImageInfo makeAlphaType(SkAlphaType newAlphaType) const { in makeAlphaType()
613 SkAlphaType fAlphaType;
[all …]
/external/skqp/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,
DGrTextureAdjuster.h32 GrTextureAdjuster(GrContext*, sk_sp<GrTextureProxy>, SkAlphaType, uint32_t uniqueID,
36 SkAlphaType alphaType() const override { return fAlphaType; } in alphaType()
52 SkAlphaType fAlphaType;
DGrColorSpaceXform.cpp15 sk_sp<GrColorSpaceXform> GrColorSpaceXform::Make(SkColorSpace* src, SkAlphaType srcAT, in Make()
16 SkColorSpace* dst, SkAlphaType dstAT) { in Make()
145 SkAlphaType srcAT, in Make()
147 SkAlphaType dstAT) { in Make()
160 SkColorSpace* src, SkAlphaType srcAT, SkColorSpace* dst) { in Make()
/external/skia/src/gpu/effects/
DGrTextureEffect.h24 SkAlphaType,
33 static std::unique_ptr<GrFragmentProcessor> Make(GrSurfaceProxyView, SkAlphaType,
51 SkAlphaType,
66 SkAlphaType,
86 SkAlphaType,
164 inline GrTextureEffect(GrSurfaceProxyView, SkAlphaType, const Sampling&);
DGrBicubicEffect.h44 SkAlphaType,
53 SkAlphaType,
66 SkAlphaType,
80 SkAlphaType,
95 SkAlphaType,
/external/skia/docs/examples/
Dunexpected_setAlphaType.cpp5 static const char* alphatype_name(SkAlphaType at) { in alphatype_name()
43 static const SkAlphaType kAlphaTypes[] = in draw()
54 for (SkAlphaType canonicalAlphaType : kAlphaTypes) { in draw()
57 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()
/external/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;
/external/skia/src/gpu/
DGrSurfaceFillContext.h82 SkAlphaType,
121 template <SkAlphaType AlphaType>
127 template <SkAlphaType AlphaType> void clear(const SkRGBA4f<AlphaType>& color) { in clear()
135 template <SkAlphaType AlphaType>
218 template <SkAlphaType AlphaType>
221 template <SkAlphaType AlphaType>
266 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;
/external/skqp/src/core/
DSkSpecialImage.cpp57 const SkISize& size, SkAlphaType at,
63 const SkISize& size, SkAlphaType at) const = 0;
155 const SkISize& size, SkAlphaType at, in makeSurface()
161 const SkISize& size, SkAlphaType at) const { in makeTightSurface()
224 SkAlphaType alphaType() const override { return fBitmap.alphaType(); } in alphaType()
261 const SkISize& size, SkAlphaType at, in onMakeSurface()
302 const SkISize& size, SkAlphaType at) const override { in onMakeTightSurface()
366 SkAlphaType alphaType, sk_sp<SkColorSpace> colorSpace) { in wrap_proxy_in_image()
374 uint32_t uniqueID, sk_sp<GrTextureProxy> proxy, SkAlphaType at, in SkSpecialImage_Gpu()
390 SkAlphaType alphaType() const override { return fAlphaType; } in alphaType()
[all …]
DSkSpecialImage.h57 virtual SkAlphaType alphaType() const = 0;
89 SkAlphaType at = kPremul_SkAlphaType);
97 SkAlphaType at = kPremul_SkAlphaType,
106 SkAlphaType at = kPremul_SkAlphaType) const;
/external/skqp/src/image/
DSkImage_GpuBase.h22 SkImage_GpuBase(sk_sp<GrContext>, int width, int height, uint32_t uniqueID, SkAlphaType,
60 GrPixelConfig* config, SkColorType ct, SkAlphaType at,
67 static SkAlphaType GetAlphaTypeFromYUVAIndices(const SkYUVAIndex yuvaIndices[4]) { in GetAlphaTypeFromYUVAIndices()
96 const SkAlphaType fAlphaType; // alpha type for final image
/external/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()
/external/skqp/gm/
Dreadpixels.cpp99 SkAlphaType dstAlphaType, sk_sp<SkColorSpace> dstColorSpace, in draw_image()
129 const SkAlphaType alphaTypes[] = { in onDraw()
156 for (SkAlphaType dstAlphaType : alphaTypes) { in onDraw()
193 const SkAlphaType alphaTypes[] = { in onDraw()
216 for (SkAlphaType dstAlphaType : alphaTypes) { in onDraw()
259 const SkAlphaType alphaTypes[] = { in onDraw()
282 for (SkAlphaType dstAlphaType : alphaTypes) { in onDraw()
/external/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()
/external/skqp/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()
/external/skqp/dm/
DDMSrcSink.h133 CodecSrc(Path, Mode, DstColorType, SkAlphaType, float);
144 SkAlphaType fDstAlphaType;
151 AndroidCodecSrc(Path, CodecSrc::DstColorType, SkAlphaType, int sampleSize);
161 SkAlphaType fDstAlphaType;
198 ImageGenSrc(Path, Mode, SkAlphaType, bool);
208 SkAlphaType fDstAlphaType;
347 SkColorType colorType, SkAlphaType alphaType, sk_sp<SkColorSpace> colorSpace,
376 SkAlphaType fAlphaType;
387 SkColorType colorType, SkAlphaType alphaType,
409 bool diText, SkColorType colorType, SkAlphaType alphaType,
/external/skqp/tools/flags/
DSkCommonFlagsConfig.h58 SkColorType colorType, SkAlphaType alphaType,
73 SkAlphaType getAlphaType() const { return fAlphaType; } in getAlphaType()
85 SkAlphaType fAlphaType;

12345678910