Home
last modified time | relevance | path

Searched refs:brw_obj (Results 1 – 8 of 8) sorted by relevance

/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_tex_validate.c48 struct brw_texture_object *brw_obj = brw_texture_object(tObj); in brw_update_max_level() local
54 brw_obj->_MaxLevel = tObj->Attrib.BaseLevel; in brw_update_max_level()
56 brw_obj->_MaxLevel = tObj->_MaxLevel; in brw_update_max_level()
70 struct brw_texture_object *brw_obj = brw_texture_object(tObj); in brw_finalize_mipmap_tree() local
82 int validate_last_level = brw_obj->_MaxLevel; in brw_finalize_mipmap_tree()
88 if (!brw_obj->needs_validate && in brw_finalize_mipmap_tree()
89 validate_first_level >= brw_obj->validated_first_level && in brw_finalize_mipmap_tree()
90 validate_last_level <= brw_obj->validated_last_level) { in brw_finalize_mipmap_tree()
113 if (brw_obj->mt && in brw_finalize_mipmap_tree()
114 (!brw_miptree_match_image(brw_obj->mt, &firstImage->base.Base) || in brw_finalize_mipmap_tree()
[all …]
Dgfx7_sol_state.c43 struct brw_transform_feedback_object *brw_obj = in gfx7_begin_transform_feedback() local
49 brw_save_primitives_written_counters(brw, brw_obj); in gfx7_begin_transform_feedback()
61 brw_obj->primitive_mode = mode; in gfx7_begin_transform_feedback()
75 struct brw_transform_feedback_object *brw_obj = in gfx7_end_transform_feedback() local
80 brw_save_primitives_written_counters(brw, brw_obj); in gfx7_end_transform_feedback()
87 brw_obj->previous_counter = brw_obj->counter; in gfx7_end_transform_feedback()
88 brw_reset_transform_feedback_counter(&brw_obj->counter); in gfx7_end_transform_feedback()
95 brw_obj->vertices_written_valid = false; in gfx7_end_transform_feedback()
103 struct brw_transform_feedback_object *brw_obj = in gfx7_pause_transform_feedback() local
116 OUT_RELOC(brw_obj->offset_bo, RELOC_WRITE, i * sizeof(uint32_t)); in gfx7_pause_transform_feedback()
[all …]
Dgfx6_sol.c191 struct brw_transform_feedback_object *brw_obj = in brw_new_transform_feedback() local
193 if (!brw_obj) in brw_new_transform_feedback()
196 _mesa_init_transform_feedback_object(&brw_obj->base, name); in brw_new_transform_feedback()
198 brw_obj->offset_bo = in brw_new_transform_feedback()
201 brw_obj->prim_count_bo = in brw_new_transform_feedback()
205 return &brw_obj->base; in brw_new_transform_feedback()
212 struct brw_transform_feedback_object *brw_obj = in brw_delete_transform_feedback() local
215 brw_bo_unreference(brw_obj->offset_bo); in brw_delete_transform_feedback()
216 brw_bo_unreference(brw_obj->prim_count_bo); in brw_delete_transform_feedback()
377 struct brw_transform_feedback_object *brw_obj = in brw_get_transform_feedback_vertex_count() local
[all …]
Dhsw_sol.c163 struct brw_transform_feedback_object *brw_obj = in hsw_begin_transform_feedback() local
167 brw_obj->primitive_mode = mode; in hsw_begin_transform_feedback()
171 brw_obj->zero_offsets = true; in hsw_begin_transform_feedback()
183 brw_store_data_imm64(brw, brw_obj->prim_count_bo, TALLY_OFFSET, 0ull); in hsw_begin_transform_feedback()
184 brw_store_data_imm64(brw, brw_obj->prim_count_bo, TALLY_OFFSET + 8, 0ull); in hsw_begin_transform_feedback()
187 save_prim_start_values(brw, brw_obj); in hsw_begin_transform_feedback()
198 struct brw_transform_feedback_object *brw_obj = in hsw_pause_transform_feedback() local
211 OUT_RELOC(brw_obj->offset_bo, RELOC_WRITE, i * sizeof(uint32_t)); in hsw_pause_transform_feedback()
217 tally_prims_written(brw, brw_obj, false); in hsw_pause_transform_feedback()
228 struct brw_transform_feedback_object *brw_obj = in hsw_resume_transform_feedback() local
[all …]
Dbrw_tex_image.c53 struct brw_texture_object *brw_obj, in brw_miptree_create_for_teximage() argument
60 const struct brw_mipmap_tree *old_mt = brw_obj->mt; in brw_miptree_create_for_teximage()
76 switch(brw_obj->base.Target) { in brw_miptree_create_for_teximage()
108 if ((brw_obj->base.Sampler.Attrib.MinFilter == GL_NEAREST || in brw_miptree_create_for_teximage()
109 brw_obj->base.Sampler.Attrib.MinFilter == GL_LINEAR) && in brw_miptree_create_for_teximage()
111 !brw_obj->base.Attrib.GenerateMipmap) { in brw_miptree_create_for_teximage()
114 lastLevel = _mesa_get_tex_max_num_levels(brw_obj->base.Target, in brw_miptree_create_for_teximage()
119 brw_obj->base.Target, in brw_miptree_create_for_teximage()
Dbrw_tex.h51 struct brw_texture_object *brw_obj,
Dbrw_tex.c57 struct brw_texture_object *brw_obj = brw_texture_object(texObj); in brw_delete_texture_object() local
59 brw_miptree_release(&brw_obj->mt); in brw_delete_texture_object()
DgenX_state_upload.c3678 struct brw_transform_feedback_object *brw_obj = local
3720 rw_bo(brw_obj->offset_bo, i * sizeof(uint32_t));
3722 if (brw_obj->zero_offsets) {
3734 brw_obj->zero_offsets = false;