Index: tools/kilobench/kilobench.cpp |
diff --git a/tools/kilobench/kilobench.cpp b/tools/kilobench/kilobench.cpp |
index f4c2999b9111d725971d0ef8b8293c9090fd179b..81238353e215e19c6a0597b9229e7a3f5ce047eb 100644 |
--- a/tools/kilobench/kilobench.cpp |
+++ b/tools/kilobench/kilobench.cpp |
@@ -218,10 +218,10 @@ |
return true; |
} |
- GLTestContext* gl() { return fGL; } |
+ GLContext* gl() { return fGL; } |
private: |
- GLTestContext* fGL; |
+ GLContext* fGL; |
SkAutoTDelete<SkSurface> fSurface; |
}; |
@@ -282,7 +282,7 @@ |
static double now_ms() { return SkTime::GetNSecs() * 1e-6; } |
struct TimingThread { |
- TimingThread(GLTestContext* mainContext) |
+ TimingThread(GLContext* mainContext) |
: fFenceSync(mainContext->fenceSync()) |
, fMainContext(mainContext) |
, fDone(false) {} |
@@ -308,8 +308,8 @@ |
void timingLoop() { |
// Create a context which shares display lists with the main thread |
- SkAutoTDelete<GLTestContext> glContext(CreatePlatformGLTestContext(kNone_GrGLStandard, |
- fMainContext)); |
+ SkAutoTDelete<GLContext> glContext(CreatePlatformGLContext(kNone_GrGLStandard, |
+ fMainContext)); |
glContext->makeCurrent(); |
// Basic timing methodology is: |
@@ -405,7 +405,7 @@ |
SyncQueue fFrameEndSyncs; |
SkTArray<double> fTimings; |
SkMutex fDoneMutex; |
- GLTestContext* fMainContext; |
+ GLContext* fMainContext; |
bool fDone; |
}; |