/external/skia/tests/ |
D | SurfaceTest.cpp | 30 static SkSurface* create_surface(SkAlphaType at = kPremul_SkAlphaType, in create_surface() 38 static SkSurface* create_direct_surface(SkAlphaType at = kPremul_SkAlphaType, in create_direct_surface() 51 static SkSurface* create_gpu_surface(GrContext* context, SkAlphaType at = kPremul_SkAlphaType, in create_gpu_surface() 60 SkAlphaType at = kPremul_SkAlphaType, in create_gpu_scratch_surface() 71 const SkImageInfo info = SkImageInfo::Make(0, 0, kN32_SkColorType, kPremul_SkAlphaType); in DEF_TEST() 78 const SkImageInfo info = SkImageInfo::Make(0, 0, kN32_SkColorType, kPremul_SkAlphaType); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 187 SkAutoTUnref<SkSurface> surface(surface_func(kPremul_SkAlphaType, &requestInfo)); in DEF_TEST() 195 SkAutoTUnref<SkSurface> surface(surface_func(context, kPremul_SkAlphaType, &requestInfo)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 220 SkAutoTUnref<SkSurface> surface(surface_func(kPremul_SkAlphaType, nullptr)); in DEF_TEST() 227 SkAutoTUnref<SkSurface> surface(surface_func(context, kPremul_SkAlphaType, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
D | ImageTest.cpp | 42 a->isOpaque() ? kOpaque_SkAlphaType : kPremul_SkAlphaType); in assert_equal() 245 const SkImageInfo srcInfo = SkImageInfo::Make(2, 2, kIndex_8_SkColorType, kPremul_SkAlphaType); in DEF_TEST() 452 SkImageInfo::Make(1, 1, kIndex_8_SkColorType, kPremul_SkAlphaType); in DEF_TEST() 466 const SkImageInfo info = SkImageInfo::Make(0, 0, kN32_SkColorType, kPremul_SkAlphaType); in DEF_TEST() 642 REPORTER_ASSERT(reporter, kPremul_SkAlphaType == info.alphaType() || in test_peek() 714 SkImage::NewFromTexture(context, backendDesc, kPremul_SkAlphaType, in DEF_GPUTEST_FOR_NATIVE_CONTEXT() 717 kPremul_SkAlphaType)); in DEF_GPUTEST_FOR_NATIVE_CONTEXT()
|
D | BitmapGetColorTest.cpp | 37 kPremul_SkAlphaType); in DEF_TEST()
|
D | PDFInvalidBitmapTest.cpp | 41 SkImageInfo::Make(100, 100, colorType, kPremul_SkAlphaType)); in make_invalid_bitmap()
|
D | BitmapCopyTest.cpp | 204 srcPremul->allocPixels(SkImageInfo::Make(W, H, ct, kPremul_SkAlphaType), in setup_src_bitmaps() 335 gPairs[i].fColorType, kPremul_SkAlphaType)); in DEF_TEST() 393 kPremul_SkAlphaType))) { in DEF_TEST() 447 kPremul_SkAlphaType); in DEF_TEST()
|
/external/skia/bench/ |
D | BitmapBench.cpp | 285 : INHERITED(ct, kPremul_SkAlphaType, forceUpdate, bitmapVolatile, false) in SourceAlphaBitmapBench() 362 DEF_BENCH( return new BitmapBench(kN32_SkColorType, kPremul_SkAlphaType, false, false, false); ) 366 DEF_BENCH( return new BitmapBench(kIndex_8_SkColorType, kPremul_SkAlphaType, false, false, false); ) 372 DEF_BENCH( return new FilterBitmapBench(kN32_SkColorType, kPremul_SkAlphaType, false, false, kScale… 378 DEF_BENCH( return new FilterBitmapBench(kN32_SkColorType, kPremul_SkAlphaType, false, false, kScale… 383 DEF_BENCH( return new FilterBitmapBench(kN32_SkColorType, kPremul_SkAlphaType, false, false, kScale… 384 DEF_BENCH( return new FilterBitmapBench(kN32_SkColorType, kPremul_SkAlphaType, false, false, kScale…
|
D | WritePixelsBench.cpp | 31 case kPremul_SkAlphaType: in WritePixelsBench() 74 DEF_BENCH(return new WritePixelsBench(kRGBA_8888_SkColorType, kPremul_SkAlphaType);)
|
D | RepeatTileBench.cpp | 91 RepeatTileBench(SkColorType ct, SkAlphaType at = kPremul_SkAlphaType) in RepeatTileBench() 144 DEF_BENCH(return new RepeatTileBench(kN32_SkColorType, kPremul_SkAlphaType)) 146 DEF_BENCH(return new RepeatTileBench(kIndex_8_SkColorType, kPremul_SkAlphaType))
|
D | CodecBenchPriv.h | 34 case kPremul_SkAlphaType: in alpha_type_to_str()
|
D | AndroidCodecBench.cpp | 38 fInfo = fInfo.makeAlphaType(kPremul_SkAlphaType); in onDelayedSetup()
|
/external/skia/include/core/ |
D | SkImage.h | 98 return NewFromTexture(ctx, desc, kPremul_SkAlphaType, NULL, NULL); in NewFromTexture() 124 SkAlphaType = kPremul_SkAlphaType); 133 SkAlphaType = kPremul_SkAlphaType);
|
D | SkImageInfo.h | 36 kPremul_SkAlphaType, enumerator 196 return SkImageInfo(width, height, kN32_SkColorType, kPremul_SkAlphaType, pt); 208 return SkImageInfo(width, height, kAlpha_8_SkColorType, kPremul_SkAlphaType, in MakeA8()
|
/external/skia/samplecode/ |
D | SampleTinyBitmap.cpp | 26 kPremul_SkAlphaType), in make_bitmap() 61 bm->setAlphaType(isOpaque ? kOpaque_SkAlphaType : kPremul_SkAlphaType); in setBitmapOpaque()
|
D | SampleDitherBitmap.cpp | 64 bm.allocPixels(SkImageInfo::Make(256, 32, kIndex_8_SkColorType, kPremul_SkAlphaType), in make_bitmap() 104 bm->setAlphaType(isOpaque ? kOpaque_SkAlphaType : kPremul_SkAlphaType); in setBitmapOpaque()
|
/external/skia/src/utils/ |
D | SkImageGeneratorUtils.cpp | 92 const SkAlphaType at = kPremul_SkAlphaType; // take isOpaque from caller? in NewFromTexture() 127 const SkAlphaType at = image->isOpaque() ? kOpaque_SkAlphaType : kPremul_SkAlphaType; in NewFromImage()
|
/external/skia/src/image/ |
D | SkImage_Gpu.cpp | 47 return SkImageInfo::MakeN32(w, h, isOpaque ? kOpaque_SkAlphaType : kPremul_SkAlphaType); in make_info() 115 if (kUnpremul_SkAlphaType == info.alphaType() && kPremul_SkAlphaType == fAlphaType) { in onReadPixels() 131 if (kPremul_SkAlphaType == info.alphaType() && kUnpremul_SkAlphaType == fAlphaType) { in onReadPixels() 299 SkAlphaType at = this->isOpaque() ? kOpaque_SkAlphaType : kPremul_SkAlphaType; in newTextureImage()
|
/external/skia/tools/skiaserve/ |
D | Request.cpp | 96 kPremul_SkAlphaType); in createCPUSurface() 106 kN32_SkColorType, kPremul_SkAlphaType); in createGPUSurface()
|
/external/skia/src/gpu/ |
D | SkGrPixelRef.cpp | 78 desc.fConfig = SkImageInfo2GrPixelConfig(dstCT, kPremul_SkAlphaType, dstPT); in copy_to_new_texture_pixelref() 92 SkImageInfo info = SkImageInfo::Make(desc.fWidth, desc.fHeight, dstCT, kPremul_SkAlphaType, in copy_to_new_texture_pixelref()
|
/external/skia/gm/ |
D | tinybitmap.cpp | 22 kPremul_SkAlphaType), in make_bitmap()
|
D | aaclip.cpp | 172 { kRGBA_8888_SkColorType, kPremul_SkAlphaType }, in onDraw() 176 { kBGRA_8888_SkColorType, kPremul_SkAlphaType }, in onDraw()
|
/external/skia/src/codec/ |
D | SkMaskSwizzler.cpp | 245 case kPremul_SkAlphaType: in CreateMaskSwizzler() 270 case kPremul_SkAlphaType: in CreateMaskSwizzler() 295 case kPremul_SkAlphaType: in CreateMaskSwizzler()
|
/external/skia/src/core/ |
D | SkSpriteBlitter_RGB16.cpp | 321 if (kPremul_SkAlphaType != at && kOpaque_SkAlphaType != at) { in ChooseD16() 328 if (kPremul_SkAlphaType != at && kOpaque_SkAlphaType != at) { in ChooseD16() 345 if (kPremul_SkAlphaType != at && kOpaque_SkAlphaType != at) { in ChooseD16()
|
D | SkBitmapProvider.cpp | 48 SkAlphaType at = fImage->isOpaque() ? kOpaque_SkAlphaType : kPremul_SkAlphaType; in info()
|
/external/skia/src/utils/mac/ |
D | SkCreateCGImageRef.cpp | 24 case kPremul_SkAlphaType: in ComputeCGAlphaInfo_RGBA() 42 case kPremul_SkAlphaType: in ComputeCGAlphaInfo_BGRA()
|
/external/skia/src/images/ |
D | SkImageDecoder_ktx.cpp | 84 alphaType = kPremul_SkAlphaType; in onDecode() 214 SkASSERT(bm->alphaType() == kPremul_SkAlphaType); in onDecode()
|