Home | History | Annotate | Download | only in main

Lines Matching full:maxsize

1281    GLint maxSize;
1291 maxSize = 1 << (ctx->Const.MaxTextureLevels - 1); /* level zero size */
1292 maxSize >>= level; /* level size */
1293 if (width < 2 * border || width > 2 * border + maxSize)
1304 maxSize = 1 << (ctx->Const.MaxTextureLevels - 1);
1305 maxSize >>= level;
1306 if (width < 2 * border || width > 2 * border + maxSize)
1308 if (height < 2 * border || height > 2 * border + maxSize)
1321 maxSize = 1 << (ctx->Const.Max3DTextureLevels - 1);
1322 maxSize >>= level;
1323 if (width < 2 * border || width > 2 * border + maxSize)
1325 if (height < 2 * border || height > 2 * border + maxSize)
1327 if (depth < 2 * border || depth > 2 * border + maxSize)
1342 maxSize = ctx->Const.MaxTextureRectSize;
1343 if (width < 0 || width > maxSize)
1345 if (height < 0 || height > maxSize)
1352 maxSize = 1 << (ctx->Const.MaxCubeTextureLevels - 1);
1353 maxSize >>= level;
1354 if (width < 2 * border || width > 2 * border + maxSize)
1356 if (height < 2 * border || height > 2 * border + maxSize)
1369 maxSize = 1 << (ctx->Const.MaxTextureLevels - 1);
1370 maxSize >>= level;
1371 if (width < 2 * border || width > 2 * border + maxSize)
1384 maxSize = 1 << (ctx->Const.MaxTextureLevels - 1);
1385 maxSize >>= level;
1386 if (width < 2 * border || width > 2 * border + maxSize)
1388 if (height < 2 * border || height > 2 * border + maxSize)