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

Unified Diff: src/gpu/gl/GrGLIndexBuffer.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/GrGLBufferImpl.h ('k') | src/gpu/gl/GrGLIndexBuffer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/gl/GrGLIndexBuffer.h
diff --git a/src/gpu/gl/GrGLIndexBuffer.h b/src/gpu/gl/GrGLIndexBuffer.h
index 3960f584379b9d2bbc24cf5f831dd66a8b53c897..5d5de43eee4c3a01ef1dadc392d20695302d2e97 100644
--- a/src/gpu/gl/GrGLIndexBuffer.h
+++ b/src/gpu/gl/GrGLIndexBuffer.h
@@ -31,19 +31,15 @@ public:
}
}
- // overrides of GrIndexBuffer
- 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/GrGLBufferImpl.h ('k') | src/gpu/gl/GrGLIndexBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698