Home
last modified time | relevance | path

Searched refs:blit_context (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/loader/
Dloader_dri3_helper.c54 static struct loader_dri3_blit_context blit_context = { variable
91 mtx_lock(&blit_context.mtx); in loader_dri3_blit_context_get()
93 if (blit_context.ctx && blit_context.cur_screen != draw->dri_screen) { in loader_dri3_blit_context_get()
94 blit_context.core->destroyContext(blit_context.ctx); in loader_dri3_blit_context_get()
95 blit_context.ctx = NULL; in loader_dri3_blit_context_get()
98 if (!blit_context.ctx) { in loader_dri3_blit_context_get()
99 blit_context.ctx = draw->ext->core->createNewContext(draw->dri_screen, in loader_dri3_blit_context_get()
101 blit_context.cur_screen = draw->dri_screen; in loader_dri3_blit_context_get()
102 blit_context.core = draw->ext->core; in loader_dri3_blit_context_get()
105 return blit_context.ctx; in loader_dri3_blit_context_get()
[all …]