Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Friends | List of all members
GrImageContextPriv Class Reference

#include <GrImageContextPriv.h>

Inheritance diagram for GrImageContextPriv:
GrBaseContextPriv GrRecordingContextPriv GrDirectContextPriv

Public Member Functions

GrImageContextcontext ()
 
const GrImageContextcontext () const
 
bool abandoned ()
 
 SkDEBUGCODE (skgpu::SingleOwner *singleOwner() const { return this->context() ->singleOwner();}) protected
 
- Public Member Functions inherited from GrBaseContextPriv
GrContext_Basecontext ()
 
const GrContext_Basecontext () const
 
uint32_t contextID () const
 
bool matches (GrContext_Base *candidate) const
 
const GrContextOptionsoptions () const
 
const GrCapscaps () const
 
sk_sp< const GrCapsrefCaps () const
 
GrImageContextasImageContext ()
 
GrRecordingContextasRecordingContext ()
 
GrDirectContextasDirectContext ()
 
GrContextOptions::ShaderErrorHandlergetShaderErrorHandler () const
 

Static Public Member Functions

static sk_sp< GrImageContextMakeForPromiseImage (sk_sp< GrContextThreadSafeProxy > tsp)
 

Friends

class GrImageContext
 

Additional Inherited Members

- Protected Member Functions inherited from GrBaseContextPriv
 GrBaseContextPriv (GrContext_Base *context)
 
- Protected Attributes inherited from GrBaseContextPriv
GrContext_BasefContext
 

Detailed Description

Class that exposes methods on GrImageContext that are only intended for use internal to Skia. This class is purely a privileged window into GrImageContext. It should never have additional data members or virtual methods.

Definition at line 19 of file GrImageContextPriv.h.

Member Function Documentation

◆ abandoned()

bool GrImageContextPriv::abandoned ( )
inline

Definition at line 24 of file GrImageContextPriv.h.

24{ return this->context()->abandoned(); }
GrImageContext * context()
virtual SK_API bool abandoned()

◆ context() [1/2]

GrImageContext * GrImageContextPriv::context ( )
inline

Definition at line 21 of file GrImageContextPriv.h.

21{ return static_cast<GrImageContext*>(fContext); }
GrContext_Base * fContext

◆ context() [2/2]

const GrImageContext * GrImageContextPriv::context ( ) const
inline

Definition at line 22 of file GrImageContextPriv.h.

22{ return static_cast<const GrImageContext*>(fContext); }

◆ MakeForPromiseImage()

static sk_sp< GrImageContext > GrImageContextPriv::MakeForPromiseImage ( sk_sp< GrContextThreadSafeProxy tsp)
inlinestatic

Definition at line 26 of file GrImageContextPriv.h.

26 {
27 return GrImageContext::MakeForPromiseImage(std::move(tsp));
28 }

◆ SkDEBUGCODE()

GrImageContextPriv::SkDEBUGCODE ( skgpu::SingleOwner *singleOwner() const { return this->context() ->singleOwner();}  )
inline

This is only useful for debug purposes

Definition at line 31 of file GrImageContextPriv.h.

31 { return this->context()->singleOwner(); } )
32
33protected:
34 explicit GrImageContextPriv(GrImageContext* iContext) : GrBaseContextPriv(iContext) {}
skgpu::SingleOwner * singleOwner() const

Friends And Related Symbol Documentation

◆ GrImageContext

friend class GrImageContext
friend

Definition at line 44 of file GrImageContextPriv.h.


The documentation for this class was generated from the following file: