Home
last modified time | relevance | path

Searched refs:r300_resource (Results 1 – 15 of 15) sorted by relevance

/external/mesa3d/src/gallium/drivers/r300/
Dr300_transfer.c40 struct r300_resource *linear_texture;
87 struct r300_resource *tex = r300_resource(texture); in r300_texture_get_transfer()
150 trans->linear_texture = r300_resource( in r300_texture_get_transfer()
159 trans->linear_texture = r300_resource( in r300_texture_get_transfer()
231 struct r300_resource *tex = r300_resource(transfer->resource); in r300_texture_transfer_map()
259 struct r300_resource *tex = r300_resource(transfer->resource); in r300_texture_transfer_unmap()
Dr300_screen_buffer.c56 struct r300_resource *rbuf = r300_resource(buf); in r300_buffer_destroy()
106 struct r300_resource *rbuf = r300_resource(transfer->resource); in r300_buffer_transfer_map()
150 struct r300_resource *rbuf; in r300_buffer_create()
153 rbuf = MALLOC_STRUCT(r300_resource); in r300_buffer_create()
Dr300_texture_desc.h33 struct r300_resource;
47 struct r300_resource *tex,
50 unsigned r300_texture_get_offset(struct r300_resource *tex,
Dr300_texture_desc.c91 static boolean r300_texture_macro_switch(struct r300_resource *tex, in r300_texture_macro_switch()
119 struct r300_resource *tex, in r300_texture_get_stride()
155 static unsigned r300_texture_get_nblocksy(struct r300_resource *tex, in r300_texture_get_nblocksy()
217 struct r300_resource *tex, in r300_setup_miptree()
274 static void r300_setup_flags(struct r300_resource *tex) in r300_setup_flags()
289 struct r300_resource *tex) in r300_setup_cbzb_flags()
319 struct r300_resource *tex) in r300_setup_hyperz_properties()
419 struct r300_resource *tex) in r300_setup_tiling()
462 static void r300_tex_print_info(struct r300_resource *tex, in r300_tex_print_info()
478 struct r300_resource *tex, in r300_texture_desc_init()
[all …]
Dr300_emit.c103 struct r300_resource *tex; in get_rc_constant_state()
115 tex = r300_resource(texstate->sampler_views[constant->u.State[1]]->base.texture); in get_rc_constant_state()
123 tex = r300_resource(texstate->sampler_views[constant->u.State[1]]->base.texture); in get_rc_constant_state()
791 struct r300_resource *tex; in r300_emit_textures_state()
802 tex = r300_resource(allstate->sampler_views[i]->base.texture); in r300_emit_textures_state()
830 struct r300_resource *buf; in r300_emit_vertex_arrays()
866 buf = r300_resource(vbuf[velem[i].vertex_buffer_index].buffer); in r300_emit_vertex_arrays()
918 buf = r300_resource(vbuf[velem[i].vertex_buffer_index].buffer); in r300_emit_vertex_arrays()
946 OUT_CS_RELOC(r300_resource(r300->vbo)); in r300_emit_vertex_arrays_swtcl()
1115 struct r300_resource* tex; in r300_emit_hiz_clear()
[all …]
Dr300_texture.c801 struct r300_resource *tex, in r300_texture_setup_format_state()
886 struct r300_resource *tex = r300_resource(surf->base.texture); in r300_texture_setup_fb_state()
915 struct r300_resource* tex = (struct r300_resource*)texture; in r300_texture_destroy()
926 struct r300_resource* tex = (struct r300_resource*)texture; in r300_resource_get_handle()
949 static struct r300_resource*
958 struct r300_resource *tex = CALLOC_STRUCT(r300_resource); in r300_texture_create_object()
1078 struct r300_resource* tex = r300_resource(texture); in r300_create_surface_custom()
Dr300_texture.h35 struct r300_resource;
56 struct r300_resource *tex,
Dr300_blit.c138 return r300_resource(fb->zsbuf->texture)->tex.zmask_dwords[fb->zsbuf->u.tex.level] != 0; in r300_fast_zclear_allowed()
146 return r300_resource(fb->zsbuf->texture)->tex.hiz_dwords[fb->zsbuf->u.tex.level] != 0; in r300_hiz_clear_allowed()
459 unsigned src_width0 = r300_resource(src)->tex.width0; in r300_resource_copy_region()
460 unsigned src_height0 = r300_resource(src)->tex.height0; in r300_resource_copy_region()
461 unsigned dst_width0 = r300_resource(dst)->tex.width0; in r300_resource_copy_region()
462 unsigned dst_height0 = r300_resource(dst)->tex.height0; in r300_resource_copy_region()
Dr300_state.c759 struct r300_resource *tex, in r300_tex_set_tiling_flags()
784 r300_resource(state->cbufs[i]->texture), in r300_fb_set_tiling_flags()
789 r300_resource(state->zsbuf->texture), in r300_fb_set_tiling_flags()
798 struct r300_resource *rtex = r300_resource(tex); in r300_print_fb_surf_info()
1459 struct r300_resource *texture; in r300_set_fragment_sampler_views()
1488 texture = r300_resource(views[i]->texture); in r300_set_fragment_sampler_views()
1523 struct r300_resource *tex = r300_resource(texture); in r300_create_sampler_view_custom()
1573 r300_resource(texture)->tex.width0, in r300_create_sampler_view()
1574 r300_resource(texture)->tex.height0); in r300_create_sampler_view()
1684 r300_resource(buffers[i].buffer)->malloced_buffer); in r300_set_vertex_buffers_swtcl()
[all …]
Dr300_context.h395 struct r300_resource struct
644 static INLINE struct r300_resource* r300_resource(struct pipe_resource* tex) in r300_resource() function
646 return (struct r300_resource*)tex; in r300_resource()
Dr300_hyperz.c138 struct r300_resource *zstex = in r300_update_hyperz()
139 fb->zsbuf ? r300_resource(fb->zsbuf->texture) : NULL; in r300_update_hyperz()
DMakefile.sources14 r300_resource.c \
Dr300_render.c376 r300_resource(vbuf->buffer)->cs_buf, in r300_draw_arrays_immediate()
404 r300->rws->buffer_unmap(r300_resource(r300->vertex_buffer[vbi].buffer)->cs_buf); in r300_draw_arrays_immediate()
504 OUT_CS_RELOC(r300_resource(indexBuffer)); in r300_emit_draw_elements()
619 uint16_t *ptr = r300->rws->buffer_map(r300_resource(orgIndexBuffer)->cs_buf, in r300_draw_elements()
633 r300->rws->buffer_unmap(r300_resource(orgIndexBuffer)->cs_buf); in r300_draw_elements()
Dr300_fs.c155 struct r300_resource *t; in get_external_state()
161 t = r300_resource(v->base.texture); in get_external_state()
Dr300_state_derived.c749 struct r300_resource *tex; in r300_merge_textures_and_samplers()
768 tex = r300_resource(view->base.texture); in r300_merge_textures_and_samplers()