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