/external/skqp/include/core/ |
D | SkImageInfo.h | 201 : 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/ |
D | GrColorInfo.h | 30 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;
|
D | GrColorInfo.cpp | 14 : fColorSpace(std::move(colorSpace)), fColorType(colorType), fAlphaType(alphaType) { in GrColorInfo() 17 fColorSpace.get(), kUnpremul_SkAlphaType); in GrColorInfo()
|
/external/skqp/src/gpu/ |
D | GrColorSpaceInfo.h | 21 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;
|
D | GrColorSpaceInfo.cpp | 12 : fColorSpace(std::move(colorSpace)) in GrColorSpaceInfo() 21 fColorSpace.get(), kUnpremul_SkAlphaType); in colorSpaceXformFromSRGB() 25 SkASSERT(fColorSpace || !fColorXformFromSRGB); in colorSpaceXformFromSRGB()
|
D | GrTextureAdjuster.h | 37 SkColorSpace* colorSpace() const override { return fColorSpace; } in colorSpace() 53 SkColorSpace* fColorSpace; variable
|
/external/skqp/src/shaders/ |
D | SkColorShader.cpp | 43 : 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()
|
D | SkPictureShader.cpp | 117 , 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/ |
D | SkColorShader.cpp | 44 : 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/ |
D | SkImageInfo.h | 196 : 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/ |
D | DisplayParams.h | 19 , fColorSpace(nullptr) in DisplayParams() 25 sk_sp<SkColorSpace> fColorSpace; member
|
/external/skqp/src/effects/imagefilters/ |
D | SkPictureImageFilter.cpp | 41 , 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/ |
D | SkSpecialImage.cpp | 380 , 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/ |
D | DisplayParams.h | 19 , fColorSpace(nullptr) in DisplayParams() 28 sk_sp<SkColorSpace> fColorSpace; member
|
/external/skqp/tests/ |
D | YUVCacheTest.cpp | 45 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/ |
D | SoftwareRenderer.cpp | 52 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/ |
D | SkSpecialImage.cpp | 342 , 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
|
D | SkImageFilterTypes.h | 605 , 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/ |
D | YUVUtils.cpp | 189 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/ |
D | SkGradientShader.cpp | 49 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()
|
D | SkGradientShaderPriv.h | 35 sk_sp<SkColorSpace> fColorSpace; member 118 sk_sp<SkColorSpace> fColorSpace; // color space of gradient stops variable
|
/external/skia/src/shaders/gradients/ |
D | SkGradientShader.cpp | 52 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()
|
D | SkLinearGradient.cpp | 43 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/ |
D | SkCommonFlagsConfig.h | 74 SkColorSpace* getColorSpace() const { return fColorSpace.get(); } in getColorSpace() 86 sk_sp<SkColorSpace> fColorSpace; variable
|
/external/skia/tools/flags/ |
D | CommonFlagsConfig.h | 79 SkColorSpace* getColorSpace() const { return fColorSpace.get(); } in getColorSpace() 95 sk_sp<SkColorSpace> fColorSpace; variable
|