Skia
2DGraphicsLibrary
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GrPendingIOResource< T, IO_TYPE > Class Template Reference

This is similar to GrTGpuResourceRef but can only be in the pending IO state. More...

#include <GrGpuResourceRef.h>

Inheritance diagram for GrPendingIOResource< T, IO_TYPE >:

Public Member Functions

 GrPendingIOResource (T *resource=NULL)
 
void reset (T *resource)
 
 operator bool () const
 
bool operator== (const GrPendingIOResource &other) const
 
T * get () const
 

Private Member Functions

void release ()
 

Private Attributes

T * fResource
 

Detailed Description

template<typename T, GrIOType IO_TYPE>
class GrPendingIOResource< T, IO_TYPE >

This is similar to GrTGpuResourceRef but can only be in the pending IO state.

It never owns a ref.


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