Index: src/gpu/gl/GrGLIndexBuffer.cpp |
diff --git a/src/gpu/gl/GrGLIndexBuffer.cpp b/src/gpu/gl/GrGLIndexBuffer.cpp |
index 38dd15d5f6aaf431140f2faaa75b7a65a3e5c94d..a137348ef75e3328289cd059275d96aab71c7f7c 100644 |
--- a/src/gpu/gl/GrGLIndexBuffer.cpp |
+++ b/src/gpu/gl/GrGLIndexBuffer.cpp |
@@ -26,7 +26,7 @@ void GrGLIndexBuffer::onAbandon() { |
INHERITED::onAbandon(); |
} |
-void* GrGLIndexBuffer::map() { |
+void* GrGLIndexBuffer::onMap() { |
if (!this->wasDestroyed()) { |
return fImpl.map(this->getGpuGL()); |
} else { |
@@ -34,21 +34,13 @@ void* GrGLIndexBuffer::map() { |
} |
} |
-void* GrGLIndexBuffer::mapPtr() const { |
- return fImpl.mapPtr(); |
-} |
- |
-void GrGLIndexBuffer::unmap() { |
+void GrGLIndexBuffer::onUnmap() { |
if (!this->wasDestroyed()) { |
fImpl.unmap(this->getGpuGL()); |
} |
} |
-bool GrGLIndexBuffer::isMapped() const { |
- return fImpl.isMapped(); |
-} |
- |
-bool GrGLIndexBuffer::updateData(const void* src, size_t srcSizeInBytes) { |
+bool GrGLIndexBuffer::onUpdateData(const void* src, size_t srcSizeInBytes) { |
if (!this->wasDestroyed()) { |
return fImpl.updateData(this->getGpuGL(), src, srcSizeInBytes); |
} else { |