Home
last modified time | relevance | path

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

123

/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/skia/docs/examples/
DPaint_getBlendMode.cpp9 SkBlendMode::kSrcOver == paint.getBlendMode() ? '=' : '!'); in draw()
12 SkBlendMode::kSrcOver == paint.getBlendMode() ? '=' : '!'); in draw()
DPaintDump.cpp60 if (d.getBlendMode() != p.getBlendMode()) { in PaintStringDump()
61 s.appendf("p.setBlendMode(SkBlendMode::k%s);\n", SkBlendMode_Name(p.getBlendMode())); in PaintStringDump()
DBlendMode_Name.cpp7 SkDebugf("default blend: SkBlendMode::k%s\n", SkBlendMode_Name(SkPaint().getBlendMode())); in draw()
/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()
DSkSpriteBlitter_ARGB32.cpp65 fXfermode = SkXfermode::Peek(paint.getBlendMode()); in Sprite_D32_S32A_Xfer()
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()
/external/skia/src/core/
DSkSpriteBlitter_RGB565.cpp82 switch (paint.getBlendMode()) { in ChooseL565()
85 return allocator->make<Sprite_D16_S32>(source, paint.getBlendMode()); in ChooseL565()
170 switch (paint.getBlendMode()) { in ChooseLA8()
173 return allocator->make<Sprite_D8_S32>(source, paint.getBlendMode()); in ChooseLA8()
DSkBlitter_RGB565.cpp73 if (paint.getBlendMode() != SkBlendMode::kSrcOver && in Supports()
74 paint.getBlendMode() != SkBlendMode::kSrc) { in Supports()
94 if (paint.getBlendMode() == SkBlendMode::kSrc || isOpaque) { in SkRGB565_Shader_Blitter()
DSkXfermodeInterpretation.cpp16 switch (paint.getBlendMode()) { in SkInterpretXfermode()
DSkPaintPriv.cpp45 return SkXfermode::IsOpaque(paint->getBlendMode(), opacityType); in Overwrites()
DSkBlitter.cpp664 paint.getBlendMode() > SkBlendMode::kLastCoeffMode || in UseRasterPipelineBlitter()
671 if (!paint.getShader() && paint.getBlendMode() != SkBlendMode::kSrcOver) { in UseRasterPipelineBlitter()
706 if (paint->getBlendMode() != SkBlendMode::kSrcOver) { in Choose()
719 if (paint->getBlendMode() == SkBlendMode::kClear) { in Choose()
777 SkASSERT(paint->getShader() || paint->getBlendMode() == SkBlendMode::kSrcOver); in Choose()
DSkSpriteBlitter_ARGB32.cpp64 fXfermode = SkXfermode::Peek(paint.getBlendMode()); in Sprite_D32_S32A_Xfer()
DSkPaint.cpp231 packed |= shift_bits(paint.getBlendMode(), 8, 8); in pack_v68()
425 switch (this->getBlendMode()) { in nothingToDraw()
DSkRecordOpts.cpp179 0xFF == paint->getAlpha() && paint->getBlendMode() == SkBlendMode::kSrc; in effectively_srcover()
/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/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/tests/
DPaintTest.cpp163 ASSERT(other.getBlendMode() == paint.getBlendMode());
/external/skia/src/utils/
DSkPaintFilterCanvas.cpp175 && newPaint->getBlendMode() == SkBlendMode::kSrcOver) { in onDrawPicture()
236 apf.paint().getBlendMode()); in onDrawEdgeAAQuad()
/external/skqp/src/utils/
DSkPaintFilterCanvas.cpp74 this->SkNWayCanvas::onDrawEdgeAARect(rect, aa, paint.getColor(), paint.getBlendMode()); in onDrawEdgeAARect()
192 mode = paint.getBlendMode(); in onDrawImageSet()
/external/skqp/include/core/
DSkPaint.h463 SkBlendMode getBlendMode() const { return (SkBlendMode)fBitfields.fBlendMode; } in getBlendMode() function

123