Home
last modified time | relevance | path

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

/external/mesa3d/src/glx/
Dglxcurrent.c214 struct glx_context *oldGC = __glXGetCurrentContext(); in MakeContextCurrent() local
247 if (oldGC == gc && in MakeContextCurrent()
253 if (oldGC != &dummyContext) { in MakeContextCurrent()
254 if (--oldGC->thread_refcount == 0) { in MakeContextCurrent()
255 oldGC->vtable->unbind(oldGC, gc); in MakeContextCurrent()
256 oldGC->currentDpy = 0; in MakeContextCurrent()
269 if (gc->vtable->bind(gc, oldGC, draw, read) != Success) { in MakeContextCurrent()
287 if (oldGC->thread_refcount == 0 && oldGC != &dummyContext && oldGC->xid == None) { in MakeContextCurrent()
291 oldGC->vtable->destroy(oldGC); in MakeContextCurrent()