Home
last modified time | relevance | path

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

/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_buffer_objects.c45 mark_buffer_gpu_usage(struct brw_buffer_object *intel_obj, in mark_buffer_gpu_usage() argument
48 intel_obj->gpu_active_start = MIN2(intel_obj->gpu_active_start, offset); in mark_buffer_gpu_usage()
49 intel_obj->gpu_active_end = MAX2(intel_obj->gpu_active_end, offset + size); in mark_buffer_gpu_usage()
53 mark_buffer_inactive(struct brw_buffer_object *intel_obj) in mark_buffer_inactive() argument
55 intel_obj->gpu_active_start = ~0; in mark_buffer_inactive()
56 intel_obj->gpu_active_end = 0; in mark_buffer_inactive()
60 mark_buffer_valid_data(struct brw_buffer_object *intel_obj, in mark_buffer_valid_data() argument
63 intel_obj->valid_data_start = MIN2(intel_obj->valid_data_start, offset); in mark_buffer_valid_data()
64 intel_obj->valid_data_end = MAX2(intel_obj->valid_data_end, offset + size); in mark_buffer_valid_data()
68 mark_buffer_invalid(struct brw_buffer_object *intel_obj) in mark_buffer_invalid() argument
[all …]
Dbrw_generate_mipmap.c43 struct brw_texture_object *intel_obj = brw_texture_object(tex_obj); in brw_generate_mipmap() local
64 intel_obj->_MaxLevel = last_level; in brw_generate_mipmap()
80 struct brw_mipmap_tree *mt = intel_obj->mt; in brw_generate_mipmap()
86 const mesa_format format = intel_obj->_Format; in brw_generate_mipmap()
Dbrw_object_purgeable.c55 struct brw_buffer_object *intel_obj = brw_buffer_object(obj); in brw_buffer_object_purgeable() local
57 if (intel_obj->buffer != NULL) in brw_buffer_object_purgeable()
58 return brw_buffer_purgeable(intel_obj->buffer); in brw_buffer_object_purgeable()
64 return brw_buffer_purgeable(intel_obj->buffer); in brw_buffer_object_purgeable()
Dbrw_wm_surface_state.c479 struct brw_texture_object *intel_obj = brw_texture_object(obj); in brw_update_texture_surface() local
480 struct brw_mipmap_tree *mt = intel_obj->mt; in brw_update_texture_surface()
525 mesa_fmt = intel_obj->_Format; in brw_update_texture_surface()
591 .levels = intel_obj->_MaxLevel - obj->Attrib.BaseLevel + 1, in brw_update_texture_surface()
695 struct brw_buffer_object *intel_obj = in brw_update_buffer_texture_surface() local
708 if (intel_obj) in brw_update_buffer_texture_surface()
709 bo = brw_bufferobj_buffer(brw, intel_obj, tObj->BufferOffset, size, in brw_update_buffer_texture_surface()
1554 struct brw_texture_object *intel_obj = brw_texture_object(obj); in update_image_surface() local
1555 struct brw_mipmap_tree *mt = intel_obj->mt; in update_image_surface()
Dbrw_mipmap_tree.c1372 struct brw_texture_object *intel_obj = in brw_miptree_copy_teximage() local
1378 if (intel_obj->base.Target == GL_TEXTURE_1D_ARRAY) { in brw_miptree_copy_teximage()
1397 intel_obj->needs_validate = true; in brw_miptree_copy_teximage()
/third_party/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()