Home
last modified time | relevance | path

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

12345678

/external/skia/tests/
DShaderOpacityTest.cpp24 REPORTER_ASSERT(reporter, !shader->isOpaque()); in test_bitmap()
33 REPORTER_ASSERT(reporter, !shader->isOpaque()); in test_bitmap()
40 REPORTER_ASSERT(reporter, shader->isOpaque()); in test_bitmap()
47 REPORTER_ASSERT(reporter, !shader->isOpaque()); in test_bitmap()
64 REPORTER_ASSERT(reporter, grad->isOpaque()); in test_gradient()
71 REPORTER_ASSERT(reporter, !grad->isOpaque()); in test_gradient()
78 REPORTER_ASSERT(reporter, !grad->isOpaque()); in test_gradient()
85 REPORTER_ASSERT(reporter, !grad->isOpaque()); in test_gradient()
90 REPORTER_ASSERT(reporter, !colorShader1.isOpaque()); in test_color()
92 REPORTER_ASSERT(reporter, colorShader2.isOpaque()); in test_color()
[all …]
/external/skqp/tests/
DShaderOpacityTest.cpp24 REPORTER_ASSERT(reporter, !shader->isOpaque()); in test_bitmap()
33 REPORTER_ASSERT(reporter, !shader->isOpaque()); in test_bitmap()
40 REPORTER_ASSERT(reporter, shader->isOpaque()); in test_bitmap()
47 REPORTER_ASSERT(reporter, !shader->isOpaque()); in test_bitmap()
64 REPORTER_ASSERT(reporter, grad->isOpaque()); in test_gradient()
71 REPORTER_ASSERT(reporter, !grad->isOpaque()); in test_gradient()
78 REPORTER_ASSERT(reporter, !grad->isOpaque()); in test_gradient()
85 REPORTER_ASSERT(reporter, !grad->isOpaque()); in test_gradient()
90 REPORTER_ASSERT(reporter, !colorShader1.isOpaque()); in test_color()
92 REPORTER_ASSERT(reporter, colorShader2.isOpaque()); in test_color()
[all …]
/external/skqp/src/images/
DSkPngEncoder.cpp116 pngColorType = srcInfo.isOpaque() ? PNG_COLOR_TYPE_RGB : PNG_COLOR_TYPE_RGB_ALPHA; in setHeader()
123 SkASSERT(srcInfo.isOpaque()); in setHeader()
131 pngColorType = srcInfo.isOpaque() ? PNG_COLOR_TYPE_RGB : PNG_COLOR_TYPE_RGB_ALPHA; in setHeader()
132 fPngBytesPerPixel = srcInfo.isOpaque() ? 3 : 4; in setHeader()
140 SkASSERT(srcInfo.isOpaque()); in setHeader()
151 pngColorType = srcInfo.isOpaque() ? PNG_COLOR_TYPE_RGB : PNG_COLOR_TYPE_RGB_ALPHA; in setHeader()
152 fPngBytesPerPixel = srcInfo.isOpaque() ? 3 : 4; in setHeader()
160 SkASSERT(srcInfo.isOpaque()); in setHeader()
174 pngColorType = srcInfo.isOpaque() ? PNG_COLOR_TYPE_RGB : PNG_COLOR_TYPE_RGB_ALPHA; in setHeader()
DSkWebpEncoder.cpp69 if (!info.isOpaque()) { in choose_proc()
120 bpp = pixmap.isOpaque() ? 3 : 4; in Encode()
178 if (pixmap.isOpaque()) { in Encode()
/external/skia/src/images/
DSkPngEncoder.cpp117 pngColorType = srcInfo.isOpaque() ? PNG_COLOR_TYPE_RGB : PNG_COLOR_TYPE_RGB_ALPHA; in setHeader()
124 SkASSERT(srcInfo.isOpaque()); in setHeader()
132 pngColorType = srcInfo.isOpaque() ? PNG_COLOR_TYPE_RGB : PNG_COLOR_TYPE_RGB_ALPHA; in setHeader()
133 fPngBytesPerPixel = srcInfo.isOpaque() ? 3 : 4; in setHeader()
141 SkASSERT(srcInfo.isOpaque()); in setHeader()
152 pngColorType = srcInfo.isOpaque() ? PNG_COLOR_TYPE_RGB : PNG_COLOR_TYPE_RGB_ALPHA; in setHeader()
153 fPngBytesPerPixel = srcInfo.isOpaque() ? 3 : 4; in setHeader()
161 SkASSERT(srcInfo.isOpaque()); in setHeader()
175 pngColorType = srcInfo.isOpaque() ? PNG_COLOR_TYPE_RGB : PNG_COLOR_TYPE_RGB_ALPHA; in setHeader()
DSkWebpEncoder.cpp69 if (!info.isOpaque()) { in choose_proc()
120 bpp = pixmap.isOpaque() ? 3 : 4; in Encode()
178 if (pixmap.isOpaque()) { in Encode()
/external/skqp/src/pdf/
DSkPDFBitmap.cpp139 bool isOpaque, in do_deflated_image() argument
142 if (!isOpaque) { in do_deflated_image()
191 if (!isOpaque) { in do_deflated_image()
238 SkAlphaType at = bm.isOpaque() ? kOpaque_SkAlphaType : kUnpremul_SkAlphaType; in to_pixels()
262 bool isOpaque = pm.isOpaque() || pm.computeIsOpaque(); in serialize_image() local
263 if (encodingQuality <= 100 && isOpaque) { in serialize_image()
269 do_deflated_image(pm, doc, isOpaque, ref); in serialize_image()
/external/skia/src/pdf/
DSkPDFBitmap.cpp139 bool isOpaque, in do_deflated_image() argument
142 if (!isOpaque) { in do_deflated_image()
191 if (!isOpaque) { in do_deflated_image()
238 SkAlphaType at = bm.isOpaque() ? kOpaque_SkAlphaType : kUnpremul_SkAlphaType; in to_pixels()
262 bool isOpaque = pm.isOpaque() || pm.computeIsOpaque(); in serialize_image() local
263 if (encodingQuality <= 100 && isOpaque) { in serialize_image()
269 do_deflated_image(pm, doc, isOpaque, ref); in serialize_image()
/external/skia/src/shaders/
DSkColorShader.h27 bool isOpaque() const override;
59 bool isOpaque() const override { return fColor.isOpaque(); } in isOpaque() function
DSkLightingShader.cpp56 bool isOpaque() const override;
311 bool SkLightingShaderImpl::isOpaque() const { in isOpaque() function in SkLightingShaderImpl
312 return (fDiffuseShader ? fDiffuseShader->isOpaque() : false); in isOpaque()
322 bool isOpaque = shader.isOpaque(); in LightingShaderContext() local
326 if (isOpaque && (255 == this->getPaintAlpha())) { in LightingShaderContext()
/external/skqp/src/shaders/
DSkColorShader.h27 bool isOpaque() const override;
59 bool isOpaque() const override { return fColor.isOpaque(); } in isOpaque() function
DSkLightingShader.cpp56 bool isOpaque() const override;
313 bool SkLightingShaderImpl::isOpaque() const { in isOpaque() function in SkLightingShaderImpl
314 return (fDiffuseShader ? fDiffuseShader->isOpaque() : false); in isOpaque()
324 bool isOpaque = shader.isOpaque(); in LightingShaderContext() local
328 if (isOpaque && (255 == this->getPaintAlpha())) { in LightingShaderContext()
/external/skqp/src/core/
DSkBlitter_RGB565.cpp93 bool isOpaque = SkToBool(shaderContext->getFlags() & SkShaderBase::kOpaqueAlpha_Flag); in SkRGB565_Shader_Blitter() local
95 if (paint.getBlendMode() == SkBlendMode::kSrc || isOpaque) { in SkRGB565_Shader_Blitter()
99 fBlend = isOpaque ? D16_S32X_src : D16_S32A_srcover; in SkRGB565_Shader_Blitter()
100 fBlendCoverage = isOpaque ? D16_S32X_src_coverage : D16_S32A_srcover_coverage; in SkRGB565_Shader_Blitter()
DSkBlitter_Sprite.cpp72 return SkBlendMode::kSrc == mode || (SkBlendMode::kSrcOver == mode && src.isOpaque()); in Supports()
129 auto srcAT = fSource.isOpaque() ? kOpaque_SkAlphaType in setup()
139 bool is_opaque = fSource.isOpaque() && fPaintColor.fA == 1.0f; in setup()
/external/skia/src/core/
DSkBlitter_RGB565.cpp93 bool isOpaque = SkToBool(shaderContext->getFlags() & SkShaderBase::kOpaqueAlpha_Flag); in SkRGB565_Shader_Blitter() local
95 if (paint.getBlendMode() == SkBlendMode::kSrc || isOpaque) { in SkRGB565_Shader_Blitter()
99 fBlend = isOpaque ? D16_S32X_src : D16_S32A_srcover; in SkRGB565_Shader_Blitter()
100 fBlendCoverage = isOpaque ? D16_S32X_src_coverage : D16_S32A_srcover_coverage; in SkRGB565_Shader_Blitter()
DSkBlitter_Sprite.cpp72 return SkBlendMode::kSrc == mode || (SkBlendMode::kSrcOver == mode && src.isOpaque()); in Supports()
129 auto srcAT = fSource.isOpaque() ? kOpaque_SkAlphaType in setup()
140 bool is_opaque = fSource.isOpaque() && fPaintColor.fA == 1.0f; in setup()
DSkSpriteBlitter_RGB565.cpp38 fUseSrcOver = (mode == SkBlendMode::kSrcOver) && !src.isOpaque(); in Sprite_D16_S32()
126 fUseSrcOver = (mode == SkBlendMode::kSrcOver) && !src.isOpaque(); in Sprite_D8_S32()
/external/skia/src/gpu/
DGrProcessorAnalysis.h31 if (color.isOpaque()) { in setToConstant()
44 bool isOpaque() const { return SkToBool(kIsOpaque_Flag & fFlags); } in isOpaque() function
101 bool isOpaque() const { return fIsOpaque; } in isOpaque() function
DGrProcessorAnalysis.cpp17 fIsOpaque = input.isOpaque(); in GrColorFragmentProcessorAnalysis()
30 fIsOpaque = fLastKnownOutputColor.isOpaque(); in GrColorFragmentProcessorAnalysis()
/external/skqp/src/gpu/
DGrProcessorAnalysis.h31 if (color.isOpaque()) { in setToConstant()
44 bool isOpaque() const { return SkToBool(kIsOpaque_Flag & fFlags); } in isOpaque() function
101 bool isOpaque() const { return fIsOpaque; } in isOpaque() function
DGrProcessorAnalysis.cpp17 fIsOpaque = input.isOpaque(); in GrColorFragmentProcessorAnalysis()
30 fIsOpaque = fLastKnownOutputColor.isOpaque(); in GrColorFragmentProcessorAnalysis()
/external/skqp/include/core/
DSkBitmap.h309 bool isOpaque() const { in isOpaque() function
571 bool SK_WARN_UNUSED_RESULT tryAllocN32Pixels(int width, int height, bool isOpaque = false) {
573 isOpaque ? kOpaque_SkAlphaType : kPremul_SkAlphaType);
592 void allocN32Pixels(int width, int height, bool isOpaque = false) {
594 isOpaque ? kOpaque_SkAlphaType : kPremul_SkAlphaType);
/external/skia/include/core/
DSkBitmap.h309 bool isOpaque() const { in isOpaque() function
565 bool SK_WARN_UNUSED_RESULT tryAllocN32Pixels(int width, int height, bool isOpaque = false);
582 void allocN32Pixels(int width, int height, bool isOpaque = false);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Linker/
DIRMover.cpp137 if (SSTy->isOpaque()) { in areTypesIsomorphic()
147 if (cast<StructType>(DstTy)->isOpaque()) { in areTypesIsomorphic()
201 assert(DstSTy->isOpaque()); in linkDefinedTypeBodies()
249 if (STy->getContext().isODRUniquingDebugTypes() && !STy->isOpaque() && in get()
287 if (DTy->isOpaque()) { in get()
324 if (STy->isOpaque()) { in get()
1420 assert(!Ty->isOpaque()); in addNonOpaque()
1425 assert(!Ty->isOpaque()); in switchToNonOpaque()
1433 assert(Ty->isOpaque()); in addOpaque()
1446 if (Ty->isOpaque()) in hasType()
[all …]
/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()

12345678