Searched refs:blit_context (Results 1 – 1 of 1) sorted by relevance
58 static struct loader_dri3_blit_context blit_context = { variable170 mtx_lock(&blit_context.mtx); in loader_dri3_blit_context_get()172 if (blit_context.ctx && blit_context.cur_screen != draw->dri_screen) { in loader_dri3_blit_context_get()173 blit_context.core->destroyContext(blit_context.ctx); in loader_dri3_blit_context_get()174 blit_context.ctx = NULL; in loader_dri3_blit_context_get()177 if (!blit_context.ctx) { in loader_dri3_blit_context_get()178 blit_context.ctx = draw->ext->core->createNewContext(draw->dri_screen, in loader_dri3_blit_context_get()180 blit_context.cur_screen = draw->dri_screen; in loader_dri3_blit_context_get()181 blit_context.core = draw->ext->core; in loader_dri3_blit_context_get()184 return blit_context.ctx; in loader_dri3_blit_context_get()[all …]