/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_texture_desc.c | 98 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()
|
D | r300_blit.c | 488 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/ |
D | u_inlines.h | 568 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()
|
D | u_blitter.c | 562 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 …]
|
D | u_staging.c | 46 template->nr_samples = pt->nr_samples; in util_staging_resource_template()
|
D | u_blit.c | 485 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/ |
D | st_atom_msaa.c | 46 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/ |
D | iolog.c | 567 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()
|
D | client.c | 1230 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/ |
D | r600_texture.c | 102 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()
|
D | evergreen_state.c | 158 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 …]
|
D | r600_state.c | 102 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 …]
|
D | r600_blit.c | 127 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/ |
D | fx_codec_jpx_opj.cpp | 491 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/ |
D | rbug_texture.h | 108 uint32_t nr_samples; member 177 uint32_t nr_samples,
|
D | rbug_texture.c | 294 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/ |
D | nvc0_miptree.c | 62 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/ |
D | graw_util.h | 78 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()
|
D | fs-test.c | 124 templat.nr_samples = 1; in init_fs_constbuf() 346 templat.nr_samples = 1; in init_tex() 459 templat.nr_samples = 1; in init()
|
D | vs-test.c | 92 templat.nr_samples = 1; in init_fs_constbuf() 297 templat.nr_samples = 1; in init_tex() 410 templat.nr_samples = 1; in init()
|
D | gs-test.c | 161 templat.nr_samples = 1; in init_fs_constbuf() 410 templat.nr_samples = 1; in init_tex() 523 templat.nr_samples = 1; in init()
|
D | quad-sample.c | 219 templat.nr_samples = 1; in init_tex() 332 templat.nr_samples = 1; in init()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | r600_texture.c | 198 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/ |
D | virtgpu_drm.h | 80 uint32_t nr_samples; member
|
/external/libdrm/include/drm/ |
D | virtgpu_drm.h | 80 uint32_t nr_samples; member
|