#include "ui/gl/gl_context_stub.h"
#include "build/build_config.h"
#include "ui/gl/gl_gl_api_implementation.h"
#include "ui/gl/gl_stub_api.h"
namespace gl {
GLContextStub::GLContextStub() : … { … }
GLContextStub::GLContextStub(GLShareGroup* share_group)
: … { … }
bool GLContextStub::InitializeImpl(GLSurface* compatible_surface,
const GLContextAttribs& attribs) { … }
bool GLContextStub::MakeCurrentImpl(GLSurface* surface) { … }
void GLContextStub::ReleaseCurrent(GLSurface* surface) { … }
bool GLContextStub::IsCurrent(GLSurface* surface) { … }
void* GLContextStub::GetHandle() { … }
std::string GLContextStub::GetGLVersion() { … }
std::string GLContextStub::GetGLRenderer() { … }
unsigned int GLContextStub::CheckStickyGraphicsResetStatusImpl() { … }
void GLContextStub::SetUseStubApi(bool stub_api) { … }
void GLContextStub::SetExtensionsString(const char* extensions) { … }
void GLContextStub::SetGLVersionString(const char* version_str) { … }
bool GLContextStub::HasRobustness() { … }
#if BUILDFLAG(IS_MAC)
void GLContextStub::FlushForDriverCrashWorkaround() {}
#endif
GLContextStub::~GLContextStub() { … }
GLApi* GLContextStub::CreateGLApi(DriverGL* driver) { … }
}