Searched refs:rtex (Results 1 - 11 of 11) sorted by relevance

/external/mesa3d/src/gallium/drivers/r600/
H A Dr600_texture.c61 unsigned r600_texture_get_offset(struct r600_texture *rtex, argument
64 return rtex->surface.level[level].offset +
65 layer * rtex->surface.level[level].slice_size;
161 struct r600_texture *rtex,
164 struct pipe_resource *ptex = &rtex->resource.b.b;
169 r = rscreen->ws->surface_init(rscreen->ws, &rtex->surface);
173 rtex->size = rtex->surface.bo_size;
174 if (pitch_in_bytes_override && pitch_in_bytes_override != rtex->surface.level[0].pitch_bytes) {
178 rtex
160 r600_setup_surface(struct pipe_screen *screen, struct r600_texture *rtex, unsigned pitch_in_bytes_override) argument
209 struct r600_texture *rtex = (struct r600_texture*)ptex; local
233 struct r600_texture *rtex = (struct r600_texture*)ptex; local
256 r600_texture_get_fmask_info(struct r600_screen *rscreen, struct r600_texture *rtex, unsigned nr_samples, struct r600_fmask_info *out) argument
307 r600_texture_allocate_fmask(struct r600_screen *rscreen, struct r600_texture *rtex) argument
326 r600_texture_get_cmask_info(struct r600_screen *rscreen, struct r600_texture *rtex, struct r600_cmask_info *out) argument
359 r600_texture_allocate_cmask(struct r600_screen *rscreen, struct r600_texture *rtex) argument
386 struct r600_texture *rtex; local
490 struct r600_texture *rtex = (struct r600_texture*)texture; local
564 struct r600_texture *rtex = (struct r600_texture*)texture; local
604 struct r600_texture *rtex = (struct r600_texture*)texture; local
716 struct r600_texture *rtex = (struct r600_texture*)texture; local
742 struct r600_texture *rtex = local
[all...]
H A Dr600_blit.c256 struct r600_texture *rtex,
265 if (!rtex->dirty_level_mask)
269 if (!(rtex->dirty_level_mask & (1 << level)))
274 max_layer = u_max_layer(&rtex->resource.b.b, level);
280 surf_tmpl.format = rtex->resource.b.b.format;
285 cbsurf = ctx->create_surface(ctx, &rtex->resource.b.b, &surf_tmpl);
298 rtex->dirty_level_mask &= ~(1 << level);
574 struct r600_texture *rtex = (struct r600_texture*)tex; local
575 unsigned pixsize = util_format_get_blocksize(rtex->resource.b.b.format);
582 orig->npix0_x = rtex
255 r600_blit_decompress_color(struct pipe_context *ctx, struct r600_texture *rtex, unsigned first_level, unsigned last_level, unsigned first_layer, unsigned last_layer) argument
608 struct r600_texture *rtex = (struct r600_texture*)tex; local
629 struct r600_texture *rtex = (struct r600_texture*)tex; local
646 struct r600_texture *rtex = (struct r600_texture*)tex; local
[all...]
H A Dr600_resource.h123 struct r600_texture *rtex,
127 struct r600_texture *rtex,
H A Dr600_state.c1259 struct r600_texture *rtex = (struct r600_texture*)surf->base.texture; local
1269 if (rtex->is_depth && !rtex->is_flushing_texture) {
1271 rtex = rtex->flushed_depth_texture;
1272 assert(rtex);
1275 offset = rtex->surface.level[level].offset;
1276 if (rtex->surface.level[level].mode < RADEON_SURF_MODE_1D) {
1277 offset += rtex->surface.level[level].slice_size *
1280 pitch = rtex
1479 struct r600_texture *rtex = (struct r600_texture*)surf->base.texture; local
1587 struct r600_texture *rtex; local
[all...]
H A Devergreen_state.c1243 struct r600_texture *rtex = (struct r600_texture*)surf->base.texture; local
1255 if (rtex->is_depth && !rtex->is_flushing_texture) {
1257 rtex = rtex->flushed_depth_texture;
1258 assert(rtex);
1261 offset = rtex->surface.level[level].offset;
1262 if (rtex->surface.level[level].mode < RADEON_SURF_MODE_1D) {
1263 offset += rtex->surface.level[level].slice_size *
1266 pitch = (rtex
1438 struct r600_texture *rtex = (struct r600_texture*)surf->base.texture; local
1699 struct r600_texture *rtex; local
[all...]
H A Dr600_state_common.c627 struct r600_texture *rtex = local
630 if (rtex->is_depth && !rtex->is_flushing_texture) {
637 if (rctx->chip_class != CAYMAN && rtex->cmask_size && rtex->fmask_size) {
1290 struct r600_texture *rtex = (struct r600_texture *)surf->texture; local
1292 rtex->dirty_level_mask |= 1 << surf->u.tex.level;
1296 struct r600_texture *rtex; local
1302 rtex = (struct r600_texture*)surf->texture;
1304 rtex
[all...]
H A Dr600_pipe.h585 unsigned r600_texture_get_offset(struct r600_texture *rtex,
/external/mesa3d/src/gallium/drivers/radeonsi/
H A Dr600_texture.c69 static unsigned r600_texture_get_offset(struct r600_resource_texture *rtex, argument
72 return rtex->surface.level[level].offset +
73 layer * rtex->surface.level[level].slice_size;
148 struct r600_resource_texture *rtex,
155 if (util_format_is_depth_or_stencil(rtex->real_format)) {
156 rtex->surface.flags |= RADEON_SURF_ZBUFFER;
157 rtex->surface.flags |= RADEON_SURF_SBUFFER;
160 r = rscreen->ws->surface_init(rscreen->ws, &rtex->surface);
164 if (pitch_in_bytes_override && pitch_in_bytes_override != rtex->surface.level[0].pitch_bytes) {
168 rtex
147 r600_setup_surface(struct pipe_screen *screen, struct r600_resource_texture *rtex, unsigned array_mode, unsigned pitch_in_bytes_override) argument
223 struct r600_resource_texture *rtex = (struct r600_resource_texture*)ptex; local
247 struct r600_resource_texture *rtex = (struct r600_resource_texture*)ptex; local
270 struct r600_resource_texture *rtex = (struct r600_resource_texture*)texture; local
381 struct r600_resource_texture *rtex = (struct r600_resource_texture*)texture; local
412 struct r600_resource_texture *rtex = (struct r600_resource_texture*)transfer->resource; local
441 struct r600_resource_texture *rtex = (struct r600_resource_texture*)transfer->resource; local
474 struct r600_resource_texture *rtex; local
554 struct r600_resource_texture *rtex = (struct r600_resource_texture*)texture; local
630 struct r600_resource_texture *rtex = (struct r600_resource_texture*)texture; local
[all...]
H A Dr600_blit.c271 struct r600_resource_texture *rtex = (struct r600_resource_texture*)tex; local
273 unsigned pixsize = util_format_get_blocksize(rtex->real_format);
280 orig->npix0_x = rtex->surface.level[0].npix_x;
281 orig->npix0_y = rtex->surface.level[0].npix_y;
282 orig->npix_x = rtex->surface.level[level].npix_x;
283 orig->npix_y = rtex->surface.level[level].npix_y;
296 rtex->surface.level[0].npix_x = util_format_get_nblocksx(orig->format, orig->npix0_x);
297 rtex->surface.level[0].npix_y = util_format_get_nblocksy(orig->format, orig->npix0_y);
298 rtex->surface.level[level].npix_x = util_format_get_nblocksx(orig->format, orig->npix_x);
299 rtex
306 struct r600_resource_texture *rtex = (struct r600_resource_texture*)tex; local
[all...]
H A Dsi_state.c1447 struct r600_resource_texture *rtex; local
1461 rtex = (struct r600_resource_texture*)state->cbufs[cb]->texture;
1462 blocksize = util_format_get_blocksize(rtex->real_format);
1464 if (rtex->depth)
1467 if (rtex->depth && !rtex->is_flushing_texture) {
1469 rtex = rtex->flushed_depth_texture;
1472 offset = rtex->surface.level[level].offset;
1473 if (rtex
1615 struct r600_resource_texture *rtex; local
[all...]
/external/mesa3d/src/gallium/drivers/r300/
H A Dr300_state.c798 struct r300_resource *rtex = r300_resource(tex); local
811 rtex->tex.macrotile[0] ? "YES" : " NO",
812 rtex->tex.microtile ? "YES" : " NO",

Completed in 643 milliseconds