Searched refs:num_levels (Results 1 - 25 of 54) sorted by relevance

123

/xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
H A Dtexcompress_cpal.c112 const int num_levels = -level + 1; local in function:_mesa_cpal_compressed_size
125 for (lvl = 0; lvl < num_levels; lvl++) {
154 GLint lvl, num_levels; local in function:_mesa_cpal_compressed_teximage2d
166 num_levels = -level + 1;
174 for (lvl = 0; lvl < num_levels; lvl++) {
/xsrc/external/mit/MesaLib/dist/src/mesa/main/
H A Dtexcompress_cpal.c112 const int num_levels = -level + 1; local in function:_mesa_cpal_compressed_size
125 for (lvl = 0; lvl < num_levels; lvl++) {
154 GLint lvl, num_levels; local in function:_mesa_cpal_compressed_teximage2d
166 num_levels = -level + 1;
174 for (lvl = 0; lvl < num_levels; lvl++) {
/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A Dnir_split_vars.c68 int num_levels = 0; local in function:num_array_levels_in_array_of_vector_type
71 num_levels++;
74 return num_levels;
319 unsigned num_levels; member in struct:array_var_info
331 int num_levels = num_array_levels_in_array_of_vector_type(var->type); local in function:init_var_list_array_infos
332 if (num_levels <= 0)
337 num_levels * sizeof(info->levels[0]));
340 info->num_levels = num_levels;
343 for (int i = 0; i < num_levels;
885 unsigned num_levels; member in struct:vec_var_usage
906 int num_levels = num_array_levels_in_array_of_vector_type(var->type); local in function:get_vec_var_usage
[all...]
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_split_vars.c97 int num_levels = 0; local in function:num_array_levels_in_array_of_vector_type
100 num_levels++;
103 return num_levels;
379 unsigned num_levels; member in struct:array_var_info
397 int num_levels = num_array_levels_in_array_of_vector_type(var->type); local in function:init_var_list_array_infos
398 if (num_levels <= 0)
412 num_levels * sizeof(info->levels[0]));
415 info->num_levels = num_levels;
418 for (int i = 0; i < num_levels;
982 unsigned num_levels; member in struct:vec_var_usage
1003 int num_levels = num_array_levels_in_array_of_vector_type(var->type); local in function:get_vec_var_usage
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/crocus/
H A Dcrocus_resolve.c54 unsigned min_level, unsigned num_levels,
73 surf->base.u.tex.level < min_level + num_levels) {
759 uint32_t start_level, uint32_t num_levels)
763 if (num_levels == INTEL_REMAINING_LAYERS)
764 num_levels = res->surf.levels;
767 assert(start_level + num_levels >= start_level);
768 assert(start_level + num_levels <= res->surf.levels);
770 return num_levels;
792 unsigned start_level, unsigned num_levels,
799 num_levels
51 disable_rb_aux_buffer(struct crocus_context * ice,bool * draw_aux_buffer_disabled,struct crocus_resource * tex_res,unsigned min_level,unsigned num_levels,const char * usage) argument
758 miptree_level_range_length(const struct crocus_resource * res,uint32_t start_level,uint32_t num_levels) argument
791 crocus_has_invalid_primary(const struct crocus_resource * res,unsigned start_level,unsigned num_levels,unsigned start_layer,unsigned num_layers) argument
820 crocus_resource_prepare_access(struct crocus_context * ice,struct crocus_resource * res,uint32_t start_level,uint32_t num_levels,uint32_t start_layer,uint32_t num_layers,enum isl_aux_usage aux_usage,bool fast_clear_supported) argument
961 crocus_resource_prepare_texture(struct crocus_context * ice,struct crocus_resource * res,enum isl_format view_format,uint32_t start_level,uint32_t num_levels,uint32_t start_layer,uint32_t num_layers) argument
[all...]
H A Dcrocus_resource.h395 * \param[in] num_levels The number of miplevels to be accessed or
416 uint32_t start_level, uint32_t num_levels,
503 uint32_t start_level, uint32_t num_levels,
517 unsigned start_level, unsigned num_levels,
526 unsigned start_level, unsigned num_levels,
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/iris/
H A Diris_resolve.c49 unsigned min_level, unsigned num_levels,
70 surf->base.u.tex.level < min_level + num_levels) {
656 uint32_t start_level, uint32_t num_levels)
660 if (num_levels == INTEL_REMAINING_LAYERS)
661 num_levels = res->surf.levels;
664 assert(start_level + num_levels >= start_level);
665 assert(start_level + num_levels <= res->surf.levels);
667 return num_levels;
689 unsigned start_level, unsigned num_levels,
696 num_levels
46 disable_rb_aux_buffer(struct iris_context * ice,bool * draw_aux_buffer_disabled,struct iris_resource * tex_res,unsigned min_level,unsigned num_levels,const char * usage) argument
655 miptree_level_range_length(const struct iris_resource * res,uint32_t start_level,uint32_t num_levels) argument
688 iris_has_invalid_primary(const struct iris_resource * res,unsigned start_level,unsigned num_levels,unsigned start_layer,unsigned num_layers) argument
714 iris_resource_prepare_access(struct iris_context * ice,struct iris_resource * res,uint32_t start_level,uint32_t num_levels,uint32_t start_layer,uint32_t num_layers,enum isl_aux_usage aux_usage,bool fast_clear_supported) argument
973 iris_resource_prepare_texture(struct iris_context * ice,struct iris_resource * res,enum isl_format view_format,uint32_t start_level,uint32_t num_levels,uint32_t start_layer,uint32_t num_layers) argument
[all...]
H A Diris_resource.h381 * \param[in] num_levels The number of miplevels to be accessed or
402 uint32_t start_level, uint32_t num_levels,
482 uint32_t start_level, uint32_t num_levels,
492 unsigned start_level, unsigned num_levels,
508 unsigned start_level, unsigned num_levels,
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/iris/
H A Diris_resolve.c48 unsigned min_level, unsigned num_levels,
68 surf->base.u.tex.level < min_level + num_levels) {
687 uint32_t start_level, uint32_t num_levels)
691 if (num_levels == INTEL_REMAINING_LAYERS)
692 num_levels = res->surf.levels;
695 assert(start_level + num_levels >= start_level);
696 assert(start_level + num_levels <= res->surf.levels);
698 return num_levels;
720 unsigned start_level, unsigned num_levels,
727 num_levels
45 disable_rb_aux_buffer(struct iris_context * ice,bool * draw_aux_buffer_disabled,struct iris_resource * tex_res,unsigned min_level,unsigned num_levels,const char * usage) argument
686 miptree_level_range_length(const struct iris_resource * res,uint32_t start_level,uint32_t num_levels) argument
719 has_color_unresolved(const struct iris_resource * res,unsigned start_level,unsigned num_levels,unsigned start_layer,unsigned num_layers) argument
1104 iris_resource_prepare_access(struct iris_context * ice,struct iris_batch * batch,struct iris_resource * res,uint32_t start_level,uint32_t num_levels,uint32_t start_layer,uint32_t num_layers,enum isl_aux_usage aux_usage,bool fast_clear_supported) argument
1352 iris_resource_prepare_texture(struct iris_context * ice,struct iris_batch * batch,struct iris_resource * res,enum isl_format view_format,uint32_t start_level,uint32_t num_levels,uint32_t start_layer,uint32_t num_layers,enum gen9_astc5x5_wa_tex_type astc5x5_wa_bits) argument
[all...]
H A Diris_resource.h293 * \param[in] num_levels The number of miplevels to be accessed or
315 uint32_t start_level, uint32_t num_levels,
398 uint32_t start_level, uint32_t num_levels,
/xsrc/external/mit/xorg-server.old/dist/xkb/
H A DXKBMisc.c66 nSyms[i]= xkb->map->types[types_inout[i]].num_levels;
231 allOneLevel= (xkb->map->types[types_inout[0]].num_levels==1);
235 allOneLevel= (xkb->map->types[types_inout[i]].num_levels==1);
556 if (pNewType->num_levels>width)
557 width= pNewType->num_levels;
588 if (pNewType->num_levels>pOldType->num_levels)
589 nCopy= pOldType->num_levels;
590 else nCopy= pNewType->num_levels;
604 if (pNewType->num_levels>pOldTyp
[all...]
H A DXKBMAlloc.c244 if ((from->level_names)&&(into->num_levels>0)) {
245 into->level_names= calloc(into->num_levels, sizeof(Atom));
249 into->num_levels*sizeof(Atom));
329 if ((new_num_lvls>type->num_levels)||(type->level_names==NULL)) {
362 if (new_num_lvls>type->num_levels) {
371 if (width<type->num_levels)
414 type->num_levels= new_num_lvls;
421 else if (new_num_lvls<type->num_levels) {
426 if (width<type->num_levels)
439 if (new_num_lvls>type->num_levels)
[all...]
H A DxkbUtils.c984 dtype->num_levels = 0;
995 if (stype->num_levels && stype->level_names) {
996 if (stype->num_levels != dtype->num_levels &&
997 dtype->num_levels && dtype->level_names &&
1000 stype->num_levels * sizeof(Atom));
1005 else if (!dtype->num_levels || !dtype->level_names ||
1007 tmp = malloc(stype->num_levels * sizeof(Atom));
1012 dtype->num_levels = stype->num_levels;
[all...]
/xsrc/external/mit/xorg-server/dist/xkb/
H A DXKBMisc.c63 nSyms[i] = xkb->map->types[types_inout[i]].num_levels;
232 allOneLevel = (xkb->map->types[types_inout[0]].num_levels == 1);
238 allOneLevel = (xkb->map->types[types_inout[i]].num_levels == 1);
574 if (pNewType->num_levels > width)
575 width = pNewType->num_levels;
606 if (pNewType->num_levels > pOldType->num_levels)
607 nCopy = pOldType->num_levels;
609 nCopy = pNewType->num_levels;
625 if (pNewType->num_levels > pOldTyp
[all...]
H A DXKBMAlloc.c243 if ((from->level_names) && (into->num_levels > 0)) {
244 into->level_names = calloc(into->num_levels, sizeof(Atom));
248 into->num_levels * sizeof(Atom));
327 if ((new_num_lvls > type->num_levels) || (type->level_names == NULL)) {
360 if (new_num_lvls > type->num_levels) {
369 if (width < type->num_levels || width >= new_num_lvls) {
417 type->num_levels = new_num_lvls;
424 else if (new_num_lvls < type->num_levels) {
430 if (width < type->num_levels)
445 if (new_num_lvls > type->num_levels)
[all...]
/xsrc/external/mit/libX11/dist/src/xkb/
H A DXKBMAlloc.c240 if ((from->level_names) && (into->num_levels > 0)) {
241 into->level_names = _XkbTypedCalloc(into->num_levels, Atom);
245 into->num_levels * sizeof(Atom));
324 type->num_levels = num_lvls;
401 if ((new_num_lvls > type->num_levels) || (type->level_names == NULL)) {
402 _XkbResizeArray(type->level_names, type->num_levels, new_num_lvls, Atom);
430 if (new_num_lvls > type->num_levels) {
439 if (width < type->num_levels || width >= new_num_lvls) {
487 type->num_levels = new_num_lvls;
494 else if (new_num_lvls < type->num_levels) {
[all...]
H A DXKBMisc.c64 1, /* num_levels */
70 2, /* num_levels */
76 2, /* num_levels */
82 2, /* num_levels */
160 nSyms[i] = xkb->map->types[types_inout[i]].num_levels;
286 allOneLevel = (xkb->map->types[types_inout[0]].num_levels == 1);
292 allOneLevel = (xkb->map->types[types_inout[i]].num_levels == 1);
715 if (pNewType->num_levels > width)
716 width = pNewType->num_levels;
747 if (pNewType->num_levels > pOldTyp
[all...]
H A DXKBNames.c133 if ((nLevels[i] > 0) && (nLevels[i] != type->num_levels)) {
368 nLvlNames += type->num_levels;
504 *tmp++ = type->num_levels;
509 Data32(dpy, (long *) type->level_names, type->num_levels * 4);
591 nLvlNames += type->num_levels;
747 *tmp++ = type->num_levels;
752 Data32(dpy, (long *) type->level_names, type->num_levels * 4);
/xsrc/external/mit/mesa-demos/dist/src/demos/
H A Dtextures.c346 int num_levels = 8; local in function:LoadTextures
347 for (i = 0; i < num_levels; i++) {
367 int num_levels = 8; local in function:LoadTextures
368 for (i = 01; i < num_levels; i++) {
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/
H A Dintel_mipmap_tree.h510 unsigned start_level, unsigned num_levels,
524 * \param[in] num_levels The number of miplevels to be accessed or
545 uint32_t start_level, uint32_t num_levels,
623 uint32_t start_level, uint32_t num_levels,
H A Dbrw_draw.c351 unsigned min_level, unsigned num_levels,
368 irb->mt_level < min_level + num_levels) {
517 unsigned min_level, min_layer, num_levels, num_layers; local in function:brw_predraw_resolve_inputs
520 num_levels = MIN2(tex_obj->base.NumLevels, tex_obj->_MaxLevel + 1);
526 num_levels = tex_obj->_MaxLevel - tex_obj->base.BaseLevel + 1;
533 tex_obj->mt, min_level, num_levels,
538 min_level, num_levels,
550 min_level, num_levels,
348 intel_disable_rb_aux_buffer(struct brw_context * brw,bool * draw_aux_buffer_disabled,struct intel_mipmap_tree * tex_mt,unsigned min_level,unsigned num_levels,const char * usage) argument
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/
H A Dbrw_mipmap_tree.h502 unsigned start_level, unsigned num_levels,
516 * \param[in] num_levels The number of miplevels to be accessed or
537 uint32_t start_level, uint32_t num_levels,
615 uint32_t start_level, uint32_t num_levels,
H A Dbrw_draw.c382 unsigned min_level, unsigned num_levels,
399 irb->mt_level < min_level + num_levels) {
546 unsigned min_level, min_layer, num_levels, num_layers; local in function:brw_predraw_resolve_inputs
549 num_levels = MIN2(tex_obj->base.Attrib.NumLevels, tex_obj->_MaxLevel + 1);
555 num_levels = tex_obj->_MaxLevel - tex_obj->base.Attrib.BaseLevel + 1;
562 tex_obj->mt, min_level, num_levels,
567 min_level, num_levels,
579 min_level, num_levels,
379 brw_disable_rb_aux_buffer(struct brw_context * brw,bool * draw_aux_buffer_disabled,struct brw_mipmap_tree * tex_mt,unsigned min_level,unsigned num_levels,const char * usage) argument
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/i915/
H A Di915_state_sampler.c308 const uint num_levels = pt->last_level - first_level; local in function:update_map
309 unsigned max_lod = num_levels * 4;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/i915/
H A Di915_state_sampler.c290 const uint32_t num_levels = pt->last_level - first_level; local in function:update_map
291 unsigned max_lod = num_levels * 4;

Completed in 91 milliseconds

123