#include "ui/gl/gl_fence.h"
#include "base/compiler_specific.h"
#include "build/build_config.h"
#include "ui/gl/gl_bindings.h"
#include "ui/gl/gl_context.h"
#include "ui/gl/gl_context_egl.h"
#include "ui/gl/gl_display.h"
#include "ui/gl/gl_fence_arb.h"
#include "ui/gl/gl_fence_egl.h"
#include "ui/gl/gl_fence_nv.h"
#include "ui/gl/gl_implementation.h"
#include "ui/gl/gl_surface_egl.h"
#include "ui/gl/gl_version_info.h"
#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
#define USE_GL_FENCE_ANDROID_NATIVE_FENCE_SYNC
#include "ui/gl/gl_fence_android_native_fence_sync.h"
#endif
#if BUILDFLAG(IS_WIN)
#include "ui/gl/gl_fence_win.h"
#endif
namespace gl {
GLFence::GLFence() { … }
GLFence::~GLFence() { … }
bool GLFence::IsSupported() { … }
std::unique_ptr<GLFence> GLFence::Create() { … }
bool GLFence::ResetSupported() { … }
void GLFence::ResetState() { … }
void GLFence::Invalidate() { … }
bool GLFence::IsGpuFenceSupported() { … }
std::unique_ptr<GLFence> GLFence::CreateFromGpuFence(
const gfx::GpuFence& gpu_fence) { … }
std::unique_ptr<GLFence> GLFence::CreateForGpuFence() { … }
std::unique_ptr<gfx::GpuFence> GLFence::GetGpuFence() { … }
}