This was only used for BOs backed by system memory on i915. With that
gone, there's nothing that even sets source to non-zero, so this is
purely dead code.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
drm_intel_bo_unreference(intel_obj->buffer);
intel_obj->buffer = NULL;
intel_obj->offset = 0;
- intel_obj->source = 0;
}
/**
struct intel_buffer_object *intel_obj,
GLuint flag)
{
- if (intel_obj->source)
- release_buffer(intel_obj);
-
if (intel_obj->buffer == NULL)
intel_bufferobj_alloc_buffer(intel, intel_obj);
void *range_map_buffer;
unsigned int range_map_offset;
GLsizei range_map_size;
-
- bool source;
};