Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/drivers/dri/i915/
Di830_context.c106 ctx->Const.MaxTextureSize = 2048; in i830CreateContext()
Di915_context.c216 ctx->Const.MaxTextureSize = 2048; in i915CreateContext()
/external/mesa3d/src/mesa/main/
Dcontext.c553 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()
Dversion.c333 consts->MaxTextureSize >= 16384 && in compute_version()
Dteximage.c495 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()
Dmtypes.h3712 GLuint MaxTextureSize; /**< Max 1D/2D texture size, in pixels*/ member
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv04_context.c161 ctx->Const.MaxTextureSize = 1024; in nv04_context_create()
Dnv10_context.c459 ctx->Const.MaxTextureSize = 2048; in nv10_context_create()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_context.c232 ctx->Const.MaxTextureSize = 2048; in r100CreateContext()
Dradeon_mipmap_tree.c154 assert(1 << (mt->numLevels - 1) <= rmesa->glCtx.Const.MaxTextureSize); in calculate_miptree_layout()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_context.c271 ctx->Const.MaxTextureSize = 2048; in r200CreateContext()
Dradeon_mipmap_tree.c154 assert(1 << (mt->numLevels - 1) <= rmesa->glCtx.Const.MaxTextureSize); in calculate_miptree_layout()
/external/mesa3d/src/mesa/state_tracker/
Dst_extensions.c88 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()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_context.c498 ctx->Const.MaxTextureSize = 16384; in brw_initialize_context_constants()
502 ctx->Const.MaxTextureSize = 8192; in brw_initialize_context_constants()
/external/mesa3d/src/mesa/swrast/
Ds_context.c731 assert(ctx->Const.MaxTextureSize <= SWRAST_MAX_WIDTH); in _swrast_CreateContext()
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c1253 tex->MaxSize = ctx->Const.MaxTextureSize; in init_temp_texture()