/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/ |
r300_flush.c | 37 static void r300_flush_and_cleanup(struct r300_context *r300, unsigned flags) 41 r300_emit_hyperz_end(r300); 42 r300_emit_query_end(r300); 43 if (r300->screen->caps.is_r500) 44 r500_emit_index_bias(r300, 0); 46 r300->flush_counter++; 47 r300->rws->cs_flush(r300->cs, flags); 48 r300->dirty_hw = 0; 51 foreach_atom(r300, atom) 70 struct r300_context *r300 = r300_context(pipe); local [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_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 | 39 static void r300_release_referenced_objects(struct r300_context *r300) 42 (struct pipe_framebuffer_state*)r300->fb_state.state; 44 (struct r300_textures_state*)r300->textures_state.state; 56 if (r300->texkill_sampler) { 58 (struct pipe_sampler_view**)&r300->texkill_sampler, 63 pipe_resource_reference(&r300->dummy_vb.buffer, NULL); 64 pipe_resource_reference(&r300->vbo, NULL); 66 r300->context.delete_depth_stencil_alpha_state(&r300->context, 67 r300->dsa_decompress_zmask) 72 struct r300_context* r300 = r300_context(context); local 254 struct r300_context *r300 = r300_context(pipe); local 354 struct r300_context* r300 = CALLOC_STRUCT(r300_context); local [all...] |
r300_blit.c | 48 static void r300_blitter_begin(struct r300_context* r300, enum r300_blitter_op op) 50 if ((op & R300_STOP_QUERY) && r300->query_current) { 51 r300->blitter_saved_query = r300->query_current; 52 r300_stop_query(r300); 58 util_blitter_save_blend(r300->blitter, r300->blend_state.state); 59 util_blitter_save_depth_stencil_alpha(r300->blitter, r300->dsa_state.state); 60 util_blitter_save_stencil_ref(r300->blitter, &(r300->stencil_ref)) 224 struct r300_context* r300 = r300_context(pipe); local 355 struct r300_context *r300 = r300_context(pipe); local 372 struct r300_context *r300 = r300_context(pipe); local 456 struct r300_context *r300 = r300_context(pipe); local [all...] |
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 795 struct r300_context* r300 = r300_context(pipe); local 857 struct r300_context* r300 = r300_context(pipe); local 884 struct r300_context* r300; member in struct:r300_render 908 struct r300_context* r300 = r300render->r300; local 918 struct r300_context* r300 = r300render->r300; local 943 struct r300_context* r300 = r300render->r300; local 966 struct r300_context* r300 = r300render->r300; local 982 struct r300_context* r300 = r300render->r300; local 1004 struct r300_context* r300 = r300render->r300; local 1043 struct r300_context* r300 = r300render->r300; local 1181 struct r300_context *r300 = r300_context(util_blitter_get_pipe(blitter)); local 1261 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.get_transfer = u_get_transfer_vtbl; 44 r300->context.transfer_map = u_transfer_map_vtbl; 45 r300->context.transfer_flush_region = u_default_transfer_flush_region; 46 r300->context.transfer_unmap = u_transfer_unmap_vtbl; 47 r300->context.transfer_destroy = u_transfer_destroy_vtbl; 48 r300->context.transfer_inline_write = u_default_transfer_inline_write; 49 r300->context.create_surface = r300_create_surface; 50 r300->context.surface_destroy = r300_surface_destroy;
|
r300_query.c | 35 struct r300_context *r300 = r300_context(pipe); local 36 struct r300_screen *r300screen = r300->screen; 60 q->buf = r300->rws->buffer_create(r300->rws, 4096, 4096, 66 q->cs_buf = r300->rws->buffer_get_cs_handle(q->buf); 80 void r300_resume_query(struct r300_context *r300, 83 r300->query_current = query; 84 r300_mark_atom_dirty(r300, &r300->query_start); 90 struct r300_context* r300 = r300_context(pipe) local 116 struct r300_context* r300 = r300_context(pipe); local 140 struct r300_context* r300 = r300_context(pipe); local 183 struct r300_context *r300 = r300_context(pipe); local [all...] |
r300_hyperz.c | 35 3. on R300/400, HiZ is disabled if depth test is EQUAL 42 static enum r300_hiz_func r300_get_hiz_func(struct r300_context *r300) 44 struct r300_dsa_state *dsa = r300->dsa_state.state; 64 static unsigned r300_get_sc_hz_max(struct r300_context *r300) 66 struct r300_dsa_state *dsa = r300->dsa_state.state; 72 static boolean r300_is_hiz_func_valid(struct r300_context *r300) 74 struct r300_dsa_state *dsa = r300->dsa_state.state; 77 if (r300->hiz_func == HIZ_FUNC_NONE) 81 if (r300->hiz_func == HIZ_FUNC_MAX && 86 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_translate.c | 28 void r300_translate_index_buffer(struct r300_context *r300, 40 u_upload_alloc(r300->uploader, 0, count * 2, 44 &r300->context, ib, index_offset, 54 u_upload_alloc(r300->uploader, 0, count * 2, 57 util_rebuild_ushort_elts_to_userptr(&r300->context, ib, 68 u_upload_alloc(r300->uploader, 0, count * 4, 71 util_rebuild_uint_elts_to_userptr(&r300->context, ib,
|
r300_state.c | 50 * Gallium state objects into semi-native r300 state objects. */ 55 r300_mark_atom_dirty(r300, &(atom)); \ 379 /* Neither fglrx nor classic r300 ever set this, regardless of dithering 441 struct r300_context* r300 = r300_context(pipe); local 443 UPDATE_STATE(state, r300->blend_state); 460 * Setup both R300 and R500 registers, figure out later which one to write. */ 464 struct r300_context* r300 = r300_context(pipe); local 465 struct pipe_framebuffer_state *fb = r300->fb_state.state; 467 (struct r300_blend_color_state*)r300->blend_color_state.state; 508 if (r300->screen->caps.is_r500) 543 struct r300_context* r300 = r300_context(pipe); local 728 struct r300_context* r300 = r300_context(pipe); local 750 struct r300_context* r300 = r300_context(pipe); local 862 struct r300_context* r300 = r300_context(pipe); local 1028 struct r300_context* r300 = r300_context(pipe); local 1291 struct r300_context* r300 = r300_context(pipe); local 1329 struct r300_context* r300 = r300_context(pipe); local 1401 struct r300_context* r300 = r300_context(pipe); local 1456 struct r300_context* r300 = r300_context(pipe); local 1589 struct r300_context* r300 = r300_context(pipe); local 1600 struct r300_context* r300 = r300_context(pipe); local 1651 struct r300_context* r300 = r300_context(pipe); local 1670 struct r300_context* r300 = r300_context(pipe); local 1692 struct r300_context* r300 = r300_context(pipe); local 1705 struct r300_context* r300 = r300_context(pipe); local 1808 struct r300_context *r300 = r300_context(pipe); local 1835 struct r300_context* r300 = r300_context(pipe); local 1854 struct r300_context* r300 = r300_context(pipe); local 1893 struct r300_context* r300 = r300_context(pipe); local 1913 struct r300_context* r300 = r300_context(pipe); local 1977 struct r300_context *r300 = r300_context(pipe); local [all...] |
r300_emit.c | 39 void r300_emit_blend_state(struct r300_context* r300, 44 (struct pipe_framebuffer_state*)r300->fb_state.state; 45 CS_LOCALS(r300); 59 void r300_emit_blend_color_state(struct r300_context* r300, 63 CS_LOCALS(r300); 68 void r300_emit_clip_state(struct r300_context* r300, 72 CS_LOCALS(r300); 77 void r300_emit_dsa_state(struct r300_context* r300, unsigned size, void* state) 81 (struct pipe_framebuffer_state*)r300->fb_state.state; 82 CS_LOCALS(r300); [all...] |
/external/mesa3d/src/gallium/drivers/r300/ |
r300_flush.c | 37 static void r300_flush_and_cleanup(struct r300_context *r300, unsigned flags) 41 r300_emit_hyperz_end(r300); 42 r300_emit_query_end(r300); 43 if (r300->screen->caps.is_r500) 44 r500_emit_index_bias(r300, 0); 46 r300->flush_counter++; 47 r300->rws->cs_flush(r300->cs, flags); 48 r300->dirty_hw = 0; 51 foreach_atom(r300, atom) 70 struct r300_context *r300 = r300_context(pipe); local [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_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 | 39 static void r300_release_referenced_objects(struct r300_context *r300) 42 (struct pipe_framebuffer_state*)r300->fb_state.state; 44 (struct r300_textures_state*)r300->textures_state.state; 56 if (r300->texkill_sampler) { 58 (struct pipe_sampler_view**)&r300->texkill_sampler, 63 pipe_resource_reference(&r300->dummy_vb.buffer, NULL); 64 pipe_resource_reference(&r300->vbo, NULL); 66 r300->context.delete_depth_stencil_alpha_state(&r300->context, 67 r300->dsa_decompress_zmask) 72 struct r300_context* r300 = r300_context(context); local 254 struct r300_context *r300 = r300_context(pipe); local 354 struct r300_context* r300 = CALLOC_STRUCT(r300_context); local [all...] |
r300_blit.c | 48 static void r300_blitter_begin(struct r300_context* r300, enum r300_blitter_op op) 50 if ((op & R300_STOP_QUERY) && r300->query_current) { 51 r300->blitter_saved_query = r300->query_current; 52 r300_stop_query(r300); 58 util_blitter_save_blend(r300->blitter, r300->blend_state.state); 59 util_blitter_save_depth_stencil_alpha(r300->blitter, r300->dsa_state.state); 60 util_blitter_save_stencil_ref(r300->blitter, &(r300->stencil_ref)) 224 struct r300_context* r300 = r300_context(pipe); local 355 struct r300_context *r300 = r300_context(pipe); local 372 struct r300_context *r300 = r300_context(pipe); local 456 struct r300_context *r300 = r300_context(pipe); local [all...] |
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 795 struct r300_context* r300 = r300_context(pipe); local 857 struct r300_context* r300 = r300_context(pipe); local 884 struct r300_context* r300; member in struct:r300_render 908 struct r300_context* r300 = r300render->r300; local 918 struct r300_context* r300 = r300render->r300; local 943 struct r300_context* r300 = r300render->r300; local 966 struct r300_context* r300 = r300render->r300; local 982 struct r300_context* r300 = r300render->r300; local 1004 struct r300_context* r300 = r300render->r300; local 1043 struct r300_context* r300 = r300render->r300; local 1181 struct r300_context *r300 = r300_context(util_blitter_get_pipe(blitter)); local 1261 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.get_transfer = u_get_transfer_vtbl; 44 r300->context.transfer_map = u_transfer_map_vtbl; 45 r300->context.transfer_flush_region = u_default_transfer_flush_region; 46 r300->context.transfer_unmap = u_transfer_unmap_vtbl; 47 r300->context.transfer_destroy = u_transfer_destroy_vtbl; 48 r300->context.transfer_inline_write = u_default_transfer_inline_write; 49 r300->context.create_surface = r300_create_surface; 50 r300->context.surface_destroy = r300_surface_destroy;
|
r300_query.c | 35 struct r300_context *r300 = r300_context(pipe); local 36 struct r300_screen *r300screen = r300->screen; 60 q->buf = r300->rws->buffer_create(r300->rws, 4096, 4096, 66 q->cs_buf = r300->rws->buffer_get_cs_handle(q->buf); 80 void r300_resume_query(struct r300_context *r300, 83 r300->query_current = query; 84 r300_mark_atom_dirty(r300, &r300->query_start); 90 struct r300_context* r300 = r300_context(pipe) local 116 struct r300_context* r300 = r300_context(pipe); local 140 struct r300_context* r300 = r300_context(pipe); local 183 struct r300_context *r300 = r300_context(pipe); local [all...] |
r300_hyperz.c | 35 3. on R300/400, HiZ is disabled if depth test is EQUAL 42 static enum r300_hiz_func r300_get_hiz_func(struct r300_context *r300) 44 struct r300_dsa_state *dsa = r300->dsa_state.state; 64 static unsigned r300_get_sc_hz_max(struct r300_context *r300) 66 struct r300_dsa_state *dsa = r300->dsa_state.state; 72 static boolean r300_is_hiz_func_valid(struct r300_context *r300) 74 struct r300_dsa_state *dsa = r300->dsa_state.state; 77 if (r300->hiz_func == HIZ_FUNC_NONE) 81 if (r300->hiz_func == HIZ_FUNC_MAX && 86 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_translate.c | 28 void r300_translate_index_buffer(struct r300_context *r300, 40 u_upload_alloc(r300->uploader, 0, count * 2, 44 &r300->context, ib, index_offset, 54 u_upload_alloc(r300->uploader, 0, count * 2, 57 util_rebuild_ushort_elts_to_userptr(&r300->context, ib, 68 u_upload_alloc(r300->uploader, 0, count * 4, 71 util_rebuild_uint_elts_to_userptr(&r300->context, ib,
|
r300_state.c | 50 * Gallium state objects into semi-native r300 state objects. */ 55 r300_mark_atom_dirty(r300, &(atom)); \ 379 /* Neither fglrx nor classic r300 ever set this, regardless of dithering 441 struct r300_context* r300 = r300_context(pipe); local 443 UPDATE_STATE(state, r300->blend_state); 460 * Setup both R300 and R500 registers, figure out later which one to write. */ 464 struct r300_context* r300 = r300_context(pipe); local 465 struct pipe_framebuffer_state *fb = r300->fb_state.state; 467 (struct r300_blend_color_state*)r300->blend_color_state.state; 508 if (r300->screen->caps.is_r500) 543 struct r300_context* r300 = r300_context(pipe); local 728 struct r300_context* r300 = r300_context(pipe); local 750 struct r300_context* r300 = r300_context(pipe); local 862 struct r300_context* r300 = r300_context(pipe); local 1028 struct r300_context* r300 = r300_context(pipe); local 1291 struct r300_context* r300 = r300_context(pipe); local 1329 struct r300_context* r300 = r300_context(pipe); local 1401 struct r300_context* r300 = r300_context(pipe); local 1456 struct r300_context* r300 = r300_context(pipe); local 1589 struct r300_context* r300 = r300_context(pipe); local 1600 struct r300_context* r300 = r300_context(pipe); local 1651 struct r300_context* r300 = r300_context(pipe); local 1670 struct r300_context* r300 = r300_context(pipe); local 1692 struct r300_context* r300 = r300_context(pipe); local 1705 struct r300_context* r300 = r300_context(pipe); local 1808 struct r300_context *r300 = r300_context(pipe); local 1835 struct r300_context* r300 = r300_context(pipe); local 1854 struct r300_context* r300 = r300_context(pipe); local 1893 struct r300_context* r300 = r300_context(pipe); local 1913 struct r300_context* r300 = r300_context(pipe); local 1977 struct r300_context *r300 = r300_context(pipe); local [all...] |