Home
last modified time | relevance | path

Searched refs:getBlendMode (Results 1 – 25 of 59) sorted by relevance

123

/external/skia/tests/
DLayerDrawLooperTest.cpp67 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrc); in test_frontToBack()
75 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrcOver); in test_frontToBack()
106 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrcOver); in test_backToFront()
114 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrc); in test_backToFront()
145 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrcOver); in test_mixed()
153 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrc); in test_mixed()
DPaintTest.cpp282 ASSERT(other.getBlendMode() == paint.getBlendMode());
/external/skqp/tests/
DLayerDrawLooperTest.cpp67 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrc); in test_frontToBack()
75 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrcOver); in test_frontToBack()
106 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrcOver); in test_backToFront()
114 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrc); in test_backToFront()
145 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrcOver); in test_mixed()
153 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrc); in test_mixed()
DPaintTest.cpp282 ASSERT(other.getBlendMode() == paint.getBlendMode());
/external/skqp/src/core/
DSkSpriteBlitter_RGB565.cpp83 switch (paint.getBlendMode()) { in ChooseL565()
86 return allocator->make<Sprite_D16_S32>(source, paint.getBlendMode()); in ChooseL565()
171 switch (paint.getBlendMode()) { in ChooseLA8()
174 return allocator->make<Sprite_D8_S32>(source, paint.getBlendMode()); in ChooseLA8()
DSkBlitter_RGB565.cpp74 if (paint.getBlendMode() != SkBlendMode::kSrcOver && in Supports()
75 paint.getBlendMode() != SkBlendMode::kSrc) { in Supports()
95 if (paint.getBlendMode() == SkBlendMode::kSrc || isOpaque) { in SkRGB565_Shader_Blitter()
DSkXfermodeInterpretation.cpp16 switch (paint.getBlendMode()) { in SkInterpretXfermode()
DSkPaintPriv.cpp43 return SkXfermode::IsOpaque(paint->getBlendMode(), opacityType); in Overwrites()
DSkBlitter.cpp771 paint.getBlendMode() > SkBlendMode::kLastCoeffMode || in UseRasterPipelineBlitter()
779 if (!paint.getShader() && paint.getBlendMode() != SkBlendMode::kSrcOver) { in UseRasterPipelineBlitter()
804 if (paint->getBlendMode() != SkBlendMode::kSrcOver) { in Choose()
817 if (paint->getBlendMode() == SkBlendMode::kClear) { in Choose()
851 SkASSERT(paint->getShader() || paint->getBlendMode() == SkBlendMode::kSrcOver); in Choose()
DSkSpriteBlitter_ARGB32.cpp65 fXfermode = SkXfermode::Peek(paint.getBlendMode()); in Sprite_D32_S32A_Xfer()
DSkBlitter_Sprite.cpp71 SkBlendMode mode = paint.getBlendMode(); in Supports()
/external/skia/src/core/
DSkSpriteBlitter_RGB565.cpp83 switch (paint.getBlendMode()) { in ChooseL565()
86 return allocator->make<Sprite_D16_S32>(source, paint.getBlendMode()); in ChooseL565()
171 switch (paint.getBlendMode()) { in ChooseLA8()
174 return allocator->make<Sprite_D8_S32>(source, paint.getBlendMode()); in ChooseLA8()
DSkBlitter_RGB565.cpp74 if (paint.getBlendMode() != SkBlendMode::kSrcOver && in Supports()
75 paint.getBlendMode() != SkBlendMode::kSrc) { in Supports()
95 if (paint.getBlendMode() == SkBlendMode::kSrc || isOpaque) { in SkRGB565_Shader_Blitter()
DSkXfermodeInterpretation.cpp16 switch (paint.getBlendMode()) { in SkInterpretXfermode()
DSkPaintPriv.cpp43 return SkXfermode::IsOpaque(paint->getBlendMode(), opacityType); in Overwrites()
DSkBlitter.cpp771 paint.getBlendMode() > SkBlendMode::kLastCoeffMode || in UseRasterPipelineBlitter()
779 if (!paint.getShader() && paint.getBlendMode() != SkBlendMode::kSrcOver) { in UseRasterPipelineBlitter()
813 if (paint->getBlendMode() != SkBlendMode::kSrcOver) { in Choose()
826 if (paint->getBlendMode() == SkBlendMode::kClear) { in Choose()
859 SkASSERT(paint->getShader() || paint->getBlendMode() == SkBlendMode::kSrcOver); in Choose()
DSkSpriteBlitter_ARGB32.cpp65 fXfermode = SkXfermode::Peek(paint.getBlendMode()); in Sprite_D32_S32A_Xfer()
DSkPaint.cpp283 packed |= shift_bits(paint.getBlendMode(), 8, 8); in pack_v68()
542 switch (this->getBlendMode()) { in nothingToDraw()
/external/skqp/src/pdf/
DSkPDFGraphicState.cpp60 SkPDFFillGraphicState fillKey = {p.getColor4f().fA, pdf_blend_mode(p.getBlendMode())}; in GetGraphicStateForPaint()
79 pdf_blend_mode(p.getBlendMode()) in GetGraphicStateForPaint()
/external/skia/src/pdf/
DSkPDFGraphicState.cpp60 SkPDFFillGraphicState fillKey = {p.getColor4f().fA, pdf_blend_mode(p.getBlendMode())}; in GetGraphicStateForPaint()
79 pdf_blend_mode(p.getBlendMode()) in GetGraphicStateForPaint()
/external/skia/modules/sksg/src/
DSkSGRenderNode.cpp33 if (alpha != initial_alpha || fColorFilter || fBlendMode != paint->getBlendMode()) { in modulatePaint()
/external/skqp/src/utils/
DSkPaintFilterCanvas.cpp74 this->SkNWayCanvas::onDrawEdgeAARect(rect, aa, paint.getColor(), paint.getBlendMode()); in onDrawEdgeAARect()
192 mode = paint.getBlendMode(); in onDrawImageSet()
/external/skia/src/utils/
DSkPaintFilterCanvas.cpp81 this->SkNWayCanvas::onDrawEdgeAARect(rect, aa, paint.getColor(), paint.getBlendMode()); in onDrawEdgeAARect()
199 mode = paint.getBlendMode(); in onDrawImageSet()
/external/skia/src/gpu/
DSkGpuDevice_drawTexture.cpp223 rtc->drawTextureQuad(clip, std::move(proxy), filter, paint.getBlendMode(), color, in draw_texture()
228 rtc->drawTexture(clip, std::move(proxy), filter, paint.getBlendMode(), color, srcRect, in draw_texture()
489 SkBlendMode mode = paint.getBlendMode(); in tmp_drawImageSetV3()
/external/skia/include/core/
DSkPaint.h465 SkBlendMode getBlendMode() const { return (SkBlendMode)fBitfields.fBlendMode; } in getBlendMode() function

123