|
| SpecialImage (const SkIRect &subset, sk_sp< SkImage > image, const SkSurfaceProps &props) |
|
size_t | getSize () const override |
|
bool | isGraphiteBacked () const override |
|
SkISize | backingStoreDimensions () const override |
|
sk_sp< SkSpecialImage > | onMakeBackingStoreSubset (const SkIRect &subset) const override |
|
sk_sp< SkImage > | asImage () const override |
|
const SkSurfaceProps & | props () const |
|
int | width () const |
|
int | height () const |
|
SkISize | dimensions () const |
|
const SkIRect & | subset () const |
|
uint32_t | uniqueID () const |
|
virtual SkISize | backingStoreDimensions () const =0 |
|
virtual size_t | getSize () const =0 |
|
bool | isExactFit () const |
|
const SkColorInfo & | colorInfo () const |
|
SkAlphaType | alphaType () const |
|
SkColorType | colorType () const |
|
SkColorSpace * | getColorSpace () const |
|
void | draw (SkCanvas *canvas, SkScalar x, SkScalar y, const SkSamplingOptions &sampling, const SkPaint *paint, bool strict=true) const |
|
void | draw (SkCanvas *canvas, SkScalar x, SkScalar y) const |
|
sk_sp< SkSpecialImage > | makeSubset (const SkIRect &subset) const |
|
sk_sp< SkSpecialImage > | makePixelOutset () const |
|
virtual sk_sp< SkImage > | asImage () const =0 |
|
virtual sk_sp< SkShader > | asShader (SkTileMode, const SkSamplingOptions &, const SkMatrix &lm, bool strict=true) const |
|
virtual bool | isGaneshBacked () const |
|
virtual bool | isGraphiteBacked () const |
|
virtual GrRecordingContext * | getContext () const |
|
| SkRefCntBase () |
|
virtual | ~SkRefCntBase () |
|
bool | unique () const |
|
void | ref () const |
|
void | unref () const |
|
Definition at line 20 of file SpecialImage_Graphite.cpp.
◆ SpecialImage()
Definition at line 22 of file SpecialImage_Graphite.cpp.
24 , fImage(std::move(
image)) {
26 }
static SkImage_Base * as_IB(SkImage *image)
const SkImageInfo & imageInfo() const
uint32_t uniqueID() const
SkSpecialImage(const SkIRect &subset, uint32_t uniqueID, const SkColorInfo &, const SkSurfaceProps &)
const SkIRect & subset() const
const SkSurfaceProps & props() const
bool isGraphiteBacked() const override
sk_sp< const SkImage > image
const SkColorInfo & colorInfo() const
◆ asImage()
sk_sp< SkImage > skgpu::graphite::SpecialImage::asImage |
( |
| ) |
const |
|
inlineoverridevirtual |
Create an SkImage view of the contents of this special image, pointing to the same underlying memory.
TODO: If SkImages::MakeFiltered were to return an SkShader that accounted for the subset constraint and offset, then this could move to a private virtual for use in draw() and asShader().
Implements SkSpecialImage.
Definition at line 43 of file SpecialImage_Graphite.cpp.
◆ backingStoreDimensions()
SkISize skgpu::graphite::SpecialImage::backingStoreDimensions |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getSize()
size_t skgpu::graphite::SpecialImage::getSize |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ isGraphiteBacked()
bool skgpu::graphite::SpecialImage::isGraphiteBacked |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ onMakeBackingStoreSubset()
The documentation for this class was generated from the following file: