Home
last modified time | relevance | path

Searched refs:nr_samples (Results 1 – 25 of 56) sorted by relevance

123

/external/mesa3d/src/gallium/drivers/r300/
Dr300_texture_desc.c98 tile = r300_get_pixel_alignment(tex->b.b.format, tex->b.b.nr_samples, in r300_texture_macro_switch()
141 tex->b.b.nr_samples, in r300_texture_get_stride()
173 tex->b.b.nr_samples, in r300_texture_get_nblocksy()
251 if (base->nr_samples) { in r300_setup_miptree()
252 layer_size *= base->nr_samples; in r300_setup_miptree()
300 first_level_valid = tex->b.b.nr_samples <= 1 && in r300_setup_cbzb_flags()
378 tex->b.b.nr_samples <= 1 ? 8 : 4; in r300_setup_hyperz_properties()
488 tex->b.b.nr_samples = base->nr_samples; in r300_texture_desc_init()
Dr300_blit.c488 src->nr_samples, in r300_resource_copy_region()
491 dst->nr_samples, in r300_resource_copy_region()
557 dst->target, dst->nr_samples, in r300_resource_copy_region()
560 src->target, src->nr_samples, in r300_resource_copy_region()
/external/mesa3d/src/gallium/auxiliary/util/
Du_inlines.h568 unsigned nr_samples) in util_pipe_tex_to_tgsi_tex() argument
572 assert(nr_samples <= 1); in util_pipe_tex_to_tgsi_tex()
576 return nr_samples > 1 ? TGSI_TEXTURE_2D_MSAA : TGSI_TEXTURE_2D; in util_pipe_tex_to_tgsi_tex()
579 assert(nr_samples <= 1); in util_pipe_tex_to_tgsi_tex()
583 assert(nr_samples <= 1); in util_pipe_tex_to_tgsi_tex()
587 assert(nr_samples <= 1); in util_pipe_tex_to_tgsi_tex()
591 assert(nr_samples <= 1); in util_pipe_tex_to_tgsi_tex()
595 return nr_samples > 1 ? TGSI_TEXTURE_2D_ARRAY_MSAA : in util_pipe_tex_to_tgsi_tex()
Du_blitter.c562 tex->nr_samples <= 1; in get_texcoords()
689 if (tex->nr_samples > 1) { in blitter_get_fs_texfetch_col()
695 tex->nr_samples); in blitter_get_fs_texfetch_col()
725 if (tex->nr_samples > 1) { in blitter_get_fs_texfetch_depth()
731 tex->nr_samples); in blitter_get_fs_texfetch_depth()
762 if (tex->nr_samples > 1) { in blitter_get_fs_texfetch_depthstencil()
768 tex->nr_samples); in blitter_get_fs_texfetch_depthstencil()
799 if (tex->nr_samples > 1) { in blitter_get_fs_texfetch_stencil()
805 tex->nr_samples); in blitter_get_fs_texfetch_stencil()
1054 dst->nr_samples, bind)) { in util_blitter_is_copy_supported()
[all …]
Du_staging.c46 template->nr_samples = pt->nr_samples; in util_staging_resource_template()
Du_blit.c485 src_tex->nr_samples == dst->texture->nr_samples && in util_blit_pixels()
511 assert(src_tex->nr_samples <= 1); in util_blit_pixels()
512 if (src_tex->nr_samples > 1) { in util_blit_pixels()
647 ctx->internal_target, sampler_view->texture->nr_samples, in util_blit_pixels()
650 dst_surface->texture->nr_samples, in util_blit_pixels()
855 dst->texture->nr_samples, in util_blit_pixels_tex()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_msaa.c46 sample_count = framebuffer->zsbuf->texture->nr_samples; in update_sample_mask()
48 sample_count = framebuffer->cbufs[0]->texture->nr_samples; in update_sample_mask()
/external/fio/
Diolog.c567 l->nr_samples = 0; in setup_log()
630 uint64_t i, nr_samples; in flush_samples() local
638 nr_samples = sample_size / __log_entry_sz(log_offset); in flush_samples()
640 for (i = 0; i < nr_samples; i++) { in flush_samples()
666 uint64_t nr_samples; member
951 flush_samples(f, log->log, log->nr_samples * log_entry_sz(log)); in flush_log()
1012 stream.avail_in = data->nr_samples * log_entry_sz(data->log); in gz_work()
1101 sample_size = log->nr_samples * log_entry_sz(log); in iolog_flush()
1109 data->nr_samples = log->nr_samples; in iolog_flush()
1111 log->nr_samples = 0; in iolog_flush()
Dclient.c1230 uint32_t nr_samples; in convert_iolog_gz() local
1246 nr_samples = le64_to_cpu(pdu->nr_samples); in convert_iolog_gz()
1248 total = nr_samples * __log_entry_sz(le32_to_cpu(pdu->log_offset)); in convert_iolog_gz()
1250 ret->nr_samples = nr_samples; in convert_iolog_gz()
1318 ret->nr_samples = le64_to_cpu(ret->nr_samples); in convert_iolog()
1325 for (i = 0; i < ret->nr_samples; i++) { in convert_iolog()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_texture.c102 surface->nsamples = ptex->nr_samples ? ptex->nr_samples : 1; in r600_init_surface()
258 unsigned nr_samples, in r600_texture_get_fmask_info() argument
265 switch (nr_samples) { in r600_texture_get_fmask_info()
293 fmask.bankh = nr_samples <= 4 ? 4 : 1; in r600_texture_get_fmask_info()
313 rtex->resource.b.b.nr_samples, &fmask); in r600_texture_allocate_fmask()
413 if (base->nr_samples > 1 && !rtex->is_depth && alloc_bo) { in r600_texture_create_object()
418 if (!rtex->is_depth && base->nr_samples > 1 && in r600_texture_create_object()
579 resource.nr_samples = texture->nr_samples; in r600_init_flushed_depth_texture()
673 resource.nr_samples = 0; in r600_texture_get_transfer()
Devergreen_state.c158 static unsigned r600_tex_dim(unsigned dim, unsigned nr_samples) in r600_tex_dim() argument
168 return nr_samples > 1 ? V_030000_SQ_TEX_DIM_2D_MSAA : in r600_tex_dim()
171 return nr_samples > 1 ? V_030000_SQ_TEX_DIM_2D_ARRAY_MSAA : in r600_tex_dim()
1075 view->tex_resource_words[0] = (S_030000_DIM(r600_tex_dim(texture->target, texture->nr_samples)) | in evergreen_create_sampler_view()
1086 if (state->u.tex.last_level && texture->nr_samples <= 1) { in evergreen_create_sampler_view()
1096 if (texture->nr_samples > 1) { in evergreen_create_sampler_view()
1097 unsigned log_samples = util_logbase2(texture->nr_samples); in evergreen_create_sampler_view()
1323 if (rctx->chip_class == CAYMAN && rtex->resource.b.b.nr_samples > 1) { in evergreen_init_color_surface()
1324 unsigned log_samples = util_logbase2(rtex->resource.b.b.nr_samples); in evergreen_init_color_surface()
1483 if (rscreen->chip_class == CAYMAN && rtex->resource.b.b.nr_samples > 1) { in evergreen_init_depth_surface()
[all …]
Dr600_state.c102 static unsigned r600_tex_dim(unsigned dim, unsigned nr_samples) in r600_tex_dim() argument
112 return nr_samples > 1 ? V_038000_SQ_TEX_DIM_2D_MSAA : in r600_tex_dim()
115 return nr_samples > 1 ? V_038000_SQ_TEX_DIM_2D_ARRAY_MSAA : in r600_tex_dim()
1086 view->tex_resource_words[0] = (S_038000_DIM(r600_tex_dim(texture->target, texture->nr_samples)) | in r600_create_sampler_view()
1107 if (texture->nr_samples > 1) { in r600_create_sampler_view()
1109 view->tex_resource_words[5] |= S_038014_LAST_LEVEL(util_logbase2(texture->nr_samples)); in r600_create_sampler_view()
1588 uint32_t tl, br, i, nr_samples, max_dist; in r600_set_framebuffer_state() local
1590 state->cbufs[0]->texture->nr_samples > 1 && in r600_set_framebuffer_state()
1591 state->cbufs[1]->texture->nr_samples <= 1; in r600_set_framebuffer_state()
1715 nr_samples = state->cbufs[0]->texture->nr_samples; in r600_set_framebuffer_state()
[all …]
Dr600_blit.c127 return r->nr_samples ? r->nr_samples - 1 : 0; in u_max_sample()
417 rctx->chip_class == CAYMAN ? ~0 : ((1ull << MAX2(1, info->src.res->nr_samples)) - 1); in r600_color_resolve()
439 templ.nr_samples = 0; in r600_color_resolve()
473 assert(info->src.res->nr_samples > 1); in r600_resource_resolve()
474 assert(info->dst.res->nr_samples <= 1); in r600_resource_resolve()
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_jpx_opj.cpp491 cmsUInt32Number nr_samples = max * 3 * sizeof(unsigned char); in color_apply_icc_profile() local
492 in = inbuf = FX_Alloc(unsigned char, nr_samples); in color_apply_icc_profile()
493 out = outbuf = FX_Alloc(unsigned char, nr_samples); in color_apply_icc_profile()
516 cmsUInt32Number nr_samples = max * 3 * sizeof(unsigned short); in color_apply_icc_profile() local
517 in = inbuf = FX_Alloc(unsigned short, nr_samples); in color_apply_icc_profile()
518 out = outbuf = FX_Alloc(unsigned short, nr_samples); in color_apply_icc_profile()
542 cmsUInt32Number nr_samples = in color_apply_icc_profile() local
544 in = inbuf = FX_Alloc(unsigned char, nr_samples); in color_apply_icc_profile()
545 out = outbuf = FX_Alloc(unsigned char, nr_samples); in color_apply_icc_profile()
/external/mesa3d/src/gallium/auxiliary/rbug/
Drbug_texture.h108 uint32_t nr_samples; member
177 uint32_t nr_samples,
Drbug_texture.c294 uint32_t nr_samples, in rbug_send_texture_info_reply() argument
336 WRITE(4, uint32_t, nr_samples); /* nr_samples */ in rbug_send_texture_info_reply()
587 READ(4, uint32_t, nr_samples); /* nr_samples */ in rbug_demarshal_texture_info_reply()
/external/mesa3d/src/gallium/drivers/nvc0/
Dnvc0_miptree.c62 const unsigned ms = util_logbase2(mt->base.base.nr_samples); in nvc0_mt_choose_storage_type()
157 switch (mt->base.base.nr_samples) { in nvc0_miptree_init_ms_mode()
177 NOUVEAU_ERR("invalid nr_samples: %u\n", mt->base.base.nr_samples); in nvc0_miptree_init_ms_mode()
/external/mesa3d/src/gallium/tests/graw/
Dgraw_util.h78 resource_temp.nr_samples = 1; in graw_util_create_window()
111 resource_temp.nr_samples = 1; in graw_util_create_window()
236 temp.nr_samples = 1; in graw_util_create_tex2d()
Dfs-test.c124 templat.nr_samples = 1; in init_fs_constbuf()
346 templat.nr_samples = 1; in init_tex()
459 templat.nr_samples = 1; in init()
Dvs-test.c92 templat.nr_samples = 1; in init_fs_constbuf()
297 templat.nr_samples = 1; in init_tex()
410 templat.nr_samples = 1; in init()
Dgs-test.c161 templat.nr_samples = 1; in init_fs_constbuf()
410 templat.nr_samples = 1; in init_tex()
523 templat.nr_samples = 1; in init()
Dquad-sample.c219 templat.nr_samples = 1; in init_tex()
332 templat.nr_samples = 1; in init()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dr600_texture.c198 res->nr_samples, in permit_hardware_blit()
205 res->nr_samples, in permit_hardware_blit()
338 resource.nr_samples = 0; in si_texture_get_transfer()
643 resource.nr_samples = texture->nr_samples; in r600_texture_depth_flush()
/external/kernel-headers/original/uapi/drm/
Dvirtgpu_drm.h80 uint32_t nr_samples; member
/external/libdrm/include/drm/
Dvirtgpu_drm.h80 uint32_t nr_samples; member

123