/external/skqp/src/core/ |
D | SkColorSpaceXformer.cpp | 60 AutoCachePurge(SkColorSpaceXformer* xformer) in AutoCachePurge() argument 61 : fXformer(xformer) { in AutoCachePurge() 103 [](const SkImage* img, SkColorSpaceXformer* xformer) { in apply() argument 104 return img->makeColorSpace(xformer->fDst); in apply() 124 [](const SkColorFilter* f, SkColorSpaceXformer* xformer) { in apply() argument 125 return f->makeColorSpace(xformer); in apply() 132 [](const SkImageFilter* f, SkColorSpaceXformer* xformer) { in apply() argument 133 return f->makeColorSpace(xformer); in apply()
|
D | SkModeColorFilter.cpp | 77 sk_sp<SkColorFilter> SkModeColorFilter::onMakeColorSpace(SkColorSpaceXformer* xformer) const { in onMakeColorSpace() 78 SkColor color = xformer->apply(fColor); in onMakeColorSpace() 82 return this->INHERITED::onMakeColorSpace(xformer); in onMakeColorSpace()
|
D | SkColorFilter.cpp | 147 sk_sp<SkColorFilter> onMakeColorSpace(SkColorSpaceXformer* xformer) const override { in onMakeColorSpace() 148 auto outer = xformer->apply(fOuter.get()); in onMakeColorSpace() 149 auto inner = xformer->apply(fInner.get()); in onMakeColorSpace() 153 return this->INHERITED::onMakeColorSpace(xformer); in onMakeColorSpace()
|
D | SkColorSpaceXformCanvas.cpp | 26 MaybePaint(const SkPaint* p, SkColorSpaceXformer* xformer) { in MaybePaint() 27 if (p) { fPaint = fStorage.set(xformer->apply(*p)); } in MaybePaint() 36 std::unique_ptr<SkColorSpaceXformer> xformer) in SkColorSpaceXformCanvas() argument 40 , fXformer(std::move(xformer)) in SkColorSpaceXformCanvas() 349 std::unique_ptr<SkColorSpaceXformer> xformer = SkColorSpaceXformer::Make(targetCS); in SkCreateColorSpaceXformCanvas() local 350 if (!xformer) { in SkCreateColorSpaceXformCanvas() 355 std::move(xformer)); in SkCreateColorSpaceXformCanvas()
|
D | SkLocalMatrixImageFilter.cpp | 60 sk_sp<SkImageFilter> SkLocalMatrixImageFilter::onMakeColorSpace(SkColorSpaceXformer* xformer) in onMakeColorSpace() 64 auto input = xformer->apply(this->getInput(0)); in onMakeColorSpace()
|
/external/skqp/src/shaders/ |
D | SkLights.cpp | 52 static SkColor3f xform_color(const SkColor3f& color, SkColorSpaceXformer* xformer) { in xform_color() argument 57 SkColor xformedColor = xformer->apply(origColor); in xform_color() 63 sk_sp<SkLights> SkLights::makeColorSpace(SkColorSpaceXformer* xformer) const { in makeColorSpace() 66 Light light(fLights[i].type(), xform_color(fLights[i].color(), xformer), in makeColorSpace() 70 builder.setAmbientLightColor(xform_color(fAmbientLightColor, xformer)); in makeColorSpace()
|
D | SkColorShader.h | 48 sk_sp<SkShader> onMakeColorSpace(SkColorSpaceXformer* xformer) const override { in onMakeColorSpace() argument 49 return SkShader::MakeColorShader(xformer->apply(fColor)); in onMakeColorSpace() 71 sk_sp<SkShader> onMakeColorSpace(SkColorSpaceXformer* xformer) const override;
|
D | SkColorFilterShader.cpp | 50 sk_sp<SkShader> SkColorFilterShader::onMakeColorSpace(SkColorSpaceXformer* xformer) const { in onMakeColorSpace() 51 return xformer->apply(fShader.get())->makeWithColorFilter(xformer->apply(fFilter.get())); in onMakeColorSpace()
|
D | SkComposeShader.cpp | 61 sk_sp<SkShader> SkComposeShader::onMakeColorSpace(SkColorSpaceXformer* xformer) const { in onMakeColorSpace() 62 return MakeCompose(xformer->apply(fDst.get()), xformer->apply(fSrc.get()), in onMakeColorSpace()
|
D | SkImageShader.h | 47 sk_sp<SkShader> onMakeColorSpace(SkColorSpaceXformer* xformer) const override { in onMakeColorSpace() argument 48 return xformer->apply(fImage.get())->makeShader(fTileModeX, fTileModeY, in onMakeColorSpace()
|
D | SkLocalMatrixShader.h | 52 sk_sp<SkShader> onMakeColorSpace(SkColorSpaceXformer* xformer) const override { in onMakeColorSpace() argument 53 return as_SB(fProxyShader)->makeColorSpace(xformer)->makeWithLocalMatrix( in onMakeColorSpace()
|
D | SkShaderBase.h | 155 sk_sp<SkShader> makeColorSpace(SkColorSpaceXformer* xformer) const { in makeColorSpace() argument 156 return this->onMakeColorSpace(xformer); in makeColorSpace()
|
D | SkColorShader.cpp | 70 sk_sp<SkShader> SkColor4Shader::onMakeColorSpace(SkColorSpaceXformer* xformer) const { in onMakeColorSpace() 73 xformer->dst().get(), kUnpremul_SkAlphaType).apply(color.vec()); in onMakeColorSpace()
|
/external/skqp/bench/ |
D | ColorSpaceXformBench.cpp | 15 enum class Mode { steps, xformer }; enumerator 28 case Mode::xformer: return "ColorSpaceXformBench_xformer"; in onGetName() 59 case Mode::xformer: { in onDraw() 74 DEF_BENCH(return new ColorSpaceXformBench{Mode::xformer};)
|
/external/skqp/src/effects/ |
D | SkColorMatrixFilter.cpp | 43 sk_sp<SkColorFilter> onMakeColorSpace(SkColorSpaceXformer* xformer) const override { in onMakeColorSpace() 44 SkColor add = xformer->apply(fAdd); in onMakeColorSpace() 48 return this->INHERITED::onMakeColorSpace(xformer); in onMakeColorSpace()
|
/external/skqp/src/effects/imagefilters/ |
D | SkComposeImageFilter.cpp | 66 sk_sp<SkImageFilter> SkComposeImageFilter::onMakeColorSpace(SkColorSpaceXformer* xformer) const { in onMakeColorSpace() 69 auto input0 = xformer->apply(this->getInput(0)); in onMakeColorSpace() 70 auto input1 = xformer->apply(this->getInput(1)); in onMakeColorSpace()
|
D | SkColorFilterImageFilter.cpp | 120 sk_sp<SkImageFilter> SkColorFilterImageFilter::onMakeColorSpace(SkColorSpaceXformer* xformer) in onMakeColorSpace() 124 sk_sp<SkImageFilter> input = xformer->apply(this->getInput(0)); in onMakeColorSpace() 125 auto colorFilter = xformer->apply(fColorFilter.get()); in onMakeColorSpace()
|
D | SkPaintImageFilter.cpp | 75 sk_sp<SkImageFilter> SkPaintImageFilter::onMakeColorSpace(SkColorSpaceXformer* xformer) const { in onMakeColorSpace() 76 SkPaint paint = xformer->apply(fPaint); in onMakeColorSpace()
|
D | SkDropShadowImageFilter.cpp | 117 sk_sp<SkImageFilter> SkDropShadowImageFilter::onMakeColorSpace(SkColorSpaceXformer* xformer) const { in onMakeColorSpace() 120 sk_sp<SkImageFilter> input = xformer->apply(this->getInput(0)); in onMakeColorSpace() 121 SkColor color = xformer->apply(fColor); in onMakeColorSpace()
|
D | SkMergeImageFilter.cpp | 97 sk_sp<SkImageFilter> SkMergeImageFilter::onMakeColorSpace(SkColorSpaceXformer* xformer) const { in onMakeColorSpace() 101 inputs.push_back(xformer->apply(this->getInput(i))); in onMakeColorSpace()
|
/external/skqp/include/core/ |
D | SkDrawLooper.h | 116 sk_sp<SkDrawLooper> makeColorSpace(SkColorSpaceXformer* xformer) const { in makeColorSpace() argument 117 return this->onMakeColorSpace(xformer); in makeColorSpace()
|
D | SkColorFilter.h | 161 sk_sp<SkColorFilter> makeColorSpace(SkColorSpaceXformer* xformer) const { in makeColorSpace() argument 162 return this->onMakeColorSpace(xformer); in makeColorSpace()
|
/external/skqp/src/shaders/gradients/ |
D | SkRadialGradient.cpp | 62 sk_sp<SkShader> SkRadialGradient::onMakeColorSpace(SkColorSpaceXformer* xformer) const { in onMakeColorSpace() 63 const AutoXformColors xformedColors(*this, xformer); in onMakeColorSpace()
|
D | SkLinearGradient.cpp | 82 sk_sp<SkShader> SkLinearGradient::onMakeColorSpace(SkColorSpaceXformer* xformer) const { in onMakeColorSpace() 83 const AutoXformColors xformedColors(*this, xformer); in onMakeColorSpace()
|
D | SkSweepGradient.cpp | 65 sk_sp<SkShader> SkSweepGradient::onMakeColorSpace(SkColorSpaceXformer* xformer) const { in onMakeColorSpace() 66 const AutoXformColors xformedColors(*this, xformer); in onMakeColorSpace()
|