Searched defs:old_ctx (Results 1 - 12 of 12) sorted by relevance

/external/chromium_org/third_party/mesa/src/src/egl/main/
H A Deglcontext.c560 _EGLContext **old_ctx,
606 assert(old_ctx && old_draw && old_read);
607 *old_ctx = prev_ctx;
559 _eglBindContext(_EGLContext *ctx, _EGLSurface *draw, _EGLSurface *read, _EGLContext **old_ctx, _EGLSurface **old_draw, _EGLSurface **old_read) argument
/external/mesa3d/src/egl/main/
H A Deglcontext.c560 _EGLContext **old_ctx,
606 assert(old_ctx && old_draw && old_read);
607 *old_ctx = prev_ctx;
559 _eglBindContext(_EGLContext *ctx, _EGLSurface *draw, _EGLSurface *read, _EGLContext **old_ctx, _EGLSurface **old_draw, _EGLSurface **old_read) argument
/external/jemalloc/include/jemalloc/internal/
H A Dprof.h274 size_t old_usize, prof_ctx_t *old_ctx);
413 size_t old_usize, prof_ctx_t *old_ctx)
435 if ((uintptr_t)old_ctx > (uintptr_t)1U) {
436 told_cnt = prof_lookup(old_ctx->bt);
442 malloc_mutex_lock(old_ctx->lock);
443 old_ctx->cnt_merged.curobjs--;
444 old_ctx->cnt_merged.curbytes -= old_usize;
445 malloc_mutex_unlock(old_ctx->lock);
412 prof_realloc(const void *ptr, size_t usize, prof_thr_cnt_t *cnt, size_t old_usize, prof_ctx_t *old_ctx) argument
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/common/
H A Degl_g3d_api.c493 _EGLContext *old_ctx; local
498 if (!_eglBindContext(ctx, draw, read, &old_ctx, &old_draw, &old_read))
501 old_gctx = egl_g3d_context(old_ctx);
527 if (_eglPutContext(old_ctx))
528 destroy_context(dpy, old_ctx);
536 _eglBindContext(old_ctx, old_draw, old_read, &ctx, &draw, &read);
547 _eglPutContext(old_ctx);
/external/mesa3d/src/gallium/state_trackers/egl/common/
H A Degl_g3d_api.c493 _EGLContext *old_ctx; local
498 if (!_eglBindContext(ctx, draw, read, &old_ctx, &old_draw, &old_read))
501 old_gctx = egl_g3d_context(old_ctx);
527 if (_eglPutContext(old_ctx))
528 destroy_context(dpy, old_ctx);
536 _eglBindContext(old_ctx, old_draw, old_read, &ctx, &draw, &read);
547 _eglPutContext(old_ctx);
/external/chromium_org/third_party/mesa/src/src/egl/drivers/dri2/
H A Degl_dri2.c893 _EGLContext *old_ctx; local
899 if (!_eglBindContext(ctx, dsurf, rsurf, &old_ctx, &old_dsurf, &old_rsurf))
903 if (old_ctx && dri2_drv->glFlush)
910 if (old_ctx) {
911 __DRIcontext *old_cctx = dri2_egl_context(old_ctx)->dri_context;
921 if (old_ctx)
922 drv->API.DestroyContext(drv, disp, old_ctx);
927 _eglBindContext(old_ctx, old_dsurf, old_rsurf, &ctx, &dsurf, &rsurf);
938 _eglPutContext(old_ctx);
/external/chromium_org/third_party/mesa/src/src/egl/drivers/glx/
H A Degl_glx.c764 _EGLContext *old_ctx; local
771 if (!_eglBindContext(ctx, dsurf, rsurf, &old_ctx, &old_dsurf, &old_rsurf))
789 _eglPutContext(old_ctx);
793 _eglBindContext(old_ctx, old_dsurf, old_rsurf, &ctx, &dsurf, &rsurf);
804 _eglPutContext(old_ctx);
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/glx/xlib/
H A Dxm_api.c1165 XMesaContext old_ctx = XMesaGetCurrentContext(); local
1167 if (old_ctx && old_ctx != c) {
1168 XMesaFlush(old_ctx);
1169 old_ctx->xm_buffer = NULL;
1170 old_ctx->xm_read_buffer = NULL;
1177 if (c == old_ctx &&
/external/jemalloc/src/
H A Djemalloc.c1204 prof_ctx_t *old_ctx; local
1206 old_ctx = prof_ctx_get(oldptr);
1213 prof_realloc(p, usize, cnt, old_usize, old_ctx);
1519 prof_ctx_t *old_ctx; local
1521 old_ctx = prof_ctx_get(oldptr);
1543 prof_realloc(p, *usize, cnt, old_usize, old_ctx);
1669 prof_ctx_t *old_ctx; local
1671 old_ctx = prof_ctx_get(ptr);
1681 prof_realloc(ptr, usize, cnt, old_usize, old_ctx);
/external/mesa3d/src/egl/drivers/dri2/
H A Degl_dri2.c893 _EGLContext *old_ctx; local
899 if (!_eglBindContext(ctx, dsurf, rsurf, &old_ctx, &old_dsurf, &old_rsurf))
903 if (old_ctx && dri2_drv->glFlush)
910 if (old_ctx) {
911 __DRIcontext *old_cctx = dri2_egl_context(old_ctx)->dri_context;
921 if (old_ctx)
922 drv->API.DestroyContext(drv, disp, old_ctx);
927 _eglBindContext(old_ctx, old_dsurf, old_rsurf, &ctx, &dsurf, &rsurf);
938 _eglPutContext(old_ctx);
/external/mesa3d/src/egl/drivers/glx/
H A Degl_glx.c764 _EGLContext *old_ctx; local
771 if (!_eglBindContext(ctx, dsurf, rsurf, &old_ctx, &old_dsurf, &old_rsurf))
789 _eglPutContext(old_ctx);
793 _eglBindContext(old_ctx, old_dsurf, old_rsurf, &ctx, &dsurf, &rsurf);
804 _eglPutContext(old_ctx);
/external/mesa3d/src/gallium/state_trackers/glx/xlib/
H A Dxm_api.c1165 XMesaContext old_ctx = XMesaGetCurrentContext(); local
1167 if (old_ctx && old_ctx != c) {
1168 XMesaFlush(old_ctx);
1169 old_ctx->xm_buffer = NULL;
1170 old_ctx->xm_read_buffer = NULL;
1177 if (c == old_ctx &&

Completed in 1407 milliseconds