Searched refs:total_size (Results 1 - 25 of 126) sorted by relevance

123456

/xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/
H A Dbrw_ir_allocator.h37 sizes(NULL), offsets(NULL), count(0), total_size(0), capacity(0)
58 offsets[count] = total_size;
59 total_size += size;
81 unsigned total_size; member in class:brw::simple_allocator
/xsrc/external/mit/MesaLib/dist/src/intel/compiler/
H A Dbrw_ir_allocator.h37 sizes(NULL), offsets(NULL), count(0), total_size(0), capacity(0)
58 offsets[count] = total_size;
59 total_size += size;
81 unsigned total_size; member in class:brw::simple_allocator
H A Dbrw_rt.h99 uint64_t total_size; member in struct:brw_rt_scratch_layout
228 layout->total_size = size;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/iris/
H A Diris_binder.c99 * larger total_size when making the updated reservation.
142 unsigned total_size; local in function:iris_binder_reserve_3d
162 total_size = 0;
165 total_size += sizes[stage];
168 assert(total_size < IRIS_BINDER_SIZE);
170 if (total_size == 0)
173 if (binder_has_space(binder, total_size))
177 * this will flag all bindings dirty, which may increase total_size
184 uint32_t offset = binder_insert(binder, total_size);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/iris/
H A Diris_binder.c99 * larger total_size when making the updated reservation.
143 unsigned total_size; local in function:iris_binder_reserve_3d
161 total_size = 0;
164 total_size += sizes[stage];
167 assert(total_size < IRIS_BINDER_SIZE);
169 if (total_size == 0)
172 if (binder_has_space(binder, total_size))
176 * this will flag all bindings dirty, which may increase total_size
183 uint32_t offset = binder_insert(binder, total_size);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/include/
H A Dsvga3d_surfacedefs.h1026 uint32 slice_size, total_size; local in function:svga3dsurface_get_image_buffer_size
1031 total_size = clamped_umul32(image_blocks.width,
1033 total_size = clamped_umul32(total_size, image_blocks.depth);
1034 total_size = clamped_umul32(total_size, desc->bytes_per_block);
1035 return total_size;
1042 total_size = clamped_umul32(slice_size, image_blocks.depth);
1044 return total_size;
1090 uint64_t total_size local in function:svga3dsurface_get_serialized_size
1119 uint64_t total_size = svga3dsurface_get_serialized_size(format, local in function:svga3dsurface_get_serialized_size_extended
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/
H A Dsvga_screen_cache.c47 unsigned bw, bh, bpb, total_size, i; local in function:surface_size
62 total_size = 0;
69 total_size += img_size;
72 total_size *= key->numFaces * key->arraySize * MAX2(1, key->sampleCount);
74 return total_size;
146 assert(surf_size <= cache->total_size);
147 if (surf_size > cache->total_size)
148 cache->total_size = 0; /* should never happen, but be safe */
150 cache->total_size -= surf_size;
190 cache->total_size
[all...]
H A Dsvga_screen_cache.h131 unsigned total_size; member in struct:svga_host_surface_cache
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/include/
H A Dsvga3d_surfacedefs.h1026 uint32 slice_size, total_size; local in function:svga3dsurface_get_image_buffer_size
1031 total_size = clamped_umul32(image_blocks.width,
1033 total_size = clamped_umul32(total_size, image_blocks.depth);
1034 total_size = clamped_umul32(total_size, desc->bytes_per_block);
1035 return total_size;
1042 total_size = clamped_umul32(slice_size, image_blocks.depth);
1044 return total_size;
1090 uint64_t total_size local in function:svga3dsurface_get_serialized_size
1119 uint64_t total_size = svga3dsurface_get_serialized_size(format, local in function:svga3dsurface_get_serialized_size_extended
[all...]
/xsrc/external/mit/MesaLib/dist/src/util/
H A Dvma.h60 const char *tab, uint64_t total_size);
H A Dvma.c311 const char *tab, uint64_t total_size)
322 assert(total_free <= total_size);
325 ((double)(total_size - total_free) / (double)total_size) * 100);
310 util_vma_heap_print(struct util_vma_heap * heap,FILE * fp,const char * tab,uint64_t total_size) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/
H A Dsvga_screen_cache.c47 unsigned bw, bh, bpb, total_size, i; local in function:svga_surface_size
62 total_size = 0;
69 total_size += img_size;
72 total_size *= key->numFaces * key->arraySize * MAX2(1, key->sampleCount);
74 return total_size;
146 assert(surf_size <= cache->total_size);
147 if (surf_size > cache->total_size)
148 cache->total_size = 0; /* should never happen, but be safe */
150 cache->total_size -= surf_size;
190 cache->total_size
[all...]
H A Dsvga_screen_cache.h132 unsigned total_size; member in struct:svga_host_surface_cache
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/vc4/
H A Dvc4_opt_dead_code.c68 uint32_t total_size = 0; local in function:has_nonremovable_reads
70 total_size += c->vattr_sizes[i];
71 if (total_size == 4)
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/vc4/
H A Dvc4_opt_dead_code.c68 uint32_t total_size = 0; local in function:has_nonremovable_reads
70 total_size += c->vattr_sizes[i];
71 if (total_size == 4)
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/
H A Dbrw_curbe.c114 (total_regs < brw->curbe.total_size / 4 &&
115 brw->curbe.total_size > 16)) {
128 brw->curbe.total_size = reg;
202 const GLuint sz = brw->curbe.total_size;
307 if (brw->curbe.total_size == 0) {
313 (brw->curbe.total_size - 1) + brw->curbe.curbe_offset);
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/
H A Dbrw_curbe.c114 (total_regs < brw->curbe.total_size / 4 &&
115 brw->curbe.total_size > 16)) {
128 brw->curbe.total_size = reg;
202 const GLuint sz = brw->curbe.total_size;
307 if (brw->curbe.total_size == 0) {
313 (brw->curbe.total_size - 1) + brw->curbe.curbe_offset);
/xsrc/external/mit/libxkbfile/dist/src/
H A Dxkmout.c1178 int total_size; local in function:GetXKMKeyNamesTOC
1180 total_size = num_toc = 0;
1181 if (SizeXKMKeycodes(result, &toc_rtrn[num_toc], &total_size))
1183 if (SizeXKMIndicators(result, info, &toc_rtrn[num_toc], &total_size))
1194 int total_size; local in function:GetXKMTypesTOC
1196 total_size = num_toc = 0;
1197 if (SizeXKMVirtualMods(result, info, &toc_rtrn[num_toc], &total_size))
1199 if (SizeXKMKeyTypes(result, &toc_rtrn[num_toc], &total_size))
1210 int total_size; local in function:GetXKMCompatMapTOC
1212 total_size
1228 int total_size; local in function:GetXKMSemanticsTOC
1248 int total_size; local in function:GetXKMLayoutTOC
1272 int total_size; local in function:GetXKMKeymapTOC
1298 int total_size; local in function:GetXKMGeometryTOC
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nvc0/
H A Dnvc0_miptree.c182 mt->total_size = align(pt->height0, 16) * mt->level[0].pitch * (mt->layout_3d ? pt->depth0 : 1);
185 mt->layer_stride = align(mt->total_size, NVC0_TILE_SIZE(0x10));
186 mt->total_size = mt->layer_stride * pt->array_size;
215 lvl->offset = mt->total_size;
225 mt->total_size += lvl->pitch * align(nby, tsy) * align(d, tsz);
233 mt->layer_stride = align(mt->total_size,
235 mt->total_size = mt->layer_stride * pt->array_size;
389 ret = nouveau_bo_new(dev, bo_flags, 4096, mt->total_size, &bo_config,
399 mt->total_size);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/asahi/
H A Dmagic.c150 unsigned total_size = offset_attachments + (AGX_IOGPU_ATTACHMENT_LENGTH * nr_attachments) + 16; local in function:demo_cmdbuf
153 cfg.total_size = total_size;
161 return total_size;
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dlower_distance.cpp62 const char *in_name, int total_size,
67 in_name(in_name), total_size(total_size), offset(offset)
82 total_size(orig->total_size),
127 int total_size; member in class:__anonc664760b0110::lower_distance_visitor
166 unsigned new_size = (total_size + 3) / 4;
61 lower_distance_visitor(gl_shader_stage shader_stage,const char * in_name,int total_size,int offset) argument
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dlower_distance.cpp62 const char *in_name, int total_size,
67 in_name(in_name), total_size(total_size), offset(offset)
82 total_size(orig->total_size),
127 int total_size; member in class:__anonb38677b80110::lower_distance_visitor
166 unsigned new_size = (total_size + 3) / 4;
61 lower_distance_visitor(gl_shader_stage shader_stage,const char * in_name,int total_size,int offset) argument
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nv50/
H A Dnv50_miptree.c176 -(uint64_t)mt->total_size);
259 mt->total_size = mt->level[0].pitch * h;
278 mt->total_size = align(pt->height0, 16) * mt->level[0].pitch * (mt->layout_3d ? pt->depth0 : 1);
281 mt->layer_stride = align(mt->total_size, NV50_TILE_SIZE(0x20));
282 mt->total_size = mt->layer_stride * pt->array_size;
309 lvl->offset = mt->total_size;
319 mt->total_size += lvl->pitch * align(nby, tsy) * align(d, tsz);
327 mt->layer_stride = align(mt->total_size,
329 mt->total_size = mt->layer_stride * pt->array_size;
389 ret = nouveau_bo_new(dev, bo_flags, 4096, mt->total_size,
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nv50/
H A Dnv50_miptree.c176 -(uint64_t)mt->total_size);
255 mt->total_size = mt->level[0].pitch * h;
274 mt->total_size = align(pt->height0, 16) * mt->level[0].pitch * (mt->layout_3d ? pt->depth0 : 1);
277 mt->layer_stride = align(mt->total_size, NV50_TILE_SIZE(0x20));
278 mt->total_size = mt->layer_stride * pt->array_size;
305 lvl->offset = mt->total_size;
315 mt->total_size += lvl->pitch * align(nby, tsy) * align(d, tsz);
323 mt->layer_stride = align(mt->total_size,
325 mt->total_size = mt->layer_stride * pt->array_size;
392 ret = nouveau_bo_new(dev, bo_flags, 4096, mt->total_size,
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nvc0/
H A Dnvc0_miptree.c243 mt->total_size = align(pt->height0, 16) * mt->level[0].pitch * (mt->layout_3d ? pt->depth0 : 1);
246 mt->layer_stride = align(mt->total_size, NVC0_TILE_SIZE(0x10));
247 mt->total_size = mt->layer_stride * pt->array_size;
279 lvl->offset = mt->total_size;
298 mt->total_size += lvl->pitch * align(nby, tsy) * align(d, tsz);
306 mt->layer_stride = align(mt->total_size,
308 mt->total_size = mt->layer_stride * pt->array_size;
538 ret = nouveau_bo_new(dev, bo_flags, 4096, mt->total_size, &bo_config,
548 mt->total_size);

Completed in 21 milliseconds

123456