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

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

Issue 275493004: Rename from "(un)lock" to "(un)map" for geometry buffers. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Address Rob's 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 1b9c4f17beb740e47529920a361331e00aa9019d..ddab8299a7b895250d6dcc822166b698c2153e4c 100644
--- a/src/gpu/gl/GrGLVertexBuffer.h
+++ b/src/gpu/gl/GrGLVertexBuffer.h
@@ -32,10 +32,10 @@ public:
}
// overrides of GrVertexBuffer
- virtual void* lock();
- virtual void* lockPtr() const;
- virtual void unlock();
- virtual bool isLocked() const;
+ 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:
« 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