Home
last modified time | relevance | path

Searched refs:fAlphaType (Results 1 – 25 of 51) sorted by relevance

123

/external/skia/src/core/
DSkImageInfo.cpp26 fAlphaType = (SkAlphaType)((packed >> 8) & 0xFF); in unflatten()
28 buffer.validate(alpha_type_is_valid(fAlphaType) && in unflatten()
36 SkASSERT(0 == (fAlphaType & ~0xFF)); in flatten()
38 uint32_t packed = (fAlphaType << 8) | fColorType; in flatten()
DSkColorTable.cpp20 fAlphaType = src.fAlphaType; in SkColorTable()
32 : f16BitCache(NULL), fAlphaType(SkToU8(at)) in SkColorTable()
95 fAlphaType = SkToU8(buffer.readUInt()); in SkColorTable()
113 buffer.writeUInt(fAlphaType); in writeToBuffer()
DSkBitmap.cpp189 if (!validate_alphaType(info.fColorType, info.fAlphaType, in setInfo()
190 &info.fAlphaType)) { in setInfo()
234 if (fInfo.fAlphaType != alphaType) { in setAlphaType()
235 fInfo.fAlphaType = alphaType; in setAlphaType()
272 switch (prInfo.fAlphaType) { in setPixelRef()
274 SkASSERT(fInfo.fAlphaType == kIgnore_SkAlphaType); in setPixelRef()
278 SkASSERT(fInfo.fAlphaType == kOpaque_SkAlphaType || in setPixelRef()
279 fInfo.fAlphaType == kPremul_SkAlphaType); in setPixelRef()
282 SkASSERT(fInfo.fAlphaType == kOpaque_SkAlphaType || in setPixelRef()
283 fInfo.fAlphaType == kUnpremul_SkAlphaType); in setPixelRef()
[all …]
DSkConfig8888.cpp77 AlphaVerb doAlpha = compute_AlphaVerb(fAlphaType, dst->fAlphaType); in convertPixelsTo()
DSkConfig8888.h15 SkAlphaType fAlphaType; member
/external/chromium_org/third_party/skia/src/core/
DSkColorTable.cpp20 fAlphaType = src.fAlphaType; in SkColorTable()
32 : f16BitCache(NULL), fAlphaType(SkToU8(at)) in SkColorTable()
92 fAlphaType = SkToU8(buffer.readUInt()); in SkColorTable()
110 buffer.writeUInt(fAlphaType); in writeToBuffer()
DSkImageInfo.cpp26 fAlphaType = (SkAlphaType)((packed >> 8) & 0xFF); in unflatten()
28 buffer.validate(alpha_type_is_valid(fAlphaType) && in unflatten()
36 SkASSERT(0 == (fAlphaType & ~0xFF)); in flatten()
38 uint32_t packed = (fAlphaType << 8) | fColorType; in flatten()
DSkConfig8888.cpp87 AlphaVerb doAlpha = compute_AlphaVerb(fAlphaType, dst->fAlphaType); in convertPixelsTo()
154 dstPI.fAlphaType = dstInfo.alphaType(); in CopyPixels()
160 srcPI.fAlphaType = srcInfo.alphaType(); in CopyPixels()
DSkConfig8888.h15 SkAlphaType fAlphaType; member
/external/skia/bench/
DWritePixelsBench.cpp16 , fAlphaType(at) in WritePixelsBench()
59 info.fAlphaType = fAlphaType; in onDraw()
68 SkAlphaType fAlphaType; member in WritePixelsBench
DBitmapBench.cpp75 const SkAlphaType fAlphaType; member in BitmapBench
88 , fAlphaType(at) in BitmapBench()
97 kOpaque_SkAlphaType == fAlphaType ? "" : "_A"); in onGetName()
110 bm.setInfo(SkImageInfo::MakeN32(W, H, fAlphaType)); in onPreDraw()
112 bm.setInfo(SkImageInfo::Make(W, H, fColorType, fAlphaType)); in onPreDraw()
116 bm.eraseColor(kOpaque_SkAlphaType == fAlphaType ? SK_ColorBLACK : 0); in onPreDraw()
121 convertToIndex666(bm, &fBitmap, fAlphaType); in onPreDraw()
DRepeatTileBench.cpp86 const SkAlphaType fAlphaType; member in RepeatTileBench
92 : fColorType(ct), fAlphaType(at) in RepeatTileBench()
113 fBitmap.eraseColor(kOpaque_SkAlphaType == fAlphaType ? SK_ColorWHITE : 0); in onPreDraw()
DDeferredSurfaceCopyBench.cpp41 info.fAlphaType = kPremul_SkAlphaType; in onDraw()
/external/chromium_org/third_party/skia/include/core/
DSkImageInfo.h159 , fAlphaType(kIgnore_SkAlphaType) in SkImageInfo()
202 SkAlphaType alphaType() const { return fAlphaType; } in alphaType()
207 return SkAlphaTypeIsOpaque(fAlphaType); in isOpaque()
217 return SkImageInfo::Make(newWidth, newHeight, fColorType, fAlphaType); in makeWH()
225 return SkImageInfo::Make(fWidth, fHeight, newColorType, fAlphaType); in makeColorType()
276 SkAlphaType fAlphaType; member
283 , fAlphaType(at) in SkImageInfo()
DSkColorTable.h33 SkAlphaType alphaType() const { return (SkAlphaType)fAlphaType; } in alphaType()
85 uint8_t fAlphaType; variable
/external/chromium_org/third_party/skia/bench/
DWritePixelsBench.cpp16 , fAlphaType(at) in WritePixelsBench()
57 SkImageInfo info = SkImageInfo::Make(bmp.width(), bmp.height(), fColorType, fAlphaType); in onDraw()
66 SkAlphaType fAlphaType; member in WritePixelsBench
DBitmapBench.cpp75 const SkAlphaType fAlphaType; member in BitmapBench
88 , fAlphaType(at) in BitmapBench()
97 kOpaque_SkAlphaType == fAlphaType ? "" : "_A"); in onGetName()
110 bm.allocPixels(SkImageInfo::MakeN32(W, H, fAlphaType)); in onPreDraw()
112 bm.allocPixels(SkImageInfo::Make(W, H, fColorType, fAlphaType)); in onPreDraw()
114 bm.eraseColor(kOpaque_SkAlphaType == fAlphaType ? SK_ColorBLACK : 0); in onPreDraw()
119 convertToIndex666(bm, &fBitmap, fAlphaType); in onPreDraw()
DRepeatTileBench.cpp86 const SkAlphaType fAlphaType; member in RepeatTileBench
92 : fColorType(ct), fAlphaType(at) in RepeatTileBench()
113 fBitmap.eraseColor(kOpaque_SkAlphaType == fAlphaType ? SK_ColorWHITE : 0); in onPreDraw()
/external/skia/include/core/
DSkImageInfo.h129 SkAlphaType fAlphaType; member
189 SkAlphaType alphaType() const { return fAlphaType; } in alphaType()
194 return SkAlphaTypeIsOpaque(fAlphaType); in isOpaque()
204 return SkImageInfo::Make(newWidth, newHeight, fColorType, fAlphaType); in makeWH()
DSkColorTable.h33 SkAlphaType alphaType() const { return (SkAlphaType)fAlphaType; } in alphaType()
85 uint8_t fAlphaType; variable
/external/chromium_org/ui/gfx/ipc/
Dgfx_param_traits.cc20 SkAlphaType fAlphaType; member
31 fAlphaType = info.fAlphaType; in InitSkBitmapDataForTransfer()
41 SkImageInfo::Make(fWidth, fHeight, fColorType, fAlphaType))) in InitSkBitmapFromData()
/external/skia/src/images/
DSkDecodingImageGenerator.cpp171 info.fAlphaType == kUnpremul_SkAlphaType); in onGetPixels()
246 if (opts.fRequireUnpremul && info.fAlphaType != kOpaque_SkAlphaType) { in CreateDecodingImageGenerator()
247 info.fAlphaType = kUnpremul_SkAlphaType; in CreateDecodingImageGenerator()
/external/skia/tools/
Dsk_tool_utils.cpp27 info.fAlphaType = alphaType; in write_pixels()
/external/skia/src/gpu/
DGrSurface.cpp22 info.fAlphaType = kPremul_SkAlphaType; in info()
/external/skia/debugger/QT/
DSkImageWidget.cpp23 info.fAlphaType = kPremul_SkAlphaType; in SkImageWidget()

123