mirror of
https://github.com/utmapp/angle.git
synced 2026-12-01 14:00:09 -10:00
This code shares the Window and EGL logic between the two projects. BUG=angle:730 Change-Id: I8940371226a8f7b02579c332f51679c4a5d0e2a5 Reviewed-on: https://chromium-review.googlesource.com/212799 Tested-by: Jamie Madill <[email protected]> Reviewed-by: Brandon Jones <[email protected]> Reviewed-by: Geoff Lang <[email protected]>
21 lines
425 B
C++
21 lines
425 B
C++
//
|
|
// Copyright (c) 2014 The ANGLE Project Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
//
|
|
|
|
#ifndef SAMPLE_UTIL_TIMER_H
|
|
#define SAMPLE_UTIL_TIMER_H
|
|
|
|
class Timer
|
|
{
|
|
public:
|
|
virtual void start() = 0;
|
|
virtual void stop() = 0;
|
|
virtual double getElapsedTime() const = 0;
|
|
};
|
|
|
|
Timer *CreateTimer();
|
|
|
|
#endif // SAMPLE_UTIL_TIMER_H
|