Home
last modified time | relevance | path

Searched refs:blendMode (Results 1 – 25 of 37) sorted by relevance

12

/external/skia/experimental/nima/
DNimaActor.cpp287 SkBlendMode blendMode; in drawVerticesObject() local
288 switch (fActorImage->blendMode()) { in drawVerticesObject()
290 blendMode = SkBlendMode::kSrc; in drawVerticesObject()
294 blendMode = SkBlendMode::kSrcOver; in drawVerticesObject()
298 blendMode = SkBlendMode::kPlus; in drawVerticesObject()
302 blendMode = SkBlendMode::kMultiply; in drawVerticesObject()
306 blendMode = SkBlendMode::kScreen; in drawVerticesObject()
316 canvas->drawVertices(vertices, fBones.data(), fBones.size(), blendMode, *fPaint); in drawVerticesObject()
318 canvas->drawVertices(vertices, blendMode, *fPaint); in drawVerticesObject()
/external/skqp/experimental/nima/
DNimaActor.cpp287 SkBlendMode blendMode; in drawVerticesObject() local
288 switch (fActorImage->blendMode()) { in drawVerticesObject()
290 blendMode = SkBlendMode::kSrc; in drawVerticesObject()
294 blendMode = SkBlendMode::kSrcOver; in drawVerticesObject()
298 blendMode = SkBlendMode::kPlus; in drawVerticesObject()
302 blendMode = SkBlendMode::kMultiply; in drawVerticesObject()
306 blendMode = SkBlendMode::kScreen; in drawVerticesObject()
316 canvas->drawVertices(vertices, fBones.data(), fBones.size(), blendMode, *fPaint); in drawVerticesObject()
318 canvas->drawVertices(vertices, blendMode, *fPaint); in drawVerticesObject()
/external/skia/src/pdf/
DSkPDFDevice.cpp1469 static bool treat_as_regular_pdf_blend_mode(SkBlendMode blendMode) { in treat_as_regular_pdf_blend_mode() argument
1470 return nullptr != SkPDFUtils::BlendModeName(blendMode); in treat_as_regular_pdf_blend_mode()
1554 SkBlendMode blendMode = paint.getBlendMode(); in setUpContentEntry() local
1557 if (blendMode == SkBlendMode::kDst) { in setUpContentEntry()
1563 if (!treat_as_regular_pdf_blend_mode(blendMode) && blendMode != SkBlendMode::kDstOver) { in setUpContentEntry()
1567 } else if (blendMode != SkBlendMode::kSrc && in setUpContentEntry()
1568 blendMode != SkBlendMode::kSrcOut) { in setUpContentEntry()
1577 if (treat_as_regular_pdf_blend_mode(blendMode)) { in setUpContentEntry()
1612 SkBlendMode blendMode, in finishContentEntry() argument
1615 SkASSERT(blendMode != SkBlendMode::kDst); in finishContentEntry()
[all …]
/external/skqp/src/pdf/
DSkPDFDevice.cpp1482 static bool treat_as_regular_pdf_blend_mode(SkBlendMode blendMode) { in treat_as_regular_pdf_blend_mode() argument
1483 return nullptr != SkPDFUtils::BlendModeName(blendMode); in treat_as_regular_pdf_blend_mode()
1567 SkBlendMode blendMode = paint.getBlendMode(); in setUpContentEntry() local
1570 if (blendMode == SkBlendMode::kDst) { in setUpContentEntry()
1576 if (!treat_as_regular_pdf_blend_mode(blendMode) && blendMode != SkBlendMode::kDstOver) { in setUpContentEntry()
1580 } else if (blendMode != SkBlendMode::kSrc && in setUpContentEntry()
1581 blendMode != SkBlendMode::kSrcOut) { in setUpContentEntry()
1590 if (treat_as_regular_pdf_blend_mode(blendMode)) { in setUpContentEntry()
1625 SkBlendMode blendMode, in finishContentEntry() argument
1628 SkASSERT(blendMode != SkBlendMode::kDst); in finishContentEntry()
[all …]
/external/skqp/tests/
DAdvancedBlendTest.cpp21 const SkBlendMode blendMode = (SkBlendMode)mode; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
24 const GrXPFactory* xpf = GrCustomXfermode::Get(blendMode); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/tests/
DAdvancedBlendTest.cpp21 const SkBlendMode blendMode = (SkBlendMode)mode; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
24 const GrXPFactory* xpf = GrCustomXfermode::Get(blendMode); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/src/core/
DSkOverdrawCanvas.cpp103 const SkPoint texCoords[4], SkBlendMode blendMode, in onDrawPatch() argument
105 fList[0]->onDrawPatch(cubics, colors, texCoords, blendMode, fPaint); in onDrawPatch()
154 SkBlendMode blendMode, const SkPaint& paint) { in onDrawVerticesObject() argument
158 blendMode, in onDrawVerticesObject()
/external/skia/src/core/
DSkOverdrawCanvas.cpp103 const SkPoint texCoords[4], SkBlendMode blendMode, in onDrawPatch() argument
105 fList[0]->onDrawPatch(cubics, colors, texCoords, blendMode, fPaint); in onDrawPatch()
158 SkBlendMode blendMode, const SkPaint& paint) { in onDrawVerticesObject() argument
162 blendMode, in onDrawVerticesObject()
/external/deqp/framework/referencerenderer/
DrrRenderState.hpp255 BlendMode blendMode; member
293 , blendMode (BLENDMODE_NONE) in FragmentOperationState()
DrrFragmentOperations.cpp928 if (state.blendMode == BLENDMODE_STANDARD) in render()
952 else if (state.blendMode == BLENDMODE_ADVANCED) in render()
975 DE_ASSERT(state.blendMode == BLENDMODE_NONE); in render()
/external/skqp/include/core/
DSkBlendMode.h73 SK_API const char* SkBlendMode_Name(SkBlendMode blendMode);
/external/skia/include/core/
DSkBlendMode.h73 SK_API const char* SkBlendMode_Name(SkBlendMode blendMode);
/external/deqp/modules/gles31/functional/
Des31fDrawBuffersIndexedTests.cpp593 fragOps.blendMode = rr::BLENDMODE_ADVANCED; in setBlendState()
600 fragOps.blendMode = rr::BLENDMODE_STANDARD; in setBlendState()
609 fragOps.blendMode = rr::BLENDMODE_STANDARD; in setBlendState()
649 state.fragOps.blendMode = rr::BLENDMODE_STANDARD; in createRenderState()
656 …state.fragOps.blendMode = (*(postCommonBlendState.enableBlend) ? state.fragOps.blendMode : rr::BLE… in createRenderState()
658 …state.fragOps.blendMode = (*(info.getBlendState().enableBlend) ? state.fragOps.blendMode : rr::BLE… in createRenderState()
660 …state.fragOps.blendMode = (*(preCommonBlendState.enableBlend) ? state.fragOps.blendMode : rr::BLEN… in createRenderState()
662 state.fragOps.blendMode = rr::BLENDMODE_NONE; in createRenderState()
667 state.fragOps.blendMode = rr::BLENDMODE_NONE; in createRenderState()
/external/skqp/src/gpu/effects/
DGrPorterDuffXferProcessor.h26 static const GrXPFactory* Get(SkBlendMode blendMode);
DGrPorterDuffXferProcessor.cpp696 const GrXPFactory* GrPorterDuffXPFactory::Get(SkBlendMode blendMode) { in Get() argument
697 SkASSERT((unsigned)blendMode <= (unsigned)SkBlendMode::kLastCoeffMode); in Get()
723 switch (blendMode) { in Get()
/external/skia/src/gpu/effects/
DGrPorterDuffXferProcessor.h26 static const GrXPFactory* Get(SkBlendMode blendMode);
DGrPorterDuffXferProcessor.cpp696 const GrXPFactory* GrPorterDuffXPFactory::Get(SkBlendMode blendMode) { in Get() argument
697 SkASSERT((unsigned)blendMode <= (unsigned)SkBlendMode::kLastCoeffMode); in Get()
723 switch (blendMode) { in Get()
/external/webrtc/webrtc/examples/objc/AppRTCDemo/ios/
DUIImage+ARDUtilities.m24 [image drawInRect:bounds blendMode:kCGBlendModeDestinationIn alpha:1.0f];
/external/skia/fuzz/
DFuzzCanvas.cpp197 SkBlendMode blendMode; in make_fuzz_shader() local
240 fuzz->nextRange(&blendMode, 0, SkBlendMode::kLastMode); in make_fuzz_shader()
241 return SkShader::MakeComposeShader(std::move(shader1), std::move(shader2), blendMode); in make_fuzz_shader()
793 SkBlendMode blendMode; in make_fuzz_imageFilter() local
796 fuzz->nextRange(&blendMode, 0, SkBlendMode::kLastMode); in make_fuzz_imageFilter()
803 return SkXfermodeImageFilter::Make(blendMode, std::move(bg), std::move(fg), in make_fuzz_imageFilter()
1520 SkBlendMode blendMode; in fuzz_canvas() local
1522 fuzz->nextRange(&blendMode, 0, SkBlendMode::kLastMode); in fuzz_canvas()
1550 blendMode, paint); in fuzz_canvas()
/external/skqp/fuzz/
DFuzzCanvas.cpp197 SkBlendMode blendMode; in make_fuzz_shader() local
240 fuzz->nextRange(&blendMode, 0, SkBlendMode::kLastMode); in make_fuzz_shader()
241 return SkShader::MakeComposeShader(std::move(shader1), std::move(shader2), blendMode); in make_fuzz_shader()
793 SkBlendMode blendMode; in make_fuzz_imageFilter() local
796 fuzz->nextRange(&blendMode, 0, SkBlendMode::kLastMode); in make_fuzz_imageFilter()
803 return SkXfermodeImageFilter::Make(blendMode, std::move(bg), std::move(fg), in make_fuzz_imageFilter()
1520 SkBlendMode blendMode; in fuzz_canvas() local
1522 fuzz->nextRange(&blendMode, 0, SkBlendMode::kLastMode); in fuzz_canvas()
1550 blendMode, paint); in fuzz_canvas()
/external/deqp/modules/gles2/functional/
Des2fBlendTests.cpp258 referenceState.blendMode = rr::BLENDMODE_NONE; in iterate()
260 referenceState.blendMode = rr::BLENDMODE_STANDARD; in iterate()
Des2fRandomFragmentOpTests.cpp104 dst.blendMode = src.blendEnabled ? rr::BLENDMODE_STANDARD : rr::BLENDMODE_NONE; in translateState()
/external/deqp/modules/gles3/functional/
Des3fBlendTests.cpp306 referenceState.blendMode = rr::BLENDMODE_NONE; in iterate()
308 referenceState.blendMode = rr::BLENDMODE_STANDARD; in iterate()
Des3fRandomFragmentOpTests.cpp104 dst.blendMode = src.blendEnabled ? rr::BLENDMODE_STANDARD : rr::BLENDMODE_NONE; in translateState()
/external/ImageMagick/coders/
Dxcf.c283 size_t blendMode) in GIMPBlendModeToCompositeOperator() argument
285 switch ( blendMode ) in GIMPBlendModeToCompositeOperator()

12