Skia
2DGraphicsLibrary
|
Can be used to perform actions related to the generating GrContext in a thread safe manner. More...
#include <GrContext.h>
Private Types | |
typedef SkRefCnt | INHERITED |
Private Member Functions | |
GrContextThreadSafeProxy (sk_sp< const GrCaps > caps, uint32_t uniqueID) | |
Private Attributes | |
sk_sp< const GrCaps > | fCaps |
uint32_t | fContextUniqueID |
Friends | |
class | GrContext |
class | SkImage |
Additional Inherited Members | |
Public Member Functions inherited from SkRefCntBase | |
SkRefCntBase () | |
Default construct, initializing the reference count to 1. | |
virtual | ~SkRefCntBase () |
Destruct, asserting that the reference count is 1. | |
int32_t | getRefCnt () const |
Return the reference count. More... | |
void | validate () const |
bool | unique () const |
May return true if the caller is the only owner. More... | |
void | ref () const |
Increment the reference count. More... | |
void | unref () const |
Decrement the reference count. More... | |
Protected Member Functions inherited from SkRefCntBase | |
void | internal_dispose_restore_refcnt_to_1 () const |
Allow subclasses to call this if they've overridden internal_dispose so they can reset fRefCnt before the destructor is called or if they choose not to call the destructor (e.g. More... | |
Can be used to perform actions related to the generating GrContext in a thread safe manner.
The proxy does not access the 3D API (e.g. OpenGL) that backs the generating GrContext.