Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/r300/
Dr300_emit.h33 void r300_emit_vertex_arrays(struct r300_context* r300, int offset,
36 void r300_emit_blend_state(struct r300_context* r300,
39 void r300_emit_blend_color_state(struct r300_context* r300,
42 void r300_emit_clip_state(struct r300_context* r300,
45 void r300_emit_dsa_state(struct r300_context* r300,
48 void r300_emit_hyperz_state(struct r300_context *r300,
51 void r300_emit_hyperz_end(struct r300_context *r300);
53 void r300_emit_fs(struct r300_context* r300, unsigned size, void *state);
55 void r300_emit_fs_constants(struct r300_context* r300, unsigned size, void *state);
57 void r300_emit_fs_rc_constant_state(struct r300_context* r300, unsigned size, void *state);
[all …]
Dr300_context.h39 struct r300_context;
60 void (*emit)(struct r300_context*, unsigned, void*);
449 struct r300_context { struct
649 static INLINE struct r300_context* r300_context(struct pipe_context* context) in r300_context() function
651 return (struct r300_context*)context; in r300_context()
654 static INLINE struct r300_fragment_shader *r300_fs(struct r300_context *r300) in r300_fs()
659 static INLINE void r300_mark_atom_dirty(struct r300_context *r300, in r300_mark_atom_dirty()
679 struct draw_stage* r300_draw_stage(struct r300_context* r300);
680 void r300_init_blit_functions(struct r300_context *r300);
681 void r300_init_flush_functions(struct r300_context* r300);
[all …]
Dr300_query.c35 struct r300_context *r300 = r300_context(pipe); in r300_create_query()
80 void r300_resume_query(struct r300_context *r300, in r300_resume_query()
90 struct r300_context* r300 = r300_context(pipe); in r300_begin_query()
107 void r300_stop_query(struct r300_context *r300) in r300_stop_query()
116 struct r300_context* r300 = r300_context(pipe); in r300_end_query()
140 struct r300_context* r300 = r300_context(pipe); in r300_get_query_result()
183 struct r300_context *r300 = r300_context(pipe); in r300_render_condition()
203 void r300_init_query_functions(struct r300_context* r300) in r300_init_query_functions()
Dr300_render.c71 static uint32_t r300_provoking_vertex_fixes(struct r300_context *r300, in r300_provoking_vertex_fixes()
116 void r500_emit_index_bias(struct r300_context *r300, int index_bias) in r500_emit_index_bias()
126 static void r300_emit_draw_init(struct r300_context *r300, unsigned mode, in r300_emit_draw_init()
148 static void r300_split_index_bias(struct r300_context *r300, int index_bias, in r300_split_index_bias()
193 static boolean r300_reserve_cs_dwords(struct r300_context *r300, in r300_reserve_cs_dwords()
236 static boolean r300_emit_states(struct r300_context *r300, in r300_emit_states()
299 static boolean r300_prepare_for_rendering(struct r300_context *r300, in r300_prepare_for_rendering()
315 static boolean immd_is_good_idea(struct r300_context *r300, in immd_is_good_idea()
335 static void r300_draw_arrays_immediate(struct r300_context *r300, in r300_draw_arrays_immediate()
410 static void r300_emit_draw_arrays(struct r300_context *r300, in r300_emit_draw_arrays()
[all …]
Dr300_emit.c39 void r300_emit_blend_state(struct r300_context* r300, in r300_emit_blend_state()
59 void r300_emit_blend_color_state(struct r300_context* r300, in r300_emit_blend_color_state()
68 void r300_emit_clip_state(struct r300_context* r300, in r300_emit_clip_state()
77 void r300_emit_dsa_state(struct r300_context* r300, unsigned size, void* state) in r300_emit_dsa_state()
99 struct r300_context * r300, in get_rc_constant_state()
189 void r300_emit_fs(struct r300_context* r300, unsigned size, void *state) in r300_emit_fs()
197 void r300_emit_fs_constants(struct r300_context* r300, unsigned size, void *state) in r300_emit_fs_constants()
225 void r300_emit_fs_rc_constant_state(struct r300_context* r300, unsigned size, void *state) in r300_emit_fs_rc_constant_state()
254 void r500_emit_fs(struct r300_context* r300, unsigned size, void *state) in r500_emit_fs()
262 void r500_emit_fs_constants(struct r300_context* r300, unsigned size, void *state) in r500_emit_fs_constants()
[all …]
Dr300_render_stencilref.c45 static boolean r300_stencilref_needed(struct r300_context *r300) in r300_stencilref_needed()
55 static void r300_stencilref_begin(struct r300_context *r300) in r300_stencilref_begin()
73 static void r300_stencilref_switch_side(struct r300_context *r300) in r300_stencilref_switch_side()
88 static void r300_stencilref_end(struct r300_context *r300) in r300_stencilref_end()
106 struct r300_context *r300 = r300_context(pipe); in r300_stencilref_draw_vbo()
120 void r300_plug_in_stencil_ref_fallback(struct r300_context *r300) in r300_plug_in_stencil_ref_fallback()
Dr300_state.c441 struct r300_context* r300 = r300_context(pipe); in r300_bind_blend_state()
464 struct r300_context* r300 = r300_context(pipe); in r300_set_blend_color()
543 struct r300_context* r300 = r300_context(pipe); in r300_set_clip_state()
708 static void r300_dsa_inject_stencilref(struct r300_context *r300) in r300_dsa_inject_stencilref()
728 struct r300_context* r300 = r300_context(pipe); in r300_bind_dsa_state()
750 struct r300_context* r300 = r300_context(pipe); in r300_set_stencil_ref()
758 static void r300_tex_set_tiling_flags(struct r300_context *r300, in r300_tex_set_tiling_flags()
776 static void r300_fb_set_tiling_flags(struct r300_context *r300, in r300_fb_set_tiling_flags()
817 void r300_mark_fb_state_dirty(struct r300_context *r300, in r300_mark_fb_state_dirty()
862 struct r300_context* r300 = r300_context(pipe); in r300_set_framebuffer_state()
[all …]
Dr300_vs.h34 struct r300_context;
59 void r300_init_vs_outputs(struct r300_context *r300,
62 void r300_translate_vertex_shader(struct r300_context *r300,
65 void r300_draw_init_vertex_shader(struct r300_context *r300,
Dr300_blit.c48 static void r300_blitter_begin(struct r300_context* r300, enum r300_blitter_op op) in r300_blitter_begin()
95 static void r300_blitter_end(struct r300_context *r300) in r300_blitter_end()
120 static boolean r300_cbzb_clear_allowed(struct r300_context *r300, in r300_cbzb_clear_allowed()
133 static boolean r300_fast_zclear_allowed(struct r300_context *r300) in r300_fast_zclear_allowed()
141 static boolean r300_hiz_clear_allowed(struct r300_context *r300) in r300_hiz_clear_allowed()
224 struct r300_context* r300 = r300_context(pipe); in r300_clear()
355 struct r300_context *r300 = r300_context(pipe); in r300_clear_render_target()
372 struct r300_context *r300 = r300_context(pipe); in r300_clear_depth_stencil()
389 void r300_decompress_zmask(struct r300_context *r300) in r300_decompress_zmask()
410 void r300_decompress_zmask_locked_unsafe(struct r300_context *r300) in r300_decompress_zmask_locked_unsafe()
[all …]
Dr300_screen_buffer.c35 void r300_upload_index_buffer(struct r300_context *r300, in r300_upload_index_buffer()
74 struct r300_context *r300 = r300_context(context); in r300_buffer_get_transfer()
95 struct r300_context *r300 = r300_context(pipe); in r300_buffer_transfer_destroy()
103 struct r300_context *r300 = r300_context(pipe); in r300_buffer_transfer_map()
Dr300_hyperz.c42 static enum r300_hiz_func r300_get_hiz_func(struct r300_context *r300) in r300_get_hiz_func()
64 static unsigned r300_get_sc_hz_max(struct r300_context *r300) in r300_get_sc_hz_max()
72 static boolean r300_is_hiz_func_valid(struct r300_context *r300) in r300_is_hiz_func_valid()
99 static boolean r300_hiz_allowed(struct r300_context *r300) in r300_hiz_allowed()
131 static void r300_update_hyperz(struct r300_context* r300) in r300_update_hyperz()
257 static void r300_update_ztop(struct r300_context* r300) in r300_update_ztop()
306 void r300_update_hyperz_state(struct r300_context* r300) in r300_update_hyperz_state()
Dr300_flush.c37 static void r300_flush_and_cleanup(struct r300_context *r300, unsigned flags) in r300_flush_and_cleanup()
70 struct r300_context *r300 = r300_context(pipe); in r300_flush()
140 void r300_init_flush_functions(struct r300_context* r300) in r300_init_flush_functions()
Dr300_context.c39 static void r300_release_referenced_objects(struct r300_context *r300) in r300_release_referenced_objects()
72 struct r300_context* r300 = r300_context(context); in r300_destroy_context()
121 struct r300_context* const cs_context_copy = data; in r300_flush_callback()
142 static boolean r300_setup_atoms(struct r300_context* r300) in r300_setup_atoms()
254 struct r300_context *r300 = r300_context(pipe); in r300_init_states()
354 struct r300_context* r300 = CALLOC_STRUCT(r300_context);
Dr300_transfer.c86 struct r300_context *r300 = r300_context(ctx); in r300_texture_get_transfer()
229 struct r300_context *r300 = r300_context(ctx); in r300_texture_transfer_map()
257 struct radeon_winsys *rws = r300_context(ctx)->rws; in r300_texture_transfer_unmap()
Dr300_vs.c39 struct r300_context *r300, in r300_shader_read_vs_outputs()
172 void r300_init_vs_outputs(struct r300_context *r300, in r300_init_vs_outputs()
180 struct r300_context* r300, in r300_dummy_vertex_shader()
204 void r300_translate_vertex_shader(struct r300_context *r300, in r300_translate_vertex_shader()
Dr300_state_derived.c53 static void r300_draw_emit_attrib(struct r300_context* r300, in r300_draw_emit_attrib()
68 static void r300_draw_emit_all_attribs(struct r300_context* r300) in r300_draw_emit_all_attribs()
134 static void r300_swtcl_vertex_psc(struct r300_context *r300) in r300_swtcl_vertex_psc()
312 static void r300_update_rs_block(struct r300_context *r300) in r300_update_rs_block()
742 static void r300_merge_textures_and_samplers(struct r300_context* r300) in r300_merge_textures_and_samplers()
962 static void r300_decompress_depth_textures(struct r300_context *r300) in r300_decompress_depth_textures()
987 static void r300_validate_fragment_shader(struct r300_context *r300) in r300_validate_fragment_shader()
1015 void r300_update_derived_state(struct r300_context* r300) in r300_update_derived_state()
Dr300_fs.c146 struct r300_context* r300, in get_external_state()
222 struct r300_context* r300,
227 struct r300_context* r300, in r300_dummy_fragment_shader()
252 struct r300_context *r300, in r300_emit_fs_code_to_buffer()
428 struct r300_context* r300, in r300_translate_fragment_shader()
581 boolean r300_pick_fragment_shader(struct r300_context* r300) in r300_pick_fragment_shader()
Dr300_screen_buffer.h39 void r300_upload_index_buffer(struct r300_context *r300,
Dr300_transfer.h29 struct r300_context;
Dr300_fs.h78 boolean r300_pick_fragment_shader(struct r300_context* r300);
Dr300_resource.c41 void r300_init_resource_functions(struct r300_context *r300) in r300_init_resource_functions()
Dr300_render_translate.c28 void r300_translate_index_buffer(struct r300_context *r300, in r300_translate_index_buffer()
DMakefile.sources4 r300_context.c \
Dr300_vs_draw.c311 void r300_draw_init_vertex_shader(struct r300_context *r300, in r300_draw_init_vertex_shader()
Dr300_texture.c1137 DBG(r300_context(ctx), DBG_CBZB, in r300_create_surface_custom()