Home
last modified time | relevance | path

Searched refs:kClear (Results 1 – 25 of 124) sorted by relevance

12345

/external/skia/resources/sksl/shared/
DEnum.sksl34 const SkBlendMode m = SkBlendMode::kClear;
35 if (m == SkBlendMode::kClear) { sk_FragColor = half4(15); }
36 @if (m == SkBlendMode::kClear) { sk_FragColor = half4(16); }
40 sk_FragColor = (m == SkBlendMode::kClear) ? half4(19) : half4(-19);
43 @switch (SkBlendMode::kClear) {
44 case SkBlendMode::kClear: sk_FragColor = half4(21); break;
/external/skia/src/gpu/
DGrPaint.cpp40 static const GrXPFactory* kClear = GrPorterDuffXPFactory::Get(SkBlendMode::kClear); in isConstantBlendedColor() local
41 if (kClear == fXPFactory) { in isConstantBlendedColor()
DGrOpsTask.cpp568 SkASSERT(fColorLoadOp != GrLoadOp::kClear || in onExecute()
598 stencilLoadOp = GrLoadOp::kClear; in onExecute()
602 stencilLoadOp = GrLoadOp::kClear; in onExecute()
681 if (GrLoadOp::kClear == fColorLoadOp) { in setColorLoadOp()
707 if (GrLoadOp::kClear == opsTask->fColorLoadOp) { in mergeFrom()
811 case GrLoadOp::kClear: in dump()
/external/skqp/src/gpu/
DGrPaint.cpp64 static const GrXPFactory* kClear = GrPorterDuffXPFactory::Get(SkBlendMode::kClear); in isConstantBlendedColor() local
65 if (kClear == fXPFactory) { in isConstantBlendedColor()
DGrOpList.cpp202 return GrLoadOp::kLoad == op ? "load" : GrLoadOp::kClear == op ? "clear" : "discard"; in op_to_name()
214 GrLoadOp::kClear == fColorLoadOp ? fLoadClearColor.toBytes_RGBA() : 0x0, in dump()
/external/skqp/src/gpu/gl/
DGrGLGpuCommandBuffer.cpp14 if (GrLoadOp::kClear == fColorLoadAndStoreInfo.fLoadOp) { in begin()
18 if (GrLoadOp::kClear == fStencilLoadAndStoreInfo.fLoadOp) { in begin()
/external/skqp/src/gpu/effects/
DGrXfermodeFragmentProcessor.cpp75 case SkBlendMode::kClear: in OptFlags()
192 } while (SkBlendMode::kClear == mode || SkBlendMode::kSrc == mode || SkBlendMode::kDst == mode); in TestCreate()
249 case SkBlendMode::kClear: in MakeFromTwoProcessors()
306 case SkBlendMode::kClear: in OptFlags()
483 } while (SkBlendMode::kClear == mode || (SkBlendMode::kDst == mode && child == kSrc_Child) || in TestCreate()
510 case SkBlendMode::kClear: in MakeFromDstProcessor()
524 case SkBlendMode::kClear: in MakeFromSrcProcessor()
/external/skia/docs/examples/
DCanvas_saveLayer_3.cpp15 paint.setBlendMode(SkBlendMode::kClear); in draw()
DClear.cpp8 canvas->drawColor(SK_ColorYELLOW, SkBlendMode::kClear); in draw()
Dskpaint_xfer.cpp12 SkBlendMode::kClear, in draw()
/external/skia/src/core/
DSkBlendMode.cpp90 case SkBlendMode::kClear: stage = SkRasterPipeline::clear; break; in SkBlendMode_AppendStages()
128 case SkBlendMode::kClear: return SK_PMColor4fTRANSPARENT; in SkBlendMode_Apply()
/external/skqp/include/core/
DSkBlendMode.h24 kClear, //!< replaces destination with zero: fully transparent enumerator
/external/skia/src/gpu/effects/
DGrBlendFragmentProcessor.cpp90 case SkBlendMode::kClear: in OptFlags()
249 } while (SkBlendMode::kClear == mode || SkBlendMode::kSrc == mode || SkBlendMode::kDst == mode); in TestCreate()
326 case SkBlendMode::kClear: in Make()
/external/skqp/src/core/
DSkBlendMode.cpp88 case SkBlendMode::kClear: stage = SkRasterPipeline::clear; break; in SkBlendMode_AppendStages()
126 case SkBlendMode::kClear: return SK_PMColor4fTRANSPARENT; in SkBlendMode_Apply()
/external/skia/include/core/
DSkBlendMode.h39 kClear, //!< r = 0 enumerator
/external/skia/src/gpu/mtl/
DGrMtlOpsRenderPass.mm206 static_assert((int)GrLoadOp::kClear == 1);
240 if (colorInfo.fLoadOp == GrLoadOp::kClear || stencilInfo.fLoadOp == GrLoadOp::kClear) {
244 if (colorInfo.fLoadOp == GrLoadOp::kClear) {
247 if (stencilInfo.fLoadOp == GrLoadOp::kClear) {
/external/skia/src/gpu/glsl/
DGrGLSLBlend.cpp16 case SkBlendMode::kClear: return "blend_clear"; in BlendFuncName()
/external/angle/third_party/abseil-cpp/absl/strings/internal/
Dcordz_update_tracker.h47 kClear, enumerator
/external/skia/src/gpu/mock/
DGrMockOpsRenderPass.h32 if (GrLoadOp::kClear == fColorLoadOp) { in onBegin()
/external/skia/tests/
DShaderTest.cpp63 SkShaders::Blend(SkBlendMode::kClear, in DEF_TEST()
DColorFilterTest.cpp69 if (SkBlendMode::kClear == (SkBlendMode)mode) { in DEF_TEST()
/external/deqp-deps/amber/src/
Dcommand_data.h88 kClear = 0, enumerator
/external/skqp/tests/
DColorFilterTest.cpp87 if (SkBlendMode::kClear == (SkBlendMode)mode) { in DEF_TEST()
DShaderTest.cpp66 SkBlendMode::kClear)); in DEF_TEST()
/external/skqp/src/gpu/mtl/
DGrMtlGpuCommandBuffer.mm35 if (fColorLoadAndStoreInfo.fLoadOp == GrLoadOp::kClear) {
48 case GrLoadOp::kClear:
228 GR_STATIC_ASSERT((int)GrLoadOp::kClear == 1);

12345