The point of tracking the value was removed in February 2012
(
65b096aeddd9b45ca038f44cc9adfff86c8c48b2), and this should have
been removed at the same time.
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
*/
bool is_front_buffer_reading;
- /**
- * Count of intel_regions that are mapped.
- *
- * This allows us to assert that no batch buffer is emitted if a
- * region is mapped.
- */
- int num_mapped_regions;
-
bool use_texture_tiling;
bool use_early_z;
region->map = region->bo->virtual;
}
- if (region->map) {
- intel->num_mapped_regions++;
- region->map_refcount++;
- }
return region->map;
}
drm_intel_bo_unmap(region->bo);
region->map = NULL;
- --intel->num_mapped_regions;
- assert(intel->num_mapped_regions >= 0);
}
}