Home | History | Annotate | Download | only in gl

Lines Matching refs:surface

92 bool GLContextEGL::MakeCurrent(GLSurface* surface) {
94 if (IsCurrent(surface))
99 "surface", surface);
107 surface->GetHandle(),
108 surface->GetHandle(),
118 SetCurrent(surface);
120 ReleaseCurrent(surface);
124 if (!surface->OnMakeCurrent(this)) {
136 void GLContextEGL::ReleaseCurrent(GLSurface* surface) {
137 if (!IsCurrent(surface))
150 bool GLContextEGL::IsCurrent(GLSurface* surface) {
163 if (surface) {
164 if (surface->GetHandle() != eglGetCurrentSurface(EGL_DRAW))