Home | History | Annotate | Download | only in gl

Lines Matching defs:GLContext

21 base::LazyInstance<base::ThreadLocalPointer<GLContext> >::Leaky
24 base::LazyInstance<base::ThreadLocalPointer<GLContext> >::Leaky
28 GLContext::GLContext(GLShareGroup* share_group) : share_group_(share_group) {
35 GLContext::~GLContext() {
42 bool GLContext::GetTotalGpuMemory(size_t* bytes) {
48 void GLContext::SetSafeToForceGpuSwitch() {
51 void GLContext::SetUnbindFboOnMakeCurrent() {
55 std::string GLContext::GetExtensions() {
61 bool GLContext::HasExtension(const char* name) {
71 GLShareGroup* GLContext::share_group() {
75 bool GLContext::LosesAllContextsOnContextLost() {
92 GLContext* GLContext::GetCurrent() {
96 GLContext* GLContext::GetRealCurrent() {
100 void GLContext::SetCurrent(GLSurface* surface) {
105 GLStateRestorer* GLContext::GetGLStateRestorer() {
109 void GLContext::SetGLStateRestorer(GLStateRestorer* state_restorer) {
113 bool GLContext::WasAllocatedUsingRobustnessExtension() {
117 bool GLContext::InitializeExtensionBindings() {
128 void GLContext::SetupForVirtualization() {
135 bool GLContext::MakeVirtuallyCurrent(
136 GLContext* virtual_context, GLSurface* surface) {
141 void GLContext::OnReleaseVirtuallyCurrent(GLContext* virtual_context) {
146 void GLContext::SetRealGLApi() {
151 : GLContext(share_group) {}
156 GLContext::SetCurrent(surface);