Lines Matching refs:GLGpuTimer
86 class GLGpuTimer : public sk_gpu_test::GpuTimer { class
88 static std::unique_ptr<GLGpuTimer> MakeIfSupported(const sk_gpu_test::GLTestContext*);
95 GLGpuTimer(bool disjointSupport, const sk_gpu_test::GLTestContext*, const char* ext = "");
127 std::unique_ptr<GLGpuTimer> GLGpuTimer::MakeIfSupported(const sk_gpu_test::GLTestContext* ctx) { in MakeIfSupported()
128 std::unique_ptr<GLGpuTimer> ret; in MakeIfSupported()
131 ret.reset(new GLGpuTimer(true, ctx, "EXT")); in MakeIfSupported()
134 ret.reset(new GLGpuTimer(false, ctx)); in MakeIfSupported()
136 ret.reset(new GLGpuTimer(false, ctx, "EXT")); in MakeIfSupported()
144 GLGpuTimer::GLGpuTimer(bool disjointSupport, const sk_gpu_test::GLTestContext* ctx, const char* ext) in GLGpuTimer() function in __anone7469e6e0111::GLGpuTimer
155 bool GLGpuTimer::validate() const { in validate()
160 sk_gpu_test::PlatformTimerQuery GLGpuTimer::onQueueTimerStart() const { in onQueueTimerStart()
175 void GLGpuTimer::onQueueTimerStop(sk_gpu_test::PlatformTimerQuery platformTimer) const { in onQueueTimerStop()
183 GLGpuTimer::checkQueryStatus(sk_gpu_test::PlatformTimerQuery platformTimer) { in checkQueryStatus()
203 std::chrono::nanoseconds GLGpuTimer::getTimeElapsed(sk_gpu_test::PlatformTimerQuery platformTimer) { in getTimeElapsed()
211 void GLGpuTimer::deleteQuery(sk_gpu_test::PlatformTimerQuery platformTimer) { in deleteQuery()
232 fGpuTimer = GLGpuTimer::MakeIfSupported(this); in init()