Index: src/gpu/gl/GrGLVertexBuffer.cpp |
diff --git a/src/gpu/gl/GrGLVertexBuffer.cpp b/src/gpu/gl/GrGLVertexBuffer.cpp |
index 8bfe1f0c96341dfd9628db6619eefc1f07c19482..af6099353a5dc4bb53a9f107e3eefb1fbbabbf64 100644 |
--- a/src/gpu/gl/GrGLVertexBuffer.cpp |
+++ b/src/gpu/gl/GrGLVertexBuffer.cpp |
@@ -27,26 +27,26 @@ void GrGLVertexBuffer::onAbandon() { |
INHERITED::onAbandon(); |
} |
-void* GrGLVertexBuffer::lock() { |
+void* GrGLVertexBuffer::map() { |
if (!this->wasDestroyed()) { |
- return fImpl.lock(this->getGpuGL()); |
+ return fImpl.map(this->getGpuGL()); |
} else { |
return NULL; |
} |
} |
-void* GrGLVertexBuffer::lockPtr() const { |
- return fImpl.lockPtr(); |
+void* GrGLVertexBuffer::mapPtr() const { |
+ return fImpl.mapPtr(); |
} |
-void GrGLVertexBuffer::unlock() { |
+void GrGLVertexBuffer::unmap() { |
if (!this->wasDestroyed()) { |
- fImpl.unlock(this->getGpuGL()); |
+ fImpl.unmap(this->getGpuGL()); |
} |
} |
-bool GrGLVertexBuffer::isLocked() const { |
- return fImpl.isLocked(); |
+bool GrGLVertexBuffer::isMapped() const { |
+ return fImpl.isMapped(); |
} |
bool GrGLVertexBuffer::updateData(const void* src, size_t srcSizeInBytes) { |