/external/skia/src/gpu/ |
D | GrWindowRectsState.h | 20 GrWindowRectsState() : fMode(Mode::kExclusive) {} in GrWindowRectsState() 22 : fMode(mode) in GrWindowRectsState() 26 bool enabled() const { return Mode::kInclusive == fMode || !fWindows.empty(); } in enabled() 27 Mode mode() const { return fMode; } in mode() 32 fMode = Mode::kExclusive; in setDisabled() 37 fMode = mode; in set() 42 if (fMode != that.fMode) { 50 Mode fMode;
|
/external/skqp/src/gpu/ |
D | GrWindowRectsState.h | 20 GrWindowRectsState() : fMode(Mode::kExclusive) {} in GrWindowRectsState() 22 : fMode(mode) in GrWindowRectsState() 26 bool enabled() const { return Mode::kInclusive == fMode || !fWindows.empty(); } in enabled() 27 Mode mode() const { return fMode; } in mode() 32 fMode = Mode::kExclusive; in setDisabled() 37 fMode = mode; in set() 42 if (fMode != that.fMode) { 50 Mode fMode;
|
/external/skia/bench/ |
D | VertexColorSpaceBench.cpp | 63 if (kShader_Mode == gp.fMode) { in createGLSLInstance() 94 b->add32(fMode); in getGLSLProcessorKey() 103 , fMode(mode) in GP() 106 switch (fMode) { in GP() 121 Mode fMode; member in __anon4d8852bc0111::GP 138 , fMode(kBaseline_Mode) in Op() 145 , fMode(mode) in Op() 147 SkASSERT(kFloat_Mode == fMode || kHalf_Mode == mode); in Op() 153 , fMode(kShader_Mode) in Op() 172 GrGeometryProcessor* gp = GP::Make(target->allocator(), fMode, fColorSpaceXform); in onPrepareDraws() [all …]
|
D | SkVMBench.cpp | 24 , fMode(mode) in SkVMBench() 37 if (fMode == F32 ) { fProgram = SrcoverBuilder_F32 {}.done(); } in onDelayedSetup() 38 if (fMode == I32_Naive) { fProgram = SrcoverBuilder_I32_Naive{}.done(); } in onDelayedSetup() 39 if (fMode == I32 ) { fProgram = SrcoverBuilder_I32 {}.done(); } in onDelayedSetup() 40 if (fMode == I32_SWAR ) { fProgram = SrcoverBuilder_I32_SWAR {}.done(); } in onDelayedSetup() 42 if (fMode == RP) { in onDelayedSetup() 60 if (fMode == Opts) { in onDraw() 62 } else if (fMode == RP) { in onDraw() 71 Mode fMode; member in SkVMBench
|
D | RectBench.cpp | 117 fMode = SkBlendMode::kSrc; in SrcModeRectBench() 125 paint->setBlendMode(fMode); in setupPaint() 135 SkBlendMode fMode; member in SrcModeRectBench 218 SkCanvas::PointMode fMode; member in PointsBench 222 , fMode(mode) { in PointsBench() 245 canvas->drawPoints(fMode, N * 2, reinterpret_cast<SkPoint*>(fRects), paint); in onDraw() 269 SkCanvas::PointMode fMode; member in BlitMaskBench 273 RectBench(2), fMode(mode), _type(type) { in BlitMaskBench() 322 canvas->drawPoints(fMode, N * 2, reinterpret_cast<SkPoint*>(fRects), paint); in onDraw()
|
/external/skqp/bench/ |
D | VertexColorSpaceBench.cpp | 40 , fMode(mode) in GP() 43 switch (fMode) { in GP() 76 if (kShader_Mode == gp.fMode) { in createGLSLInstance() 107 b->add32(fMode); in getGLSLProcessorKey() 112 Mode fMode; member in __anon114eefd30111::GP 129 , fMode(kBaseline_Mode) in Op() 136 , fMode(mode) in Op() 138 SkASSERT(kFloat_Mode == fMode || kHalf_Mode == mode); in Op() 144 , fMode(kShader_Mode) in Op() 162 sk_sp<GrGeometryProcessor> gp(new GP(fMode, fColorSpaceXform)); in onPrepareDraws() [all …]
|
D | ColorSpaceXformBench.cpp | 18 ColorSpaceXformBench(Mode mode) : fMode(mode) {} in ColorSpaceXformBench() 20 const Mode fMode; member 26 switch (fMode) { in onGetName() 52 switch (fMode) { in onDraw()
|
/external/skqp/src/core/ |
D | SkModeColorFilter.cpp | 29 fMode = mode; in SkModeColorFilter() 37 *mode = fMode; in asColorMode() 44 switch (fMode) { in getFlags() 56 buffer.writeUInt((int)fMode); in flatten() 74 SkBlendMode_AppendStages(fMode, p); in onAppendStages() 80 return SkColorFilter::MakeModeFilter(color, fMode); in onMakeColorSpace() 94 if (SkBlendMode::kDst == fMode) { in asFragmentProcessor() 100 auto fp = GrXfermodeFragmentProcessor::MakeFromSrcProcessor(std::move(constFP), fMode); in asFragmentProcessor() 107 if ((unsigned)fMode <= (unsigned)SkBlendMode::kLastCoeffMode) { in asFragmentProcessor()
|
D | SkXfermode.cpp | 30 SkProcCoeffXfermode(SkBlendMode mode) : fMode(mode) {} in SkProcCoeffXfermode() 45 if (SkBlendMode_ShouldPreScaleCoverage(fMode, /*rgb_coverage=*/false)) { in xfer32() 49 SkBlendMode_AppendStages(fMode, &p); in xfer32() 51 SkBlendMode_AppendStages(fMode, &p); in xfer32() 62 const SkBlendMode fMode; member in SkProcCoeffXfermode
|
/external/skia/src/core/ |
D | SkModeColorFilter.cpp | 27 fMode = mode; in SkModeColorFilter() 35 *mode = fMode; in onAsAColorMode() 42 switch (fMode) { in getFlags() 54 buffer.writeUInt((int)fMode); in flatten() 69 SkBlendMode_AppendStages(fMode, rec.fPipeline); in onAppendStages() 82 if (SkBlendMode::kDst == fMode) { in asFragmentProcessor() 88 auto fp = GrXfermodeFragmentProcessor::MakeFromSrcProcessor(std::move(constFP), fMode); in asFragmentProcessor() 95 if ((unsigned)fMode <= (unsigned)SkBlendMode::kLastCoeffMode) { in asFragmentProcessor()
|
D | SkXfermode.cpp | 30 SkProcCoeffXfermode(SkBlendMode mode) : fMode(mode) {} in SkProcCoeffXfermode() 45 if (SkBlendMode_ShouldPreScaleCoverage(fMode, /*rgb_coverage=*/false)) { in xfer32() 49 SkBlendMode_AppendStages(fMode, &p); in xfer32() 51 SkBlendMode_AppendStages(fMode, &p); in xfer32() 62 const SkBlendMode fMode; member in SkProcCoeffXfermode
|
/external/skqp/src/shaders/ |
D | SkComposeShader.cpp | 57 buffer.write32((int)fMode); in flatten() 63 fMode, fLerpT); in onMakeColorSpace() 75 rec->fBlendMode = fMode; in asACompose() 105 SkBlendMode_AppendStages(fMode, rec.fPipeline); in onAppendStages() 123 SkASSERT(fMode != SkBlendMode::kSrc && fMode != SkBlendMode::kDst); // caught in factory in asFragmentProcessor() 124 if (fMode == SkBlendMode::kClear) { in asFragmentProcessor() 140 std::move(fpA), fMode); in asFragmentProcessor()
|
/external/skqp/src/gpu/effects/ |
D | GrBlurredEdgeFragmentProcessor.cpp | 46 b->add32((int32_t)fMode); in onGetGLSLProcessorKey() 51 if (fMode != that.fMode) return false; in onIsEqual() 57 , fMode(src.fMode) {} in GrBlurredEdgeFragmentProcessor()
|
D | GrXfermodeFragmentProcessor.cpp | 45 str.appendf("Mode: %s", SkBlendMode_Name(fMode)); in dumpInfo() 57 SkBlendMode getMode() const { return fMode; } in getMode() 64 , fMode(mode) { in ComposeTwoFragmentProcessor() 143 b->add32((int)fMode); in onGetGLSLProcessorKey() 148 return fMode == cs.fMode; in onIsEqual() 155 SkPMColor4f res = SkBlendMode_Apply(fMode, src, dst); in constantOutputForConstantInput() 161 SkBlendMode fMode; member in ComposeTwoFragmentProcessor 202 new ComposeTwoFragmentProcessor(std::move(src), std::move(dst), fMode)); in clone() 286 SkBlendMode_Name(fMode), kDst_Child == fChild ? "Dst" : "Src"); in dumpInfo() 298 SkBlendMode mode() const { return fMode; } in mode() [all …]
|
D | GrCustomXfermode.cpp | 79 , fMode(mode) in CustomXP() 84 , fMode(mode) in CustomXP() 92 SkBlendMode mode() const { return fMode; } in mode() 109 const SkBlendMode fMode; member in CustomXP 187 return fMode == s.fMode && fHWBlendEquation == s.fHWBlendEquation; in onIsEqual() 217 : fMode(mode), fHWBlendEquation(hw_blend_equation(mode)) {} in CustomXPFactory() 231 SkBlendMode fMode; member in CustomXPFactory 248 SkASSERT(GrCustomXfermode::IsSupportedMode(fMode)); in makeXferProcessor() 250 return sk_sp<GrXferProcessor>(new CustomXP(fMode, fHWBlendEquation)); in makeXferProcessor() 252 return sk_sp<GrXferProcessor>(new CustomXP(hasMixedSamples, fMode, coverage)); in makeXferProcessor()
|
D | GrConstColorProcessor.h | 34 switch (fMode) { in constantOutputForConstantInput() 46 const InputMode& mode() const { return fMode; } in mode() 58 , fMode(mode) {} in GrConstColorProcessor() 64 InputMode fMode; variable
|
D | GrConstColorProcessor.cpp | 62 b->add32((int32_t)fMode); in onGetGLSLProcessorKey() 68 if (fMode != that.fMode) return false; in onIsEqual() 74 , fMode(src.fMode) {} in GrConstColorProcessor()
|
D | GrSRGBEffect.cpp | 80 , fMode(mode) in GrSRGBEffect() 85 std::unique_ptr<GrFragmentProcessor> GrSRGBEffect::clone() const { return Make(fMode, fAlpha); } in clone() 89 return other.fMode == fMode; in onIsEqual() 101 switch (fMode) { in constantOutputForConstantInput()
|
/external/skia/src/gpu/effects/ |
D | GrXfermodeFragmentProcessor.cpp | 45 str.appendf("Mode: %s", SkBlendMode_Name(fMode)); in dumpInfo() 57 SkBlendMode getMode() const { return fMode; } in getMode() 64 , fMode(mode) { in ComposeTwoFragmentProcessor() 143 b->add32((int)fMode); in onGetGLSLProcessorKey() 148 return fMode == cs.fMode; in onIsEqual() 155 SkPMColor4f res = SkBlendMode_Apply(fMode, src, dst); in constantOutputForConstantInput() 161 SkBlendMode fMode; member in ComposeTwoFragmentProcessor 202 new ComposeTwoFragmentProcessor(std::move(src), std::move(dst), fMode)); in clone() 284 SkBlendMode_Name(fMode), kDst_Child == fChild ? "Dst" : "Src"); in dumpInfo() 296 SkBlendMode mode() const { return fMode; } in mode() [all …]
|
D | GrCustomXfermode.cpp | 79 , fMode(mode) in CustomXP() 84 , fMode(mode) in CustomXP() 92 SkBlendMode mode() const { return fMode; } in mode() 109 const SkBlendMode fMode; member in CustomXP 187 return fMode == s.fMode && fHWBlendEquation == s.fHWBlendEquation; in onIsEqual() 217 : fMode(mode), fHWBlendEquation(hw_blend_equation(mode)) {} in CustomXPFactory() 233 SkBlendMode fMode; member in CustomXPFactory 251 SkASSERT(GrCustomXfermode::IsSupportedMode(fMode)); in makeXferProcessor() 253 return sk_sp<GrXferProcessor>(new CustomXP(fMode, fHWBlendEquation)); in makeXferProcessor() 255 return sk_sp<GrXferProcessor>(new CustomXP(hasMixedSamples, fMode, coverage)); in makeXferProcessor()
|
D | GrSRGBEffect.cpp | 81 , fMode(mode) in GrSRGBEffect() 86 std::unique_ptr<GrFragmentProcessor> GrSRGBEffect::clone() const { return Make(fMode, fAlpha); } in clone() 90 return other.fMode == fMode; in onIsEqual() 102 switch (fMode) { in constantOutputForConstantInput()
|
/external/skia/gm/ |
D | clippedbitmapshaders.cpp | 55 : fMode(mode), fHQ(hq) { in ClippedBitmapShadersGM() 59 SkTileMode fMode; member in __anone8419d8f0111::ClippedBitmapShadersGM 64 switch (fMode) { in onShortName() 94 paint.setShader(bmp.makeShader(fMode, fMode, &s)); in onDraw()
|
D | giantbitmap.cpp | 31 SkTileMode fMode; member in GiantBitmapGM 72 fMode = mode; in GiantBitmapGM() 83 switch (fMode) { in onShortName() 118 paint.setShader(getBitmap().makeShader(fMode, fMode, &m)); in onDraw()
|
/external/skqp/gm/ |
D | clippedbitmapshaders.cpp | 46 : fMode(mode), fHQ(hq) { in ClippedBitmapShadersGM() 50 SkShader::TileMode fMode; member in skiagm::ClippedBitmapShadersGM 55 switch (fMode) { in onShortName() 86 paint.setShader(SkShader::MakeBitmapShader(bmp, fMode, fMode, &s)); in onDraw()
|
D | giantbitmap.cpp | 23 SkShader::TileMode fMode; member in GiantBitmapGM 64 fMode = mode; in GiantBitmapGM() 75 switch (fMode) { in onShortName() 107 paint.setShader(SkShader::MakeBitmapShader(getBitmap(), fMode, fMode, &m)); in onDraw()
|