Home
last modified time | relevance | path

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

12

/external/skia/tests/
DTestConfigParsing.cpp51 REPORTER_ASSERT(reporter, configs[0]->asConfigGpu()->getColorSpace() == nullptr); in DEF_TEST()
167 REPORTER_ASSERT(reporter, configs[24]->asConfigGpu()->getColorSpace()); in DEF_TEST()
168 REPORTER_ASSERT(reporter, configs[24]->asConfigGpu()->getColorSpace()->gammaIsLinear()); in DEF_TEST()
172 as_CSB(configs[24]->asConfigGpu()->getColorSpace())->toXYZD50(); in DEF_TEST()
176 REPORTER_ASSERT(reporter, configs[25]->asConfigGpu()->getColorSpace() == srgbColorSpace.get()); in DEF_TEST()
178 REPORTER_ASSERT(reporter, configs[40]->asConfigGpu()->getColorSpace()); in DEF_TEST()
179 REPORTER_ASSERT(reporter, configs[40]->asConfigGpu()->getColorSpace()->gammaIsLinear()); in DEF_TEST()
181 as_CSB(configs[40]->asConfigGpu()->getColorSpace())->toXYZD50(); in DEF_TEST()
187 REPORTER_ASSERT(reporter, configs[41]->asConfigGpu()->getColorSpace()); in DEF_TEST()
188 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.cpp95 SkYUVColorSpace getColorSpace() const { return fColorSpace; } in getColorSpace() function in __anonbc51ba430111::YUVtoRGBEffect
135 switch (yuvEffect.getColorSpace()) { in onSetData()
188 return (fColorSpace == s.getColorSpace()) && (fNV12 == s.isNV12()); in onIsEqual()
227 SkYUVColorSpace getColorSpace() const { return fColorSpace; } in getColorSpace() function in __anonbc51ba430111::RGBToYUVEffect
285 if (effect.getColorSpace() != fLastColorSpace || oc != fLastOutputChannels) { in onSetData()
288 switch (effect.getColorSpace()) { in onSetData()
316 fLastColorSpace = effect.getColorSpace(); in onSetData()
352 return fColorSpace == s.getColorSpace() && fOutputChannels == s.outputChannels(); in onIsEqual()
/external/skia/src/gpu/
DGrImageTextureMaker.cpp53 sk_sp<SkColorSpace> GrImageTextureMaker::getColorSpace(SkColorSpace* dstColorSpace) { in getColorSpace() function in GrImageTextureMaker
54 return fCacher->getColorSpace(this->context(), dstColorSpace); in getColorSpace()
DGrBitmapTextureMaker.h31 sk_sp<SkColorSpace> getColorSpace(SkColorSpace* dstColorSpace) override;
DGrImageTextureMaker.h35 sk_sp<SkColorSpace> getColorSpace(SkColorSpace* dstColorSpace) override;
DGrTextureMaker.h61 virtual sk_sp<SkColorSpace> getColorSpace(SkColorSpace* dstColorSpace) = 0;
DSkGpuDevice.cpp189 SkImageFilter::OutputProperties outputProperties(fRenderTargetContext->getColorSpace()); in filterTexture()
1025 GrColorSpaceXform::Make(bitmap.colorSpace(), fRenderTargetContext->getColorSpace()); in drawBitmapTile()
1135 GrColorSpaceXform::Make(result->getColorSpace(), fRenderTargetContext->getColorSpace()); in drawSpecial()
1348 if (!as_IB(image)->getROPixels(&bm, fRenderTargetContext->getColorSpace())) { in drawImage()
1357 } else if (as_IB(image)->getROPixels(&bm, fRenderTargetContext->getColorSpace())) { in drawImage()
1384 if (!as_IB(image)->getROPixels(&bm, fRenderTargetContext->getColorSpace())) { in drawImageRect()
1392 } else if (as_IB(image)->getROPixels(&bm, fRenderTargetContext->getColorSpace())) { in drawImageRect()
1425 &kMode, fRenderTargetContext->getColorSpace())); in drawProducerNine()
1458 } else if (as_IB(image)->getROPixels(&bm, fRenderTargetContext->getColorSpace())) { in drawImageNine()
1483 &kMode, fRenderTargetContext->getColorSpace())); in drawProducerLattice()
[all …]
DSkGr.cpp411 GrColor4f origColor = SkColorToUnpremulGrColor4f(skPaint.getColor(), rtc->getColorSpace(), in skpaint_to_grpaint_impl()
423 rtc->getColorSpace())); in skpaint_to_grpaint_impl()
512 rtc->getColorSpace())); in skpaint_to_grpaint_impl()
605 rtc->getColorSpace())); in SkPaintToGrPaintWithTexture()
DGrBitmapTextureMaker.cpp76 sk_sp<SkColorSpace> GrBitmapTextureMaker::getColorSpace(SkColorSpace* dstColorSpace) { in getColorSpace() function in GrBitmapTextureMaker
DGrSurfaceContext.h36 SkColorSpace* getColorSpace() const { return fColorSpace.get(); } in getColorSpace() function
DGrTextureMaker.cpp26 *texColorSpace = this->getColorSpace(dstColorSpace); in refTextureProxyForParams()
DGrContext.cpp348 pm_upm_must_round_trip(dstSurface->config(), dst->getColorSpace()); in writeSurfacePixels()
432 paint.setAllowSRGBInputs(SkToBool(dst->getColorSpace()) || in writeSurfacePixels()
477 pm_upm_must_round_trip(srcSurface->config(), src->getColorSpace()) && in readSurfacePixels()
DSkGpuDevice_drawTexture.cpp206 fRenderTargetContext->getColorSpace())); in drawTextureProducerImpl()
/external/skia/src/gpu/text/
DGrAtlasTextContext.cpp121 GrTextUtils::Paint paint(&skPaint, rtc->getColorSpace(), rtc->getColorXformFromSRGB()); in drawTextBlob()
292 GrTextUtils::Paint paint(&skPaint, rtc->getColorSpace(), rtc->getColorXformFromSRGB()); in drawText()
316 GrTextUtils::Paint paint(&skPaint, rtc->getColorSpace(), rtc->getColorXformFromSRGB()); in drawPosText()
367 GrTextUtils::Paint utilsPaint(&skPaint, rtc->getColorSpace(), rtc->getColorXformFromSRGB()); in GR_DRAW_OP_TEST_DEFINE()
/external/skia/src/core/
DSkImageCacherator.h59 virtual sk_sp<SkColorSpace> getColorSpace(GrContext*, SkColorSpace* dstColorSpace) = 0;
DSkSpecialImage.h54 SkColorSpace* getColorSpace() const;
DSkSpecialImage.cpp118 sk_ref_sp(this->getColorSpace()), in makeTextureImage()
142 SkColorSpace* SkSpecialImage::getColorSpace() const { in getColorSpace() function in SkSpecialImage
/external/skia/tools/flags/
DSkCommonFlagsConfig.h73 SkColorSpace* getColorSpace() const { return fColorSpace.get(); } in getColorSpace() function
/external/skia/src/effects/
DSkXfermodeImageFilter.cpp251 sk_sp<GrColorSpaceXform> bgXform = GrColorSpaceXform::Make(background->getColorSpace(), in filterImageGPU()
267 sk_sp<GrColorSpaceXform> fgXform = GrColorSpaceXform::Make(foreground->getColorSpace(), in filterImageGPU()
DSkArithmeticImageFilter.cpp355 GrColorSpaceXform::Make(background->getColorSpace(), outputProperties.colorSpace()); in filterImageGPU()
369 GrColorSpaceXform::Make(foreground->getColorSpace(), outputProperties.colorSpace()); in filterImageGPU()
DSkAlphaThresholdFilter.cpp173 sk_sp<GrColorSpaceXform> colorSpaceXform = GrColorSpaceXform::Make(input->getColorSpace(), in onFilterImage()
/external/skia/tools/skpbench/
Dskpbench.cpp293 config->getColorSpace(), in main()
311 sk_ref_sp(config->getColorSpace())); in main()
/external/mdnsresponder/mDNSPosix/
Dparselog.py178 ourColourSpace = c.getColorSpace()
/external/skia/src/image/
DSkImage_Lazy.cpp119 sk_sp<SkColorSpace> getColorSpace(GrContext*, SkColorSpace* dstColorSpace) override;
704 sk_sp<SkColorSpace> SkImage_Lazy::getColorSpace(GrContext* ctx, SkColorSpace* dstColorSpace) { in getColorSpace() function in SkImage_Lazy

12