aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrGpu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/GrGpu.cpp')
-rw-r--r--src/gpu/GrGpu.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gpu/GrGpu.cpp b/src/gpu/GrGpu.cpp
index 9ce8fa05e6..cbbd74f93a 100644
--- a/src/gpu/GrGpu.cpp
+++ b/src/gpu/GrGpu.cpp
@@ -32,7 +32,7 @@ extern void gr_run_unittests();
GrGpu::GrGpu()
: fContext(NULL)
- , fResetCnt(0)
+ , fResetTimestamp(0)
, fVertexPool(NULL)
, fIndexPool(NULL)
, fVertexPoolUseCnt(0)
@@ -62,11 +62,6 @@ GrGpu::~GrGpu() {
this->releaseResources();
}
-void GrGpu::resetContext() {
- this->onResetContext();
- ++fResetCnt;
-}
-
void GrGpu::abandonResources() {
while (NULL != fResourceHead) {