• Home
  • Raw
  • Download

Lines Matching refs:sk_gpu_test

16 class GLGpuTimer : public sk_gpu_test::GpuTimer {
18 static std::unique_ptr<GLGpuTimer> MakeIfSupported(const sk_gpu_test::GLTestContext*);
20 QueryStatus checkQueryStatus(sk_gpu_test::PlatformTimerQuery) override;
21 std::chrono::nanoseconds getTimeElapsed(sk_gpu_test::PlatformTimerQuery) override;
22 void deleteQuery(sk_gpu_test::PlatformTimerQuery) override;
25 GLGpuTimer(bool disjointSupport, const sk_gpu_test::GLTestContext*, const char* ext = "");
29 sk_gpu_test::PlatformTimerQuery onQueueTimerStart() const override;
30 void onQueueTimerStop(sk_gpu_test::PlatformTimerQuery) const override;
54 using INHERITED = sk_gpu_test::GpuTimer;
57 std::unique_ptr<GLGpuTimer> GLGpuTimer::MakeIfSupported(const sk_gpu_test::GLTestContext* ctx) { in MakeIfSupported()
78 GLGpuTimer::GLGpuTimer(bool disjointSupport, const sk_gpu_test::GLTestContext* ctx, const char* ext) in GLGpuTimer()
94 sk_gpu_test::PlatformTimerQuery GLGpuTimer::onQueueTimerStart() const { in onQueueTimerStart()
98 return sk_gpu_test::kInvalidTimerQuery; in onQueueTimerStart()
106 return static_cast<sk_gpu_test::PlatformTimerQuery>(queryID); in onQueueTimerStart()
109 void GLGpuTimer::onQueueTimerStop(sk_gpu_test::PlatformTimerQuery platformTimer) const { in onQueueTimerStop()
110 if (sk_gpu_test::kInvalidTimerQuery == platformTimer) { in onQueueTimerStop()
116 sk_gpu_test::GpuTimer::QueryStatus
117 GLGpuTimer::checkQueryStatus(sk_gpu_test::PlatformTimerQuery platformTimer) { in checkQueryStatus()
137 std::chrono::nanoseconds GLGpuTimer::getTimeElapsed(sk_gpu_test::PlatformTimerQuery platformTimer) { in getTimeElapsed()
145 void GLGpuTimer::deleteQuery(sk_gpu_test::PlatformTimerQuery platformTimer) { in deleteQuery()
150 static_assert(sizeof(GrGLuint) <= sizeof(sk_gpu_test::PlatformTimerQuery));
154 namespace sk_gpu_test { namespace