Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/winsys/intel/drm/
Dintel_drm_winsys.c59 gem_ctx(const struct intel_context *ctx) in gem_ctx() function
235 drm_intel_context *gem_ctx; in intel_winsys_create_context() local
239 gem_ctx = winsys->first_gem_ctx; in intel_winsys_create_context()
243 if (!gem_ctx) in intel_winsys_create_context()
244 gem_ctx = drm_intel_gem_context_create(winsys->bufmgr); in intel_winsys_create_context()
246 return (struct intel_context *) gem_ctx; in intel_winsys_create_context()
253 drm_intel_gem_context_destroy(gem_ctx(ctx)); in intel_winsys_destroy_context()
271 return drm_intel_get_reset_stats(gem_ctx(ctx), in intel_winsys_get_reset_stats()