/external/skqp/experimental/nima/ |
D | NimaActor.cpp | 287 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/ |
D | SkPDFDevice.cpp | 1129 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/ |
D | SkPDFDevice.cpp | 1482 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/ |
D | BulkRectTest.cpp | 49 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()
|
D | AdvancedBlendTest.cpp | 32 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/ |
D | SkVMBlitter.cpp | 42 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 …]
|
D | SkOverdrawCanvas.cpp | 95 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/ |
D | AdvancedBlendTest.cpp | 21 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/ |
D | SkSVGFeBlend.cpp | 41 const SkBlendMode blendMode = GetBlendMode(this->getMode()); in onMakeImageFilter() local 45 return SkImageFilters::Blend(blendMode, background, foreground, cropRect); in onMakeImageFilter()
|
/external/skia/tools/gpu/ |
D | ProxyUtils.cpp | 97 SkBlendMode blendMode, in CreateProgramInfo() argument 104 GrProcessorSet processors = GrProcessorSet(blendMode); in CreateProgramInfo()
|
/external/skqp/src/core/ |
D | SkOverdrawCanvas.cpp | 103 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/ |
D | rrRenderState.hpp | 255 BlendMode blendMode; member 293 , blendMode (BLENDMODE_NONE) in FragmentOperationState()
|
/external/skia/fuzz/ |
D | FuzzCanvas.cpp | 180 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/ |
D | SkBlendMode.h | 73 SK_API const char* SkBlendMode_Name(SkBlendMode blendMode);
|
/external/skia/include/core/ |
D | SkBlendMode.h | 108 SK_API const char* SkBlendMode_Name(SkBlendMode blendMode);
|
/external/skqp/src/gpu/effects/ |
D | GrPorterDuffXferProcessor.h | 26 static const GrXPFactory* Get(SkBlendMode blendMode);
|
D | GrPorterDuffXferProcessor.cpp | 696 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/ |
D | GrPorterDuffXferProcessor.h | 26 static const GrXPFactory* Get(SkBlendMode blendMode);
|
/external/deqp/modules/gles31/functional/ |
D | es31fDrawBuffersIndexedTests.cpp | 600 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/ |
D | UIImage+ARDUtilities.m | 24 [image drawInRect:bounds blendMode:kCGBlendModeDestinationIn alpha:1.0f];
|
/external/skqp/fuzz/ |
D | FuzzCanvas.cpp | 197 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/ |
D | interface.js | 487 /* 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/ |
D | canvas.spec.js | 311 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/ |
D | GrTextureOp.cpp | 1126 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/ |
D | es2fBlendTests.cpp | 258 referenceState.blendMode = rr::BLENDMODE_NONE; in iterate() 260 referenceState.blendMode = rr::BLENDMODE_STANDARD; in iterate()
|