aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrGpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/GrGpu.h')
-rw-r--r--src/gpu/GrGpu.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/src/gpu/GrGpu.h b/src/gpu/GrGpu.h
index f14c17f5cf..baca8248ff 100644
--- a/src/gpu/GrGpu.h
+++ b/src/gpu/GrGpu.h
@@ -24,34 +24,6 @@ class GrResource;
class GrStencilBuffer;
class GrVertexBufferAllocPool;
-/**
- * Gpu usage statistics.
- */
-struct GrGpuStats {
- uint32_t fVertexCnt; //<! Number of vertices drawn
- uint32_t fIndexCnt; //<! Number of indices drawn
- uint32_t fDrawCnt; //<! Number of draws
-
- uint32_t fProgChngCnt;//<! Number of program changes
-
- /**
- * Number of times the texture is set in 3D API
- */
- uint32_t fTextureChngCnt;
- /**
- * Number of times the render target is set in 3D API
- */
- uint32_t fRenderTargetChngCnt;
- /**
- * Number of textures created (includes textures that are rendertargets).
- */
- uint32_t fTextureCreateCnt;
- /**
- * Number of rendertargets created.
- */
- uint32_t fRenderTargetCreateCnt;
-};
-
class GrGpu : public GrDrawTarget {
public:
@@ -286,10 +258,6 @@ public:
GrPixelConfig config, const void* buffer,
size_t rowBytes);
- const GrGpuStats& getStats() const;
- void resetStats();
- void printStats() const;
-
/**
* Called to tell Gpu object that all GrResources have been lost and should
* be abandoned. Overrides must call INHERITED::abandonResources().
@@ -391,8 +359,6 @@ protected:
// and the client isn't using the stencil test.
static const GrStencilSettings* GetClipStencilSettings();
- GrGpuStats fStats;
-
GrClipMaskManager fClipMaskManager;
struct GeometryPoolState {