From bcdbbe61e1a3f89545b2c1461164f0f8bf5f0797 Mon Sep 17 00:00:00 2001 From: "bsalomon@google.com" Date: Tue, 12 Apr 2011 15:40:00 +0000 Subject: rename XHelper members to onX Review URL: http://codereview.appspot.com/4380056/ git-svn-id: http://skia.googlecode.com/svn/trunk@1113 2bbb7eff-a529-9590-31e7-b0007b416f81 --- gpu/src/GrInOrderDrawBuffer.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'gpu/src/GrInOrderDrawBuffer.cpp') diff --git a/gpu/src/GrInOrderDrawBuffer.cpp b/gpu/src/GrInOrderDrawBuffer.cpp index 8191814a58..be4db9925e 100644 --- a/gpu/src/GrInOrderDrawBuffer.cpp +++ b/gpu/src/GrInOrderDrawBuffer.cpp @@ -398,9 +398,9 @@ bool GrInOrderDrawBuffer::geometryHints(GrVertexLayout vertexLayout, return flush; } -bool GrInOrderDrawBuffer::acquireGeometryHelper(GrVertexLayout vertexLayout, - void** vertices, - void** indices) { +bool GrInOrderDrawBuffer::onAcquireGeometry(GrVertexLayout vertexLayout, + void** vertices, + void** indices) { GrAssert(!fReservedGeometry.fLocked); if (fReservedGeometry.fVertexCount) { GrAssert(NULL != vertices); @@ -435,7 +435,7 @@ bool GrInOrderDrawBuffer::acquireGeometryHelper(GrVertexLayout vertexLayout, return true; } -void GrInOrderDrawBuffer::releaseGeometryHelper() { +void GrInOrderDrawBuffer::onReleaseGeometry() { GrAssert(fUsedReservedVertexBytes <= fReservedVertexBytes); GrAssert(fUsedReservedIndexBytes <= fReservedIndexBytes); @@ -454,8 +454,8 @@ void GrInOrderDrawBuffer::releaseGeometryHelper() { } -void GrInOrderDrawBuffer::setVertexSourceToArrayHelper(const void* vertexArray, - int vertexCount) { +void GrInOrderDrawBuffer::onSetVertexSourceToArray(const void* vertexArray, + int vertexCount) { GrAssert(!fReservedGeometry.fLocked || !fReservedGeometry.fVertexCount); #if GR_DEBUG bool success = @@ -468,8 +468,8 @@ void GrInOrderDrawBuffer::setVertexSourceToArrayHelper(const void* vertexArray, GR_DEBUGASSERT(success); } -void GrInOrderDrawBuffer::setIndexSourceToArrayHelper(const void* indexArray, - int indexCount) { +void GrInOrderDrawBuffer::onSetIndexSourceToArray(const void* indexArray, + int indexCount) { GrAssert(!fReservedGeometry.fLocked || !fReservedGeometry.fIndexCount); #if GR_DEBUG bool success = -- cgit v1.2.3