Home
last modified time | relevance | path

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

12345

/external/skqp/include/core/
DSkImageInfo.h201 : fColorSpace(nullptr) in SkImageInfo()
378 SkColorSpace* colorSpace() const { return fColorSpace.get(); } in colorSpace()
388 sk_sp<SkColorSpace> refColorSpace() const { return fColorSpace; } in refColorSpace()
429 return fColorSpace && fColorSpace->gammaCloseToSRGB(); in gammaCloseToSRGB()
440 return Make(newWidth, newHeight, fColorType, fAlphaType, fColorSpace); in makeWH()
455 return Make(this->width(), this->height(), fColorType, newAlphaType, fColorSpace); in makeAlphaType()
469 return Make(this->width(), this->height(), newColorType, fAlphaType, fColorSpace); in makeColorType()
539 SkColorSpace::Equals(fColorSpace.get(), other.fColorSpace.get());
598 fColorSpace = nullptr; in reset()
610 sk_sp<SkColorSpace> fColorSpace;
[all …]
/external/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()
/external/skqp/src/gpu/
DGrColorSpaceInfo.h21 bool isLinearlyBlended() const { return fColorSpace && fColorSpace->gammaIsLinear(); } in isLinearlyBlended()
23 SkColorSpace* colorSpace() const { return fColorSpace.get(); } in colorSpace()
24 sk_sp<SkColorSpace> refColorSpace() const { return fColorSpace; } in refColorSpace()
35 sk_sp<SkColorSpace> fColorSpace;
DGrColorSpaceInfo.cpp12 : fColorSpace(std::move(colorSpace)) in GrColorSpaceInfo()
21 fColorSpace.get(), kUnpremul_SkAlphaType); in colorSpaceXformFromSRGB()
25 SkASSERT(fColorSpace || !fColorXformFromSRGB); in colorSpaceXformFromSRGB()
DGrTextureAdjuster.h37 SkColorSpace* colorSpace() const override { return fColorSpace; } in colorSpace()
53 SkColorSpace* fColorSpace; variable
/external/skqp/src/shaders/
DSkColorShader.cpp43 : fColorSpace(std::move(space)) in SkColor4Shader()
60 sk_sp<SkData> colorSpaceData = fColorSpace ? fColorSpace->serialize() : nullptr; in flatten()
72 SkColorSpaceXformSteps(fColorSpace.get(), kUnpremul_SkAlphaType, in onMakeColorSpace()
94 SkColorSpaceXformSteps(fColorSpace.get(), kUnpremul_SkAlphaType, in onAppendStages()
115 SkColorSpaceXformSteps steps{ fColorSpace.get(), kUnpremul_SkAlphaType, in asFragmentProcessor()
DSkPictureShader.cpp117 , fColorSpace(std::move(colorSpace)) in SkPictureShader()
221 SkASSERT(!fColorSpace || !dstColorSpace); in refBitmapShader()
224 : fColorSpace ? fColorSpace in refBitmapShader()
300 if (SkColorSpace::Equals(dstCS.get(), fColorSpace.get())) { in onMakeColorSpace()
/external/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()
130 SkColorSpaceXformSteps steps{ fColorSpace.get(), kUnpremul_SkAlphaType, in asFragmentProcessor()
/external/skia/include/core/
DSkImageInfo.h196 : fColorSpace(std::move(cs)), fColorType(ct), fAlphaType(at) {} in SkColorInfo()
204 SkColorSpace* colorSpace() const { return fColorSpace.get(); } in colorSpace()
205 sk_sp<SkColorSpace> refColorSpace() const { return fColorSpace; } in refColorSpace()
214 bool gammaCloseToSRGB() const { return fColorSpace && fColorSpace->gammaCloseToSRGB(); } in gammaCloseToSRGB()
219 SkColorSpace::Equals(fColorSpace.get(), other.fColorSpace.get());
268 sk_sp<SkColorSpace> fColorSpace;
/external/skqp/tools/sk_app/
DDisplayParams.h19 , fColorSpace(nullptr) in DisplayParams()
25 sk_sp<SkColorSpace> fColorSpace; member
/external/skqp/src/effects/imagefilters/
DSkPictureImageFilter.cpp41 , fColorSpace(std::move(colorSpace)) { in SkPictureImageFilter()
117 if (fColorSpace) { in onFilterImage()
120 xformCanvas = SkCreateColorSpaceXformCanvas(canvas, fColorSpace); in onFilterImage()
134 if (SkColorSpace::Equals(dstCS.get(), fColorSpace.get())) { in onMakeColorSpace()
/external/skqp/src/core/
DSkSpecialImage.cpp380 , fColorSpace(std::move(colorSpace)) in SkSpecialImage_Gpu()
406 fAlphaType, fTextureProxy, fColorSpace)); in onDraw()
429 this->alphaType(), fColorSpace); in onGetROPixels()
435 fTextureProxy, fColorSpace); in onGetROPixels()
451 return fColorSpace.get(); in onGetColorSpace()
475 fColorSpace, in onMakeSubset()
491 return wrap_proxy_in_image(fContext, fTextureProxy, fAlphaType, fColorSpace); in onAsImage()
504 return wrap_proxy_in_image(fContext, std::move(subsetProxy), fAlphaType, fColorSpace); in onAsImage()
509 return wrap_proxy_in_image(fContext, fTextureProxy, fAlphaType, fColorSpace); in onAsImage()
526 sk_sp<SkColorSpace> fColorSpace; member in SkSpecialImage_Gpu
/external/skia/tools/sk_app/
DDisplayParams.h19 , fColorSpace(nullptr) in DisplayParams()
28 sk_sp<SkColorSpace> fColorSpace; member
/external/skqp/tests/
DYUVCacheTest.cpp45 yuvInfo.fColorSpace = kRec601_SkYUVColorSpace; in DEF_TEST()
73 REPORTER_ASSERT(reporter, yuvInfo.fColorSpace == yuvInfoRead.fColorSpace); in DEF_TEST()
/external/mesa3d/src/gallium/targets/haiku-softpipe/
DSoftwareRenderer.cpp52 fColorSpace(B_NO_COLOR_SPACE) in SoftwareRenderer()
70 fColorSpace = BScreen(view->Window()).ColorSpace(); in SoftwareRenderer()
71 TRACE("%s: Colorspace:\t%s\n", __func__, color_space_name(fColorSpace)); in SoftwareRenderer()
120 if (fBitmap && cs == fColorSpace && fContextObj->Validate(fWidth, fHeight)) { in LockGL()
125 fColorSpace = cs; in LockGL()
348 fBitmap = new (std::nothrow) BBitmap(rect, fColorSpace); in _AllocateBitmap()
/external/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.h605 , fColorSpace(colorSpace) in Context()
615 , fColorSpace(colorSpace) in Context()
647 SkColorSpace* colorSpace() const { return fColorSpace; } in colorSpace()
648 sk_sp<SkColorSpace> refColorSpace() const { return sk_ref_sp(fColorSpace); } in refColorSpace()
684 return fSource.image()->makeSurface(fColorType, fColorSpace, size,
690 return Context(mapping, fDesiredOutput, fCache, fColorType, fColorSpace, fSource); in withNewMapping()
694 return Context(fMapping, desiredOutput, fCache, fColorType, fColorSpace, fSource); in withNewDesiredOutput()
704 SkColorSpace* fColorSpace; variable
/external/skia/tools/gpu/
DYUVUtils.cpp189 fColorSpace = std::move(cs); in reset()
205 fColorSpace = std::move(cs); in reset()
226 fColorSpace); in ensureYUVImage()
230 auto generator = std::make_unique<Generator>(fPixmaps, fColorSpace); in ensureYUVImage()
271 fColorSpace, in ensureYUVImage()
/external/skqp/src/shaders/gradients/
DSkGradientShader.cpp49 sk_sp<SkData> colorSpaceData = fColorSpace ? fColorSpace->serialize() : nullptr; in flatten()
99 fColorSpace = data ? SkColorSpace::Deserialize(data->data(), data->size()) : nullptr; in unflatten()
101 fColorSpace = nullptr; in unflatten()
126 , fColorSpace(desc.fColorSpace ? desc.fColorSpace : SkColorSpace::MakeSRGB()) in SkGradientShaderBase()
207 desc.fColorSpace = fColorSpace; in flatten()
314 SkColor4fXformer xformedColors(fOrigColors4f, fColorCount, fColorSpace.get(), rec.fDstCS); in onAppendStages()
512 desc->fColorSpace = std::move(colorSpace); in desc_init()
DSkGradientShaderPriv.h35 sk_sp<SkColorSpace> fColorSpace; member
118 sk_sp<SkColorSpace> fColorSpace; // color space of gradient stops variable
/external/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()
/external/skqp/tools/flags/
DSkCommonFlagsConfig.h74 SkColorSpace* getColorSpace() const { return fColorSpace.get(); } in getColorSpace()
86 sk_sp<SkColorSpace> fColorSpace; variable
/external/skia/tools/flags/
DCommonFlagsConfig.h79 SkColorSpace* getColorSpace() const { return fColorSpace.get(); } in getColorSpace()
95 sk_sp<SkColorSpace> fColorSpace; variable

12345