Home
last modified time | relevance | path

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

12

/external/skia/include/core/
DSkImageInfo.h21 enum SkAlphaType { enum
50 static inline bool SkAlphaTypeIsOpaque(SkAlphaType at) { in SkAlphaTypeIsOpaque()
120 bool SkColorTypeValidateAlphaType(SkColorType colorType, SkAlphaType alphaType,
121 SkAlphaType* canonical = NULL);
161 static SkImageInfo Make(int width, int height, SkColorType ct, SkAlphaType at,
169 static SkImageInfo MakeN32(int width, int height, SkAlphaType at,
207 SkAlphaType alphaType() const { return fAlphaType; } in alphaType()
230 SkImageInfo makeAlphaType(SkAlphaType newAlphaType) const { in makeAlphaType()
286 SkAlphaType fAlphaType;
289 SkImageInfo(int width, int height, SkColorType ct, SkAlphaType at, SkColorProfileType pt) in SkImageInfo()
DSkImage.h74 SkAlphaType = kPremul_SkAlphaType);
83 SkAlphaType = kPremul_SkAlphaType);
/external/skia/src/core/
DSkImageInfo.cpp16 static bool alpha_type_is_valid(SkAlphaType alphaType) { in alpha_type_is_valid()
31 fAlphaType = (SkAlphaType)((packed >> 8) & 0xFF); in unflatten()
49 bool SkColorTypeValidateAlphaType(SkColorType colorType, SkAlphaType alphaType, in SkColorTypeValidateAlphaType()
50 SkAlphaType* canonical) { in SkColorTypeValidateAlphaType()
DSkConfig8888.h15 SkAlphaType fAlphaType;
DSkPixelRef.cpp83 SkAlphaType newAlphaType = info.alphaType(); in validate_info()
262 void SkPixelRef::changeAlphaType(SkAlphaType at) { in changeAlphaType()
DSkBitmapDevice.cpp20 SkAlphaType* newAlphaType) { in valid_for_bitmap_device()
41 SkAlphaType canonicalAlphaType = info.alphaType(); in valid_for_bitmap_device()
74 SkAlphaType newAT = origInfo.alphaType(); in Create()
DSkConfig8888.cpp56 static AlphaVerb compute_AlphaVerb(SkAlphaType src, SkAlphaType dst) { in compute_AlphaVerb()
/external/skia/src/image/
DSkImage_Gpu.cpp13 SkImage_Gpu::SkImage_Gpu(int w, int h, SkAlphaType at, GrTexture* tex, in SkImage_Gpu()
49 SkAlphaType at = this->isOpaque() ? kOpaque_SkAlphaType : kPremul_SkAlphaType; in getROPixels()
114 SkImage* SkImage::NewFromTexture(GrContext* ctx, const GrBackendTextureDesc& desc, SkAlphaType at) { in NewFromTexture()
127 SkAlphaType at) { in NewFromTextureCopy()
DSkImage_Gpu.h26 SkImage_Gpu(int w, int h, SkAlphaType, GrTexture*, int sampleCountForNewSurfaces,
52 const SkAlphaType fAlphaType;
DSkImage.cpp176 SkImage* SkImage::NewFromTexture(GrContext*, const GrBackendTextureDesc&, SkAlphaType) { in NewFromTexture() argument
180 SkImage* SkImage::NewFromTextureCopy(GrContext*, const GrBackendTextureDesc&, SkAlphaType) { in NewFromTextureCopy() argument
/external/skia/bench/
DWritePixelsBench.cpp14 WritePixelsBench(SkColorType ct, SkAlphaType at) in WritePixelsBench()
66 SkAlphaType fAlphaType;
DBitmapBench.cpp33 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()
DRepeatTileBench.cpp86 const SkAlphaType fAlphaType;
91 RepeatTileBench(SkColorType ct, SkAlphaType at = kPremul_SkAlphaType) in RepeatTileBench()
Dnanobench.h28 SkAlphaType alpha;
DCodecBench.cpp53 SkAlphaType alphaType; in onPreDraw()
/external/skia/tests/
DWritePixelsTest.cpp84 static uint32_t getBitmapColor(int x, int y, int w, SkColorType ct, SkAlphaType at) { in getBitmapColor()
150 static SkPMColor convert_to_PMColor(SkColorType ct, SkAlphaType at, uint32_t color) { in convert_to_PMColor()
329 static bool setup_bitmap(SkBitmap* bm, SkColorType ct, SkAlphaType at, int w, int h, int tightRB) { in setup_bitmap()
441 SkAlphaType fAlphaType; in DEF_GPUTEST()
453 const SkAlphaType at = gSrcConfigs[c].fAlphaType; in DEF_GPUTEST()
DReadPixelsTest.cpp64 static SkPMColor convertToPMColor(SkColorType ct, SkAlphaType at, const uint32_t* addr, in convertToPMColor()
164 const SkAlphaType at = bitmap.alphaType(); in checkRead()
220 SkAlphaType at) { in init_bitmap()
333 SkAlphaType fAlphaType; in DEF_GPUTEST()
DImageIsOpaqueTest.cpp43 static_cast<SkAlphaType>(at), in DEF_TEST()
/external/skia/src/images/
DSkDecodingImageGenerator.cpp100 inline bool check_alpha(SkAlphaType reported, SkAlphaType actual) { in check_alpha()
263 SkAlphaType newAlphaType = info.alphaType(); in CreateDecodingImageGenerator()
/external/skia/src/utils/mac/
DSkCreateCGImageRef.cpp12 static CGBitmapInfo ComputeCGAlphaInfo_RGBA(SkAlphaType at) { in ComputeCGAlphaInfo_RGBA()
30 static CGBitmapInfo ComputeCGAlphaInfo_BGRA(SkAlphaType at) { in ComputeCGAlphaInfo_BGRA()
/external/skia/tools/
Dsk_tool_utils.h40 void write_pixels(SkCanvas*, const SkBitmap&, int x, int y, SkColorType, SkAlphaType);
Dsk_tool_utils.cpp55 SkColorType colorType, SkAlphaType alphaType) { in write_pixels()
/external/skia/src/codec/
DSkCodec_libbmp.h91 bool createColorTable(SkAlphaType alphaType, int* colorCount);
/external/skia/include/gpu/
DSkGr.h47 GrPixelConfig SkImageInfo2GrPixelConfig(SkColorType, SkAlphaType, SkColorProfileType);
/external/skia/src/c/
Dsk_surface.cpp38 SkAlphaType fSK;
69 static bool from_c_alphatype(sk_alphatype_t cAT, SkAlphaType* skAT) { in from_c_alphatype()
83 SkAlphaType at; in from_c_info()

12