Searched refs:old_ctx (Results 1 – 10 of 10) sorted by relevance
/external/mesa3d/src/gallium/state_trackers/wgl/ |
D | stw_context.c | 289 struct stw_context *old_ctx = in stw_create_context_attribs() local 291 if (old_ctx) { in stw_create_context_attribs() 293 if (old_ctx->hud) { in stw_create_context_attribs() 294 hud_destroy(old_ctx->hud, NULL); in stw_create_context_attribs() 296 ctx->st->destroy(old_ctx->st); in stw_create_context_attribs() 297 FREE(old_ctx); in stw_create_context_attribs() 433 struct stw_context *old_ctx = NULL; in stw_make_current() local 440 old_ctx = stw_current_context(); in stw_make_current() 441 if (old_ctx != NULL) { in stw_make_current() 442 if (old_ctx->dhglrc == dhglrc) { in stw_make_current() [all …]
|
/external/mesa3d/src/gallium/state_trackers/glx/xlib/ |
D | xm_api.c | 1291 XMesaContext old_ctx = XMesaGetCurrentContext(); in XMesaMakeCurrent2() local 1293 if (old_ctx && old_ctx != c) { in XMesaMakeCurrent2() 1294 XMesaFlush(old_ctx); in XMesaMakeCurrent2() 1295 old_ctx->xm_buffer = NULL; in XMesaMakeCurrent2() 1296 old_ctx->xm_read_buffer = NULL; in XMesaMakeCurrent2() 1303 if (c == old_ctx && in XMesaMakeCurrent2()
|
/external/mesa3d/src/egl/main/ |
D | eglcontext.c | 780 _EGLContext **old_ctx, in _eglBindContext() argument 826 assert(old_ctx && old_draw && old_read); in _eglBindContext() 827 *old_ctx = prev_ctx; in _eglBindContext()
|
D | eglcontext.h | 85 _EGLContext **old_ctx,
|
/external/mesa3d/src/egl/drivers/haiku/ |
D | egl_haiku.cpp | 282 _EGLContext *old_ctx; in haiku_make_current() local 285 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 | 1482 _EGLContext *old_ctx; in dri2_make_current() local 1493 if (!_eglBindContext(ctx, dsurf, rsurf, &old_ctx, &old_dsurf, &old_rsurf)) { in dri2_make_current() 1499 if (old_ctx) in dri2_make_current() 1506 if (old_ctx) { in dri2_make_current() 1507 __DRIcontext *old_cctx = dri2_egl_context(old_ctx)->dri_context; in dri2_make_current() 1510 dri2_surf_update_fence_fd(old_ctx, disp, old_dsurf); in dri2_make_current() 1522 if (old_ctx) { in dri2_make_current() 1523 EGLDisplay old_disp = _eglGetDisplayHandle(old_ctx->Resource.Display); in dri2_make_current() 1524 dri2_destroy_context(drv, disp, old_ctx); in dri2_make_current() 1531 _eglBindContext(old_ctx, old_dsurf, old_rsurf, &ctx, &tmp_dsurf, &tmp_rsurf); in dri2_make_current() [all …]
|
/external/mesa3d/src/util/ |
D | ralloc.c | 296 ralloc_adopt(const void *new_ctx, void *old_ctx) in ralloc_adopt() argument 300 if (unlikely(old_ctx == NULL)) in ralloc_adopt() 303 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 | test_config.h | 181 bssl::UniquePtr<SSL_CTX> SetupCtx(SSL_CTX *old_ctx) const;
|
D | test_config.cc | 1152 bssl::UniquePtr<SSL_CTX> TestConfig::SetupCtx(SSL_CTX *old_ctx) const { in SetupCtx() 1284 if (old_ctx) { in SetupCtx() 1286 if (!SSL_CTX_get_tlsext_ticket_keys(old_ctx, &keys, sizeof(keys)) || in SetupCtx() 1290 CopySessions(ssl_ctx.get(), old_ctx); in SetupCtx()
|