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;
26 GLGpuTimer(bool disjointSupport, const sk_gpu_test::GLTestContext*, const char* ext = "");
30 sk_gpu_test::PlatformTimerQuery onQueueTimerStart() const override;
31 void onQueueTimerStop(sk_gpu_test::PlatformTimerQuery) const override;
55 using INHERITED = sk_gpu_test::GpuTimer;
58 std::unique_ptr<GLGpuTimer> GLGpuTimer::MakeIfSupported(const sk_gpu_test::GLTestContext* ctx) {
80 GLGpuTimer::GLGpuTimer(bool disjointSupport, const sk_gpu_test::GLTestContext* ctx, const char* ext)
97 sk_gpu_test::PlatformTimerQuery GLGpuTimer::onQueueTimerStart() const {
101 return sk_gpu_test::kInvalidTimerQuery;
109 return static_cast<sk_gpu_test::PlatformTimerQuery>(queryID);
112 void GLGpuTimer::onQueueTimerStop(sk_gpu_test::PlatformTimerQuery platformTimer) const {
113 if (sk_gpu_test::kInvalidTimerQuery == platformTimer) {
119 sk_gpu_test::GpuTimer::QueryStatus
120 GLGpuTimer::checkQueryStatus(sk_gpu_test::PlatformTimerQuery platformTimer) {
140 std::chrono::nanoseconds GLGpuTimer::getTimeElapsed(sk_gpu_test::PlatformTimerQuery platformTimer) {
148 void GLGpuTimer::deleteQuery(sk_gpu_test::PlatformTimerQuery platformTimer) {
153 static_assert(sizeof(GrGLuint) <= sizeof(sk_gpu_test::PlatformTimerQuery));
157 namespace sk_gpu_test {
260 } // namespace sk_gpu_test