Lines Matching refs:fContext
55 fContext[i] = NULL; in GalliumContext()
212 if (fContext[i] == NULL) { in CreateContext()
213 fContext[i] = context; in CreateContext()
242 if (!fContext[contextID]) in DestroyContext()
245 if (fContext[contextID]->st) { in DestroyContext()
246 fContext[contextID]->st->flush(fContext[contextID]->st, 0, NULL, NULL, NULL); in DestroyContext()
247 fContext[contextID]->st->destroy(fContext[contextID]->st); in DestroyContext()
250 if (fContext[contextID]->postProcess) in DestroyContext()
251 pp_free(fContext[contextID]->postProcess); in DestroyContext()
254 if (fContext[contextID]->read) in DestroyContext()
255 delete fContext[contextID]->read; in DestroyContext()
256 if (fContext[contextID]->draw) in DestroyContext()
257 delete fContext[contextID]->draw; in DestroyContext()
259 if (fContext[contextID]->stVisual) in DestroyContext()
260 hgl_destroy_st_visual(fContext[contextID]->stVisual); in DestroyContext()
262 if (fContext[contextID]->manager) in DestroyContext()
263 hgl_destroy_st_manager(fContext[contextID]->manager); in DestroyContext()
265 FREE(fContext[contextID]); in DestroyContext()
281 struct hgl_context* context = fContext[contextID]; in SetCurrentContext()
299 fContext[oldContextID]->st->flush(fContext[oldContextID]->st, in SetCurrentContext()
329 struct hgl_context *context = fContext[contextID]; in SwapBuffers()
357 if (!fContext[fCurrentContext]) { in Validate()
361 if (fContext[fCurrentContext]->width != width in Validate()
362 || fContext[fCurrentContext]->height != height) { in Validate()
375 assert(fContext[fCurrentContext]); in Invalidate()
378 fContext[fCurrentContext]->width = width; in Invalidate()
379 fContext[fCurrentContext]->height = height; in Invalidate()
382 p_atomic_inc(&fContext[fCurrentContext]->read->stfbi->stamp); in Invalidate()
383 p_atomic_inc(&fContext[fCurrentContext]->draw->stfbi->stamp); in Invalidate()