Home
last modified time | relevance | path

Searched refs:MaxTextureSize (Results 1 – 5 of 5) sorted by relevance

/third_party/mesa3d/src/mesa/main/
Dcontext.c410 consts->MaxTextureSize = 1 << (MAX_TEXTURE_LEVELS - 1); in _mesa_init_constants()
652 assert(ctx->Const.MaxTextureSize <= (1 << (MAX_TEXTURE_LEVELS - 1))); in check_context_limits()
658 assert(ctx->Const.MaxTextureSize <= ctx->Const.MaxViewportWidth); in check_context_limits()
659 assert(ctx->Const.MaxTextureSize <= ctx->Const.MaxViewportHeight); in check_context_limits()
Dconsts_exts.h467 GLuint MaxTextureSize; /**< Max 1D/2D texture size, in pixels*/ member
Dversion.c340 consts->MaxTextureSize >= 16384 && in compute_version()
Dteximage.c497 return ffs(util_next_power_of_two(ctx->Const.MaxTextureSize)); in _mesa_max_texture_levels()
519 ? ffs(util_next_power_of_two(ctx->Const.MaxTextureSize)) : 0; in _mesa_max_texture_levels()
978 maxSize = ctx->Const.MaxTextureSize >> level; in _mesa_legal_texture_dimensions()
991 maxSize = ctx->Const.MaxTextureSize >> level; in _mesa_legal_texture_dimensions()
1061 maxSize = ctx->Const.MaxTextureSize >> level; in _mesa_legal_texture_dimensions()
1076 maxSize = ctx->Const.MaxTextureSize >> level; in _mesa_legal_texture_dimensions()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_extensions.c89 c->MaxTextureSize = screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_2D_SIZE); in st_init_limits()
90 c->MaxTextureSize = MIN2(c->MaxTextureSize, 1 << (MAX_TEXTURE_LEVELS - 1)); in st_init_limits()
103 c->MaxTextureRectSize = _min(c->MaxTextureSize, MAX_TEXTURE_RECT_SIZE); in st_init_limits()