Searched refs:isOpaque (Results 1 - 25 of 114) sorted by relevance

12345

/external/skia/src/opts/
H A DSkBlitMask_opts_arm.cpp14 SkBlitMask::BlitLCD16RowProc SkBlitMask::PlatformBlitRowProcs16(bool isOpaque) { argument
15 if (isOpaque) {
H A DSkBlitMask_opts_none.cpp10 SkBlitMask::BlitLCD16RowProc SkBlitMask::PlatformBlitRowProcs16(bool isOpaque) { argument
H A Dopts_check_x86.cpp98 SkBlitMask::BlitLCD16RowProc SkBlitMask::PlatformBlitRowProcs16(bool isOpaque) { argument
100 if (isOpaque) {
/external/skia/tests/
H A DShaderOpacityTest.cpp23 REPORTER_ASSERT(reporter, !shader->isOpaque());
32 REPORTER_ASSERT(reporter, !shader->isOpaque());
39 REPORTER_ASSERT(reporter, shader->isOpaque());
46 REPORTER_ASSERT(reporter, !shader->isOpaque());
63 REPORTER_ASSERT(reporter, grad->isOpaque());
70 REPORTER_ASSERT(reporter, !grad->isOpaque());
77 REPORTER_ASSERT(reporter, !grad->isOpaque());
84 REPORTER_ASSERT(reporter, !grad->isOpaque());
89 REPORTER_ASSERT(reporter, !colorShader1.isOpaque());
91 REPORTER_ASSERT(reporter, colorShader2.isOpaque());
[all...]
/external/skia/src/core/
H A DSkBlitMask.h53 static BlitLCD16RowProc BlitLCD16RowFactory(bool isOpaque);
59 static BlitLCD16RowProc PlatformBlitRowProcs16(bool isOpaque);
H A DSkPaintPriv.cpp33 (!paint->getShader() || paint->getShader()->isOpaque()))
49 return Overwrites(paint, bitmap.isOpaque() ? kOpaque_ShaderOverrideOpacity
54 return Overwrites(paint, image->isOpaque() ? kOpaque_ShaderOverrideOpacity
H A DSkBlitter_RGB565.cpp96 bool isOpaque = SkToBool(shaderContext->getFlags() & SkShaderBase::kOpaqueAlpha_Flag); local
98 if (paint.getBlendMode() == SkBlendMode::kSrc || isOpaque) {
102 fBlend = isOpaque ? D16_S32X_src : D16_S32A_srcover;
103 fBlendCoverage = isOpaque ? D16_S32X_src_coverage : D16_S32A_srcover_coverage;
H A DSkBlitMask_D32.cpp13 SkBlitMask::BlitLCD16RowProc SkBlitMask::BlitLCD16RowFactory(bool isOpaque) { argument
14 BlitLCD16RowProc proc = PlatformBlitRowProcs16(isOpaque);
19 if (isOpaque) {
35 bool isOpaque = (0xFF == SkColorGetA(color)); local
36 proc = SkBlitMask::BlitLCD16RowFactory(isOpaque);
39 if (isOpaque) {
H A DSkSpriteBlitter_ARGB32.cpp28 if (!src.isOpaque()) {
/external/skia/src/gpu/
H A DGrProcessorAnalysis.cpp25 fIsOpaque = fLastKnownOutputColor.isOpaque();
H A DGrProcessorAnalysis.h42 bool isOpaque() const { return SkToBool(kIsOpaque_Flag & fFlags); } function in class:GrProcessorAnalysisColor
98 fIsOpaque = input.isOpaque();
116 bool isOpaque() const { return fIsOpaque; } function in class:GrColorFragmentProcessorAnalysis
H A DGrPaint.cpp64 if (kSrc == fXPFactory || (!fXPFactory && fColor.isOpaque())) {
/external/skia/bench/
H A DShaderMaskBench.cpp40 ShaderMaskBench(bool isOpaque, FontQuality fq) { argument
46 fPaint.setShader(SkShader::MakeColorShader(isOpaque ? 0xFFFFFFFF : 0x80808080));
/external/skia/src/images/
H A DSkPngEncoder.cpp114 pngColorType = srcInfo.isOpaque() ? PNG_COLOR_TYPE_RGB : PNG_COLOR_TYPE_RGB_ALPHA;
121 SkASSERT(srcInfo.isOpaque());
129 pngColorType = srcInfo.isOpaque() ? PNG_COLOR_TYPE_RGB : PNG_COLOR_TYPE_RGB_ALPHA;
130 fPngBytesPerPixel = srcInfo.isOpaque() ? 3 : 4;
141 pngColorType = srcInfo.isOpaque() ? PNG_COLOR_TYPE_RGB : PNG_COLOR_TYPE_RGB_ALPHA;
142 fPngBytesPerPixel = srcInfo.isOpaque() ? 3 : 4;
150 SkASSERT(srcInfo.isOpaque());
H A DSkWebpEncoder.cpp75 if (!info.isOpaque()) {
130 bpp = pixmap.isOpaque() ? 3 : 4;
187 if (pixmap.isOpaque()) {
/external/skia/src/shaders/
H A DSkColorShader.h28 bool isOpaque() const override;
84 bool isOpaque() const override {
H A DSkImageShader.h21 bool isOpaque() const override;
H A DSkLightingShader.cpp55 bool isOpaque() const override;
300 bool SkLightingShaderImpl::isOpaque() const { function in class:SkLightingShaderImpl
301 return (fDiffuseShader ? fDiffuseShader->isOpaque() : false);
311 bool isOpaque = shader.isOpaque(); local
315 if (isOpaque && (255 == this->getPaintAlpha())) {
H A DSkColorFilterShader.cpp48 fFilter->appendStages(pipeline, dstCS, alloc, fShader->isOpaque());
/external/skia/src/codec/
H A DSkBmpStandardCodec.h38 * @param isOpaque indicates if the bmp itself is opaque (before applying
44 uint32_t offset, SkCodec::SkScanlineOrder rowOrder, bool isOpaque,
/external/skia/src/gpu/effects/
H A DGrConstColorProcessor.h51 if (color.isOpaque()) {
/external/skia/src/shaders/gradients/
H A DSkTwoPointConicalGradient.h24 bool isOpaque() const override;
H A DSkGradientShaderPriv.h180 bool isOpaque() const override;
416 GrGradientEffect(const CreateArgs&, bool isOpaque);
451 static OptimizationFlags OptFlags(bool isOpaque);
/external/skia/include/core/
H A DSkBitmap.h190 bool isOpaque() const { function in class:SkBitmap
218 * this (isOpaque). Only call this if you need to compute this value from
294 bool SK_WARN_UNUSED_RESULT tryAllocN32Pixels(int width, int height, bool isOpaque = false) {
296 isOpaque ? kOpaque_SkAlphaType : kPremul_SkAlphaType);
300 void allocN32Pixels(int width, int height, bool isOpaque = false) {
302 isOpaque ? kOpaque_SkAlphaType : kPremul_SkAlphaType);
H A DSkShader.h81 virtual bool isOpaque() const { return false; } function in class:SkShader

Completed in 403 milliseconds

12345