Home
last modified time | relevance | path

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

123

/third_party/skia/include/core/
DSkImageInfo.h179 class SK_API SkColorInfo {
186 SkColorInfo() = default;
197 SkColorInfo(SkColorType ct, SkAlphaType at, sk_sp<SkColorSpace> cs) in SkColorInfo() function
200 SkColorInfo(const SkColorInfo&) = default;
201 SkColorInfo(SkColorInfo&&) = default;
203 SkColorInfo& operator=(const SkColorInfo&) = default;
204 SkColorInfo& operator=(SkColorInfo&&) = default;
219 bool operator==(const SkColorInfo& other) const {
225 bool operator!=(const SkColorInfo& other) const { return !(*this == other); }
233 SkColorInfo makeAlphaType(SkAlphaType newAlphaType) const { in makeAlphaType()
[all …]
/third_party/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);
/third_party/skia/src/image/
DSkImage_Gpu.h29 SkColorInfo info);
33 SkColorInfo colorInfo);
82 SkColorInfo);
DSkImage_Gpu.cpp147 SkColorInfo info) in SkImage_Gpu()
168 SkColorInfo info) in SkImage_Gpu()
190 SkColorInfo colorInfo) { in MakeWithVolatileSrc()
292 SkColorInfo info(targetCT, this->alphaType(), std::move(targetCS)); in onMakeColorTypeAndColorSpace()
406 SkColorInfo info(GrColorTypeToSkColorType(colorType), at, std::move(colorSpace)); in new_wrapped_texture_common()
446 SkColorInfo(ct, at, std::move(cs))); in MakeFromCompressedTexture()
529 SkColorInfo(colorType, kOpaque_SkAlphaType, nullptr)); in MakeTextureFromCompressed()
562 SkColorInfo colorInfo(GrColorTypeToSkColorType(ct), this->alphaType(), this->refColorSpace()); in makeTextureImage()
624 SkColorInfo(colorType, alphaType, std::move(colorSpace))); in MakePromiseTexture()
749 SkColorInfo colorInfo = pixmap.info().colorInfo().makeColorType(colorType); in MakeFromAHardwareBufferWithData()
/third_party/skia/src/core/
DSkBlenderBase.h37 const SkColorInfo& colorInfo, skvm::Uniforms* uniforms, in program()
60 const SkColorInfo& colorInfo, skvm::Uniforms* uniforms,
DSkColorFilter.cpp75 const SkColorInfo& dst, in program()
127 SkColorInfo dstInfo = {kRGBA_F32_SkColorType, kPremul_SkAlphaType, sk_ref_sp(dstCS)}; in onFilterColor4f()
162 const SkColorInfo& dst, in onProgram()
283 skvm::Color onProgram(skvm::Builder* p, skvm::Color c, const SkColorInfo& dst, in onProgram()
376 skvm::Color onProgram(skvm::Builder* p, skvm::Color c, const SkColorInfo& rawDst, in onProgram()
384 SkColorInfo dst = {rawDst.colorType(), kPremul_SkAlphaType, dstCS}, in onProgram()
401 SkColorInfo dst = {kUnknown_SkColorType, kPremul_SkAlphaType, dstCS}, in onFilterColor4f()
DSkColorFilterBase.h31 const SkColorInfo& dst, skvm::Uniforms*, SkArenaAlloc*) const;
85 const SkColorInfo& dst, skvm::Uniforms*, SkArenaAlloc*) const = 0;
DSkImageInfo.cpp47 int SkColorInfo::bytesPerPixel() const { return SkColorTypeBytesPerPixel(fColorType); } in bytesPerPixel()
49 int SkColorInfo::shiftPerPixel() const { return SkColorTypeShiftPerPixel(fColorType); } in shiftPerPixel()
DSkColorFilter_Matrix.h36 const SkColorInfo& dst,
DSkBlendModeBlender.h34 const SkColorInfo& colorInfo, skvm::Uniforms* uniforms,
DSkModeColorFilter.h36 const SkColorInfo&, skvm::Uniforms*, SkArenaAlloc*) const override;
/third_party/skia/src/shaders/
DSkColorShader.h48 const SkMatrixProvider&, const SkMatrix* localM, const SkColorInfo& dst,
72 const SkMatrixProvider&, const SkMatrix* localM, const SkColorInfo& dst,
DSkImageShader.h54 const SkMatrixProvider&, const SkMatrix* localM, const SkColorInfo& dst,
60 const SkMatrixProvider&, const SkMatrix* localM, const SkColorInfo& dst,
DSkShader.cpp214 const SkColorInfo& dst, in program()
218 SkColorInfo tweaked = dst.alphaType() == kUnpremul_SkAlphaType in program()
281 const SkMatrixProvider&, const SkMatrix*, const SkColorInfo&, in onProgram() argument
DSkColorShader.cpp97 const SkMatrix* /*localM*/, const SkColorInfo& dst, in onProgram()
107 const SkMatrix* /*localM*/, const SkColorInfo& dst, in onProgram()
DSkEmptyShader.h41 const SkMatrixProvider&, const SkMatrix*, const SkColorInfo&,
DSkShaderBase.h209 const SkMatrixProvider&, const SkMatrix* localM, const SkColorInfo& dst,
246 const SkColorInfo& dst, skvm::Uniforms*, SkArenaAlloc*) const = 0;
DSkLocalMatrixShader.cpp83 const SkColorInfo& dst, in onProgram()
161 const SkColorInfo& dst, in onProgram()
DSkColorFilterShader.h30 const SkMatrixProvider&, const SkMatrix* localM, const SkColorInfo& dst,
DSkTransformShader.h26 const SkColorInfo& dst,
DSkLocalMatrixShader.h52 const SkMatrixProvider&, const SkMatrix* localM, const SkColorInfo& dst,
DSkComposeShader.h41 const SkMatrixProvider&, const SkMatrix* localM, const SkColorInfo& dst,
/third_party/skia/src/gpu/
DGrColorInfo.cpp20 GrColorInfo::GrColorInfo(const SkColorInfo& ci) in GrColorInfo()
DGrColorInfo.h25 /* implicit */ GrColorInfo(const SkColorInfo&);

123