Home
last modified time | relevance | path

Searched refs:oldGC (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/glx/
Dglxcurrent.c193 struct glx_context *oldGC = __glXGetCurrentContext(); in MakeContextCurrent() local
206 if (oldGC == gc && in MakeContextCurrent()
212 if (oldGC != &dummyContext) { in MakeContextCurrent()
213 if (--oldGC->thread_refcount == 0) { in MakeContextCurrent()
214 oldGC->vtable->unbind(oldGC, gc); in MakeContextCurrent()
215 oldGC->currentDpy = 0; in MakeContextCurrent()
228 if (gc->vtable->bind(gc, oldGC, draw, read) != Success) { in MakeContextCurrent()
246 if (oldGC->thread_refcount == 0 && oldGC != &dummyContext && oldGC->xid == None) { in MakeContextCurrent()
250 oldGC->vtable->destroy(oldGC); in MakeContextCurrent()