Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(312)

Unified Diff: src/gpu/gl/GrGLVertexBuffer.h

Issue 272503009: store map ptr in GrGeometryBuffer base class (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Address comments Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/gl/GrGLIndexBuffer.cpp ('k') | src/gpu/gl/GrGLVertexBuffer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/gl/GrGLVertexBuffer.h
diff --git a/src/gpu/gl/GrGLVertexBuffer.h b/src/gpu/gl/GrGLVertexBuffer.h
index ddab8299a7b895250d6dcc822166b698c2153e4c..db413ac9909c25acdf3a2be853e16e0b3f4fbb7f 100644
--- a/src/gpu/gl/GrGLVertexBuffer.h
+++ b/src/gpu/gl/GrGLVertexBuffer.h
@@ -31,19 +31,15 @@ public:
}
}
- // overrides of GrVertexBuffer
- virtual void* map() SK_OVERRIDE;
- virtual void* mapPtr() const SK_OVERRIDE;
- virtual void unmap() SK_OVERRIDE;
- virtual bool isMapped() const SK_OVERRIDE;
- virtual bool updateData(const void* src, size_t srcSizeInBytes);
-
protected:
- // overrides of GrResource
virtual void onAbandon() SK_OVERRIDE;
virtual void onRelease() SK_OVERRIDE;
private:
+ virtual void* onMap() SK_OVERRIDE;
+ virtual void onUnmap() SK_OVERRIDE;
+ virtual bool onUpdateData(const void* src, size_t srcSizeInBytes) SK_OVERRIDE;
+
GrGpuGL* getGpuGL() const {
SkASSERT(!this->wasDestroyed());
return (GrGpuGL*)(this->getGpu());
« no previous file with comments | « src/gpu/gl/GrGLIndexBuffer.cpp ('k') | src/gpu/gl/GrGLVertexBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698