Lines Matching refs:context

64             cglsdo->peerData, ctxinfo->context);
76 * Makes the given context current to its associated "scratch" surface. If
87 "CGLSD_MakeCurrentToScratch: context is null");
95 [ctxinfo->context makeCurrentContext];
96 [ctxinfo->context setView: ctxinfo->scratchSurface];
98 [ctxinfo->context clearDrawable];
99 [ctxinfo->context makeCurrentContext];
100 [ctxinfo->context setPixelBuffer: ctxinfo->scratchSurface
103 currentVirtualScreen: [ctxinfo->context currentVirtualScreen]];
137 OGLContext *oglc = cglInfo->context;
139 [ctxinfo->context clearDrawable];
173 * Makes the given GraphicsConfig's context current to its associated
174 * "scratch" surface. If there is a problem making the context current,
189 OGLContext *oglc = cglInfo->context;
194 // avoid changing the context's target view whenever possible, since
195 // calling setView causes flickering; as long as our context is current
197 if ([ctxinfo->context view] == nil) {
198 // it seems to be necessary to explicitly flush between context changes
207 // make sure our context is current
208 } else if ([NSOpenGLContext currentContext] != ctxinfo->context) {
209 [ctxinfo->context makeCurrentContext];
225 * Makes a context current to the given source and destination
226 * surfaces. If there is a problem making the context current, this method
239 OGLContext *oglc = dstCGLOps->configInfo->context;
241 J2dRlsTraceLn(J2D_TRACE_ERROR, "OGLSD_MakeOGLContextCurrent: context is null");
247 // it seems to be necessary to explicitly flush between context changes
254 // first make sure we have a current context (if the context isn't
278 [ctxinfo->context clearDrawable];
279 [ctxinfo->context makeCurrentContext];
280 [ctxinfo->context setPixelBuffer: dstCGLOps->pbuffer
283 currentVirtualScreen: [ctxinfo->context currentVirtualScreen]];
288 if ([ctxinfo->context view] != nsView) {
289 [ctxinfo->context makeCurrentContext];
290 [ctxinfo->context setView: nsView];
306 [ctxinfo->context
496 if (OGLC_IS_CAP_PRESENT(cglInfo->context, CAPS_TEXNONPOW2)) {
587 OGLContext *oglc = cglsdo->configInfo->context;
591 [ctxinfo->context update];