Home
last modified time | relevance | path

Searched refs:dstColorInfo (Results 1 – 25 of 29) sorted by relevance

12

/external/skia/src/gpu/graphite/
DContext.cpp134 const SkColorInfo& dstColorInfo, in asyncReadPixels() argument
147 dstColorInfo, in asyncReadPixels()
154 const SkColorInfo& dstColorInfo, in asyncReadPixels() argument
167 dstColorInfo, in asyncReadPixels()
175 const SkColorInfo& dstColorInfo, in asyncReadPixels() argument
184 if (!SkImageInfoIsValid(srcImageInfo) || !SkColorInfoIsValid(dstColorInfo)) { in asyncReadPixels()
202 dstColorInfo, srcRect); in asyncReadPixels()
220 srcRect.width() * SkColorTypeBytesPerPixel(dstColorInfo.colorType())); in asyncReadPixels()
255 const SkColorInfo& dstColorInfo, in transferPixels() argument
263 dstColorInfo.colorType()); in transferPixels()
[all …]
DUploadTask.cpp81 const SkColorInfo& dstColorInfo, in Make() argument
87 SkASSERT(caps->areColorTypeAndTextureInfoCompatible(dstColorInfo.colorType(), in Make()
120 const size_t bpp = dstColorInfo.bytesPerPixel(); in Make()
139 bool needsConversion = (srcColorInfo != dstColorInfo); in Make()
150 SkImageInfo dstImageInfo = SkImageInfo::Make(dims, dstColorInfo); in Make()
233 const SkColorInfo& dstColorInfo, in recordUpload() argument
238 srcColorInfo, dstColorInfo, in recordUpload()
DKeyContext.h29 const SkColorInfo& dstColorInfo) in KeyContext() argument
32 , fDstColorInfo(dstColorInfo) { in KeyContext()
48 const SkColorInfo& dstColorInfo() const { return fDstColorInfo; } in dstColorInfo() function
DPaintParams.cpp64 SkColor4f PaintParams::Color4fPrepForDst(SkColor4f srcColor, const SkColorInfo& dstColorInfo) { in Color4fPrepForDst() argument
67 dstColorInfo.colorSpace(), kUnpremul_SkAlphaType); in Color4fPrepForDst()
78 SkColor4f dstPaintColor = Color4fPrepForDst(fColor, keyContext.dstColorInfo()); in toKey()
DKeyContext.cpp16 const SkColorInfo& dstColorInfo) in KeyContext() argument
20 , fDstColorInfo(dstColorInfo) { in KeyContext()
DUploadTask.h53 const SkColorInfo& dstColorInfo,
94 const SkColorInfo& dstColorInfo,
DDrawContext.cpp113 const SkColorInfo& dstColorInfo, in recordUpload() argument
123 dstColorInfo, in recordUpload()
DPaintParams.h64 static SkColor4f Color4fPrepForDst(SkColor4f srgb, const SkColorInfo& dstColorInfo);
DDrawContext.h83 const SkColorInfo& dstColorInfo,
DDevice.cpp106 const SkColorInfo& dstColorInfo) { in extract_paint_color() argument
112 SkColor4f dstPaintColor = PaintParams::Color4fPrepForDst(paint.getColor4f(), dstColorInfo); in extract_paint_color()
115 SkColorSpace* dstCS = dstColorInfo.colorSpace(); in extract_paint_color()
/external/skia/src/gpu/ganesh/
DSkGr.cpp430 const GrColorInfo& dstColorInfo, in skpaint_to_grpaint_impl() argument
438 SkColor4f origColor = SkColor4fPrepForDst(skPaint.getColor4f(), dstColorInfo); in skpaint_to_grpaint_impl()
440 GrFPArgs fpArgs(context, &dstColorInfo, surfaceProps); in skpaint_to_grpaint_impl()
547 SkColorSpace* dstCS = dstColorInfo.colorSpace(); in skpaint_to_grpaint_impl()
551 context, dstColorInfo, in skpaint_to_grpaint_impl()
568 GrColorType ct = dstColorInfo.colorType(); in skpaint_to_grpaint_impl()
600 if (GrColorTypeClampType(dstColorInfo.colorType()) == GrClampType::kManual) { in skpaint_to_grpaint_impl()
620 const GrColorInfo& dstColorInfo, in SkPaintToGrPaint() argument
626 dstColorInfo, in SkPaintToGrPaint()
637 const GrColorInfo& dstColorInfo, in SkPaintToGrPaintReplaceShader() argument
[all …]
DGrFPArgs.h21 const GrColorInfo* dstColorInfo, in GrFPArgs()
23 : fContext(context), fDstColorInfo(dstColorInfo), fSurfaceProps(surfaceProps) { in GrFPArgs()
DSkGr.h93 const GrColorInfo& dstColorInfo,
103 const GrColorInfo& dstColorInfo,
113 const GrColorInfo& dstColorInfo,
DDevice_drawTexture.cpp339 const GrColorInfo& dstColorInfo) { in texture_color() argument
342 return SkColor4fPrepForDst(paintColor, dstColorInfo).premul(); in texture_color()
/external/skia/include/gpu/graphite/
DContext.h56 const SkColorInfo& dstColorInfo,
62 const SkColorInfo& dstColorInfo,
121 const SkColorInfo& dstColorInfo,
139 const SkColorInfo& dstColorInfo,
/external/skia/src/core/
DSkColorFilter.cpp70 const GrColorInfo& dstColorInfo, in asFragmentProcessor() argument
186 const GrColorInfo& dstColorInfo, in asFragmentProcessor() argument
193 fInner->asFragmentProcessor(std::move(inputFP), context, dstColorInfo, props); in asFragmentProcessor()
199 fOuter->asFragmentProcessor(std::move(innerFP), context, dstColorInfo, props); in asFragmentProcessor()
279 const GrColorInfo& dstColorInfo, in asFragmentProcessor() argument
410 const GrColorInfo& dstColorInfo, in asFragmentProcessor() argument
412 sk_sp<SkColorSpace> dstCS = dstColorInfo.refColorSpace(); in asFragmentProcessor()
418 GrColorInfo dst = {dstColorInfo.colorType(), dstColorInfo.alphaType(), dstCS}, in asFragmentProcessor()
419 working = {dstColorInfo.colorType(), workingAT, workingCS}; in asFragmentProcessor()
436 const SkAlphaType dstAT = keyContext.dstColorInfo().alphaType(); in addToKey()
[all …]
DSkModeColorFilter.cpp146 const GrColorInfo& dstColorInfo, in asFragmentProcessor() argument
156 SkPMColor4f color = map_color(fColor, sk_srgb_singleton(), dstColorInfo.colorSpace()); in asFragmentProcessor()
187 keyContext.dstColorInfo().colorSpace()); in addToKey()
DSkColorFilterBase.h60 const GrColorInfo& dstColorInfo,
/external/skia/src/shaders/gradients/
DSkGradientShaderBase.cpp1301 const SkColorInfo& dstColorInfo = keyContext.dstColorInfo(); in MakeInterpolatedToDst() local
1303 SkColorSpace* dstColorSpace = dstColorInfo.colorSpace() ? dstColorInfo.colorSpace() in MakeInterpolatedToDst()
1310 dstColorSpace, dstColorInfo.alphaType()); in MakeInterpolatedToDst()
DSkLinearGradient.cpp109 SkColor4fXformer xformedColors(this, keyContext.dstColorInfo().colorSpace()); in addToKey()
DSkRadialGradient.cpp150 SkColor4fXformer xformedColors(this, keyContext.dstColorInfo().colorSpace()); in addToKey()
DSkSweepGradient.cpp199 SkColor4fXformer xformedColors(this, keyContext.dstColorInfo().colorSpace()); in addToKey()
/external/skia/src/gpu/ganesh/ops/
DAtlasTextOp.h136 const GrColorInfo& dstColorInfo,
DAtlasTextOp.cpp74 const GrColorInfo& dstColorInfo, in AtlasTextOp() argument
92 fColorSpaceXform = dstColorInfo.refColorSpaceXformFromSRGB();
/external/skia/tests/
DGradientTest.cpp442 GrColorInfo dstColorInfo(GrColorType::kRGBA_8888, kPremul_SkAlphaType, in test_unsorted_degenerate() local
448 GrFPArgs args(context.get(), &dstColorInfo, props); in test_unsorted_degenerate()

12