Home
last modified time | relevance | path

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

12

/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.cpp1129 static bool treat_as_regular_pdf_blend_mode(SkBlendMode blendMode) { in treat_as_regular_pdf_blend_mode() argument
1130 return nullptr != SkPDFUtils::BlendModeName(blendMode); in treat_as_regular_pdf_blend_mode()
1214 SkBlendMode blendMode = paint.getBlendMode(); in setUpContentEntry() local
1217 if (blendMode == SkBlendMode::kDst) { in setUpContentEntry()
1223 if (!treat_as_regular_pdf_blend_mode(blendMode) && blendMode != SkBlendMode::kDstOver) { in setUpContentEntry()
1227 } else if (blendMode != SkBlendMode::kSrc && in setUpContentEntry()
1228 blendMode != SkBlendMode::kSrcOut) { in setUpContentEntry()
1237 if (treat_as_regular_pdf_blend_mode(blendMode)) { in setUpContentEntry()
1272 SkBlendMode blendMode, in finishContentEntry() argument
1275 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/skia/tests/
DBulkRectTest.cpp49 SkBlendMode blendMode, bool addOneByOne, in fillrectop_creation_test() argument
69 paint.setXPFactory(SkBlendMode_AsXPFactory(blendMode)); in fillrectop_creation_test()
97 SkBlendMode blendMode, bool addOneByOne, in textureop_creation_test() argument
156 blendMode, in textureop_creation_test()
172 blendMode, in textureop_creation_test()
184 if (blendMode != SkBlendMode::kSrcOver || in textureop_creation_test()
191 uint32_t expectedOpID = blendMode == SkBlendMode::kSrcOver ? GrTextureOp::ClassID() in textureop_creation_test()
DAdvancedBlendTest.cpp32 const SkBlendMode blendMode = (SkBlendMode)mode; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
35 const GrXPFactory* xpf = GrCustomXfermode::Get(blendMode); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/src/core/
DSkVMBlitter.cpp42 SkBlendMode blendMode; member
61 blendMode, member
74 && this->blendMode == that.blendMode in operator ==()
94 key.blendMode, in debug_name()
177 SkToU8(params.blendMode), in cache_key()
281 if (SkBlendMode_ShouldPreScaleCoverage(params.blendMode, in build_program()
288 src = blend(params.blendMode, src, dst); in build_program()
290 src = blend(params.blendMode, src, dst); in build_program()
518 SkBlendMode blendMode = paint.getBlendMode(); in effective_params() local
519 if (blendMode == SkBlendMode::kSrcOver && shader->isOpaque()) { in effective_params()
[all …]
DSkOverdrawCanvas.cpp95 const SkPoint texCoords[4], SkBlendMode blendMode, in onDrawPatch() argument
97 fList[0]->onDrawPatch(cubics, colors, texCoords, blendMode, fPaint); in onDrawPatch()
144 SkBlendMode blendMode, const SkPaint& paint) { in onDrawVerticesObject() argument
145 fList[0]->onDrawVerticesObject(vertices, blendMode, this->overdrawPaint(paint)); in onDrawVerticesObject()
/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/modules/svg/src/
DSkSVGFeBlend.cpp41 const SkBlendMode blendMode = GetBlendMode(this->getMode()); in onMakeImageFilter() local
45 return SkImageFilters::Blend(blendMode, background, foreground, cropRect); in onMakeImageFilter()
/external/skia/tools/gpu/
DProxyUtils.cpp97 SkBlendMode blendMode, in CreateProgramInfo() argument
104 GrProcessorSet processors = GrProcessorSet(blendMode); in CreateProgramInfo()
/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/deqp/framework/referencerenderer/
DrrRenderState.hpp255 BlendMode blendMode; member
293 , blendMode (BLENDMODE_NONE) in FragmentOperationState()
/external/skia/fuzz/
DFuzzCanvas.cpp180 SkBlendMode blendMode; in make_fuzz_shader() local
214 fuzz->nextEnum(&blendMode, SkBlendMode::kLastMode); in make_fuzz_shader()
215 return SkShaders::Blend(blendMode, std::move(shader1), std::move(shader2)); in make_fuzz_shader()
771 SkBlendMode blendMode; in make_fuzz_imageFilter() local
774 fuzz->nextEnum(&blendMode, SkBlendMode::kLastMode); in make_fuzz_imageFilter()
781 return SkImageFilters::Blend(blendMode, std::move(bg), std::move(fg), in make_fuzz_imageFilter()
1375 SkBlendMode blendMode; in fuzz_canvas() local
1377 fuzz->nextRange(&blendMode, 0, SkBlendMode::kLastMode); in fuzz_canvas()
1405 blendMode, paint); in fuzz_canvas()
1410 SkBlendMode blendMode; in fuzz_canvas() local
[all …]
/external/skqp/include/core/
DSkBlendMode.h73 SK_API const char* SkBlendMode_Name(SkBlendMode blendMode);
/external/skia/include/core/
DSkBlendMode.h108 SK_API const char* SkBlendMode_Name(SkBlendMode blendMode);
/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);
/external/deqp/modules/gles31/functional/
Des31fDrawBuffersIndexedTests.cpp600 fragOps.blendMode = rr::BLENDMODE_ADVANCED; in setBlendState()
607 fragOps.blendMode = rr::BLENDMODE_STANDARD; in setBlendState()
616 fragOps.blendMode = rr::BLENDMODE_STANDARD; in setBlendState()
656 state.fragOps.blendMode = rr::BLENDMODE_STANDARD; in createRenderState()
663 …state.fragOps.blendMode = (*(postCommonBlendState.enableBlend) ? state.fragOps.blendMode : rr::BLE… in createRenderState()
665 …state.fragOps.blendMode = (*(info.getBlendState().enableBlend) ? state.fragOps.blendMode : rr::BLE… in createRenderState()
667 …state.fragOps.blendMode = (*(preCommonBlendState.enableBlend) ? state.fragOps.blendMode : rr::BLEN… in createRenderState()
669 state.fragOps.blendMode = rr::BLENDMODE_NONE; in createRenderState()
674 state.fragOps.blendMode = rr::BLENDMODE_NONE; in createRenderState()
/external/webrtc/examples/objc/AppRTCMobile/ios/
DUIImage+ARDUtilities.m24 [image drawInRect:bounds blendMode:kCGBlendModeDestinationIn alpha:1.0f];
/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/skia/modules/canvaskit/
Dinterface.js487 /* optional */ blendMode, /* optional */ colors, argument
502 if (!blendMode) {
503 blendMode = CanvasKit.BlendMode.SrcOver;
540 this._drawAtlasCubic(atlas, dstXformPtr, srcRectPtr, colorPtr, count, blendMode,
551 this._drawAtlasOptions(atlas, dstXformPtr, srcRectPtr, colorPtr, count, blendMode,
/external/skia/modules/canvaskit/tests/
Dcanvas.spec.js311 const blendMode = CanvasKit.BlendMode[blendModeName]; constant
313 drawRectangle(x + 30, y + 30, x + 70, y + 70, PASTEL_SKY_BLUE, blendMode);
351 function drawRectangle(x1, y1, x2, y2, color, blendMode=CanvasKit.BlendMode.srcOver) { argument
354 canvas.drawColor(color, blendMode);
/external/skia/src/gpu/ops/
DGrTextureOp.cpp1126 SkBlendMode blendMode, in Make() argument
1146 if (blendMode == SkBlendMode::kSrcOver) { in Make()
1154 paint.setXPFactory(SkBlendMode_AsXPFactory(blendMode)); in Make()
1254 SkBlendMode blendMode, in AddTextureSetOps() argument
1265 if (blendMode != SkBlendMode::kSrcOver || in AddTextureSetOps()
1294 filter, mm, set[i].fColor, saturate, blendMode, aaType, &quad, subset); in AddTextureSetOps()
/external/deqp/modules/gles2/functional/
Des2fBlendTests.cpp258 referenceState.blendMode = rr::BLENDMODE_NONE; in iterate()
260 referenceState.blendMode = rr::BLENDMODE_STANDARD; in iterate()

12