| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| H A D | texcompress_cpal.c | 113 int lvl; local in function:_mesa_cpal_compressed_size 125 for (lvl = 0; lvl < num_levels; lvl++) { 126 w = width >> lvl; 129 h = height >> lvl; 154 GLint lvl, num_levels; local in function:_mesa_cpal_compressed_teximage2d 174 for (lvl = 0; lvl < num_levels; lvl [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| H A D | texcompress_cpal.c | 113 int lvl; local in function:_mesa_cpal_compressed_size 125 for (lvl = 0; lvl < num_levels; lvl++) { 126 w = width >> lvl; 129 h = height >> lvl; 154 GLint lvl, num_levels; local in function:_mesa_cpal_compressed_teximage2d 174 for (lvl = 0; lvl < num_levels; lvl [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/freedreno/ir3/ |
| H A D | ir3_print.c | 141 tab(int lvl) argument 143 for (int i = 0; i < lvl; i++) 148 print_instr(struct ir3_instruction *instr, int lvl) argument 152 tab(lvl); 214 print_block(struct ir3_block *block, int lvl) argument 216 tab(lvl); printf("block%u {\n", block_id(block)); 219 tab(lvl+1); 230 print_instr(instr, lvl+1); 233 tab(lvl+1); printf("/* keeps:\n"); 235 print_instr(block->keeps[i], lvl [all...] |
| /xsrc/external/mit/MesaLib/dist/src/freedreno/decode/ |
| H A D | pgmdump2.c | 63 int lvl; member in struct:state 90 printf("%s%12s:\t0x%x\n", tab(state->lvl), #field, s->field); \ 97 printf("%s%12s:\t%u\n", tab(state->lvl), #field, s->field); \ 104 printf("%s%12s:\t%f (0x%0x)\n", tab(state->lvl), #field, uif(s->field), \ 112 printf("%s%12s:\t%c%u.%c\n", tab(state->lvl), #field, type, \ 120 printf("%s%12s:\t%s\n", tab(state->lvl), #field, s->field); \ 137 state->lvl++; \ 139 state->lvl--; \ 157 printf("%s %04x:\t%08x", tab(state->lvl), start + i * 4, d); 332 state->lvl [all...] |
| H A D | cffdec.h | 82 void printl(int lvl, const char *fmt, ...);
|
| /xsrc/external/mit/xf86-input-ws/dist/src/ |
| H A D | ws.h | 25 # define DBG(lvl, f) { if ((lvl) <= ws_debug_level) f;} 27 # define DBG(lvl, f)
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a3xx/ |
| H A D | fd3_texture.c | 217 unsigned lvl; local in function:fd3_sampler_view_create 241 lvl = 0; 249 lvl = fd_sampler_first_level(cso); 250 miplevels = fd_sampler_last_level(cso) - lvl; 255 A3XX_TEX_CONST_1_WIDTH(u_minify(prsc->width0, lvl)) | 256 A3XX_TEX_CONST_1_HEIGHT(u_minify(prsc->height0, lvl)); 260 A3XX_TEX_CONST_2_PITCH(fd3_pipe2nblocksx(cso->format, rsc->slices[lvl].pitch) * rsc->cpp); 270 A3XX_TEX_CONST_3_DEPTH(u_minify(prsc->depth0, lvl)) | 271 A3XX_TEX_CONST_3_LAYERSZ1(rsc->slices[lvl].size0); 272 while (lvl < cs [all...] |
| /xsrc/external/mit/mesa-demos/dist/src/tests/ |
| H A D | blitfb.c | 166 GLuint w, h, lvl; local in function:InitFBOs 173 lvl = 0; 174 for (lvl = 0; ; lvl++) { 178 glTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X + f, lvl, GL_RGBA8, 184 glTexImage2D(SrcTexFace, lvl, GL_RGBA8, w, h, 0, 205 lvl = 0; 206 for (lvl = 0; ; lvl++) { 207 glTexImage2D(DstTexFace, lvl, GL_RGBA [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a4xx/ |
| H A D | fd4_texture.c | 157 unsigned lvl, layers = 0; local in function:fd4_sampler_view_create 187 lvl = 0; 195 lvl = fd_sampler_first_level(cso); 196 miplevels = fd_sampler_last_level(cso) - lvl; 200 so->texconst1 = A4XX_TEX_CONST_1_WIDTH(u_minify(prsc->width0, lvl)) | 201 A4XX_TEX_CONST_1_HEIGHT(u_minify(prsc->height0, lvl)); 203 A4XX_TEX_CONST_2_PITCH(fd_resource_pitch(rsc, lvl)); 204 so->offset = fd_resource_offset(rsc, lvl, cso->u.tex.first_layer); 232 A4XX_TEX_CONST_3_DEPTH(u_minify(prsc->depth0, lvl)) | 233 A4XX_TEX_CONST_3_LAYERSZ(fd_resource_slice(rsc, lvl) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a5xx/ |
| H A D | fd5_texture.c | 141 unsigned lvl, layers = 0; local in function:fd5_sampler_view_create 184 lvl = 0; 192 lvl = fd_sampler_first_level(cso); 193 miplevels = fd_sampler_last_level(cso) - lvl; 197 so->texconst1 = A5XX_TEX_CONST_1_WIDTH(u_minify(prsc->width0, lvl)) | 198 A5XX_TEX_CONST_1_HEIGHT(u_minify(prsc->height0, lvl)); 200 A5XX_TEX_CONST_2_PITCH(fd_resource_pitch(rsc, lvl)); 201 so->offset = fd_resource_offset(rsc, lvl, cso->u.tex.first_layer); 227 A5XX_TEX_CONST_3_ARRAY_PITCH(fd_resource_slice(rsc, lvl)->size0); 228 so->texconst5 = A5XX_TEX_CONST_5_DEPTH(u_minify(prsc->depth0, lvl)); [all...] |
| H A D | fd5_image.c | 99 unsigned lvl = pimg->u.tex.level; local in function:translate_image 100 img->offset = fd_resource_offset(rsc, lvl, pimg->u.tex.first_layer); 101 img->pitch = fd_resource_pitch(rsc, lvl); 103 img->width = u_minify(prsc->width0, lvl); 104 img->height = u_minify(prsc->height0, lvl); 126 img->array_pitch = fd_resource_slice(rsc, lvl)->size0; 127 img->depth = u_minify(prsc->depth0, lvl);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a4xx/ |
| H A D | fd4_texture.c | 226 unsigned lvl, layers; local in function:fd4_sampler_view_create 258 lvl = 0; 269 lvl = fd_sampler_first_level(cso); 270 miplevels = fd_sampler_last_level(cso) - lvl; 275 A4XX_TEX_CONST_1_WIDTH(u_minify(prsc->width0, lvl)) | 276 A4XX_TEX_CONST_1_HEIGHT(u_minify(prsc->height0, lvl)); 281 format, rsc->slices[lvl].pitch) * rsc->cpp); 282 so->offset = fd_resource_offset(rsc, lvl, cso->u.tex.first_layer); 312 A4XX_TEX_CONST_3_DEPTH(u_minify(prsc->depth0, lvl)) | 313 A4XX_TEX_CONST_3_LAYERSZ(rsc->slices[lvl] [all...] |
| /xsrc/external/mit/libdrm/dist/nouveau/ |
| H A D | private.h | 21 #define dbg_on(lvl) (nouveau_debug & (1 << lvl)) 22 #define dbg(lvl, fmt, args...) do { \ 23 if (dbg_on((lvl))) \
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a5xx/ |
| H A D | fd5_image.c | 65 unsigned lvl; local in function:translate_image 81 lvl = 0; 85 lvl = pimg->u.tex.level; 86 img->offset = fd_resource_offset(rsc, lvl, pimg->u.tex.first_layer); 87 img->pitch = rsc->slices[lvl].pitch * rsc->cpp; 90 img->width = u_minify(prsc->width0, lvl); 91 img->height = u_minify(prsc->height0, lvl); 113 img->array_pitch = rsc->slices[lvl].size0; 114 img->depth = u_minify(prsc->depth0, lvl);
|
| H A D | fd5_texture.c | 202 unsigned lvl, layers; local in function:fd5_sampler_view_create 246 lvl = 0; 257 lvl = fd_sampler_first_level(cso); 258 miplevels = fd_sampler_last_level(cso) - lvl; 263 A5XX_TEX_CONST_1_WIDTH(u_minify(prsc->width0, lvl)) | 264 A5XX_TEX_CONST_1_HEIGHT(u_minify(prsc->height0, lvl)); 269 format, rsc->slices[lvl].pitch) * rsc->cpp); 270 so->offset = fd_resource_offset(rsc, lvl, cso->u.tex.first_layer); 300 A5XX_TEX_CONST_3_ARRAY_PITCH(rsc->slices[lvl].size0); 302 A5XX_TEX_CONST_5_DEPTH(u_minify(prsc->depth0, lvl)); [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a3xx/ |
| H A D | fd3_texture.c | 154 unsigned lvl; local in function:fd3_sampler_view_create 177 lvl = 0; 185 lvl = fd_sampler_first_level(cso); 186 miplevels = fd_sampler_last_level(cso) - lvl; 190 A3XX_TEX_CONST_1_WIDTH(u_minify(prsc->width0, lvl)) | 191 A3XX_TEX_CONST_1_HEIGHT(u_minify(prsc->height0, lvl)); 194 struct fdl_slice *slice = fd_resource_slice(rsc, lvl); 195 so->texconst2 = A3XX_TEX_CONST_2_PITCH(fd_resource_pitch(rsc, lvl)); 203 so->texconst3 = A3XX_TEX_CONST_3_DEPTH(u_minify(prsc->depth0, lvl)) |
|
| /xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/ |
| H A D | ir3_print.c | 297 tab(struct log_stream *stream, int lvl) argument 299 for (int i = 0; i < lvl; i++) 304 print_instr(struct log_stream *stream, struct ir3_instruction *instr, int lvl) argument 306 tab(stream, lvl); 436 print_block(struct ir3_block *block, int lvl) argument 440 tab(stream, lvl); 444 tab(stream, lvl + 1); 456 tab(stream, lvl + 1); 468 print_instr(stream, instr, lvl + 1); 471 tab(stream, lvl [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a6xx/ |
| H A D | fd6_texture.c | 216 unsigned lvl, layers = 0; local in function:fd6_sampler_view_update 232 lvl = 0; 240 lvl = fd_sampler_first_level(cso); 241 miplevels = fd_sampler_last_level(cso) - lvl; 245 so->texconst1 = A6XX_TEX_CONST_1_WIDTH(u_minify(prsc->width0, lvl)) | 246 A6XX_TEX_CONST_1_HEIGHT(u_minify(prsc->height0, lvl)); 248 A6XX_TEX_CONST_2_PITCH(fd_resource_pitch(rsc, lvl)); 250 ubwc_enabled = fd_resource_ubwc_enabled(rsc, lvl); 260 A6XX_TEX_CONST_6_PLANE_PITCH(fd_resource_pitch(next, lvl)); 267 fd_resource_ubwc_offset(rsc, lvl, cs [all...] |
| H A D | fd6_image.c | 99 unsigned lvl = pimg->u.tex.level; local in function:translate_image 103 fd_resource_ubwc_offset(rsc, lvl, pimg->u.tex.first_layer); 104 img->offset = fd_resource_offset(rsc, lvl, pimg->u.tex.first_layer); 105 img->pitch = fd_resource_pitch(rsc, lvl); 124 img->array_pitch = fd_resource_slice(rsc, lvl)->size0; 125 img->depth = u_minify(prsc->depth0, lvl); 131 img->level = lvl; 132 img->width = u_minify(prsc->width0, lvl); 133 img->height = u_minify(prsc->height0, lvl);
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/radeon/ |
| H A D | radeon_mipmap_tree.c | 129 radeon_mipmap_level *lvl = &mt->levels[level]; local in function:compute_tex_image_offset 132 height = _mesa_next_pow_two_32(lvl->height); 134 lvl->rowstride = get_texture_image_row_stride(rmesa, mt->mesaFormat, lvl->width, mt->tilebits, mt->target); 135 lvl->size = get_texture_image_size(mt->mesaFormat, lvl->rowstride, height, lvl->depth, mt->tilebits); 137 assert(lvl->size > 0); 139 lvl->faces[face].offset = *curOffset; 140 *curOffset += lvl 293 radeon_mipmap_level *lvl; local in function:radeon_miptree_matches_image [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/radeon/ |
| H A D | radeon_mipmap_tree.c | 130 radeon_mipmap_level *lvl = &mt->levels[level]; local in function:compute_tex_image_offset 133 height = util_next_power_of_two(lvl->height); 135 lvl->rowstride = get_texture_image_row_stride(rmesa, mt->mesaFormat, lvl->width, mt->tilebits, mt->target); 136 lvl->size = get_texture_image_size(mt->mesaFormat, lvl->rowstride, height, lvl->depth, mt->tilebits); 138 assert(lvl->size > 0); 140 lvl->faces[face].offset = *curOffset; 141 *curOffset += lvl 294 radeon_mipmap_level *lvl; local in function:radeon_miptree_matches_image [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a6xx/ |
| H A D | fd6_texture.c | 223 unsigned lvl, layers; local in function:fd6_sampler_view_create 243 lvl = 0; 254 lvl = fd_sampler_first_level(cso); 255 miplevels = fd_sampler_last_level(cso) - lvl; 260 A6XX_TEX_CONST_1_WIDTH(u_minify(prsc->width0, lvl)) | 261 A6XX_TEX_CONST_1_HEIGHT(u_minify(prsc->height0, lvl)); 266 format, rsc->slices[lvl].pitch) * rsc->cpp); 267 so->offset = fd_resource_offset(rsc, lvl, cso->u.tex.first_layer); 268 so->ubwc_offset = fd_resource_ubwc_offset(rsc, lvl, cso->u.tex.first_layer); 269 so->ubwc_enabled = fd_resource_ubwc_enabled(rsc, lvl); [all...] |
| H A D | fd6_image.c | 96 unsigned lvl = pimg->u.tex.level; local in function:translate_image 99 img->ubwc_offset = fd_resource_ubwc_offset(rsc, lvl, pimg->u.tex.first_layer); 100 img->offset = fd_resource_offset(rsc, lvl, pimg->u.tex.first_layer); 101 img->pitch = rsc->slices[lvl].pitch * rsc->cpp; 120 img->array_pitch = rsc->slices[lvl].size0; 121 img->depth = u_minify(prsc->depth0, lvl); 127 img->level = lvl; 128 img->width = u_minify(prsc->width0, lvl); 129 img->height = u_minify(prsc->height0, lvl);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nv50/ |
| H A D | nv50_compute.c | 355 struct nv50_miptree_level *lvl = &mt->level[view->u.tex.level]; local in function:nv50_set_surface_info 357 NV50_TILE_SIZE_Y(lvl->tile_mode)); 363 info[4] = mt->layer_stride / lvl->pitch; 367 info[8] = NV50_TILE_SHIFT_X(lvl->tile_mode); 368 info[9] = NV50_TILE_SHIFT_Y(lvl->tile_mode); 369 info[10] = NV50_TILE_SHIFT_Z(lvl->tile_mode); 427 struct nv50_miptree_level *lvl = &mt->level[view->u.tex.level]; local in function:nv50_compute_validate_surfaces 438 address += lvl->offset; 448 const unsigned tsy = NV50_TILE_SIZE_Y(lvl->tile_mode); 449 const unsigned tsz = NV50_TILE_SIZE_Z(lvl [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nvc0/ |
| H A D | nvc0_miptree.c | 210 struct nv50_miptree_level *lvl = &mt->level[l]; local in function:nvc0_miptree_init_layout_tiled 215 lvl->offset = mt->total_size; 217 lvl->tile_mode = nvc0_tex_choose_tile_dims(nbx, nby, d, mt->layout_3d); 219 tsx = NVC0_TILE_SIZE_X(lvl->tile_mode); /* x is tile row pitch in bytes */ 220 tsy = NVC0_TILE_SIZE_Y(lvl->tile_mode); 221 tsz = NVC0_TILE_SIZE_Z(lvl->tile_mode); 223 lvl->pitch = align(nbx * blocksize, tsx); 225 mt->total_size += lvl->pitch * align(nby, tsy) * align(d, tsz);
|