Searched refs:old_ctx (Results 1 – 9 of 9) sorted by relevance
/external/mesa3d/src/gallium/state_trackers/wgl/ |
D | stw_context.c | 258 struct stw_context *old_ctx = in stw_create_context_attribs() local 260 if (old_ctx) { in stw_create_context_attribs() 262 if (old_ctx->hud) { in stw_create_context_attribs() 263 hud_destroy(old_ctx->hud); in stw_create_context_attribs() 265 ctx->st->destroy(old_ctx->st); in stw_create_context_attribs() 266 FREE(old_ctx); in stw_create_context_attribs() 391 struct stw_context *old_ctx = NULL; in stw_make_current() local 398 old_ctx = stw_current_context(); in stw_make_current() 399 if (old_ctx != NULL) { in stw_make_current() 400 if (old_ctx->dhglrc == dhglrc) { in stw_make_current() [all …]
|
/external/mesa3d/src/egl/main/ |
D | eglcontext.c | 684 _EGLContext **old_ctx, in _eglBindContext() argument 730 assert(old_ctx && old_draw && old_read); in _eglBindContext() 731 *old_ctx = prev_ctx; in _eglBindContext()
|
D | eglcontext.h | 82 _EGLContext **old_ctx,
|
/external/mesa3d/src/gallium/state_trackers/glx/xlib/ |
D | xm_api.c | 1274 XMesaContext old_ctx = XMesaGetCurrentContext(); in XMesaMakeCurrent2() local 1276 if (old_ctx && old_ctx != c) { in XMesaMakeCurrent2() 1277 XMesaFlush(old_ctx); in XMesaMakeCurrent2() 1278 old_ctx->xm_buffer = NULL; in XMesaMakeCurrent2() 1279 old_ctx->xm_read_buffer = NULL; in XMesaMakeCurrent2() 1286 if (c == old_ctx && in XMesaMakeCurrent2()
|
/external/mesa3d/src/egl/drivers/haiku/ |
D | egl_haiku.cpp | 289 _EGLContext *old_ctx; in haiku_make_current() local 292 if (!_eglBindContext(ctx, dsurf, rsurf, &old_ctx, &old_dsurf, &old_rsurf)) in haiku_make_current()
|
/external/mesa3d/src/egl/drivers/dri2/ |
D | egl_dri2.c | 1292 _EGLContext *old_ctx; in dri2_make_current() local 1303 if (!_eglBindContext(ctx, dsurf, rsurf, &old_ctx, &old_dsurf, &old_rsurf)) { in dri2_make_current() 1309 if (old_ctx) in dri2_make_current() 1316 if (old_ctx) { in dri2_make_current() 1317 __DRIcontext *old_cctx = dri2_egl_context(old_ctx)->dri_context; in dri2_make_current() 1329 if (old_ctx) { in dri2_make_current() 1330 EGLDisplay old_disp = _eglGetDisplayHandle(old_ctx->Resource.Display); in dri2_make_current() 1331 dri2_destroy_context(drv, disp, old_ctx); in dri2_make_current() 1338 _eglBindContext(old_ctx, old_dsurf, old_rsurf, &ctx, &tmp_dsurf, &tmp_rsurf); in dri2_make_current() 1349 _eglPutContext(old_ctx); in dri2_make_current()
|
/external/mesa3d/src/util/ |
D | ralloc.c | 301 ralloc_adopt(const void *new_ctx, void *old_ctx) in ralloc_adopt() argument 305 if (unlikely(old_ctx == NULL)) in ralloc_adopt() 308 old_info = get_header(old_ctx); in ralloc_adopt()
|
D | ralloc.h | 242 void ralloc_adopt(const void *new_ctx, void *old_ctx);
|
/external/boringssl/src/ssl/test/ |
D | bssl_shim.cc | 1189 static bssl::UniquePtr<SSL_CTX> SetupCtx(SSL_CTX *old_ctx, in SetupCtx() argument 1337 if (old_ctx) { in SetupCtx() 1339 if (!SSL_CTX_get_tlsext_ticket_keys(old_ctx, &keys, sizeof(keys)) || in SetupCtx() 1343 lh_SSL_SESSION_doall_arg(old_ctx->sessions, ssl_ctx_add_session, in SetupCtx()
|