/external/skia/tests/ |
D | ShaderOpacityTest.cpp | 23 REPORTER_ASSERT(reporter, !shader->isOpaque()); in test_bitmap() 32 REPORTER_ASSERT(reporter, !shader->isOpaque()); in test_bitmap() 39 REPORTER_ASSERT(reporter, shader->isOpaque()); in test_bitmap() 46 REPORTER_ASSERT(reporter, !shader->isOpaque()); in test_bitmap() 63 REPORTER_ASSERT(reporter, grad->isOpaque()); in test_gradient() 70 REPORTER_ASSERT(reporter, !grad->isOpaque()); in test_gradient() 77 REPORTER_ASSERT(reporter, !grad->isOpaque()); in test_gradient() 84 REPORTER_ASSERT(reporter, !grad->isOpaque()); in test_gradient() 89 REPORTER_ASSERT(reporter, !colorShader1.isOpaque()); in test_color() 91 REPORTER_ASSERT(reporter, colorShader2.isOpaque()); in test_color() [all …]
|
D | BitmapCopyTest.cpp | 44 color_type_name(src.colorType()), src.isOpaque(), in report_opaqueness() 45 color_type_name(dst.colorType()), dst.isOpaque()); in report_opaqueness() 61 if (srcPremul.isOpaque() != dst.isOpaque()) { in test_isOpaque() 68 if (srcOpaque.isOpaque() != dst.isOpaque()) { in test_isOpaque()
|
/external/skia/src/core/ |
D | SkPaintPriv.cpp | 33 (!paint->getShader() || paint->getShader()->isOpaque())) in Overwrites() 49 return Overwrites(paint, bitmap.isOpaque() ? kOpaque_ShaderOverrideOpacity in Overwrites() 54 return Overwrites(paint, image->isOpaque() ? kOpaque_ShaderOverrideOpacity in Overwrites()
|
D | SkRadialShadowMapShader.cpp | 31 bool isOpaque() const override; 270 bool SkRadialShadowMapShaderImpl::isOpaque() const { in isOpaque() function in SkRadialShadowMapShaderImpl 271 return fOccluderShader->isOpaque(); in isOpaque() 281 bool isOpaque = shader.isOpaque(); in ShadowMapRadialShaderContext() local 285 if (isOpaque && (255 == this->getPaintAlpha())) { in ShadowMapRadialShaderContext()
|
D | SkBlitMask_D32.cpp | 13 SkBlitMask::BlitLCD16RowProc SkBlitMask::BlitLCD16RowFactory(bool isOpaque) { in BlitLCD16RowFactory() argument 14 BlitLCD16RowProc proc = PlatformBlitRowProcs16(isOpaque); in BlitLCD16RowFactory() 19 if (isOpaque) { in BlitLCD16RowFactory() 35 bool isOpaque = (0xFF == SkColorGetA(color)); in D32_LCD16_Proc() local 36 proc = SkBlitMask::BlitLCD16RowFactory(isOpaque); in D32_LCD16_Proc() 39 if (isOpaque) { in D32_LCD16_Proc()
|
D | SkBlitMask.h | 53 static BlitLCD16RowProc BlitLCD16RowFactory(bool isOpaque); 59 static BlitLCD16RowProc PlatformBlitRowProcs16(bool isOpaque);
|
D | SkLightingShader.cpp | 53 bool isOpaque() const override; 292 bool SkLightingShaderImpl::isOpaque() const { in isOpaque() function in SkLightingShaderImpl 293 return (fDiffuseShader ? fDiffuseShader->isOpaque() : false); in isOpaque() 303 bool isOpaque = shader.isOpaque(); in LightingShaderContext() local 307 if (isOpaque && (255 == this->getPaintAlpha())) { in LightingShaderContext()
|
D | SkColorShader.h | 27 bool isOpaque() const override; 82 bool isOpaque() const override { in isOpaque() function
|
D | SkSpriteBlitter4f.cpp | 39 if (src.isOpaque()) { in Sprite_F16() 88 if (src.isOpaque()) { in Sprite_sRGB()
|
D | SkSpriteBlitter_ARGB32.cpp | 28 if (!src.isOpaque()) { in Sprite_D32_S32() 76 if (!source.isOpaque()) { in Sprite_D32_XferFilter() 276 } else if (source.isOpaque()) { in ChooseL32()
|
D | SkBlitter_Sprite.cpp | 75 if (SkBlendMode::kSrcOver == mode && src.isOpaque()) { in Supports() 98 if (mode == SkBlendMode::kSrcOver && !fSource.isOpaque()) { in setup()
|
/external/skia/src/images/ |
D | SkPNGImageEncoder.cpp | 211 const bool isOpaque = (kOpaque_SkAlphaType == alphaType); in SkEncodeImageAsPNG() local 227 pngColorType = isOpaque ? PNG_COLOR_TYPE_RGB : PNG_COLOR_TYPE_RGB_ALPHA; in SkEncodeImageAsPNG() 239 SkASSERT(isOpaque); in SkEncodeImageAsPNG() 247 pngColorType = isOpaque ? PNG_COLOR_TYPE_RGB : PNG_COLOR_TYPE_RGB_ALPHA; in SkEncodeImageAsPNG() 254 pngColorType = isOpaque ? PNG_COLOR_TYPE_RGB : PNG_COLOR_TYPE_RGB_ALPHA; in SkEncodeImageAsPNG() 261 SkASSERT(isOpaque); in SkEncodeImageAsPNG()
|
D | SkWEBPImageEncoder.cpp | 73 if (!info.isOpaque()) { in choose_proc() 144 bpp = pixmap.isOpaque() ? 3 : 4; in do_encode() 200 if (pixmap.isOpaque()) { in do_encode()
|
/external/skia/src/gpu/ |
D | GrPipelineAnalysis.h | 42 bool isOpaque() const { return SkToBool(kIsOpaque_Flag & fFlags); } in isOpaque() function 75 fIsOpaque = input.isOpaque(); in GrColorFragmentProcessorAnalysis() 93 bool isOpaque() const { return fIsOpaque; } in isOpaque() function
|
D | GrProcessorSet.cpp | 121 fOutputColorType = static_cast<unsigned>(outputColor.isOpaque() ? ColorType::kOpaqueConstant in internalInit() 123 } else if (outputColor.isOpaque()) { in internalInit()
|
/external/skia/src/opts/ |
D | SkBlitMask_opts_arm.cpp | 14 SkBlitMask::BlitLCD16RowProc SkBlitMask::PlatformBlitRowProcs16(bool isOpaque) { in PlatformBlitRowProcs16() argument 15 if (isOpaque) { in PlatformBlitRowProcs16()
|
D | opts_check_x86.cpp | 135 SkBlitMask::BlitLCD16RowProc SkBlitMask::PlatformBlitRowProcs16(bool isOpaque) { in PlatformBlitRowProcs16() argument 137 if (isOpaque) { in PlatformBlitRowProcs16()
|
D | SkBlitMask_opts_none.cpp | 10 SkBlitMask::BlitLCD16RowProc SkBlitMask::PlatformBlitRowProcs16(bool isOpaque) { in PlatformBlitRowProcs16() argument
|
/external/skia/src/effects/ |
D | SkGaussianEdgeShader.cpp | 28 bool isOpaque() const override; 64 bool SkGaussianEdgeShaderImpl::isOpaque() const { in isOpaque() function in SkGaussianEdgeShaderImpl
|
/external/skia/samplecode/ |
D | SampleTinyBitmap.cpp | 58 static void setBitmapOpaque(SkBitmap* bm, bool isOpaque) { in setBitmapOpaque() argument 60 bm->setAlphaType(isOpaque ? kOpaque_SkAlphaType : kPremul_SkAlphaType); in setBitmapOpaque()
|
D | SampleDitherBitmap.cpp | 100 static void setBitmapOpaque(SkBitmap* bm, bool isOpaque) { in setBitmapOpaque() argument 102 bm->setAlphaType(isOpaque ? kOpaque_SkAlphaType : kPremul_SkAlphaType); in setBitmapOpaque()
|
/external/skia/include/core/ |
D | SkBitmap.h | 189 bool isOpaque() const { in isOpaque() function 279 bool SK_WARN_UNUSED_RESULT tryAllocN32Pixels(int width, int height, bool isOpaque = false) { 281 isOpaque ? kOpaque_SkAlphaType : kPremul_SkAlphaType); 285 void allocN32Pixels(int width, int height, bool isOpaque = false) { 287 isOpaque ? kOpaque_SkAlphaType : kPremul_SkAlphaType);
|
/external/skia/bench/ |
D | ShaderMaskBench.cpp | 39 ShaderMaskBench(bool isOpaque, FontQuality fq) { in ShaderMaskBench() argument 45 fPaint.setShader(SkShader::MakeColorShader(isOpaque ? 0xFFFFFFFF : 0x80808080)); in ShaderMaskBench()
|
/external/llvm/lib/Linker/ |
D | IRMover.cpp | 131 if (SSTy->isOpaque()) { in areTypesIsomorphic() 141 if (cast<StructType>(DstTy)->isOpaque()) { in areTypesIsomorphic() 198 assert(DstSTy->isOpaque()); in linkDefinedTypeBodies() 275 if (DTy->isOpaque()) { in get() 312 if (STy->isOpaque()) { in get() 1305 assert(!Ty->isOpaque()); in addNonOpaque() 1310 assert(!Ty->isOpaque()); in switchToNonOpaque() 1318 assert(Ty->isOpaque()); in addOpaque() 1331 if (Ty->isOpaque()) in hasType() 1341 if (Ty->isOpaque()) in IRMover()
|
/external/skia/src/effects/gradients/ |
D | SkGradientShaderPriv.h | 179 bool isOpaque() const override; 404 GrGradientEffect(const CreateArgs&, bool isOpaque); 434 static OptimizationFlags OptFlags(bool isOpaque);
|