Lines Matching refs:fContext
54 fContext[i] = NULL; in GalliumContext()
211 if (fContext[i] == NULL) { in CreateContext()
212 fContext[i] = context; in CreateContext()
241 if (!fContext[contextID]) in DestroyContext()
244 if (fContext[contextID]->st) { in DestroyContext()
245 fContext[contextID]->st->flush(fContext[contextID]->st, 0, NULL); in DestroyContext()
246 fContext[contextID]->st->destroy(fContext[contextID]->st); in DestroyContext()
249 if (fContext[contextID]->postProcess) in DestroyContext()
250 pp_free(fContext[contextID]->postProcess); in DestroyContext()
253 if (fContext[contextID]->read) in DestroyContext()
254 delete fContext[contextID]->read; in DestroyContext()
255 if (fContext[contextID]->draw) in DestroyContext()
256 delete fContext[contextID]->draw; in DestroyContext()
258 if (fContext[contextID]->stVisual) in DestroyContext()
259 hgl_destroy_st_visual(fContext[contextID]->stVisual); in DestroyContext()
261 if (fContext[contextID]->manager) in DestroyContext()
262 hgl_destroy_st_manager(fContext[contextID]->manager); in DestroyContext()
264 FREE(fContext[contextID]); in DestroyContext()
280 struct hgl_context* context = fContext[contextID]; in SetCurrentContext()
298 fContext[oldContextID]->st->flush(fContext[oldContextID]->st, in SetCurrentContext()
328 struct hgl_context *context = fContext[contextID]; in SwapBuffers()
375 if (!fContext[fCurrentContext]) { in Validate()
379 if (fContext[fCurrentContext]->width != width in Validate()
380 || fContext[fCurrentContext]->height != height) { in Validate()
393 assert(fContext[fCurrentContext]); in Invalidate()
396 fContext[fCurrentContext]->width = width; in Invalidate()
397 fContext[fCurrentContext]->height = height; in Invalidate()
400 p_atomic_inc(&fContext[fCurrentContext]->read->stfbi->stamp); in Invalidate()
401 p_atomic_inc(&fContext[fCurrentContext]->draw->stfbi->stamp); in Invalidate()