Chromium Code Reviews| Index: include/gpu/GrGpuResource.h |
| diff --git a/include/gpu/GrGpuResource.h b/include/gpu/GrGpuResource.h |
| index 8b162823bf6e65f3f6904bc4d20d391559b8d220..7a22bdb20c43501cf98199f1a71f4eb3e51aa5bc 100644 |
| --- a/include/gpu/GrGpuResource.h |
| +++ b/include/gpu/GrGpuResource.h |
| @@ -90,6 +90,11 @@ public: |
| uint32_t getUniqueID() const { return fUniqueID; } |
| protected: |
| + |
|
robertphillips
2014/08/26 18:49:25
"by every GrGpuObject" -> "at the end of every GrG
bsalomon
2014/08/26 20:56:45
Hm, there are intermediate derived classes that sh
|
| + // This must be called by every GrGpuObject. It should be called once the objet is fully |
|
robertphillips
2014/08/26 18:49:25
constructor (typo)
bsalomon
2014/08/26 20:56:45
Done.
|
| + // initialized (i.e. not in a base class construtor). |
| + void registerWithCache(); |
| + |
| GrGpuResource(GrGpu*, bool isWrapped); |
| virtual ~GrGpuResource(); |