Home
last modified time | relevance | path

Searched refs:fColorSpace (Results 1 – 25 of 47) sorted by relevance

12

/third_party/skia/src/gpu/
DGrColorInfo.h30 SkColorSpace::Equals(fColorSpace.get(), that.fColorSpace.get());
38 bool isLinearlyBlended() const { return fColorSpace && fColorSpace->gammaIsLinear(); } in isLinearlyBlended()
40 SkColorSpace* colorSpace() const { return fColorSpace.get(); } in colorSpace()
41 sk_sp<SkColorSpace> refColorSpace() const { return fColorSpace; } in refColorSpace()
56 sk_sp<SkColorSpace> fColorSpace;
DGrColorInfo.cpp14 : fColorSpace(std::move(colorSpace)), fColorType(colorType), fAlphaType(alphaType) { in GrColorInfo()
17 fColorSpace.get(), kUnpremul_SkAlphaType); in GrColorInfo()
/third_party/skia/src/shaders/
DSkColorShader.cpp44 : fColorSpace(std::move(space)) in SkColor4Shader()
61 sk_sp<SkData> colorSpaceData = fColorSpace ? fColorSpace->serialize() : nullptr; in flatten()
88 SkColorSpaceXformSteps(fColorSpace.get(), kUnpremul_SkAlphaType, in onAppendStages()
110 SkColorSpaceXformSteps(fColorSpace.get(), kUnpremul_SkAlphaType, in onProgram()
129 SkColorSpaceXformSteps steps{ fColorSpace.get(), kUnpremul_SkAlphaType, in asFragmentProcessor()
DSkColorShader.h75 sk_sp<SkColorSpace> fColorSpace; variable
/third_party/skia/include/core/
DSkImageInfo.h198 : fColorSpace(std::move(cs)), fColorType(ct), fAlphaType(at) {} in SkColorInfo()
206 SkColorSpace* colorSpace() const { return fColorSpace.get(); } in colorSpace()
207 sk_sp<SkColorSpace> refColorSpace() const { return fColorSpace; } in refColorSpace()
216 bool gammaCloseToSRGB() const { return fColorSpace && fColorSpace->gammaCloseToSRGB(); } in gammaCloseToSRGB()
221 SkColorSpace::Equals(fColorSpace.get(), other.fColorSpace.get());
270 sk_sp<SkColorSpace> fColorSpace;
/third_party/skia/src/core/
DSkSpecialImage.cpp342 , fColorSpace(std::move(colorSpace)) { in SkSpecialImage_Gpu()
368 SkColorInfo(this->colorType(), fAlphaType, fColorSpace))); in onDraw()
386 return fColorSpace.get(); in onGetColorSpace()
407 fColorSpace, in onMakeSubset()
419 fColorSpace); in onAsImage()
433 fAlphaType, fColorSpace); in onAsImage()
438 return wrap_proxy_in_image(fContext, fView, this->colorType(), fAlphaType, fColorSpace); in onAsImage()
457 sk_sp<SkColorSpace> fColorSpace; member in SkSpecialImage_Gpu
DSkImageFilterTypes.h585 , fColorSpace(colorSpace) in Context()
595 , fColorSpace(colorSpace) in Context()
627 SkColorSpace* colorSpace() const { return fColorSpace; } in colorSpace()
628 sk_sp<SkColorSpace> refColorSpace() const { return sk_ref_sp(fColorSpace); } in refColorSpace()
664 return fSource.image()->makeSurface(fColorType, fColorSpace, size,
670 return Context(mapping, fDesiredOutput, fCache, fColorType, fColorSpace, fSource); in withNewMapping()
674 return Context(fMapping, desiredOutput, fCache, fColorType, fColorSpace, fSource); in withNewDesiredOutput()
684 SkColorSpace* fColorSpace; variable
/third_party/skia/tools/sk_app/
DDisplayParams.h19 , fColorSpace(nullptr) in DisplayParams()
28 sk_sp<SkColorSpace> fColorSpace; member
DMetalWindowContext.mm127 fDisplayParams.fColorSpace,
144 fDisplayParams.fColorSpace,
DGLWindowContext.cpp76 fDisplayParams.fColorSpace, in getBackbufferSurface()
/third_party/skia/tools/gpu/
DYUVUtils.cpp241 fColorSpace = std::move(cs); in reset()
257 fColorSpace = std::move(cs); in reset()
278 fColorSpace); in ensureYUVImage()
282 auto generator = std::make_unique<Generator>(fPixmaps, fColorSpace); in ensureYUVImage()
323 fColorSpace, in ensureYUVImage()
DYUVUtils.h58 sk_sp<SkColorSpace> fColorSpace; variable
/third_party/mesa3d/src/gallium/targets/haiku-softpipe/
DSoftwareRenderer.cpp135 fColorSpace(B_NO_COLOR_SPACE) in SoftwareRenderer()
149 fColorSpace = BScreen(view->Window()).ColorSpace(); in SoftwareRenderer()
150 TRACE("%s: Colorspace:\t%s\n", __func__, color_space_name(fColorSpace)); in SoftwareRenderer()
197 fColorSpace = cs; in LockGL()
DSoftwareRenderer.h51 color_space fColorSpace; variable
/third_party/skia/src/shaders/gradients/
DSkGradientShader.cpp52 sk_sp<SkData> colorSpaceData = fColorSpace ? fColorSpace->serialize() : nullptr; in flatten()
102 fColorSpace = data ? SkColorSpace::Deserialize(data->data(), data->size()) : nullptr; in unflatten()
104 fColorSpace = nullptr; in unflatten()
129 , fColorSpace(desc.fColorSpace ? desc.fColorSpace : SkColorSpace::MakeSRGB()) in SkGradientShaderBase()
210 desc.fColorSpace = fColorSpace; in flatten()
319 SkColor4fXformer xformedColors(fOrigColors4f, fColorCount, fColorSpace.get(), rec.fDstCS); in onAppendStages()
469 src = common.makeColorSpace(fColorSpace), in onProgram()
686 desc->fColorSpace = std::move(colorSpace); in desc_init()
DSkLinearGradient.cpp43 return SkGradientShader::MakeLinear(pts, desc.fColors, std::move(desc.fColorSpace), desc.fPos, in CreateProc()
59 if (!rec.isLegacyCompatible(fColorSpace.get())) { in onMakeContext()
DSkGradientShaderPriv.h35 sk_sp<SkColorSpace> fColorSpace; member
128 sk_sp<SkColorSpace> fColorSpace; // color space of gradient stops variable
DSkRadialGradient.cpp50 return SkGradientShader::MakeRadial(center, radius, desc.fColors, std::move(desc.fColorSpace), in CreateProc()
/third_party/skia/tests/
DDeferredDisplayListTest.cpp70 , fColorSpace(SkColorSpace::MakeSRGB()) in SurfaceParameters()
97 void setColorSpace(sk_sp<SkColorSpace> cs) { fColorSpace = std::move(cs); } in setColorSpace()
138 set(fColorSpace, SkColorSpace::MakeRGB(SkNamedTransferFn::kSRGB, in modify()
192 kPremul_SkAlphaType, fColorSpace); in createCharacterization()
246 fColorSpace, in make()
265 fColorSpace, in make()
277 fColorSpace, in make()
301 {fColorType, kPremul_SkAlphaType, fColorSpace}); in makeVkSCB()
323 sk_sp<SkColorSpace> fColorSpace; member in SurfaceParameters
/third_party/skia/tools/flags/
DCommonFlagsConfig.h37 sk_sp<SkColorSpace> refColorSpace() const { return fColorSpace; } in refColorSpace()
43 sk_sp<SkColorSpace> fColorSpace; variable
/third_party/skia/dm/
DDMSrcSink.h407 void setColorSpace(sk_sp<SkColorSpace> colorSpace) override { fColorSpace = colorSpace; } in setColorSpace()
409 return SkColorInfo(fColorType, fAlphaType, fColorSpace); in colorInfo()
424 sk_sp<SkColorSpace> fColorSpace; variable
547 void setColorSpace(sk_sp<SkColorSpace> colorSpace) override { fColorSpace = colorSpace; } in setColorSpace()
551 sk_sp<SkColorSpace> fColorSpace; variable
/third_party/skia/src/gpu/gradients/
DGrGradientShader.h55 sk_sp<SkColorSpace> fColorSpace; member
/third_party/skia/tools/sk_app/win/
DD3D12WindowContext_win.cpp157 kRGBA_8888_SkColorType, fDisplayParams.fColorSpace, &fDisplayParams.fSurfaceProps); in setupSurfaces()
162 fDisplayParams.fColorSpace, &fDisplayParams.fSurfaceProps); in setupSurfaces()
/third_party/skia/src/image/
DSkImage_Lazy.h30 sk_sp<SkColorSpace> fColorSpace; member
/third_party/skia/tools/sk_app/android/
DRasterWindowContext_android.cpp81 fDisplayParams.fColorSpace); in getBackbufferSurface()

12