Flutter Engine
The Flutter Engine
Classes | Namespaces | Enumerations | Functions
SkImage_Base.h File Reference
#include "include/core/SkData.h"
#include "include/core/SkImage.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkTypes.h"
#include "src/core/SkMipmap.h"
#include <atomic>
#include <cstddef>
#include <cstdint>

Go to the source code of this file.

Classes

class  SkImage_Base
 

Namespaces

namespace  skgpu
 
namespace  skgpu::graphite
 

Enumerations

enum  { kNeedNewImageUniqueID = 0 }
 

Functions

static SkImage_Baseas_IB (SkImage *image)
 
static SkImage_Baseas_IB (const sk_sp< SkImage > &image)
 
static const SkImage_Baseas_IB (const SkImage *image)
 
static const SkImage_Baseas_IB (const sk_sp< const SkImage > &image)
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
kNeedNewImageUniqueID 

Definition at line 32 of file SkImage_Base.h.

32 {
34};
@ kNeedNewImageUniqueID
Definition: SkImage_Base.h:33

Function Documentation

◆ as_IB() [1/4]

static const SkImage_Base * as_IB ( const sk_sp< const SkImage > &  image)
inlinestatic

Definition at line 213 of file SkImage_Base.h.

213 {
214 return static_cast<const SkImage_Base*>(image.get());
215}
T * get() const
Definition: SkRefCnt.h:303
sk_sp< const SkImage > image
Definition: SkRecords.h:269

◆ as_IB() [2/4]

static SkImage_Base * as_IB ( const sk_sp< SkImage > &  image)
inlinestatic

Definition at line 205 of file SkImage_Base.h.

205 {
206 return static_cast<SkImage_Base*>(image.get());
207}

◆ as_IB() [3/4]

static const SkImage_Base * as_IB ( const SkImage image)
inlinestatic

Definition at line 209 of file SkImage_Base.h.

209 {
210 return static_cast<const SkImage_Base*>(image);
211}

◆ as_IB() [4/4]

static SkImage_Base * as_IB ( SkImage image)
inlinestatic

Definition at line 201 of file SkImage_Base.h.

201 {
202 return static_cast<SkImage_Base*>(image);
203}