Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_buffer_objects.c46 mark_buffer_gpu_usage(struct intel_buffer_object *intel_obj, in mark_buffer_gpu_usage() argument
49 intel_obj->gpu_active_start = MIN2(intel_obj->gpu_active_start, offset); in mark_buffer_gpu_usage()
50 intel_obj->gpu_active_end = MAX2(intel_obj->gpu_active_end, offset + size); in mark_buffer_gpu_usage()
54 mark_buffer_inactive(struct intel_buffer_object *intel_obj) in mark_buffer_inactive() argument
56 intel_obj->gpu_active_start = ~0; in mark_buffer_inactive()
57 intel_obj->gpu_active_end = 0; in mark_buffer_inactive()
61 mark_buffer_valid_data(struct intel_buffer_object *intel_obj, in mark_buffer_valid_data() argument
64 intel_obj->valid_data_start = MIN2(intel_obj->valid_data_start, offset); in mark_buffer_valid_data()
65 intel_obj->valid_data_end = MAX2(intel_obj->valid_data_end, offset + size); in mark_buffer_valid_data()
69 mark_buffer_invalid(struct intel_buffer_object *intel_obj) in mark_buffer_invalid() argument
[all …]
Dbrw_object_purgeable.c56 struct intel_buffer_object *intel_obj = intel_buffer_object(obj); in intel_buffer_object_purgeable() local
58 if (intel_obj->buffer != NULL) in intel_buffer_object_purgeable()
59 return intel_buffer_purgeable(intel_obj->buffer); in intel_buffer_object_purgeable()
65 return intel_buffer_purgeable(intel_obj->buffer); in intel_buffer_object_purgeable()
Dbrw_wm_surface_state.c457 struct intel_texture_object *intel_obj = intel_texture_object(obj); in brw_update_texture_surface() local
458 struct intel_mipmap_tree *mt = intel_obj->mt; in brw_update_texture_surface()
490 mesa_format mesa_fmt = plane == 0 ? intel_obj->_Format : mt->format; in brw_update_texture_surface()
552 .levels = intel_obj->_MaxLevel - obj->BaseLevel + 1, in brw_update_texture_surface()
612 struct intel_buffer_object *intel_obj = in brw_update_buffer_texture_surface() local
620 if (intel_obj) { in brw_update_buffer_texture_surface()
621 size = MIN2(size, intel_obj->Base.Size); in brw_update_buffer_texture_surface()
622 bo = intel_bufferobj_buffer(brw, intel_obj, tObj->BufferOffset, size, in brw_update_buffer_texture_surface()
1462 struct intel_buffer_object *intel_obj = in update_image_surface() local
1468 brw, surf_offset, intel_obj->buffer, obj->BufferOffset, in update_image_surface()
[all …]
Dintel_mipmap_tree.c1608 struct intel_texture_object *intel_obj = in intel_miptree_copy_teximage() local
1614 if (intel_obj->base.Target == GL_TEXTURE_1D_ARRAY) { in intel_miptree_copy_teximage()
1635 intel_obj->needs_validate = true; in intel_miptree_copy_teximage()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_buffer_objects.c49 struct intel_buffer_object *intel_obj) in intel_bufferobj_alloc_buffer() argument
51 intel_obj->buffer = drm_intel_bo_alloc(intel->bufmgr, "bufferobj", in intel_bufferobj_alloc_buffer()
52 intel_obj->Base.Size, 64); in intel_bufferobj_alloc_buffer()
56 release_buffer(struct intel_buffer_object *intel_obj) in release_buffer() argument
58 drm_intel_bo_unreference(intel_obj->buffer); in release_buffer()
59 intel_obj->buffer = NULL; in release_buffer()
60 intel_obj->offset = 0; in release_buffer()
61 intel_obj->source = 0; in release_buffer()
89 struct intel_buffer_object *intel_obj = intel_buffer_object(obj); in intel_bufferobj_free() local
91 assert(intel_obj); in intel_bufferobj_free()
[all …]
Dintel_mipmap_tree.c647 struct intel_texture_object *intel_obj = in intel_miptree_copy_teximage() local
660 intel_obj->needs_validate = true; in intel_miptree_copy_teximage()