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