macos/master
Yiwei Zhang 3 years ago
parent 122625e79c
commit e2686dc422
  1. 4
      src/vkr_renderer.c

@ -4734,7 +4734,9 @@ vkr_context_detach_resource(struct virgl_context *base, struct virgl_resource *r
static void static void
vkr_context_destroy(struct virgl_context *base) vkr_context_destroy(struct virgl_context *base)
{ {
/* TODO move the entire teardown process to a separate thread */ /* TODO Move the entire teardown process to a separate thread so that the main thread
* cannot get blocked by the vkDeviceWaitIdle upon device destruction.
*/
struct vkr_context *ctx = (struct vkr_context *)base; struct vkr_context *ctx = (struct vkr_context *)base;
struct vkr_ring *ring, *ring_tmp; struct vkr_ring *ring, *ring_tmp;

Loading…
Cancel
Save