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_screen_buffer.c56 struct r300_resource *rbuf = r300_resource(buf); in r300_buffer_destroy()
76 struct r300_resource *rbuf = r300_resource(resource); in r300_buffer_transfer_map()
161 struct r300_resource *rbuf; in r300_buffer_create()
163 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.c83 static boolean r300_texture_macro_switch(struct r300_resource *tex, in r300_texture_macro_switch()
115 struct r300_resource *tex, in r300_texture_get_stride()
151 static unsigned r300_texture_get_nblocksy(struct r300_resource *tex, in r300_texture_get_nblocksy()
213 struct r300_resource *tex, in r300_setup_miptree()
270 static void r300_setup_flags(struct r300_resource *tex) in r300_setup_flags()
285 struct r300_resource *tex) in r300_setup_cbzb_flags()
315 struct r300_resource *tex) in r300_setup_hyperz_properties()
415 struct r300_resource *tex) in r300_setup_cmask_properties()
468 struct r300_resource *tex) in r300_setup_tiling()
524 static void r300_tex_print_info(struct r300_resource *tex, in r300_tex_print_info()
[all …]
Dr300_emit.c124 struct r300_resource *tex; in get_rc_constant_state()
136 tex = r300_resource(texstate->sampler_views[constant->u.State[1]]->base.texture); in get_rc_constant_state()
144 tex = r300_resource(texstate->sampler_views[constant->u.State[1]]->base.texture); in get_rc_constant_state()
894 struct r300_resource *tex; in r300_emit_textures_state()
905 tex = r300_resource(allstate->sampler_views[i]->base.texture); in r300_emit_textures_state()
933 struct r300_resource *buf; in r300_emit_vertex_arrays()
969 buf = r300_resource(vbuf[velem[i].vertex_buffer_index].buffer); in r300_emit_vertex_arrays()
1021 buf = r300_resource(vbuf[velem[i].vertex_buffer_index].buffer); in r300_emit_vertex_arrays()
1222 struct r300_resource* tex; in r300_emit_hiz_clear()
1225 tex = r300_resource(fb->zsbuf->texture); in r300_emit_hiz_clear()
[all …]
Dr300_transfer.c40 struct r300_resource *linear_texture;
111 struct r300_resource *tex = r300_resource(texture); in r300_texture_transfer_map()
167 trans->linear_texture = r300_resource( in r300_texture_transfer_map()
176 trans->linear_texture = r300_resource( in r300_texture_transfer_map()
Dr300_texture.c909 struct r300_resource *tex, in r300_texture_setup_format_state()
995 struct r300_resource *tex = r300_resource(surf->base.texture); in r300_texture_setup_fb_state()
1030 struct r300_resource* tex = (struct r300_resource*)texture; in r300_texture_destroy()
1050 struct r300_resource* tex = (struct r300_resource*)texture; in r300_resource_get_handle()
1070 static struct r300_resource*
1079 struct r300_resource *tex = NULL; in r300_texture_create_object()
1082 tex = CALLOC_STRUCT(r300_resource); in r300_texture_create_object()
1223 struct r300_resource* tex = r300_resource(texture); in r300_create_surface_custom()
Dr300_texture.h36 struct r300_resource;
57 struct r300_resource *tex,
Dr300_blit.c145 return r300_resource(fb->zsbuf->texture)->tex.zmask_dwords[fb->zsbuf->u.tex.level] != 0; in r300_fast_zclear_allowed()
153 return r300_resource(fb->zsbuf->texture)->tex.hiz_dwords[fb->zsbuf->u.tex.level] != 0; in r300_hiz_clear_allowed()
317 r300_resource(fb->cbufs[0]->texture)->tex.cmask_dwords) { in r300_clear()
543 unsigned src_width0 = r300_resource(src)->tex.width0; in r300_resource_copy_region()
544 unsigned src_height0 = r300_resource(src)->tex.height0; in r300_resource_copy_region()
545 unsigned dst_width0 = r300_resource(dst)->tex.width0; in r300_resource_copy_region()
546 unsigned dst_height0 = r300_resource(dst)->tex.height0; in r300_resource_copy_region()
704 (r300_resource(info->dst.resource)->tex.microtile != RADEON_LAYOUT_LINEAR || in r300_is_simple_msaa_resolve()
705r300_resource(info->dst.resource)->tex.macrotile[info->dst.level] != RADEON_LAYOUT_LINEAR); in r300_is_simple_msaa_resolve()
Dr300_context.h390 struct r300_resource struct
658 static inline struct r300_resource* r300_resource(struct pipe_resource* tex) in r300_resource() function
660 return (struct r300_resource*)tex; in r300_resource()
Dr300_state.c841 struct r300_resource *rtex = r300_resource(tex); in r300_print_fb_surf_info()
1533 struct r300_resource *texture; in r300_set_sampler_views()
1567 texture = r300_resource(views[i]->texture); in r300_set_sampler_views()
1602 struct r300_resource *tex = r300_resource(texture); in r300_create_sampler_view_custom()
1652 r300_resource(texture)->tex.width0, in r300_create_sampler_view()
1653 r300_resource(texture)->tex.height0); in r300_create_sampler_view()
1781 r300_resource(buffers[i].buffer)->malloced_buffer, ~0); in r300_set_vertex_buffers_swtcl()
1809 buf = r300_resource(ib->buffer)->malloced_buffer; in r300_set_index_buffer_swtcl()
2031 struct r300_resource *rbuf = r300_resource(cb->buffer); in r300_set_constant_buffer()
Dr300_hyperz.c138 struct r300_resource *zstex = in r300_update_hyperz()
139 fb->zsbuf ? r300_resource(fb->zsbuf->texture) : NULL; in r300_update_hyperz()
Dr300_render.c376 r300_resource(vbuf->buffer)->buf, in r300_draw_arrays_immediate()
494 OUT_CS_RELOC(r300_resource(indexBuffer)); in r300_emit_draw_elements()
609 uint16_t *ptr = r300->rws->buffer_map(r300_resource(orgIndexBuffer)->buf, in r300_draw_elements()
1040 OUT_CS_RELOC(r300_resource(index_buffer)); in r300_render_draw_elements()
DMakefile.sources23 r300_resource.c \
Dr300_fs.c157 struct r300_resource *t; in get_external_state()
163 t = r300_resource(v->base.texture); in get_external_state()
Dr300_state_derived.c794 struct r300_resource *tex; in r300_merge_textures_and_samplers()
813 tex = r300_resource(view->base.texture); in r300_merge_textures_and_samplers()