Index: src/gpu/GrFlushToGpuDrawTarget.h |
diff --git a/src/gpu/GrFlushToGpuDrawTarget.h b/src/gpu/GrFlushToGpuDrawTarget.h |
index 12881563b254986a351bc2d04c5174e240f649ee..4c72f93572d1054721b85cb1ee796ed80b10fab1 100644 |
--- a/src/gpu/GrFlushToGpuDrawTarget.h |
+++ b/src/gpu/GrFlushToGpuDrawTarget.h |
@@ -69,6 +69,10 @@ protected: |
typedef SkSTArray<kGeoPoolStatePreAllocCnt, GeometryPoolState> GeoPoolStateStack; |
const GeoPoolStateStack& getGeoPoolStateStack() const { return fGeoPoolStateStack; } |
+ void willReserveVertexAndIndexSpace(int vertexCount, |
+ size_t vertexStride, |
+ int indexCount) SK_OVERRIDE; |
+ |
private: |
virtual void onReset() = 0; |
@@ -81,9 +85,6 @@ private: |
void releaseReservedIndexSpace() SK_OVERRIDE; |
void geometrySourceWillPush() SK_OVERRIDE; |
void geometrySourceWillPop(const GeometrySrcState& restoredState) SK_OVERRIDE; |
- void willReserveVertexAndIndexSpace(int vertexCount, |
- size_t vertexStride, |
- int indexCount) SK_OVERRIDE; |
bool onCanCopySurface(const GrSurface* dst, |
const GrSurface* src, |
const SkIRect& srcRect, |