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