#include "ui/gl/gpu_timing_fake.h"
#include "base/time/time.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gl/gl_mock.h"
namespace gl {
_;
AtLeast;
AtMost;
Exactly;
Invoke;
NotNull;
DoAll;
Return;
SetArgPointee;
int64_t GPUTimingFake::fake_cpu_time_ = …;
GPUTimingFake::GPUTimingFake() { … }
GPUTimingFake::~GPUTimingFake() { … }
void GPUTimingFake::Reset() { … }
int64_t GPUTimingFake::GetFakeCPUTime() { … }
void GPUTimingFake::SetCPUGLOffset(int64_t offset) { … }
void GPUTimingFake::SetCurrentCPUTime(int64_t current_time) { … }
void GPUTimingFake::SetCurrentGLTime(GLint64 current_time) { … }
void GPUTimingFake::SetDisjoint() { … }
void GPUTimingFake::ExpectGetErrorCalls(MockGLInterface& gl) { … }
void GPUTimingFake::ExpectDisjointCalls(MockGLInterface& gl) { … }
void GPUTimingFake::ExpectNoDisjointCalls(MockGLInterface& gl) { … }
void GPUTimingFake::ExpectGPUTimeStampQuery(MockGLInterface& gl,
bool elapsed_query) { … }
void GPUTimingFake::ExpectGPUTimerQuery(
MockGLInterface& gl, bool elapsed_query) { … }
void GPUTimingFake::ExpectOffsetCalculationQuery(
MockGLInterface& gl) { … }
void GPUTimingFake::ExpectNoOffsetCalculationQuery(
MockGLInterface& gl) { … }
void GPUTimingFake::FakeGLGenQueries(GLsizei n, GLuint* ids) { … }
void GPUTimingFake::FakeGLDeleteQueries(GLsizei n, const GLuint* ids) { … }
void GPUTimingFake::FakeGLBeginQuery(GLenum target, GLuint id) { … }
void GPUTimingFake::FakeGLEndQuery(GLenum target) { … }
void GPUTimingFake::FakeGLGetQueryObjectuiv(GLuint id, GLenum pname,
GLuint* params) { … }
void GPUTimingFake::FakeGLQueryCounter(GLuint id, GLenum target) { … }
void GPUTimingFake::FakeGLGetInteger64v(GLenum pname, GLint64* data) { … }
void GPUTimingFake::FakeGLGetQueryObjectui64v(GLuint id, GLenum pname,
GLuint64* params) { … }
void GPUTimingFake::FakeGLGetIntegerv(GLenum pname, GLint* params) { … }
GLenum GPUTimingFake::FakeGLGetError() { … }
}