Searched defs:kPremul_SkAlphaType (Results 1 - 3 of 3) sorted by relevance

/external/skia/bench/
H A DRepeatTileBench.cpp90 RepeatTileBench(SkColorType ct, SkAlphaType at = kPremul_SkAlphaType) argument
142 DEF_BENCH(return new RepeatTileBench(kN32_SkColorType, kPremul_SkAlphaType))
144 DEF_BENCH(return new RepeatTileBench(kIndex_8_SkColorType, kPremul_SkAlphaType))
/external/skia/include/core/
H A DSkImageInfo.h37 kPremul_SkAlphaType, enumerator in enum:SkAlphaType
213 return Make(width, height, kN32_SkColorType, kPremul_SkAlphaType, cs);
221 return Make(width, height, kAlpha_8_SkColorType, kPremul_SkAlphaType, nullptr);
/external/skia/tests/
H A DSurfaceTest.cpp37 static sk_sp<SkSurface> create_surface(SkAlphaType at = kPremul_SkAlphaType, argument
45 static sk_sp<SkSurface> create_direct_surface(SkAlphaType at = kPremul_SkAlphaType, argument
58 static sk_sp<SkSurface> create_gpu_surface(GrContext* context, SkAlphaType at = kPremul_SkAlphaType, argument
67 SkAlphaType at = kPremul_SkAlphaType,
78 const SkImageInfo info = SkImageInfo::Make(0, 0, kN32_SkColorType, kPremul_SkAlphaType);
85 const SkImageInfo info = SkImageInfo::Make(0, 0, kN32_SkColorType, kPremul_SkAlphaType);
121 auto surface(surface_func(kPremul_SkAlphaType, &requestInfo));
129 auto surface(surface_func(ctxInfo.grContext(), kPremul_SkAlphaType, &requestInfo));
148 for (auto& at: { kOpaque_SkAlphaType, kPremul_SkAlphaType, kUnpremul_SkAlphaType }) {
158 for (auto& at : { kOpaque_SkAlphaType, kPremul_SkAlphaType }) {
66 create_gpu_scratch_surface(GrContext* context, SkAlphaType at = kPremul_SkAlphaType, SkImageInfo* requestedInfo = nullptr) argument
[all...]

Completed in 599 milliseconds