/external/skia/include/core/ |
D | SkImageInfo.h | 22 enum SkAlphaType { enum 51 static inline bool SkAlphaTypeIsOpaque(SkAlphaType at) { in SkAlphaTypeIsOpaque() 149 bool SkColorTypeValidateAlphaType(SkColorType colorType, SkAlphaType alphaType, 150 SkAlphaType* canonical = NULL); 191 static SkImageInfo Make(int width, int height, SkColorType ct, SkAlphaType at, 199 static SkImageInfo MakeN32(int width, int height, SkAlphaType at, 207 static SkImageInfo MakeS32(int width, int height, SkAlphaType at); 235 SkAlphaType alphaType() const { return fAlphaType; } in alphaType() 260 SkImageInfo makeAlphaType(SkAlphaType newAlphaType) const { in makeAlphaType() 341 SkAlphaType fAlphaType; [all …]
|
D | SkImage.h | 99 SkAlphaType at) { in MakeFromTexture() 113 SkAlphaType at, TextureReleaseProc trp, in MakeFromTexture() 125 static sk_sp<SkImage> MakeFromTexture(GrContext*, const GrBackendTextureDesc&, SkAlphaType, 135 SkAlphaType = kPremul_SkAlphaType, 179 SkAlphaType alphaType() const;
|
D | SkCrossContextImageData.h | 43 SkAlphaType alphaType, sk_sp<SkColorSpace> colorSpace) in SkCrossContextImageData() 59 SkAlphaType fAlphaType;
|
D | SkColorSpaceXform.h | 59 SkAlphaType alphaType) const;
|
/external/skia/src/core/ |
D | SkSpecialImage.cpp | 60 const SkISize& size, SkAlphaType at) const = 0; 65 const SkISize& size, SkAlphaType at) const = 0; 156 const SkISize& size, SkAlphaType at) const { in makeSurface() 161 const SkISize& size, SkAlphaType at) const { in makeTightSurface() 228 SkAlphaType alphaType() const override { return fBitmap.alphaType(); } in alphaType() 265 const SkISize& size, SkAlphaType at) const override { in onMakeSurface() 305 const SkISize& size, SkAlphaType at) const override { in onMakeTightSurface() 350 SkAlphaType alphaType, sk_sp<SkColorSpace> colorSpace) { in wrap_proxy_in_image() 358 uint32_t uniqueID, sk_sp<GrTextureProxy> proxy, SkAlphaType at, in SkSpecialImage_Gpu() 374 SkAlphaType alphaType() const override { return fAlphaType; } in alphaType() [all …]
|
D | SkImageInfo.cpp | 12 static bool alpha_type_is_valid(SkAlphaType alphaType) { in alpha_type_is_valid() 20 SkImageInfo SkImageInfo::MakeS32(int width, int height, SkAlphaType at) { in MakeS32() 34 fAlphaType = (SkAlphaType)((packed >> 8) & kAlphaTypeMask); in unflatten() 63 bool SkColorTypeValidateAlphaType(SkColorType colorType, SkAlphaType alphaType, in SkColorTypeValidateAlphaType() 64 SkAlphaType* canonical) { in SkColorTypeValidateAlphaType()
|
D | SkSpecialImage.h | 59 virtual SkAlphaType alphaType() const = 0; 88 SkAlphaType at = kPremul_SkAlphaType); 96 SkAlphaType at = kPremul_SkAlphaType) const; 104 SkAlphaType at = kPremul_SkAlphaType) const;
|
D | SkColorSpaceXform_Base.h | 27 int count, SkAlphaType alphaType) const = 0; 60 int count, SkAlphaType alphaType) const override; 64 int count, SkAlphaType alphaType) const;
|
/external/skia/src/gpu/ |
D | GrTextureAdjuster.h | 39 GrTextureAdjuster(GrContext*, sk_sp<GrTextureProxy>, SkAlphaType, const SkIRect& area, 43 SkAlphaType alphaType() const override { return fAlphaType; } in alphaType() 58 SkAlphaType fAlphaType;
|
D | GrBitmapTextureMaker.h | 29 SkAlphaType alphaType() const override;
|
/external/skia/src/codec/ |
D | SkCodecPriv.h | 85 static inline bool valid_alpha(SkAlphaType dstAlpha, SkAlphaType srcAlpha) { in valid_alpha() 122 static inline uint64_t get_color_table_fill_value(SkColorType dstColorType, SkAlphaType alphaType, in get_color_table_fill_value() 322 static inline SkAlphaType select_xform_alpha(SkAlphaType dstAlphaType, SkAlphaType srcAlphaType) { in select_xform_alpha()
|
D | SkBmpStandardCodec.cpp | 68 bool SkBmpStandardCodec::createColorTable(SkColorType dstColorType, SkAlphaType dstAlphaType, in createColorTable() 95 SkAlphaType packAlphaType = dstAlphaType; in createColorTable() 130 SkAlphaType xformAlphaType = select_xform_alpha(dstAlphaType, in createColorTable()
|
/external/skia/gm/ |
D | readpixels.cpp | 128 SkAlphaType dstAlphaType, sk_sp<SkColorSpace> dstColorSpace, in draw_image() 179 const SkAlphaType alphaTypes[] = { in onDraw() 203 for (SkAlphaType dstAlphaType : alphaTypes) { in onDraw() 240 const SkAlphaType alphaTypes[] = { in onDraw() 263 for (SkAlphaType dstAlphaType : alphaTypes) { in onDraw() 306 const SkAlphaType alphaTypes[] = { in onDraw() 329 for (SkAlphaType dstAlphaType : alphaTypes) { in onDraw()
|
D | encode-srgb.cpp | 40 static void make_index8(SkBitmap* bitmap, SkAlphaType alphaType, sk_sp<SkColorSpace> colorSpace) { in make_index8() 82 static void make(SkBitmap* bitmap, SkColorType colorType, SkAlphaType alphaType, in make() 175 const SkAlphaType alphaTypes[] = { in onDraw() 184 for (SkAlphaType alphaType : alphaTypes) { in onDraw()
|
/external/skia/src/image/ |
D | SkImage_Gpu.h | 25 SkImage_Gpu(GrContext*, uint32_t uniqueID, SkAlphaType, sk_sp<GrTextureProxy>, 30 SkAlphaType onAlphaType() const override { return fAlphaType; } in onAlphaType() 70 const SkAlphaType fAlphaType;
|
D | SkImage_Gpu.cpp | 39 SkImage_Gpu::SkImage_Gpu(GrContext* context, uint32_t uniqueID, SkAlphaType at, in SkImage_Gpu() 65 static SkImageInfo make_info(int w, int h, SkAlphaType at, sk_sp<SkColorSpace> colorSpace) { in make_info() 249 SkAlphaType at, sk_sp<SkColorSpace> colorSpace, in new_wrapped_texture_common() 273 SkAlphaType at, sk_sp<SkColorSpace> cs, in MakeFromTexture() 280 SkAlphaType at, sk_sp<SkColorSpace> cs) { in MakeFromAdoptedTexture() 396 SkAlphaType at, uint32_t id, in create_image_from_maker() 524 SkAlphaType fAlphaType; 722 SkAlphaType alphaType = info.alphaType(); in getDeferredTextureImageData()
|
/external/skia/bench/ |
D | CodecBench.h | 24 CodecBench(SkString basename, SkData* encoded, SkColorType colorType, SkAlphaType alphaType); 35 const SkAlphaType fAlphaType;
|
D | WritePixelsBench.cpp | 14 WritePixelsBench(SkColorType ct, SkAlphaType at) in WritePixelsBench() 66 SkAlphaType fAlphaType;
|
D | BitmapBench.cpp | 33 static void convertToIndex666(const SkBitmap& src, SkBitmap* dst, SkAlphaType aType) { in convertToIndex666() 75 const SkAlphaType fAlphaType; 87 BitmapBench(SkColorType ct, SkAlphaType at, bool forceUpdate, bool isVolatile, bool doScale) in BitmapBench() 204 FilterBitmapBench(SkColorType ct, SkAlphaType at, in FilterBitmapBench()
|
D | RepeatTileBench.cpp | 85 const SkAlphaType fAlphaType; 90 RepeatTileBench(SkColorType ct, SkAlphaType at = kPremul_SkAlphaType) in RepeatTileBench()
|
D | CodecBenchPriv.h | 30 inline const char* alpha_type_to_str(SkAlphaType alphaType) { in alpha_type_to_str()
|
/external/skia/tests/ |
D | ReadPixelsTest.cpp | 68 static SkPMColor convert_to_pmcolor(SkColorType ct, SkAlphaType at, const uint32_t* addr, in convert_to_pmcolor() 183 SkAlphaType at) { in check_read() 279 SkAlphaType at) { in init_bitmap() 308 SkAlphaType fAlphaType; 610 const SkAlphaType kAlphaTypes[] = { in DEF_TEST() 623 for (SkAlphaType dstAT: kAlphaTypes) { in DEF_TEST() 626 for (SkAlphaType srcAT: kAlphaTypes) { in DEF_TEST()
|
D | WritePixelsTest.cpp | 80 static uint32_t get_bitmap_color(int x, int y, int w, SkColorType ct, SkAlphaType at) { in get_bitmap_color() 146 static SkPMColor convert_to_PMColor(SkColorType ct, SkAlphaType at, uint32_t color) { in convert_to_PMColor() 275 static bool setup_bitmap(SkBitmap* bm, SkColorType ct, SkAlphaType at, int w, int h, int tightRB) { in setup_bitmap() 357 SkAlphaType fAlphaType; in test_write_pixels() 369 const SkAlphaType at = gSrcConfigs[c].fAlphaType; in test_write_pixels()
|
D | ImageIsOpaqueTest.cpp | 33 SkImageInfo info2 = SkImageInfo::Make(0xB8, 0xB8, (SkColorType) 0xB8, (SkAlphaType) 0xB8); in test_flatten() 67 static_cast<SkAlphaType>(at), in DEF_TEST()
|
/external/skia/dm/ |
D | DMSrcSink.h | 134 CodecSrc(Path, Mode, DstColorType, SkAlphaType, float); 145 SkAlphaType fDstAlphaType; 152 AndroidCodecSrc(Path, CodecSrc::DstColorType, SkAlphaType, int sampleSize); 162 SkAlphaType fDstAlphaType; 199 ImageGenSrc(Path, Mode, SkAlphaType, bool); 209 SkAlphaType fDstAlphaType;
|