Home
last modified time | relevance | path

Searched refs:getColorSpace (Results 1 – 25 of 32) sorted by relevance

12

/external/skia/tests/
DTestConfigParsing.cpp51 REPORTER_ASSERT(reporter, configs[0]->asConfigGpu()->getColorSpace() == nullptr); in DEF_TEST()
126 REPORTER_ASSERT(reporter, configs[24]->asConfigGpu()->getColorSpace()); in DEF_TEST()
127 REPORTER_ASSERT(reporter, configs[24]->asConfigGpu()->getColorSpace()->gammaIsLinear()); in DEF_TEST()
131 as_CSB(configs[24]->asConfigGpu()->getColorSpace())->toXYZD50(); in DEF_TEST()
135 REPORTER_ASSERT(reporter, configs[25]->asConfigGpu()->getColorSpace() == srgbColorSpace.get()); in DEF_TEST()
137 REPORTER_ASSERT(reporter, configs[40]->asConfigGpu()->getColorSpace()); in DEF_TEST()
138 REPORTER_ASSERT(reporter, configs[40]->asConfigGpu()->getColorSpace()->gammaIsLinear()); in DEF_TEST()
140 as_CSB(configs[40]->asConfigGpu()->getColorSpace())->toXYZD50(); in DEF_TEST()
146 REPORTER_ASSERT(reporter, configs[41]->asConfigGpu()->getColorSpace()); in DEF_TEST()
147 REPORTER_ASSERT(reporter, configs[41]->asConfigGpu()->getColorSpace()->gammaIsLinear()); in DEF_TEST()
[all …]
DSpecialImageTest.cpp91 SkImageFilter::OutputProperties outProps(img->getColorSpace()); in test_image()
128 SkImageFilter::OutputProperties outProps(img->getColorSpace()); in test_image()
203 REPORTER_ASSERT(reporter, gpuBacked->getColorSpace() == orig->getColorSpace()); in test_texture_backed()
/external/skia/src/gpu/effects/
DGrYUVEffect.cpp96 SkYUVColorSpace getColorSpace() const { return fColorSpace; } in getColorSpace() function in __anonedec87e40111::YUVtoRGBEffect
136 switch (yuvEffect.getColorSpace()) { in onSetData()
192 return (fColorSpace == s.getColorSpace()) && (fNV12 == s.isNV12()); in onIsEqual()
235 SkYUVColorSpace getColorSpace() const { return fColorSpace; } in getColorSpace() function in __anonedec87e40111::RGBToYUVEffect
293 if (effect.getColorSpace() != fLastColorSpace || oc != fLastOutputChannels) { in onSetData()
296 switch (effect.getColorSpace()) { in onSetData()
324 fLastColorSpace = effect.getColorSpace(); in onSetData()
350 return fColorSpace == s.getColorSpace() && fOutputChannels == s.outputChannels(); in onIsEqual()
/external/skia/src/gpu/
DGrImageTextureMaker.cpp60 sk_sp<SkColorSpace> GrImageTextureMaker::getColorSpace(SkColorSpace* dstColorSpace) { in getColorSpace() function in GrImageTextureMaker
61 return fCacher->getColorSpace(this->context(), dstColorSpace); in getColorSpace()
DGrTextureContext.cpp130 return tex->readPixels(this->getColorSpace(), x, y, dstInfo.width(), dstInfo.height(), in onReadPixels()
153 return tex->writePixels(this->getColorSpace(), x, y, srcInfo.width(), srcInfo.height(), in onWritePixels()
DGrBitmapTextureMaker.h30 sk_sp<SkColorSpace> getColorSpace(SkColorSpace* dstColorSpace) override;
DGrImageTextureMaker.h35 sk_sp<SkColorSpace> getColorSpace(SkColorSpace* dstColorSpace) override;
DSkGpuDevice.cpp188 SkImageFilter::OutputProperties outputProperties(fRenderTargetContext->getColorSpace()); in filterTexture()
1062 GrColorSpaceXform::Make(bitmap.colorSpace(), fRenderTargetContext->getColorSpace()); in drawBitmapTile()
1171 GrColorSpaceXform::Make(result->getColorSpace(), fRenderTargetContext->getColorSpace()); in drawSpecial()
1387 if (!as_IB(image)->getROPixels(&bm, fRenderTargetContext->getColorSpace())) { in drawImage()
1396 } else if (as_IB(image)->getROPixels(&bm, fRenderTargetContext->getColorSpace())) { in drawImage()
1423 if (!as_IB(image)->getROPixels(&bm, fRenderTargetContext->getColorSpace())) { in drawImageRect()
1431 } else if (as_IB(image)->getROPixels(&bm, fRenderTargetContext->getColorSpace())) { in drawImageRect()
1464 &kMode, fRenderTargetContext->getColorSpace())); in drawProducerNine()
1494 } else if (as_IB(image)->getROPixels(&bm, fRenderTargetContext->getColorSpace())) { in drawImageNine()
1519 &kMode, fRenderTargetContext->getColorSpace())); in drawProducerLattice()
[all …]
DGrTextureMaker.h55 virtual sk_sp<SkColorSpace> getColorSpace(SkColorSpace* dstColorSpace) = 0;
DSkGr.cpp454 GrColor4f origColor = SkColorToUnpremulGrColor4f(skPaint.getColor(), rtc->getColorSpace(), in skpaint_to_grpaint_impl()
466 rtc->getColorSpace())); in skpaint_to_grpaint_impl()
564 rtc->getColorSpace())); in skpaint_to_grpaint_impl()
653 rtc->getColorSpace())); in SkPaintToGrPaintWithTexture()
DGrBitmapTextureMaker.cpp70 sk_sp<SkColorSpace> GrBitmapTextureMaker::getColorSpace(SkColorSpace* dstColorSpace) { in getColorSpace() function in GrBitmapTextureMaker
DGrSurfaceContext.h35 SkColorSpace* getColorSpace() const { return fColorSpace.get(); } in getColorSpace() function
DGrTextureMaker.cpp26 *texColorSpace = this->getColorSpace(dstColorSpace); in refTextureProxyForParams()
DSkGpuDevice_drawTexture.cpp206 fRenderTargetContext->getColorSpace())); in drawTextureProducerImpl()
/external/skia/tools/flags/
DSkCommonFlagsConfig.h71 SkColorSpace* getColorSpace() const { return fColorSpace.get(); } in getColorSpace() function
/external/skia/src/core/
DSkSpecialImage.h56 SkColorSpace* getColorSpace() const;
DSkImageCacherator.h148 sk_sp<SkColorSpace> getColorSpace(GrContext*, SkColorSpace* dstColorSpace);
DSkSpecialImage.cpp121 sk_ref_sp(this->getColorSpace()), in makeTextureImage()
145 SkColorSpace* SkSpecialImage::getColorSpace() const { in getColorSpace() function in SkSpecialImage
DSkBlurImageFilter.cpp167 sk_ref_sp(input->getColorSpace()), in onFilterImage()
/external/skia/src/effects/
DSkXfermodeImageFilter.cpp254 sk_sp<GrColorSpaceXform> bgXform = GrColorSpaceXform::Make(background->getColorSpace(), in filterImageGPU()
270 sk_sp<GrColorSpaceXform> fgXform = GrColorSpaceXform::Make(foreground->getColorSpace(), in filterImageGPU()
DSkArithmeticImageFilter.cpp357 GrColorSpaceXform::Make(background->getColorSpace(), outputProperties.colorSpace()); in filterImageGPU()
371 GrColorSpaceXform::Make(foreground->getColorSpace(), outputProperties.colorSpace()); in filterImageGPU()
DSkAlphaThresholdFilter.cpp170 sk_sp<GrColorSpaceXform> colorSpaceXform = GrColorSpaceXform::Make(input->getColorSpace(), in onFilterImage()
DSkMagnifierImageFilter.cpp361 sk_sp<GrColorSpaceXform> colorSpaceXform = GrColorSpaceXform::Make(input->getColorSpace(), in onFilterImage()
/external/mdnsresponder/mDNSPosix/
Dparselog.py178 ourColourSpace = c.getColorSpace()
/external/skia/tools/skpbench/
Dskpbench.cpp304 kPremul_SkAlphaType, sk_ref_sp(config->getColorSpace())); in main()

12