Home
last modified time | relevance | path

Searched refs:_mesa_is_pow_two (Results 1 – 17 of 17) sorted by relevance

/external/mesa3d/src/mesa/swrast/
Ds_texture.c130 if ((texImage->Width == 1 || _mesa_is_pow_two(texImage->Width2)) && in _swrast_init_texture_image()
131 (texImage->Height == 1 || _mesa_is_pow_two(texImage->Height2)) && in _swrast_init_texture_image()
132 (texImage->Depth == 1 || _mesa_is_pow_two(texImage->Depth2))) in _swrast_init_texture_image()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_tex_layout.c60 assert (mt->cpp >= 1 && mt->cpp <= 16 && _mesa_is_pow_two(mt->cpp)); in tr_mode_horizontal_texture_alignment()
91 assert(_mesa_is_pow_two(mt->num_samples)); in tr_mode_horizontal_texture_alignment()
155 assert (mt->cpp >= 1 && mt->cpp <= 16 && _mesa_is_pow_two(mt->cpp)) ; in tr_mode_vertical_texture_alignment()
183 assert(_mesa_is_pow_two(mt->num_samples)); in tr_mode_vertical_texture_alignment()
Dbrw_fs_vector_splitting.cpp177 _mesa_is_pow_two(ir->write_mask) && in visit_enter()
Dbrw_reg.h895 assert(_mesa_is_pow_two(s)); in spread()
Dintel_blit.c516 if (!_mesa_is_pow_two(cpp) || cpp > 16) in can_fast_copy_blit()
Dbrw_vec4_generator.cpp2039 assert(_mesa_is_pow_two(dst.writemask) && in generate_code()
Dintel_mipmap_tree.c1176 assert(_mesa_is_pow_two(cpp)); in intel_get_tile_dims()
/external/mesa3d/src/mesa/main/
Dpixel.c189 if (!_mesa_is_pow_two(mapsize)) { in _mesa_PixelMapfv()
230 if (!_mesa_is_pow_two(mapsize)) { in _mesa_PixelMapuiv()
285 if (!_mesa_is_pow_two(mapsize)) { in _mesa_PixelMapusv()
Dimports.h214 _mesa_is_pow_two(int x) in _mesa_is_pow_two() function
Dteximage.c968 if (width > 0 && !_mesa_is_pow_two(width - 2 * border)) in _mesa_legal_texture_dimensions()
984 if (width > 0 && !_mesa_is_pow_two(width - 2 * border)) in _mesa_legal_texture_dimensions()
986 if (height > 0 && !_mesa_is_pow_two(height - 2 * border)) in _mesa_legal_texture_dimensions()
1002 if (width > 0 && !_mesa_is_pow_two(width - 2 * border)) in _mesa_legal_texture_dimensions()
1004 if (height > 0 && !_mesa_is_pow_two(height - 2 * border)) in _mesa_legal_texture_dimensions()
1006 if (depth > 0 && !_mesa_is_pow_two(depth - 2 * border)) in _mesa_legal_texture_dimensions()
1039 if (width > 0 && !_mesa_is_pow_two(width - 2 * border)) in _mesa_legal_texture_dimensions()
1041 if (height > 0 && !_mesa_is_pow_two(height - 2 * border)) in _mesa_legal_texture_dimensions()
1055 if (width > 0 && !_mesa_is_pow_two(width - 2 * border)) in _mesa_legal_texture_dimensions()
1073 if (width > 0 && !_mesa_is_pow_two(width - 2 * border)) in _mesa_legal_texture_dimensions()
[all …]
Dmacros.h683 assert((alignment > 0) && _mesa_is_pow_two(alignment)); in ALIGN()
711 assert((alignment > 0) && _mesa_is_pow_two(alignment)); in ROUND_DOWN_TO()
/external/mesa3d/src/mesa/drivers/common/
Dmeta_blit.c88 assert(samples > 0 && _mesa_is_pow_two(samples)); in setup_glsl_msaa_blit_scaled_shader()
281 assert(samples > 0 && _mesa_is_pow_two(samples)); in setup_glsl_msaa_blit_shader()
485 assert(_mesa_is_pow_two(samples)); in setup_glsl_msaa_blit_shader()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv04_surface.c215 assert(_mesa_is_pow_two(dst->width) && in nv04_surface_copy_swizzle()
216 _mesa_is_pow_two(dst->height)); in nv04_surface_copy_swizzle()
/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_texstate.c345 !_mesa_is_pow_two(firstImage->Height)) in i915_update_tex_unit()
/external/mesa3d/src/mesa/tnl/
Dt_vb_light.c402 if (_mesa_is_pow_two(ctx->Light._EnabledLights)) in validate_lighting()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_mipmap_tree.c105 if (!_mesa_is_pow_two(width) || target == GL_TEXTURE_RECTANGLE) { in get_texture_image_row_stride()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_mipmap_tree.c105 if (!_mesa_is_pow_two(width) || target == GL_TEXTURE_RECTANGLE) { in get_texture_image_row_stride()