Home | History | Annotate | Download | only in gl

Lines Matching refs:surface

50 bool GLContextOSMesa::MakeCurrent(GLSurface* surface) {
53 gfx::Size size = surface->GetSize();
56 surface->GetHandle(),
71 SetCurrent(surface);
73 ReleaseCurrent(surface);
77 if (!surface->OnMakeCurrent(this)) {
85 void GLContextOSMesa::ReleaseCurrent(GLSurface* surface) {
86 if (!IsCurrent(surface))
93 bool GLContextOSMesa::IsCurrent(GLSurface* surface) {
107 if (surface) {
113 if (buffer != surface->GetHandle())