/external/mesa3d/src/mesa/drivers/dri/intel/ |
D | intel_tex_layout.c | 146 GLuint width = mt->width0; in i945_miptree_layout_2d() 150 mt->total_width = mt->width0; in i945_miptree_layout_2d() 153 mt->total_width = ALIGN(mt->width0, mt->align_w); in i945_miptree_layout_2d() 165 mip1_width = ALIGN(minify(mt->width0), mt->align_w) in i945_miptree_layout_2d() 166 + ALIGN(minify(minify(mt->width0)), mt->align_w); in i945_miptree_layout_2d() 168 mip1_width = ALIGN(minify(mt->width0), mt->align_w) in i945_miptree_layout_2d() 169 + minify(minify(mt->width0)); in i945_miptree_layout_2d()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_tex_layout.c | 146 GLuint width = mt->width0; in i945_miptree_layout_2d() 150 mt->total_width = mt->width0; in i945_miptree_layout_2d() 153 mt->total_width = ALIGN(mt->width0, mt->align_w); in i945_miptree_layout_2d() 165 mip1_width = ALIGN(minify(mt->width0), mt->align_w) in i945_miptree_layout_2d() 166 + ALIGN(minify(minify(mt->width0)), mt->align_w); in i945_miptree_layout_2d() 168 mip1_width = ALIGN(minify(mt->width0), mt->align_w) in i945_miptree_layout_2d() 169 + minify(minify(mt->width0)); in i945_miptree_layout_2d()
|
D | i915_tex_layout.c | 117 const GLuint dim = mt->width0; in i915_miptree_layout_cube() 119 GLuint lvlWidth = mt->width0, lvlHeight = mt->height0; in i915_miptree_layout_cube() 159 GLuint width = mt->width0; in i915_miptree_layout_3d() 166 mt->total_width = mt->width0; in i915_miptree_layout_3d() 202 GLuint width = mt->width0; in i915_miptree_layout_2d() 207 mt->total_width = mt->width0; in i915_miptree_layout_2d() 315 const GLuint dim = mt->width0; in i945_miptree_layout_cube() 317 GLuint lvlWidth = mt->width0, lvlHeight = mt->height0; in i945_miptree_layout_cube() 405 GLuint width = mt->width0; in i945_miptree_layout_3d() 412 mt->total_width = mt->width0; in i945_miptree_layout_3d()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | intel_tex_layout.c | 146 GLuint width = mt->width0; in i945_miptree_layout_2d() 150 mt->total_width = mt->width0; in i945_miptree_layout_2d() 153 mt->total_width = ALIGN(mt->width0, mt->align_w); in i945_miptree_layout_2d() 165 mip1_width = ALIGN(minify(mt->width0), mt->align_w) in i945_miptree_layout_2d() 166 + ALIGN(minify(minify(mt->width0)), mt->align_w); in i945_miptree_layout_2d() 168 mip1_width = ALIGN(minify(mt->width0), mt->align_w) in i945_miptree_layout_2d() 169 + minify(minify(mt->width0)); in i945_miptree_layout_2d()
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_resource_texture.c | 213 if (pt->width0 >= 240) { in i9x5_scanout_layout() 214 tex->stride = align(util_format_get_stride(pt->format, pt->width0), 64); in i9x5_scanout_layout() 218 } else if (pt->width0 == 64 && pt->height0 == 64) { in i9x5_scanout_layout() 219 tex->stride = get_pot_stride(pt->format, pt->width0); in i9x5_scanout_layout() 227 pt->width0, pt->height0, util_format_get_blocksize(pt->format), in i9x5_scanout_layout() 246 if (pt->width0 < 240) in i9x5_display_target_layout() 252 tex->stride = align(util_format_get_stride(pt->format, pt->width0), 64); in i9x5_display_target_layout() 258 pt->width0, pt->height0, util_format_get_blocksize(pt->format), in i9x5_display_target_layout() 298 const unsigned nblocks = util_format_get_nblocksx(pt->format, pt->width0); in i9x5_texture_layout_cube() 302 assert(pt->width0 == pt->height0); /* cubemap images are square */ in i9x5_texture_layout_cube() [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_debug_describe.c | 44 … util_sprintf(buf, "pipe_buffer<%u>", (unsigned)util_format_get_stride(ptr->format, ptr->width0)); in debug_describe_resource() 47 …util_sprintf(buf, "pipe_texture1d<%u,%s,%u>", ptr->width0, util_format_short_name(ptr->format), pt… in debug_describe_resource() 50 …util_sprintf(buf, "pipe_texture2d<%u,%u,%s,%u>", ptr->width0, ptr->height0, util_format_short_name… in debug_describe_resource() 53 …util_sprintf(buf, "pipe_texture_rect<%u,%u,%s>", ptr->width0, ptr->height0, util_format_short_name… in debug_describe_resource() 56 …util_sprintf(buf, "pipe_texture_cube<%u,%u,%s,%u>", ptr->width0, ptr->height0, util_format_short_n… in debug_describe_resource() 59 …util_sprintf(buf, "pipe_texture3d<%u,%u,%u,%s,%u>", ptr->width0, ptr->height0, ptr->depth0, util_f… in debug_describe_resource()
|
D | u_inlines.h | 196 ps->width = u_minify(pt->width0, level); in pipe_surface_reset() 246 buffer.width0 = size; in pipe_buffer_create() 264 assert(offset < buffer->width0); in pipe_buffer_map_range() 265 assert(offset + length <= buffer->width0); in pipe_buffer_map_range() 296 return pipe_buffer_map_range(pipe, buffer, 0, buffer->width0, usage, transfer); in pipe_buffer_map() 344 if (offset == 0 && size == buf->width0) { in pipe_buffer_write() 470 cb.buffer_size = buf->width0; in pipe_set_constant_buffer()
|
/external/mesa3d/src/gallium/drivers/galahad/ |
D | glhd_screen.c | 148 glhd_check("%u", templat->width0, >= 1); in galahad_screen_resource_create() 161 glhd_check("%u", templat->width0, <= (1 << (max_texture_2d_levels - 1))); in galahad_screen_resource_create() 168 glhd_check("%u", templat->width0, <= (1 << (max_texture_2d_levels - 1))); in galahad_screen_resource_create() 175 glhd_check("%u", templat->width0, <= (1 << (max_texture_cube_levels - 1))); in galahad_screen_resource_create() 176 glhd_check("%u", templat->height0, == templat->width0); in galahad_screen_resource_create() 182 glhd_check("%u", templat->width0, <= (1 << (max_texture_2d_levels - 1))); in galahad_screen_resource_create() 189 glhd_check("%u", templat->width0, <= (1 << (max_texture_3d_levels - 1))); in galahad_screen_resource_create() 196 glhd_check("%u", templat->width0, <= (1 << (max_texture_2d_levels - 1))); in galahad_screen_resource_create() 203 glhd_check("%u", templat->width0, <= (1 << (max_texture_2d_levels - 1))); in galahad_screen_resource_create() 213 if(!util_is_power_of_two(templat->width0) || !util_is_power_of_two(templat->height0)) in galahad_screen_resource_create() [all …]
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_texture.c | 59 GLuint width0, in st_texture_create() argument 69 assert(width0 > 0); in st_texture_create() 86 pt.width0 = width0; in st_texture_create() 195 if (ptWidth != u_minify(pt->width0, image->Level) || in st_texture_match_image() 317 u_minify(dst->width0, level), in st_texture_image_data() 325 u_minify(dst->width0, level), in st_texture_image_data() 345 region.x = src->width0 / 2; in print_center_pixel() 374 GLuint width = u_minify(dst->width0, dstLevel); in st_texture_image_copy() 380 if (u_minify(src->width0, srcLevel) != width || in st_texture_image_copy()
|
/external/mesa3d/src/gallium/state_trackers/xorg/ |
D | xorg_renderer.c | 163 s0 = pt0[0] / src->width0; in add_vertex_data1() 164 s1 = pt1[0] / src->width0; in add_vertex_data1() 165 s2 = pt2[0] / src->width0; in add_vertex_data1() 166 s3 = pt3[0] / src->width0; in add_vertex_data1() 253 src_s0 = spt0[0] / src->width0; in add_vertex_data2() 254 src_s1 = spt1[0] / src->width0; in add_vertex_data2() 255 src_s2 = spt2[0] / src->width0; in add_vertex_data2() 256 src_s3 = spt3[0] / src->width0; in add_vertex_data2() 262 mask_s0 = mpt0[0] / mask->width0; in add_vertex_data2() 263 mask_s1 = mpt1[0] / mask->width0; in add_vertex_data2() [all …]
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_texture_desc.c | 101 texdim = u_minify(tex->tex.width0, level); in r300_texture_macro_switch() 137 width = u_minify(tex->tex.width0, level); in r300_texture_get_stride() 268 i, u_minify(tex->tex.width0, i), u_minify(tex->tex.height0, i), in r300_setup_miptree() 277 !util_is_power_of_two(tex->b.b.width0) || in r300_setup_flags() 280 tex->tex.stride_in_bytes_override) != tex->b.b.width0); in r300_setup_flags() 472 tex->b.b.width0, tex->b.b.height0, tex->b.b.depth0, in r300_tex_print_info() 483 tex->b.b.width0 = base->width0; in r300_texture_desc_init() 489 tex->tex.width0 = base->width0; in r300_texture_desc_init() 497 tex->tex.width0 = util_next_power_of_two(tex->tex.width0); in r300_texture_desc_init()
|
/external/mesa3d/src/gallium/state_trackers/clover/core/ |
D | resource.cpp | 107 info.u.buf.last_element = pipe->width0 - 1; in bind_surface() 125 info.width0 = img->width(); in root_resource() 129 info.width0 = obj.size(); in root_resource() 146 box rect { { 0, 0, 0 }, { info.width0, info.height0, info.depth0 } }; in root_resource() 150 rect, data.data(), cpp * info.width0, in root_resource() 151 cpp * info.width0 * info.height0); in root_resource()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_blit.c | 378 info->src.res->width0, info->src.res->height0, in r600_copy_first_sample() 388 unsigned dst_width = u_minify(info->dst.res->width0, info->dst.level); in is_simple_resolve() 394 dst_width == info->src.res->width0 && in is_simple_resolve() 434 templ.width0 = info->src.res->width0; in r600_color_resolve() 562 unsigned width0; member 580 orig->width0 = tex->width0; in r600_compressed_to_blittable() 592 new_width = util_format_get_nblocksx(tex->format, orig->width0); in r600_compressed_to_blittable() 595 tex->width0 = new_width; in r600_compressed_to_blittable() 611 orig->width0 = tex->width0; in r600_subsampled_2x1_32bpp_to_blittable() 618 tex->width0 = util_format_get_nblocksx(orig->format, orig->width0); in r600_subsampled_2x1_32bpp_to_blittable() [all …]
|
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
D | output.c | 77 res_tmpl.width0 = width; in vlVdpOutputSurfaceCreate() 174 *width = vlsurface->sampler_view->texture->width0; in vlVdpOutputSurfaceGetParameters() 322 res_tmpl.width0 = abs(destination_rect->x0-destination_rect->x1); in vlVdpOutputSurfacePutBitsIndexed() 325 res_tmpl.width0 = vlsurface->surface->texture->width0; in vlVdpOutputSurfacePutBitsIndexed() 341 box.width = res->width0; in vlVdpOutputSurfacePutBitsIndexed() 361 res_tmpl.width0 = 1 << util_format_get_component_bits( in vlVdpOutputSurfacePutBitsIndexed() 374 box.width = res->width0; in vlVdpOutputSurfacePutBitsIndexed() 379 util_format_get_stride(colortbl_format, res->width0), 0); in vlVdpOutputSurfacePutBitsIndexed() 458 vtmpl.width = vlsurface->surface->texture->width0; in vlVdpOutputSurfacePutBitsYCbCr() 481 sv->texture->width0, sv->texture->height0, 1 in vlVdpOutputSurfacePutBitsYCbCr()
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
D | xa_renderer.c | 210 s0 = pt0[0] / src->width0; in add_vertex_data1() 211 s1 = pt1[0] / src->width0; in add_vertex_data1() 212 s2 = pt2[0] / src->width0; in add_vertex_data1() 213 s3 = pt3[0] / src->width0; in add_vertex_data1() 262 src_s0 = spt0[0] / src->width0; in add_vertex_data2() 264 src_s1 = spt1[0] / src->width0; in add_vertex_data2() 267 mask_s0 = mpt0[0] / mask->width0; in add_vertex_data2() 269 mask_s1 = mpt1[0] / mask->width0; in add_vertex_data2() 306 s0 = spt0[0] / tex->width0; in setup_vertex_data_yuv() 308 s1 = spt1[0] / tex->width0; in setup_vertex_data_yuv()
|
D | xa_tracker.c | 309 template->width0 = width; in xa_surface_create() 362 if (width == template->width0 && height == template->height0 && in xa_surface_redefine() 387 save_width = template->width0; in xa_surface_redefine() 391 template->width0 = width; in xa_surface_redefine() 397 template->width0 = save_width; in xa_surface_redefine() 406 u_box_origin_2d(xa_min(save_width, template->width0), in xa_surface_redefine()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | r600_blit.c | 259 unsigned width0; member 278 orig->width0 = tex->width0; in r600_compressed_to_blittable() 290 new_width = util_format_get_nblocksx(tex->format, orig->width0); in r600_compressed_to_blittable() 293 tex->width0 = new_width; in r600_compressed_to_blittable() 310 tex->width0 = orig->width0; in r600_reset_blittable_to_compressed() 390 sbox.width = texture->resource.b.b.width0; in r600_blit_push_depth()
|
D | r600_hw_context.c | 296 results_base = (results_base + 16) % query->buffer->b.b.width0; in r600_query_result() 303 results_base = (results_base + 16) % query->buffer->b.b.width0; in r600_query_result() 310 results_base = (results_base + query->result_size) % query->buffer->b.b.width0; in r600_query_result() 323 results_base = (results_base + query->result_size) % query->buffer->b.b.width0; in r600_query_result() 331 results_base = (results_base + query->result_size) % query->buffer->b.b.width0; in r600_query_result() 340 results_base = (results_base + query->result_size) % query->buffer->b.b.width0; in r600_query_result() 348 results_base = (results_base + query->result_size) % query->buffer->b.b.width0; in r600_query_result() 369 new_results_end = (query->results_end + query->result_size) % query->buffer->b.b.width0; in r600_query_begin() 487 query->results_end = (query->results_end + query->result_size) % query->buffer->b.b.width0; in r600_query_end() 509 …count = (query->buffer->b.b.width0 + query->results_end - query->results_start) % query->buffer->b… in r600_query_predication() [all …]
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_texture.c | 59 unsigned width = pt->width0; in softpipe_resource_layout() 106 spr->base.width0, in softpipe_displaytarget_layout() 132 spr->pot = (util_is_power_of_two(templat->width0) && in softpipe_resource_create() 190 spr->pot = (util_is_power_of_two(templat->width0) && in softpipe_resource_from_handle() 273 ps->width = u_minify(pt->width0, level); in softpipe_create_surface() 325 assert(box->x + box->width <= u_minify(resource->width0, level)); in softpipe_get_transfer() 475 spr->base.width0 = bytes; in softpipe_user_buffer_create()
|
/external/mesa3d/src/gallium/drivers/nouveau/ |
D | nouveau_buffer.c | 27 uint32_t size = buf->base.width0; in nouveau_buffer_allocate() 46 buf->data = MALLOC(buf->base.width0); in nouveau_buffer_allocate() 143 nv->push_cb(nv, buf->bo, buf->domain, buf->offset, buf->base.width0, in nouveau_buffer_upload() 165 if (start == 0 && size == buf->base.width0) in nouveau_buffer_upload() 190 nouveau_buffer_download(nv, buf, 0, buf->base.width0); in nouveau_buffer_transfer_get() 320 nouveau_buffer_download(nv, res, 0, res->base.width0); in nouveau_resource_map_offset() 422 buffer->base.width0 = bytes; in nouveau_user_buffer_create() 457 unsigned size = buf->base.width0; in nouveau_buffer_migrate() 490 bo, offset, old_domain, buf->base.width0); in nouveau_buffer_migrate() 499 if (!nouveau_buffer_upload(nv, buf, 0, buf->base.width0)) in nouveau_buffer_migrate() [all …]
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_resource_buffer.c | 178 (sbuf->b.b.width0 + 1023)/1024); in svga_buffer_get_transfer() 181 sbuf->swbuf = align_malloc(sbuf->b.b.width0, 16); in svga_buffer_get_transfer() 278 svga_buffer_add_range(sbuf, 0, sbuf->b.b.width0); in svga_buffer_transfer_unmap() 359 sbuf->swbuf = align_malloc(template->width0, 64); in svga_buffer_create() 393 sbuf->b.b.width0 = bytes; in svga_user_buffer_create()
|
D | svga_sampler_view.c | 123 pt->width0, in svga_get_tex_sampler_view() 138 pt->width0, in svga_get_tex_sampler_view() 195 u_minify(tex->b.b.width0, i), in svga_validate_sampler_view()
|
D | svga_resource_buffer_upload.c | 105 unsigned size = sbuf->b.b.width0; in svga_buffer_create_hw_storage() 134 sbuf->key.size.width = sbuf->b.b.width0; in svga_buffer_create_host_surface() 142 SVGA_DBG(DEBUG_DMA, "surface_create for buffer sz %d\n", sbuf->b.b.width0); in svga_buffer_create_host_surface() 154 SVGA_DBG(DEBUG_DMA, " --> got sid %p sz %d (buffer)\n", sbuf->handle, sbuf->b.b.width0); in svga_buffer_create_host_surface() 166 SVGA_DBG(DEBUG_DMA, " ungrab sid %p sz %d\n", sbuf->handle, sbuf->b.b.width0); in svga_buffer_destroy_host_surface() 231 pSuffix->maximumOffset = sbuf->b.b.width0; in svga_buffer_upload_command() 438 memcpy(map, sbuf->swbuf, sbuf->b.b.width0); in svga_buffer_update_hw()
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_mipmap_tree.h | 74 GLuint width0; /** Width of baseLevel image */ member 105 GLuint width0, GLuint height0, GLuint depth0, GLuint tilebits);
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_mipmap_tree.h | 74 GLuint width0; /** Width of baseLevel image */ member 105 GLuint width0, GLuint height0, GLuint depth0, GLuint tilebits);
|