Home
last modified time | relevance | path

Searched refs:targetCS (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/src/image/
DSkImage_GpuYUVA.cpp57 sk_sp<SkColorSpace> targetCS) in SkImage_GpuYUVA() argument
59 image->imageInfo().makeColorSpace(std::move(targetCS)), in SkImage_GpuYUVA()
132 sk_sp<SkColorSpace> targetCS, in onMakeColorTypeAndColorSpace() argument
138 SkColorSpace::Equals(targetCS.get(), fOnMakeColorSpaceTarget.get())) { in onMakeColorTypeAndColorSpace()
141 sk_sp<SkImage> result = sk_sp<SkImage>(new SkImage_GpuYUVA(sk_ref_sp(direct), this, targetCS)); in onMakeColorTypeAndColorSpace()
143 fOnMakeColorSpaceTarget = targetCS; in onMakeColorTypeAndColorSpace()
DSkImage_Lazy.cpp210 sk_sp<SkColorSpace> targetCS, in onMakeColorTypeAndColorSpace() argument
215 SkColorSpace::Equals(targetCS.get(), fOnMakeColorTypeAndSpaceResult->colorSpace())) { in onMakeColorTypeAndColorSpace()
218 Validator validator(fSharedGenerator, &targetCT, targetCS); in onMakeColorTypeAndColorSpace()
DSkImage_Raster.cpp394 sk_sp<SkColorSpace> targetCS, in onMakeColorTypeAndColorSpace() argument
400 dst.allocPixels(fBitmap.info().makeColorType(targetCT).makeColorSpace(targetCS)); in onMakeColorTypeAndColorSpace()
DSkImage_Gpu.cpp290 sk_sp<SkColorSpace> targetCS, in onMakeColorTypeAndColorSpace() argument
292 SkColorInfo info(targetCT, this->alphaType(), std::move(targetCS)); in onMakeColorTypeAndColorSpace()
/third_party/flutter/skia/src/image/
DSkImage_GpuYUVA.cpp56 SkImage_GpuYUVA::SkImage_GpuYUVA(const SkImage_GpuYUVA* image, sk_sp<SkColorSpace> targetCS) in SkImage_GpuYUVA() argument
62 GetAlphaTypeFromYUVAIndices(image->fYUVAIndices), std::move(targetCS)) in SkImage_GpuYUVA()
195 sk_sp<SkColorSpace> targetCS) const { in onMakeColorTypeAndColorSpace()
200 SkColorSpace::Equals(targetCS.get(), fOnMakeColorSpaceTarget.get())) { in onMakeColorTypeAndColorSpace()
203 sk_sp<SkImage> result = sk_sp<SkImage>(new SkImage_GpuYUVA(this, targetCS)); in onMakeColorTypeAndColorSpace()
205 fOnMakeColorSpaceTarget = targetCS; in onMakeColorTypeAndColorSpace()
DSkImage_Lazy.cpp265 sk_sp<SkColorSpace> targetCS) const { in onMakeColorTypeAndColorSpace()
269 SkColorSpace::Equals(targetCS.get(), fOnMakeColorTypeAndSpaceResult->colorSpace())) { in onMakeColorTypeAndColorSpace()
274 Validator validator(fSharedGenerator, &generatorSubset, &targetCT, targetCS); in onMakeColorTypeAndColorSpace()
DSkImage_Raster.cpp341 sk_sp<SkColorSpace> targetCS) const { in onMakeColorTypeAndColorSpace()
346 dst.allocPixels(fBitmap.info().makeColorType(targetCT).makeColorSpace(targetCS)); in onMakeColorTypeAndColorSpace()
DSkImage_Gpu.cpp78 sk_sp<SkColorSpace> targetCS) const { in onMakeColorTypeAndColorSpace()
84 targetCS.get(), this->alphaType()); in onMakeColorTypeAndColorSpace()
112 renderTargetContext->asTextureProxyRef(), std::move(targetCS)); in onMakeColorTypeAndColorSpace()
/third_party/flutter/skia/site/user/api/
Dundocumented.md75 … <a href='#sk_sp'>sk sp</a>&lt;<a href='#SkColorSpace'>SkColorSpace</a>&gt; targetCS)