Home
last modified time | relevance | path

Searched refs:SkColorInfo (Results 1 – 25 of 41) sorted by relevance

12

/external/skia/include/core/
DSkImageInfo.h177 class SK_API SkColorInfo {
184 SkColorInfo() = default;
195 SkColorInfo(SkColorType ct, SkAlphaType at, sk_sp<SkColorSpace> cs) in SkColorInfo() function
198 SkColorInfo(const SkColorInfo&) = default;
199 SkColorInfo(SkColorInfo&&) = default;
201 SkColorInfo& operator=(const SkColorInfo&) = default;
202 SkColorInfo& operator=(SkColorInfo&&) = default;
217 bool operator==(const SkColorInfo& other) const {
223 bool operator!=(const SkColorInfo& other) const { return !(*this == other); }
231 SkColorInfo makeAlphaType(SkAlphaType newAlphaType) const { in makeAlphaType()
[all …]
/external/skia/gm/verifiers/
Dgmverifier.cpp62 SkBitmap GMVerifier::RenderGoldBmp(skiagm::GM* gm, const SkColorInfo& colorInfo) { in RenderGoldBmp()
84 SkColorInfo GMVerifier::VerifierColorInfo() { in VerifierColorInfo()
85 return SkColorInfo( in VerifierColorInfo()
110 VerifierResult VerifierList::verifyAll(const SkColorInfo& colorInfo, const SkBitmap& actual) { in verifyAll()
Dgmverifier.h100 static SkBitmap RenderGoldBmp(skiagm::GM* gm, const SkColorInfo& colorInfo);
109 static SkColorInfo VerifierColorInfo();
175 VerifierResult verifyAll(const SkColorInfo& colorInfo, const SkBitmap& actual);
/external/skia/src/image/
DSkImage_Gpu.h29 SkColorInfo info);
33 SkColorInfo colorInfo);
82 SkColorInfo);
DSkImage_Gpu.cpp146 SkColorInfo info) in SkImage_Gpu()
167 SkColorInfo info) in SkImage_Gpu()
189 SkColorInfo colorInfo) { in MakeWithVolatileSrc()
290 SkColorInfo info(targetCT, this->alphaType(), std::move(targetCS)); in onMakeColorTypeAndColorSpace()
410 SkColorInfo info(GrColorTypeToSkColorType(colorType), at, std::move(colorSpace)); in new_wrapped_texture_common()
450 SkColorInfo(ct, at, std::move(cs))); in MakeFromCompressedTexture()
533 SkColorInfo(colorType, kOpaque_SkAlphaType, nullptr)); in MakeTextureFromCompressed()
566 SkColorInfo colorInfo(GrColorTypeToSkColorType(ct), this->alphaType(), this->refColorSpace()); in makeTextureImage()
630 SkColorInfo(colorType, alphaType, std::move(colorSpace))); in MakePromiseTexture()
755 SkColorInfo colorInfo = pixmap.info().colorInfo().makeColorType(colorType); in MakeFromAHardwareBufferWithData()
/external/skia/src/shaders/
DSkColorShader.h48 const SkMatrixProvider&, const SkMatrix* localM, const SkColorInfo& dst,
72 const SkMatrixProvider&, const SkMatrix* localM, const SkColorInfo& dst,
DSkColorShader.cpp97 const SkMatrix* /*localM*/, const SkColorInfo& dst, in onProgram()
107 const SkMatrix* /*localM*/, const SkColorInfo& dst, in onProgram()
DSkShader.cpp201 const SkColorInfo& dst, in program()
205 SkColorInfo tweaked = dst.alphaType() == kUnpremul_SkAlphaType in program()
268 const SkMatrixProvider&, const SkMatrix*, const SkColorInfo&, in onProgram() argument
DSkShaderBase.h220 const SkMatrixProvider&, const SkMatrix* localM, const SkColorInfo& dst,
257 const SkColorInfo& dst, skvm::Uniforms*, SkArenaAlloc*) const = 0;
DSkEmptyShader.h41 const SkMatrixProvider&, const SkMatrix*, const SkColorInfo&,
DSkColorFilterShader.h30 const SkMatrixProvider&, const SkMatrix* localM, const SkColorInfo& dst,
DSkComposeShader.cpp149 const SkColorInfo& dst, in program_or_paint()
158 const SkColorInfo& dst, in onProgram()
DSkLocalMatrixShader.cpp84 const SkColorInfo& dst, in onProgram()
162 const SkColorInfo& dst, in onProgram()
DSkComposeShader.h31 const SkMatrixProvider&, const SkMatrix* localM, const SkColorInfo& dst,
DSkLocalMatrixShader.h52 const SkMatrixProvider&, const SkMatrix* localM, const SkColorInfo& dst,
DSkImageShader.h55 const SkMatrixProvider&, const SkMatrix* localM, const SkColorInfo& dst,
DSkPictureShader.h39 const SkMatrixProvider&, const SkMatrix* localM, const SkColorInfo& dst,
DSkColorFilterShader.cpp68 const SkColorInfo& dst, in onProgram()
/external/skia/src/core/
DSkImageInfo.cpp46 int SkColorInfo::bytesPerPixel() const { return SkColorTypeBytesPerPixel(fColorType); } in bytesPerPixel()
48 int SkColorInfo::shiftPerPixel() const { return SkColorTypeShiftPerPixel(fColorType); } in shiftPerPixel()
DSkVMBlitter.cpp41 SkColorInfo dst;
352 const SkColorInfo& dst, in onProgram()
378 const SkColorInfo& dst, in onProgram()
464 const SkMatrixProvider&, const SkMatrix*, const SkColorInfo&, in onProgram()
/external/skia/src/gpu/
DGrColorInfo.cpp20 GrColorInfo::GrColorInfo(const SkColorInfo& ci) in GrColorInfo()
DGrColorInfo.h25 /* implicit */ GrColorInfo(const SkColorInfo&);
/external/skia/dm/
DDMSrcSink.h125 virtual SkColorInfo colorInfo() const { return SkColorInfo(); } in colorInfo()
404 SkColorInfo colorInfo() const override { in colorInfo()
405 return SkColorInfo(fColorType, fAlphaType, fColorSpace); in colorInfo()
/external/skia/include/private/
DSkImageInfoPriv.h162 static inline bool SkColorInfoIsValid(const SkColorInfo& info) { in SkColorInfoIsValid()
/external/skia/src/shaders/gradients/
DSkGradientShaderPriv.h83 const SkMatrixProvider&, const SkMatrix* localM, const SkColorInfo& dstCS,

12