8#ifndef GrPixmap_DEFINED
9#define GrPixmap_DEFINED
20 T*
addr()
const {
return fAddr; }
49 (
rect.fTop - surfacePt->
fY) * fRowBytes +
50 (
rect.fLeft - surfacePt->
fX) * fInfo.
bpp();
51 surfacePt->
fX =
rect.fLeft;
72 fPixelStorage = std::move(storage);
static constexpr bool SkToBool(const T &x)
GrCPixmap(const GrPixmap &pixmap)
GrCPixmap(GrImageInfo info, const void *addr, size_t rowBytes)
GrCPixmap(GrCPixmap &&)=default
GrCPixmap & operator=(const GrCPixmap &)=default
GrCPixmap(const GrCPixmap &)=default
GrCPixmap(const SkPixmap &pixmap)
GrCPixmap & operator=(GrCPixmap &&)=default
SkAlphaType alphaType() const
SkColorSpace * colorSpace() const
SkISize dimensions() const
GrImageInfo makeDimensions(SkISize dimensions) const
const GrColorInfo & colorInfo() const
sk_sp< SkColorSpace > refColorSpace() const
GrColorType colorType() const
size_t minRowBytes() const
GrPixmapBase & operator=(GrPixmapBase &&that)=default
GrPixmapBase(GrImageInfo info, sk_sp< SkData > storage, size_t rowBytes)
GrPixmapBase(GrImageInfo info, T *addr, size_t rowBytes)
sk_sp< SkData > pixelStorage() const
GrPixmapBase(GrPixmapBase &&that)=default
const GrColorInfo & colorInfo() const
const GrImageInfo & info() const
DERIVED clip(SkISize surfaceDims, SkIPoint *surfacePt)
sk_sp< SkColorSpace > refColorSpace() const
SkColorSpace * colorSpace() const
GrPixmapBase & operator=(const GrPixmapBase &that)=default
GrPixmapBase(const GrPixmapBase &that)=default
SkAlphaType alphaType() const
SkISize dimensions() const
GrColorType colorType() const
GrPixmap(GrPixmap &&)=default
GrPixmap & operator=(GrPixmap &&)=default
GrPixmap & operator=(const GrPixmap &)=default
GrPixmap(GrImageInfo info, void *addr, size_t rowBytes)
GrPixmap(const SkPixmap &pixmap)
GrPixmap(const GrPixmap &)=default
static GrPixmap Allocate(const GrImageInfo &info)
static sk_sp< SkData > MakeUninitialized(size_t length)
Optional< SkRect > bounds
sk_sp< SkBlender > blender SkRect rect
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
typename copy_const< D, S >::type copy_const_t
static constexpr SkIRect MakeSize(const SkISize &size)
static constexpr SkIRect MakePtSize(SkIPoint pt, SkISize size)
std::shared_ptr< const fml::Mapping > data