Lines Matching refs:fContext
57 fContext[i] = NULL;
230 if (fContext[i] == NULL) {
231 fContext[i] = context;
260 if (!fContext[contextID])
263 if (fContext[contextID]->st) {
264 fContext[contextID]->st->flush(fContext[contextID]->st, 0, NULL, NULL, NULL);
265 fContext[contextID]->st->destroy(fContext[contextID]->st);
268 if (fContext[contextID]->postProcess)
269 pp_free(fContext[contextID]->postProcess);
272 if (fContext[contextID]->buffer)
273 hgl_destroy_st_framebuffer(fContext[contextID]->buffer);
275 if (fContext[contextID]->stVisual)
276 hgl_destroy_st_visual(fContext[contextID]->stVisual);
278 FREE(fContext[contextID]);
294 struct hgl_context* context = fContext[contextID];
313 fContext[oldContextID]->st->flush(fContext[oldContextID]->st,
332 struct hgl_context* context = fContext[contextID];
361 struct hgl_context *context = fContext[contextID];
383 if (!fContext[fCurrentContext])
386 if (fContext[fCurrentContext]->width != width + 1
387 || fContext[fCurrentContext]->height != height + 1) {
400 assert(fContext[fCurrentContext]);
403 fContext[fCurrentContext]->width = width + 1;
404 fContext[fCurrentContext]->height = height + 1;
407 p_atomic_inc(&fContext[fCurrentContext]->buffer->stfbi->stamp);