| Index: src/gpu/GrGpu.h
|
| diff --git a/src/gpu/GrGpu.h b/src/gpu/GrGpu.h
|
| index 5c25927418ac1d12d39c9f7de2d3f0012e92c0d5..d20a817e7fa840b1155c5c2b02bcdfdbc12a8ef1 100644
|
| --- a/src/gpu/GrGpu.h
|
| +++ b/src/gpu/GrGpu.h
|
| @@ -444,23 +444,6 @@ protected:
|
| unsigned int* ref,
|
| unsigned int* mask);
|
|
|
| - struct GeometrySrcState {
|
| - GeometrySrcState() : fVertexBuffer(NULL), fIndexBuffer(NULL), fVertexSize(0) {}
|
| - const GrVertexBuffer* fVertexBuffer;
|
| - const GrIndexBuffer* fIndexBuffer;
|
| - size_t fVertexSize;
|
| - };
|
| -
|
| - // accessors for derived classes
|
| - const GeometrySrcState& getGeomSrc() const { return fGeoSrcState; }
|
| -
|
| - // it is preferable to call this rather than getGeomSrc()->fVertexSize because of the assert.
|
| - size_t getVertexSize() const {
|
| - // the vertex layout is only valid if a vertex source has been specified.
|
| - SkASSERT(this->getGeomSrc().fVertexBuffer);
|
| - return this->getGeomSrc().fVertexSize;
|
| - }
|
| -
|
| const GrTraceMarkerSet& getActiveTraceMarkers() { return fActiveTraceMarkers; }
|
|
|
| GrContext::GPUStats fGPUStats;
|
| @@ -554,7 +537,6 @@ private:
|
| }
|
| }
|
|
|
| - GeometrySrcState fGeoSrcState;
|
| ResetTimestamp fResetTimestamp;
|
| uint32_t fResetBits;
|
| // these are mutable so they can be created on-demand
|
|
|