Home
last modified time | relevance | path

Searched refs:brw_context (Results 1 – 25 of 99) sorted by relevance

1234

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_state.h100 brw_state_dirty(const struct brw_context *brw, in brw_state_dirty()
108 void brw_upload_binding_table(struct brw_context *brw,
114 void brw_upload_invariant_state(struct brw_context *brw);
116 brw_depthbuffer_format(struct brw_context *brw);
121 void brw_upload_state_base_address(struct brw_context *brw);
124 void gen8_write_pma_stall_bits(struct brw_context *brw,
128 void brw_disk_cache_init(struct brw_context *brw);
129 bool brw_disk_cache_upload_program(struct brw_context *brw,
131 void brw_disk_cache_write_compute_program(struct brw_context *brw);
132 void brw_disk_cache_write_render_programs(struct brw_context *brw);
[all …]
Dintel_mipmap_tree.h60 struct brw_context;
356 intel_miptree_alloc_ccs(struct brw_context *brw,
384 struct intel_mipmap_tree *intel_miptree_create(struct brw_context *brw,
396 intel_miptree_create_for_bo(struct brw_context *brw,
408 intel_miptree_create_for_dri_image(struct brw_context *brw,
415 intel_update_winsys_renderbuffer_miptree(struct brw_context *intel,
429 intel_miptree_create_for_renderbuffer(struct brw_context *brw,
439 intel_lower_compressed_format(struct brw_context *brw, mesa_format format);
473 intel_miptree_get_aux_isl_usage(const struct brw_context *brw,
498 intel_miptree_copy_slice(struct brw_context *brw,
[all …]
Dbrw_context.h138 struct brw_context;
369 struct brw_context *brw;
416 void (*emit)( struct brw_context *brw );
724 struct brw_context struct
734 void (*emit_depth_stencil_hiz)(struct brw_context *brw, argument
751 void (*emit_mi_report_perf_count)(struct brw_context *brw,
1321 void intel_prepare_render(struct brw_context *brw);
1323 void brw_predraw_resolve_inputs(struct brw_context *brw, bool rendering,
1326 void intel_resolve_for_dri2_flush(struct brw_context *brw,
1340 brw_meta_resolve_color(struct brw_context *brw,
[all …]
Dbrw_pipe_control.h27 struct brw_context;
74 int brw_init_pipe_control(struct brw_context *brw,
76 void brw_fini_pipe_control(struct brw_context *brw);
78 void brw_emit_pipe_control_flush(struct brw_context *brw, uint32_t flags);
79 void brw_emit_pipe_control_write(struct brw_context *brw, uint32_t flags,
82 void brw_emit_end_of_pipe_sync(struct brw_context *brw, uint32_t flags);
83 void brw_emit_mi_flush(struct brw_context *brw);
84 void brw_emit_post_sync_nonzero_flush(struct brw_context *brw);
85 void brw_emit_depth_stall_flushes(struct brw_context *brw);
86 void gen7_emit_vs_workaround_flush(struct brw_context *brw);
[all …]
Dbrw_queryobj.c46 brw_timebase_scale(struct brw_context *brw, uint64_t gpu_timestamp) in brw_timebase_scale()
65 brw_raw_timestamp_delta(struct brw_context *brw, uint64_t time0, uint64_t time1) in brw_raw_timestamp_delta()
85 brw_write_timestamp(struct brw_context *brw, struct brw_bo *query_bo, int idx) in brw_write_timestamp()
109 brw_write_depth_count(struct brw_context *brw, struct brw_bo *query_bo, int idx) in brw_write_depth_count()
136 struct brw_context *brw = brw_context(ctx); in brw_queryobj_get_results()
262 struct brw_context *brw = brw_context(ctx); in brw_begin_query()
334 struct brw_context *brw = brw_context(ctx); in brw_end_query()
390 const struct gen_device_info *devinfo = &brw_context(ctx)->screen->devinfo; in brw_wait_query()
406 struct brw_context *brw = brw_context(ctx); in brw_check_query()
437 struct brw_context *brw = brw_context(ctx); in ensure_bo_has_space()
[all …]
Dbrw_blorp.h35 void brw_blorp_init(struct brw_context *brw);
38 brw_blorp_blit_miptrees(struct brw_context *brw,
53 brw_blorp_copy_miptrees(struct brw_context *brw,
63 brw_blorp_copy_buffers(struct brw_context *brw,
71 brw_blorp_upload_miptree(struct brw_context *brw,
81 brw_blorp_download_miptree(struct brw_context *brw,
91 brw_blorp_clear_color(struct brw_context *brw, struct gl_framebuffer *fb,
94 brw_blorp_clear_depth_stencil(struct brw_context *brw,
99 brw_blorp_resolve_color(struct brw_context *brw,
105 brw_blorp_mcs_partial_resolve(struct brw_context *brw,
[all …]
Dgen6_queryobj.c43 set_query_availability(struct brw_context *brw, struct brw_query_object *query, in set_query_availability()
80 write_primitives_generated(struct brw_context *brw, in write_primitives_generated()
98 write_xfb_primitives_written(struct brw_context *brw, in write_xfb_primitives_written()
119 struct brw_context *brw = brw_context(ctx); in write_xfb_overflow_streams()
173 emit_pipeline_stat(struct brw_context *brw, struct brw_bo *bo, in emit_pipeline_stat()
226 struct brw_context *brw = brw_context(ctx); in gen6_queryobj_get_results()
327 struct brw_context *brw = brw_context(ctx); in gen6_begin_query()
415 struct brw_context *brw = brw_context(ctx); in gen6_end_query()
480 flush_batch_if_needed(struct brw_context *brw, struct brw_query_object *query) in flush_batch_if_needed()
500 struct brw_context *brw = brw_context(ctx); in gen6_wait_query()
[all …]
Dintel_fbo.h201 intel_fbo_init(struct brw_context *brw);
225 void intel_renderbuffer_move_to_temp(struct brw_context *brw,
230 intel_renderbuffer_downsample(struct brw_context *brw,
234 intel_renderbuffer_upsample(struct brw_context *brw,
237 void brw_cache_sets_clear(struct brw_context *brw);
238 void brw_cache_flush_for_read(struct brw_context *brw, struct brw_bo *bo);
239 void brw_cache_flush_for_render(struct brw_context *brw, struct brw_bo *bo,
242 void brw_cache_flush_for_depth(struct brw_context *brw, struct brw_bo *bo);
243 void brw_render_cache_add_bo(struct brw_context *brw, struct brw_bo *bo,
246 void brw_depth_cache_add_bo(struct brw_context *brw, struct brw_bo *bo);
Dbrw_pipe_control.c72 gen7_cs_stall_every_four_pipe_controls(struct brw_context *brw, uint32_t flags) in gen7_cs_stall_every_four_pipe_controls()
113 brw_emit_pipe_control(struct brw_context *brw, uint32_t flags, in brw_emit_pipe_control()
227 brw_emit_pipe_control_flush(struct brw_context *brw, uint32_t flags) in brw_emit_pipe_control_flush()
261 brw_emit_pipe_control_write(struct brw_context *brw, uint32_t flags, in brw_emit_pipe_control_write()
281 brw_emit_depth_stall_flushes(struct brw_context *brw) in brw_emit_depth_stall_flushes()
309 gen7_emit_vs_workaround_flush(struct brw_context *brw) in gen7_emit_vs_workaround_flush()
354 gen10_emit_isp_disable(struct brw_context *brw) in gen10_emit_isp_disable()
372 gen7_emit_cs_stall_flush(struct brw_context *brw) in gen7_emit_cs_stall_flush()
418 brw_emit_post_sync_nonzero_flush(struct brw_context *brw) in brw_emit_post_sync_nonzero_flush()
452 brw_emit_end_of_pipe_sync(struct brw_context *brw, uint32_t flags) in brw_emit_end_of_pipe_sync()
[all …]
Dbrw_conditional_render.c41 set_predicate_enable(struct brw_context *brw, in set_predicate_enable()
51 set_predicate_for_overflow_query(struct brw_context *brw, in set_predicate_for_overflow_query()
74 set_predicate_for_occlusion_query(struct brw_context *brw, in set_predicate_for_occlusion_query()
95 set_predicate_for_result(struct brw_context *brw, in set_predicate_for_result()
134 struct brw_context *brw = brw_context(ctx); in brw_begin_conditional_render()
169 struct brw_context *brw = brw_context(ctx); in brw_end_conditional_render()
185 brw_check_conditional_render(struct brw_context *brw) in brw_check_conditional_render()
Dgen6_sol.c38 gen6_update_sol_surfaces(struct brw_context *brw) in gen6_update_sol_surfaces()
97 brw_gs_upload_binding_table(struct brw_context *brw) in brw_gs_upload_binding_table()
189 struct brw_context *brw = brw_context(ctx); in brw_new_transform_feedback()
237 struct brw_context *brw, in aggregate_transform_feedback_counter()
280 brw_save_primitives_written_counters(struct brw_context *brw, in brw_save_primitives_written_counters()
320 compute_vertices_written_so_far(struct brw_context *brw, in compute_vertices_written_so_far()
355 compute_xfb_vertices_written(struct brw_context *brw, in compute_xfb_vertices_written()
377 struct brw_context *brw = brw_context(ctx); in brw_get_transform_feedback_vertex_count()
392 struct brw_context *brw = brw_context(ctx); in brw_begin_transform_feedback()
449 struct brw_context *brw = brw_context(ctx); in brw_end_transform_feedback()
[all …]
Dgen7_sol_state.c42 struct brw_context *brw = brw_context(ctx); in gen7_begin_transform_feedback()
74 struct brw_context *brw = brw_context(ctx); in gen7_end_transform_feedback()
102 struct brw_context *brw = brw_context(ctx); in gen7_pause_transform_feedback()
132 struct brw_context *brw = brw_context(ctx); in gen7_resume_transform_feedback()
Dbrw_sync.c49 struct brw_context *brw;
76 brw_fence_init(struct brw_context *brw, struct brw_fence *fence, in brw_fence_init()
111 brw_fence_insert_locked(struct brw_context *brw, struct brw_fence *fence) in brw_fence_insert_locked()
187 brw_fence_insert(struct brw_context *brw, struct brw_fence *fence) in brw_fence_insert()
247 brw_fence_client_wait_locked(struct brw_context *brw, struct brw_fence *fence, in brw_fence_client_wait_locked()
303 brw_fence_client_wait(struct brw_context *brw, struct brw_fence *fence, in brw_fence_client_wait()
316 brw_fence_server_wait(struct brw_context *brw, struct brw_fence *fence) in brw_fence_server_wait()
364 struct brw_context *brw = brw_context(ctx); in brw_gl_fence_sync()
383 struct brw_context *brw = brw_context(ctx); in brw_gl_client_wait_sync()
394 struct brw_context *brw = brw_context(ctx); in brw_gl_server_wait_sync()
[all …]
Dbrw_program.h34 struct brw_context;
59 struct nir_shader *brw_create_nir(struct brw_context *brw,
67 void brw_setup_tex_for_precompile(struct brw_context *brw,
74 bool brw_debug_recompile_sampler_key(struct brw_context *brw,
103 void brw_upload_tcs_prog(struct brw_context *brw);
104 void brw_tcs_populate_key(struct brw_context *brw,
106 void brw_upload_tes_prog(struct brw_context *brw);
107 void brw_tes_populate_key(struct brw_context *brw,
Dbrw_performance_query.c348 dump_perf_queries(struct brw_context *brw) in dump_perf_queries()
359 get_free_sample_buf(struct brw_context *brw) in get_free_sample_buf()
378 reap_old_sample_buffers(struct brw_context *brw) in reap_old_sample_buffers()
402 free_sample_bufs(struct brw_context *brw) in free_sample_bufs()
424 struct brw_context *brw = brw_context(ctx); in brw_get_perf_query_info()
458 struct brw_context *brw = brw_context(ctx); in brw_get_perf_counter_info()
480 snapshot_statistics_registers(struct brw_context *brw, in snapshot_statistics_registers()
506 add_to_unaccumulated_query_list(struct brw_context *brw, in add_to_unaccumulated_query_list()
529 drop_from_unaccumulated_query_list(struct brw_context *brw, in drop_from_unaccumulated_query_list()
564 timebase_scale(struct brw_context *brw, uint32_t u32_time_delta) in timebase_scale()
[all …]
Dhsw_sol.c58 save_prim_start_values(struct brw_context *brw, in save_prim_start_values()
84 tally_prims_written(struct brw_context *brw, in tally_prims_written()
161 struct brw_context *brw = brw_context(ctx); in hsw_begin_transform_feedback()
196 struct brw_context *brw = brw_context(ctx); in hsw_pause_transform_feedback()
226 struct brw_context *brw = brw_context(ctx); in hsw_resume_transform_feedback()
253 struct brw_context *brw = brw_context(ctx); in hsw_end_transform_feedback()
Dintel_batchbuffer.h24 void intel_batchbuffer_init(struct brw_context *brw);
26 void intel_batchbuffer_save_state(struct brw_context *brw);
27 void intel_batchbuffer_reset_to_saved(struct brw_context *brw);
28 void intel_batchbuffer_require_space(struct brw_context *brw, GLuint sz,
30 int _intel_batchbuffer_flush_fence(struct brw_context *brw,
45 void intel_batchbuffer_data(struct brw_context *brw,
49 bool brw_batch_has_aperture_space(struct brw_context *brw,
82 intel_batchbuffer_begin(struct brw_context *brw, int n, enum brw_gpu_ring ring) in intel_batchbuffer_begin()
93 intel_batchbuffer_advance(struct brw_context *brw) in intel_batchbuffer_advance()
Dintel_fbo.c76 intel_renderbuffer_downsample(struct brw_context *brw, in intel_renderbuffer_downsample()
91 intel_renderbuffer_upsample(struct brw_context *brw, in intel_renderbuffer_upsample()
110 struct brw_context *brw = brw_context(ctx); in intel_map_renderbuffer()
197 struct brw_context *brw = brw_context(ctx); in intel_unmap_renderbuffer()
251 struct brw_context *brw = brw_context(ctx); in intel_renderbuffer_format()
285 struct brw_context *brw = brw_context(ctx); in intel_alloc_private_renderbuffer_storage()
334 struct brw_context *brw = brw_context(ctx); in intel_image_target_renderbuffer_storage()
515 intel_renderbuffer_update_wrapper(struct brw_context *brw, in intel_renderbuffer_update_wrapper()
579 struct brw_context *brw = brw_context(ctx); in intel_render_texture()
637 struct brw_context *brw = brw_context(ctx); in intel_validate_framebuffer()
[all …]
Dhsw_queryobj.c40 mult_gpr0_by_80(struct brw_context *brw) in mult_gpr0_by_80()
89 keep_gpr0_lower_n_bits(struct brw_context *brw, uint32_t n) in keep_gpr0_lower_n_bits()
114 shl_gpr0_by_30_bits(struct brw_context *brw) in shl_gpr0_by_30_bits()
154 shr_gpr0_by_2_bits(struct brw_context *brw) in shr_gpr0_by_2_bits()
165 gpr0_to_bool(struct brw_context *brw) in gpr0_to_bool()
190 load_overflow_data_to_cs_gprs(struct brw_context *brw, in load_overflow_data_to_cs_gprs()
215 calc_overflow_for_stream(struct brw_context *brw) in calc_overflow_for_stream()
246 calc_overflow_to_gpr0(struct brw_context *brw, struct brw_query_object *query, in calc_overflow_to_gpr0()
262 hsw_overflow_result_to_gpr0(struct brw_context *brw, in hsw_overflow_result_to_gpr0()
275 struct brw_context *brw = brw_context(ctx); in hsw_result_to_gpr0()
[all …]
Dintel_tex.c65 struct brw_context *brw = brw_context(ctx); in intel_alloc_texture_image_buffer()
130 struct brw_context *brw = brw_context(ctx); in intel_alloc_texture_storage()
214 struct brw_context *brw = brw_context(ctx); in intel_map_texture_image()
245 struct brw_context *brw = brw_context(ctx); in intel_unmap_texture_image()
262 struct brw_context *brw = brw_context(ctx); in intel_texture_view()
308 struct brw_context *brw = brw_context(ctx); in intel_texture_barrier()
Dintel_buffer_objects.h31 struct brw_context;
96 struct brw_bo *intel_bufferobj_buffer(struct brw_context *brw,
102 void intel_upload_data(struct brw_context *brw,
109 void *intel_upload_space(struct brw_context *brw,
115 void intel_upload_finish(struct brw_context *brw);
Dbrw_binding_tables.c54 brw_upload_binding_table(struct brw_context *brw, in brw_upload_binding_table()
105 brw_vs_upload_binding_table(struct brw_context *brw) in brw_vs_upload_binding_table()
130 brw_upload_wm_binding_table(struct brw_context *brw) in brw_upload_wm_binding_table()
153 brw_tcs_upload_binding_table(struct brw_context *brw) in brw_tcs_upload_binding_table()
182 brw_tes_upload_binding_table(struct brw_context *brw) in brw_tes_upload_binding_table()
210 brw_gs_upload_binding_table(struct brw_context *brw) in brw_gs_upload_binding_table()
249 gen4_upload_binding_table_pointers(struct brw_context *brw) in gen4_upload_binding_table_pointers()
279 gen6_upload_binding_table_pointers(struct brw_context *brw) in gen6_upload_binding_table_pointers()
Dintel_buffer_objects.c77 alloc_buffer_object(struct brw_context *brw, in alloc_buffer_object()
191 struct brw_context *brw = brw_context(ctx); in brw_buffer_data()
239 struct brw_context *brw = brw_context(ctx); in brw_buffer_subdata()
337 struct brw_context *brw = brw_context(ctx); in brw_get_buffer_subdata()
393 struct brw_context *brw = brw_context(ctx); in brw_map_buffer_range()
499 struct brw_context *brw = brw_context(ctx); in brw_flush_mapped_buffer_range()
559 struct brw_context *brw = brw_context(ctx); in brw_unmap_buffer()
604 intel_bufferobj_buffer(struct brw_context *brw, in intel_bufferobj_buffer()
638 struct brw_context *brw = brw_context(ctx); in brw_copy_buffer_subdata()
Dbrw_draw.h32 struct brw_context;
35 brw_emit_vertex_buffer_state(struct brw_context *brw,
58 void brw_draw_init( struct brw_context *brw );
59 void brw_draw_destroy( struct brw_context *brw );
61 void brw_prepare_shader_draw_parameters(struct brw_context *);
Dbrw_program.c66 brw_create_nir(struct brw_context *brw, in brw_create_nir()
161 struct brw_context *brw = brw_context(ctx); in brwNewProgram()
176 struct brw_context *brw = brw_context(ctx); in brwDeleteProgram()
217 struct brw_context *brw = brw_context(ctx); in brwProgramStringNotify()
278 struct brw_context *brw = brw_context(ctx); in brw_memory_barrier()
318 struct brw_context *brw = brw_context(ctx); in brw_blend_barrier()
336 brw_get_scratch_bo(struct brw_context *brw, in brw_get_scratch_bo()
356 brw_alloc_stage_scratch(struct brw_context *brw, in brw_alloc_stage_scratch()
466 brw_init_shader_time(struct brw_context *brw) in brw_init_shader_time()
514 brw_report_shader_time(struct brw_context *brw) in brw_report_shader_time()
[all …]

1234