| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/ |
| r300_flush.c | 37 static void r300_flush_and_cleanup(struct r300_context *r300, unsigned flags, 42 r300_emit_hyperz_end(r300); 43 r300_emit_query_end(r300); 44 if (r300->screen->caps.is_r500) 45 r500_emit_index_bias(r300, 0); 49 CS_LOCALS(r300); 55 r300->flush_counter++; 56 r300->rws->cs_flush(&r300->cs, flags, fence); 57 r300->dirty_hw = 0 79 struct r300_context *r300 = r300_context(pipe); local [all...] |
| r300_emit.h | 33 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...] |
| r300_context.c | 42 static void r300_release_referenced_objects(struct r300_context *r300) 45 (struct pipe_framebuffer_state*)r300->fb_state.state; 47 (struct r300_textures_state*)r300->textures_state.state; 59 if (r300->texkill_sampler) { 61 (struct pipe_sampler_view**)&r300->texkill_sampler, 66 pipe_vertex_buffer_unreference(&r300->dummy_vb); 67 pb_reference(&r300->vbo, NULL); 69 r300->context.delete_depth_stencil_alpha_state(&r300->context, 70 r300->dsa_decompress_zmask) 75 struct r300_context* r300 = r300_context(context); local 268 struct r300_context *r300 = r300_context(pipe); local 374 struct r300_context* r300 = CALLOC_STRUCT(r300_context); local [all...] |
| r300_render_stencilref.c | 49 static boolean r300_stencilref_needed(struct r300_context *r300) 51 struct r300_dsa_state *dsa = (struct r300_dsa_state*)r300->dsa_state.state; 55 r300->stencil_ref.ref_value[0] != r300->stencil_ref.ref_value[1]); 59 static void r300_stencilref_begin(struct r300_context *r300) 61 struct r300_stencilref_context *sr = r300->stencilref_fallback; 62 struct r300_rs_state *rs = (struct r300_rs_state*)r300->rs_state.state; 63 struct r300_dsa_state *dsa = (struct r300_dsa_state*)r300->dsa_state.state; 68 sr->ref_value_front = r300->stencil_ref.ref_value[0]; 73 r300_mark_atom_dirty(r300, &r300->rs_state) 114 struct r300_context *r300 = r300_context(pipe); local [all...] |
| r300_resource.c | 42 void r300_init_resource_functions(struct r300_context *r300) 44 r300->context.buffer_map = r300_buffer_transfer_map; 45 r300->context.texture_map = r300_texture_transfer_map; 46 r300->context.transfer_flush_region = u_default_transfer_flush_region; 47 r300->context.buffer_unmap = r300_buffer_transfer_unmap; 48 r300->context.texture_unmap = r300_texture_transfer_unmap; 49 r300->context.buffer_subdata = u_default_buffer_subdata; 50 r300->context.texture_subdata = u_default_texture_subdata; 51 r300->context.create_surface = r300_create_surface; 52 r300->context.surface_destroy = r300_surface_destroy [all...] |
| r300_blit.c | 53 static void r300_blitter_begin(struct r300_context* r300, enum r300_blitter_op op) 55 if ((op & R300_STOP_QUERY) && r300->query_current) { 56 r300->blitter_saved_query = r300->query_current; 57 r300_stop_query(r300); 63 util_blitter_save_blend(r300->blitter, r300->blend_state.state); 64 util_blitter_save_depth_stencil_alpha(r300->blitter, r300->dsa_state.state); 65 util_blitter_save_stencil_ref(r300->blitter, &(r300->stencil_ref)) 254 struct r300_context* r300 = r300_context(pipe); local 438 struct r300_context *r300 = r300_context(pipe); local 457 struct r300_context *r300 = r300_context(pipe); local 542 struct r300_context *r300 = r300_context(pipe); local 719 struct r300_context *r300 = r300_context(pipe); local 761 struct r300_context *r300 = r300_context(pipe); local 810 struct r300_context *r300 = r300_context(pipe); local [all...] |
| r300_hyperz.c | 34 3. on R300/400, HiZ is disabled if depth test is EQUAL 41 static enum r300_hiz_func r300_get_hiz_func(struct r300_context *r300) 43 struct r300_dsa_state *dsa = r300->dsa_state.state; 63 static unsigned r300_get_sc_hz_max(struct r300_context *r300) 65 struct r300_dsa_state *dsa = r300->dsa_state.state; 71 static boolean r300_is_hiz_func_valid(struct r300_context *r300) 73 struct r300_dsa_state *dsa = r300->dsa_state.state; 76 if (r300->hiz_func == HIZ_FUNC_NONE) 80 if (r300->hiz_func == HIZ_FUNC_MAX && 85 if (r300->hiz_func == HIZ_FUNC_MIN & [all...] |
| r300_vs.h | 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,
|
| r300_render.c | 72 static uint32_t r300_provoking_vertex_fixes(struct r300_context *r300, 75 struct r300_rs_state* rs = (struct r300_rs_state*)r300->rs_state.state; 117 void r500_emit_index_bias(struct r300_context *r300, int index_bias) 119 CS_LOCALS(r300); 127 static void r300_emit_draw_init(struct r300_context *r300, unsigned mode, 130 CS_LOCALS(r300); 136 r300_provoking_vertex_fixes(r300, mode)); 149 static void r300_split_index_bias(struct r300_context *r300, int index_bias, 152 struct pipe_vertex_buffer *vb, *vbufs = r300->vertex_buffer; 153 struct pipe_vertex_element *velem = r300->velems->velem 801 struct r300_context* r300 = r300_context(pipe); local 869 struct r300_context* r300 = r300_context(pipe); local 899 struct r300_context* r300; member in struct:r300_render 921 struct r300_context* r300 = r300render->r300; local 931 struct r300_context* r300 = r300render->r300; local 962 struct r300_context* r300 = r300render->r300; local 975 struct r300_context* r300 = r300render->r300; local 986 struct r300_context* r300 = r300render->r300; local 1008 struct r300_context* r300 = r300render->r300; local 1042 struct r300_context* r300 = r300render->r300; local 1151 struct r300_context *r300 = r300_context(util_blitter_get_pipe(blitter)); local [all...] |
| r300_state.c | 51 * Gallium state objects into semi-native r300 state objects. */ 56 r300_mark_atom_dirty(r300, &(atom)); \ 452 /* Neither fglrx nor classic r300 ever set this, regardless of dithering 528 struct r300_context* r300 = r300_context(pipe); local 530 boolean last_alpha_to_one = r300->alpha_to_one; 531 boolean last_alpha_to_coverage = r300->alpha_to_coverage; 533 UPDATE_STATE(state, r300->blend_state); 538 r300->alpha_to_one = blend->state.alpha_to_one; 539 r300->alpha_to_coverage = blend->state.alpha_to_coverage; 541 if (r300->alpha_to_one != last_alpha_to_one && r300->msaa_enable & 570 struct r300_context* r300 = r300_context(pipe); local 652 struct r300_context* r300 = r300_context(pipe); local 800 struct r300_context* r300 = r300_context(pipe); local 822 struct r300_context* r300 = r300_context(pipe); local 903 struct r300_context* r300 = r300_context(pipe); local 1072 struct r300_context* r300 = r300_context(pipe); local 1333 struct r300_context* r300 = r300_context(pipe); local 1396 struct r300_context* r300 = r300_context(pipe); local 1469 struct r300_context* r300 = r300_context(pipe); local 1525 struct r300_context* r300 = r300_context(pipe); local 1672 struct r300_context* r300 = r300_context(pipe); local 1684 struct r300_context* r300 = r300_context(pipe); local 1697 struct r300_context* r300 = r300_context(pipe); local 1750 struct r300_context* r300 = r300_context(pipe); local 1773 struct r300_context* r300 = r300_context(pipe); local 1885 struct r300_context *r300 = r300_context(pipe); local 1912 struct r300_context* r300 = r300_context(pipe); local 1931 struct r300_context* r300 = r300_context(pipe); local 1970 struct r300_context* r300 = r300_context(pipe); local 1990 struct r300_context* r300 = r300_context(pipe); local 2054 struct r300_context *r300 = r300_context(pipe); local [all...] |
| r300_render_translate.c | 28 void r300_translate_index_buffer(struct r300_context *r300, 40 u_upload_alloc(r300->uploader, 0, count * 2, 4, 44 &r300->context, info, PIPE_MAP_UNSYNCHRONIZED, index_offset, 54 u_upload_alloc(r300->uploader, 0, count * 2, 4, 57 util_rebuild_ushort_elts_to_userptr(&r300->context, info, 69 u_upload_alloc(r300->uploader, 0, count * 4, 4, 72 util_rebuild_uint_elts_to_userptr(&r300->context, info,
|
| r300_query.c | 36 struct r300_context *r300 = r300_context(pipe); local 37 struct r300_screen *r300screen = r300->screen; 62 q->buf = r300->rws->buffer_create(r300->rws, 83 void r300_resume_query(struct r300_context *r300, 86 r300->query_current = query; 87 r300_mark_atom_dirty(r300, &r300->query_start); 93 struct r300_context* r300 = r300_context(pipe); local 99 if (r300->query_current != NULL) 120 struct r300_context* r300 = r300_context(pipe); local 146 struct r300_context* r300 = r300_context(pipe); local 190 struct r300_context *r300 = r300_context(pipe); local [all...] |
| r300_emit.c | 38 void r300_emit_blend_state(struct r300_context* r300, 43 (struct pipe_framebuffer_state*)r300->fb_state.state; 45 CS_LOCALS(r300); 63 void r300_emit_blend_color_state(struct r300_context* r300, 67 CS_LOCALS(r300); 72 void r300_emit_clip_state(struct r300_context* r300, 76 CS_LOCALS(r300); 81 void r300_emit_dsa_state(struct r300_context* r300, unsigned size, void* state) 85 (struct pipe_framebuffer_state*)r300->fb_state.state; 86 boolean is_r500 = r300->screen->caps.is_r500 [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/ |
| r300_flush.c | 37 static void r300_flush_and_cleanup(struct r300_context *r300, unsigned flags, 42 r300_emit_hyperz_end(r300); 43 r300_emit_query_end(r300); 44 if (r300->screen->caps.is_r500) 45 r500_emit_index_bias(r300, 0); 49 CS_LOCALS(r300); 55 r300->flush_counter++; 56 r300->rws->cs_flush(r300->cs, flags, fence); 57 r300->dirty_hw = 0 79 struct r300_context *r300 = r300_context(pipe); local [all...] |
| r300_emit.h | 33 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...] |
| r300_render_stencilref.c | 45 static boolean r300_stencilref_needed(struct r300_context *r300) 47 struct r300_dsa_state *dsa = (struct r300_dsa_state*)r300->dsa_state.state; 51 r300->stencil_ref.ref_value[0] != r300->stencil_ref.ref_value[1]); 55 static void r300_stencilref_begin(struct r300_context *r300) 57 struct r300_stencilref_context *sr = r300->stencilref_fallback; 58 struct r300_rs_state *rs = (struct r300_rs_state*)r300->rs_state.state; 59 struct r300_dsa_state *dsa = (struct r300_dsa_state*)r300->dsa_state.state; 64 sr->ref_value_front = r300->stencil_ref.ref_value[0]; 69 r300_mark_atom_dirty(r300, &r300->rs_state) 106 struct r300_context *r300 = r300_context(pipe); local [all...] |
| r300_context.c | 42 static void r300_release_referenced_objects(struct r300_context *r300) 45 (struct pipe_framebuffer_state*)r300->fb_state.state; 47 (struct r300_textures_state*)r300->textures_state.state; 59 if (r300->texkill_sampler) { 61 (struct pipe_sampler_view**)&r300->texkill_sampler, 66 pipe_vertex_buffer_unreference(&r300->dummy_vb); 67 pb_reference(&r300->vbo, NULL); 69 r300->context.delete_depth_stencil_alpha_state(&r300->context, 70 r300->dsa_decompress_zmask) 75 struct r300_context* r300 = r300_context(context); local 269 struct r300_context *r300 = r300_context(pipe); local 375 struct r300_context* r300 = CALLOC_STRUCT(r300_context); local [all...] |
| r300_blit.c | 53 static void r300_blitter_begin(struct r300_context* r300, enum r300_blitter_op op) 55 if ((op & R300_STOP_QUERY) && r300->query_current) { 56 r300->blitter_saved_query = r300->query_current; 57 r300_stop_query(r300); 63 util_blitter_save_blend(r300->blitter, r300->blend_state.state); 64 util_blitter_save_depth_stencil_alpha(r300->blitter, r300->dsa_state.state); 65 util_blitter_save_stencil_ref(r300->blitter, &(r300->stencil_ref)) 253 struct r300_context* r300 = r300_context(pipe); local 436 struct r300_context *r300 = r300_context(pipe); local 455 struct r300_context *r300 = r300_context(pipe); local 540 struct r300_context *r300 = r300_context(pipe); local 717 struct r300_context *r300 = r300_context(pipe); local 759 struct r300_context *r300 = r300_context(pipe); local 808 struct r300_context *r300 = r300_context(pipe); local [all...] |
| r300_resource.c | 41 void r300_init_resource_functions(struct r300_context *r300) 43 r300->context.transfer_map = u_transfer_map_vtbl; 44 r300->context.transfer_flush_region = u_default_transfer_flush_region; 45 r300->context.transfer_unmap = u_transfer_unmap_vtbl; 46 r300->context.buffer_subdata = u_default_buffer_subdata; 47 r300->context.texture_subdata = u_default_texture_subdata; 48 r300->context.create_surface = r300_create_surface; 49 r300->context.surface_destroy = r300_surface_destroy;
|
| r300_hyperz.c | 34 3. on R300/400, HiZ is disabled if depth test is EQUAL 41 static enum r300_hiz_func r300_get_hiz_func(struct r300_context *r300) 43 struct r300_dsa_state *dsa = r300->dsa_state.state; 63 static unsigned r300_get_sc_hz_max(struct r300_context *r300) 65 struct r300_dsa_state *dsa = r300->dsa_state.state; 71 static boolean r300_is_hiz_func_valid(struct r300_context *r300) 73 struct r300_dsa_state *dsa = r300->dsa_state.state; 76 if (r300->hiz_func == HIZ_FUNC_NONE) 80 if (r300->hiz_func == HIZ_FUNC_MAX && 85 if (r300->hiz_func == HIZ_FUNC_MIN & [all...] |
| r300_vs.h | 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,
|
| r300_render.c | 71 static uint32_t r300_provoking_vertex_fixes(struct r300_context *r300, 74 struct r300_rs_state* rs = (struct r300_rs_state*)r300->rs_state.state; 116 void r500_emit_index_bias(struct r300_context *r300, int index_bias) 118 CS_LOCALS(r300); 126 static void r300_emit_draw_init(struct r300_context *r300, unsigned mode, 129 CS_LOCALS(r300); 135 r300_provoking_vertex_fixes(r300, mode)); 148 static void r300_split_index_bias(struct r300_context *r300, int index_bias, 151 struct pipe_vertex_buffer *vb, *vbufs = r300->vertex_buffer; 152 struct pipe_vertex_element *velem = r300->velems->velem 785 struct r300_context* r300 = r300_context(pipe); local 843 struct r300_context* r300 = r300_context(pipe); local 872 struct r300_context* r300; member in struct:r300_render 894 struct r300_context* r300 = r300render->r300; local 904 struct r300_context* r300 = r300render->r300; local 935 struct r300_context* r300 = r300render->r300; local 948 struct r300_context* r300 = r300render->r300; local 959 struct r300_context* r300 = r300render->r300; local 981 struct r300_context* r300 = r300render->r300; local 1015 struct r300_context* r300 = r300render->r300; local 1124 struct r300_context *r300 = r300_context(util_blitter_get_pipe(blitter)); local [all...] |
| r300_state.c | 50 * Gallium state objects into semi-native r300 state objects. */ 55 r300_mark_atom_dirty(r300, &(atom)); \ 458 /* Neither fglrx nor classic r300 ever set this, regardless of dithering 534 struct r300_context* r300 = r300_context(pipe); local 536 boolean last_alpha_to_one = r300->alpha_to_one; 537 boolean last_alpha_to_coverage = r300->alpha_to_coverage; 539 UPDATE_STATE(state, r300->blend_state); 544 r300->alpha_to_one = blend->state.alpha_to_one; 545 r300->alpha_to_coverage = blend->state.alpha_to_coverage; 547 if (r300->alpha_to_one != last_alpha_to_one && r300->msaa_enable & 576 struct r300_context* r300 = r300_context(pipe); local 658 struct r300_context* r300 = r300_context(pipe); local 806 struct r300_context* r300 = r300_context(pipe); local 828 struct r300_context* r300 = r300_context(pipe); local 909 struct r300_context* r300 = r300_context(pipe); local 1078 struct r300_context* r300 = r300_context(pipe); local 1339 struct r300_context* r300 = r300_context(pipe); local 1402 struct r300_context* r300 = r300_context(pipe); local 1475 struct r300_context* r300 = r300_context(pipe); local 1529 struct r300_context* r300 = r300_context(pipe); local 1667 struct r300_context* r300 = r300_context(pipe); local 1679 struct r300_context* r300 = r300_context(pipe); local 1692 struct r300_context* r300 = r300_context(pipe); local 1743 struct r300_context* r300 = r300_context(pipe); local 1763 struct r300_context* r300 = r300_context(pipe); local 1873 struct r300_context *r300 = r300_context(pipe); local 1900 struct r300_context* r300 = r300_context(pipe); local 1919 struct r300_context* r300 = r300_context(pipe); local 1958 struct r300_context* r300 = r300_context(pipe); local 1977 struct r300_context* r300 = r300_context(pipe); local 2041 struct r300_context *r300 = r300_context(pipe); local [all...] |
| r300_render_translate.c | 28 void r300_translate_index_buffer(struct r300_context *r300, 40 u_upload_alloc(r300->uploader, 0, count * 2, 4, 44 &r300->context, info, PIPE_TRANSFER_UNSYNCHRONIZED, index_offset, 54 u_upload_alloc(r300->uploader, 0, count * 2, 4, 57 util_rebuild_ushort_elts_to_userptr(&r300->context, info, 69 u_upload_alloc(r300->uploader, 0, count * 4, 4, 72 util_rebuild_uint_elts_to_userptr(&r300->context, info,
|
| r300_query.c | 36 struct r300_context *r300 = r300_context(pipe); local 37 struct r300_screen *r300screen = r300->screen; 62 q->buf = r300->rws->buffer_create(r300->rws, 83 void r300_resume_query(struct r300_context *r300, 86 r300->query_current = query; 87 r300_mark_atom_dirty(r300, &r300->query_start); 93 struct r300_context* r300 = r300_context(pipe); local 99 if (r300->query_current != NULL) 120 struct r300_context* r300 = r300_context(pipe); local 146 struct r300_context* r300 = r300_context(pipe); local 190 struct r300_context *r300 = r300_context(pipe); local [all...] |