Searched refs:MaxTextureSize (Results 1 – 16 of 16) sorted by relevance
106 ctx->Const.MaxTextureSize = 2048; in i830CreateContext()
216 ctx->Const.MaxTextureSize = 2048; in i915CreateContext()
553 consts->MaxTextureSize = 1 << (MAX_TEXTURE_LEVELS - 1); in _mesa_init_constants()795 assert(ctx->Const.MaxTextureSize <= (1 << (MAX_TEXTURE_LEVELS - 1))); in check_context_limits()805 assert(ctx->Const.MaxTextureSize <= ctx->Const.MaxViewportWidth); in check_context_limits()806 assert(ctx->Const.MaxTextureSize <= ctx->Const.MaxViewportHeight); in check_context_limits()
333 consts->MaxTextureSize >= 16384 && in compute_version()
495 return ffs(util_next_power_of_two(ctx->Const.MaxTextureSize)); in _mesa_max_texture_levels()517 ? ffs(util_next_power_of_two(ctx->Const.MaxTextureSize)) : 0; in _mesa_max_texture_levels()976 maxSize = ctx->Const.MaxTextureSize >> level; in _mesa_legal_texture_dimensions()989 maxSize = ctx->Const.MaxTextureSize >> level; in _mesa_legal_texture_dimensions()1059 maxSize = ctx->Const.MaxTextureSize >> level; in _mesa_legal_texture_dimensions()1074 maxSize = ctx->Const.MaxTextureSize >> level; in _mesa_legal_texture_dimensions()
3712 GLuint MaxTextureSize; /**< Max 1D/2D texture size, in pixels*/ member
161 ctx->Const.MaxTextureSize = 1024; in nv04_context_create()
459 ctx->Const.MaxTextureSize = 2048; in nv10_context_create()
232 ctx->Const.MaxTextureSize = 2048; in r100CreateContext()
154 assert(1 << (mt->numLevels - 1) <= rmesa->glCtx.Const.MaxTextureSize); in calculate_miptree_layout()
271 ctx->Const.MaxTextureSize = 2048; in r200CreateContext()
88 c->MaxTextureSize = screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_2D_SIZE); in st_init_limits()89 c->MaxTextureSize = MIN2(c->MaxTextureSize, 1 << (MAX_TEXTURE_LEVELS - 1)); in st_init_limits()101 c->MaxTextureRectSize = _min(c->MaxTextureSize, MAX_TEXTURE_RECT_SIZE); in st_init_limits()
498 ctx->Const.MaxTextureSize = 16384; in brw_initialize_context_constants()502 ctx->Const.MaxTextureSize = 8192; in brw_initialize_context_constants()
731 assert(ctx->Const.MaxTextureSize <= SWRAST_MAX_WIDTH); in _swrast_CreateContext()
1253 tex->MaxSize = ctx->Const.MaxTextureSize; in init_temp_texture()