Home
last modified time | relevance | path

Searched refs:isOpaque (Results 1 – 25 of 119) sorted by relevance

12345

/external/skia/tests/
DShaderOpacityTest.cpp23 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 …]
DBitmapCopyTest.cpp44 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/
DSkPaintPriv.cpp33 (!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()
DSkRadialShadowMapShader.cpp31 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()
DSkBlitMask_D32.cpp13 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()
DSkBlitMask.h53 static BlitLCD16RowProc BlitLCD16RowFactory(bool isOpaque);
59 static BlitLCD16RowProc PlatformBlitRowProcs16(bool isOpaque);
DSkLightingShader.cpp53 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()
DSkColorShader.h27 bool isOpaque() const override;
82 bool isOpaque() const override { in isOpaque() function
DSkSpriteBlitter4f.cpp39 if (src.isOpaque()) { in Sprite_F16()
88 if (src.isOpaque()) { in Sprite_sRGB()
DSkSpriteBlitter_ARGB32.cpp28 if (!src.isOpaque()) { in Sprite_D32_S32()
76 if (!source.isOpaque()) { in Sprite_D32_XferFilter()
276 } else if (source.isOpaque()) { in ChooseL32()
DSkBlitter_Sprite.cpp75 if (SkBlendMode::kSrcOver == mode && src.isOpaque()) { in Supports()
98 if (mode == SkBlendMode::kSrcOver && !fSource.isOpaque()) { in setup()
/external/skia/src/images/
DSkPNGImageEncoder.cpp211 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()
DSkWEBPImageEncoder.cpp73 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/
DGrPipelineAnalysis.h42 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
DGrProcessorSet.cpp121 fOutputColorType = static_cast<unsigned>(outputColor.isOpaque() ? ColorType::kOpaqueConstant in internalInit()
123 } else if (outputColor.isOpaque()) { in internalInit()
/external/skia/src/opts/
DSkBlitMask_opts_arm.cpp14 SkBlitMask::BlitLCD16RowProc SkBlitMask::PlatformBlitRowProcs16(bool isOpaque) { in PlatformBlitRowProcs16() argument
15 if (isOpaque) { in PlatformBlitRowProcs16()
Dopts_check_x86.cpp135 SkBlitMask::BlitLCD16RowProc SkBlitMask::PlatformBlitRowProcs16(bool isOpaque) { in PlatformBlitRowProcs16() argument
137 if (isOpaque) { in PlatformBlitRowProcs16()
DSkBlitMask_opts_none.cpp10 SkBlitMask::BlitLCD16RowProc SkBlitMask::PlatformBlitRowProcs16(bool isOpaque) { in PlatformBlitRowProcs16() argument
/external/skia/src/effects/
DSkGaussianEdgeShader.cpp28 bool isOpaque() const override;
64 bool SkGaussianEdgeShaderImpl::isOpaque() const { in isOpaque() function in SkGaussianEdgeShaderImpl
/external/skia/samplecode/
DSampleTinyBitmap.cpp58 static void setBitmapOpaque(SkBitmap* bm, bool isOpaque) { in setBitmapOpaque() argument
60 bm->setAlphaType(isOpaque ? kOpaque_SkAlphaType : kPremul_SkAlphaType); in setBitmapOpaque()
DSampleDitherBitmap.cpp100 static void setBitmapOpaque(SkBitmap* bm, bool isOpaque) { in setBitmapOpaque() argument
102 bm->setAlphaType(isOpaque ? kOpaque_SkAlphaType : kPremul_SkAlphaType); in setBitmapOpaque()
/external/skia/include/core/
DSkBitmap.h189 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/
DShaderMaskBench.cpp39 ShaderMaskBench(bool isOpaque, FontQuality fq) { in ShaderMaskBench() argument
45 fPaint.setShader(SkShader::MakeColorShader(isOpaque ? 0xFFFFFFFF : 0x80808080)); in ShaderMaskBench()
/external/llvm/lib/Linker/
DIRMover.cpp131 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/
DSkGradientShaderPriv.h179 bool isOpaque() const override;
404 GrGradientEffect(const CreateArgs&, bool isOpaque);
434 static OptimizationFlags OptFlags(bool isOpaque);

12345