diff options
Diffstat (limited to 'src/intel_batchbuffer.c')
-rw-r--r-- | src/intel_batchbuffer.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/intel_batchbuffer.c b/src/intel_batchbuffer.c index 2b8fbb6e..8e54d3ad 100644 --- a/src/intel_batchbuffer.c +++ b/src/intel_batchbuffer.c @@ -117,18 +117,6 @@ void intel_batch_teardown(ScrnInfoPtr scrn) while (!list_is_empty(&intel->flush_pixmaps)) list_del(intel->flush_pixmaps.next); - - while (!list_is_empty(&intel->in_flight)) { - struct intel_pixmap *entry; - - entry = list_first_entry(&intel->in_flight, - struct intel_pixmap, - in_flight); - - dri_bo_unreference(entry->bo); - list_del(&entry->in_flight); - free(entry); - } } void intel_batch_do_flush(ScrnInfoPtr scrn) @@ -287,18 +275,6 @@ void intel_batch_submit(ScrnInfoPtr scrn) while (!list_is_empty(&intel->flush_pixmaps)) list_del(intel->flush_pixmaps.next); - while (!list_is_empty(&intel->in_flight)) { - struct intel_pixmap *entry; - - entry = list_first_entry(&intel->in_flight, - struct intel_pixmap, - in_flight); - - dri_bo_unreference(entry->bo); - list_del(&entry->in_flight); - free(entry); - } - if (intel->debug_flush & DEBUG_FLUSH_WAIT) drm_intel_bo_wait_rendering(intel->batch_bo); |