Lines Matching refs:ilog2

2794 static int ilog2(uint32_t x) {  in ilog2()  function
2822 SET_ERROR_IF(level > ilog2(max_texture_size), GL_INVALID_VALUE); in s_glTexImage2D()
2824 (level > ilog2(max_cube_map_texture_size)), GL_INVALID_VALUE); in s_glTexImage2D()
2903 SET_ERROR_IF(level > ilog2(max_texture_size), GL_INVALID_VALUE); in s_glTexSubImage2D()
2905 level > ilog2(max_cube_map_texture_size), GL_INVALID_VALUE); in s_glTexSubImage2D()
2968 SET_ERROR_IF(level > ilog2(max_texture_size), GL_INVALID_VALUE); in s_glCopyTexImage2D()
2970 (level > ilog2(max_cube_map_texture_size)), GL_INVALID_VALUE); in s_glCopyTexImage2D()
3241 SET_ERROR_IF(level > ilog2(ctx->m_state->getMaxTextureSize()), GL_INVALID_VALUE); in s_glFramebufferTexture2D()
3243 SET_ERROR_IF(level > ilog2(ctx->m_state->getMaxTextureSizeCubeMap()), GL_INVALID_VALUE); in s_glFramebufferTexture2D()
3539 SET_ERROR_IF(level > ilog2(max_texture_size), GL_INVALID_VALUE); in s_glCompressedTexImage2D()
3540 SET_ERROR_IF(level > ilog2(max_cube_map_texture_size), GL_INVALID_VALUE); in s_glCompressedTexImage2D()
3613 SET_ERROR_IF(level > ilog2(max_texture_size), GL_INVALID_VALUE); in s_glCompressedTexSubImage2D()
3614 SET_ERROR_IF(level > ilog2(max_cube_map_texture_size), GL_INVALID_VALUE); in s_glCompressedTexSubImage2D()
4292 SET_ERROR_IF(levels > ilog2((uint32_t)std::max(width, height)) + 1, in s_glTexStorage2D()
4417 SET_ERROR_IF(level > ilog2(max_texture_size), GL_INVALID_VALUE); in s_glTexImage3D()
4418 SET_ERROR_IF(level > ilog2(max_3d_texture_size), GL_INVALID_VALUE); in s_glTexImage3D()
4481 SET_ERROR_IF(level > ilog2(max_texture_size), GL_INVALID_VALUE); in s_glTexSubImage3D()
4482 SET_ERROR_IF(level > ilog2(max_3d_texture_size), GL_INVALID_VALUE); in s_glTexSubImage3D()
4543 SET_ERROR_IF(level > ilog2(max_texture_size), GL_INVALID_VALUE); in s_glCompressedTexImage3D()
4544 SET_ERROR_IF(level > ilog2(max_3d_texture_size), GL_INVALID_VALUE); in s_glCompressedTexImage3D()
4603 SET_ERROR_IF(level > ilog2(max_texture_size), GL_INVALID_VALUE); in s_glCompressedTexSubImage3D()
4604 SET_ERROR_IF(level > ilog2(max_3d_texture_size), GL_INVALID_VALUE); in s_glCompressedTexSubImage3D()
4689 …SET_ERROR_IF(target == GL_TEXTURE_3D && (levels > ilog2((uint32_t)std::max(width, std::max(height,… in s_glTexStorage3D()
4691 …SET_ERROR_IF(target == GL_TEXTURE_2D_ARRAY && (levels > ilog2((uint32_t)std::max(width, height)) +… in s_glTexStorage3D()
6270 SET_ERROR_IF(level > ilog2(max_texture_size), GL_INVALID_VALUE); in s_glCopyTexSubImage2D()
6272 (level > ilog2(max_cube_map_texture_size)), GL_INVALID_VALUE); in s_glCopyTexSubImage2D()
6314 SET_ERROR_IF(level > ilog2(max_texture_size), GL_INVALID_VALUE); in s_glCopyTexSubImage3D()
6315 SET_ERROR_IF(level > ilog2(max_3d_texture_size), GL_INVALID_VALUE); in s_glCopyTexSubImage3D()