Home
last modified time | relevance | path

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

12

/third_party/flutter/skia/tests/
DLayerDrawLooperTest.cpp66 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrc); in test_frontToBack()
73 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrcOver); in test_frontToBack()
102 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrcOver); in test_backToFront()
109 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrc); in test_backToFront()
138 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrcOver); in test_mixed()
145 REPORTER_ASSERT(reporter, paint.getBlendMode() == SkBlendMode::kSrc); in test_mixed()
DPaintTest.cpp193 ASSERT(other.getBlendMode() == paint.getBlendMode());
/third_party/flutter/skia/docs/examples/
DPaint_getBlendMode.cpp9 SkBlendMode::kSrcOver == paint.getBlendMode() ? '=' : '!'); in draw()
12 SkBlendMode::kSrcOver == paint.getBlendMode() ? '=' : '!'); in draw()
DBlendMode_Name.cpp7 SkDebugf("default blend: SkBlendMode::k%s\n", SkBlendMode_Name(SkPaint().getBlendMode())); in draw()
/third_party/flutter/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.cpp658 paint.getBlendMode() > SkBlendMode::kLastCoeffMode || in UseRasterPipelineBlitter()
666 if (!paint.getShader() && paint.getBlendMode() != SkBlendMode::kSrcOver) { in UseRasterPipelineBlitter()
700 if (paint->getBlendMode() != SkBlendMode::kSrcOver) { in Choose()
713 if (paint->getBlendMode() == SkBlendMode::kClear) { in Choose()
752 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()
527 switch (this->getBlendMode()) { in nothingToDraw()
DSkBlitter_Sprite.cpp71 SkBlendMode mode = paint.getBlendMode(); in Supports()
DSkRecordOpts.cpp179 0xFF == paint->getAlpha() && paint->getBlendMode() == SkBlendMode::kSrc; in effectively_srcover()
DSkVMBlitter.cpp257 paint.getBlendMode(), in Blitter()
DSkRasterPipelineBlitter.cpp141 paint.getBlendMode(), in Create()
DSkRecordDraw.cpp306 switch (paint->getBlendMode()) { in PaintMayAffectTransparentBlack()
DSkBlitter_ARGB32.cpp970 fXfermode = SkXfermode::Peek(paint.getBlendMode()); in SkARGB32_Shader_Blitter()
987 if (SkBlendMode::kSrc == paint.getBlendMode()) { in SkARGB32_Shader_Blitter()
/third_party/flutter/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()
DSkPDFDevice.cpp154 if (SkBlendMode::kSrcOver != paint->getBlendMode() && in clean_paint()
220 fBlendMode = paint.getBlendMode(); in ScopedContentEntry()
1240 SkBlendMode blendMode = paint.getBlendMode(); in setUpContentEntry()
1501 if (SkBlendMode::kSrcOver != paint->getBlendMode() && in internalDrawImageRect()
/third_party/flutter/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()
483 SkBlendMode mode = paint.getBlendMode(); in drawEdgeAAImageSet()
DSkGr.cpp445 grPaint->setXPFactory(SkBlendMode_AsXPFactory(skPaint.getBlendMode())); in skpaint_to_grpaint_impl()
/third_party/flutter/skia/include/core/
DSkPaint.h471 SkBlendMode getBlendMode() const { return (SkBlendMode)fBitfields.fBlendMode; } in getBlendMode() function
/third_party/flutter/skia/src/effects/
DSkLayerDrawLooper.cpp117 dst->setBlendMode(src.getBlendMode()); in ApplyInfo()
/third_party/flutter/skia/modules/canvaskit/
Dexterns.js190 getBlendMode: function() {}, method
/third_party/flutter/skia/src/utils/
DSkPaintFilterCanvas.cpp252 apf.paint().getBlendMode()); in onDrawEdgeAAQuad()

12