|
| SkAutoPixmapUnlock (const SkPixmap &pm, void(*unlock)(void *), void *ctx) |
|
const SkPixmap & | pixmap () const |
| Return the currently locked pixmap. More...
|
|
bool | isLocked () const |
|
void | unlock () |
| Unlocks the pixmap. More...
|
|
void | reset (const SkPixmap &pm, void(*unlock)(void *), void *ctx) |
| If there is a currently locked pixmap, unlock it, then copy the specified pixmap and (optional) unlock proc/context.
|
|
|
void(* | fUnlockProc )(void *) |
|
void * | fUnlockContext |
|
SkPixmap | fPixmap |
|
bool | fIsLocked |
|
const SkPixmap& SkAutoPixmapUnlock::pixmap |
( |
| ) |
const |
|
inline |
Return the currently locked pixmap.
Undefined if it has been unlocked.
void SkAutoPixmapUnlock::unlock |
( |
| ) |
|
|
inline |
Unlocks the pixmap.
Can safely be called more than once as it will only call the underlying unlock-proc once.
The documentation for this class was generated from the following file: