diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-03-30 21:26:44 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-03-30 21:26:44 +0000 |
commit | 8fe72477f204b1a45393e6a64caa84fd287b805b (patch) | |
tree | ee45cdc16a5e66a5a198920897d82db4284b97da /gpu/include/GrVertexBuffer.h | |
parent | a7d948523dce6044fc02db90726e5f971a93628b (diff) |
Add GrResource base class for ibs, texs, vbs, etc.
Add lostContext() to GrContext.
Review URL: http://codereview.appspot.com/4328044/
git-svn-id: http://skia.googlecode.com/svn/trunk@1026 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gpu/include/GrVertexBuffer.h')
-rw-r--r-- | gpu/include/GrVertexBuffer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gpu/include/GrVertexBuffer.h b/gpu/include/GrVertexBuffer.h index 3792c15b01..34abe2ce11 100644 --- a/gpu/include/GrVertexBuffer.h +++ b/gpu/include/GrVertexBuffer.h @@ -22,8 +22,8 @@ class GrVertexBuffer : public GrGeometryBuffer { protected: - GrVertexBuffer(size_t sizeInBytes, bool dynamic) : - INHERITED(sizeInBytes, dynamic) {} + GrVertexBuffer(GrGpu* gpu, size_t sizeInBytes, bool dynamic) + : INHERITED(gpu, sizeInBytes, dynamic) {} private: typedef GrGeometryBuffer INHERITED; }; |