Searched defs:maxLevels (Results 1 - 6 of 6) sorted by relevance
/external/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_tile_cache.c | 88 int maxLevels, maxTexSize; local 91 maxLevels = pipe->screen->get_param(pipe->screen, PIPE_CAP_MAX_TEXTURE_2D_LEVELS); 92 maxTexSize = 1 << (maxLevels - 1);
|
/external/mesa3d/src/mesa/main/ |
H A D | texgetimage.c | 703 const GLint maxLevels = _mesa_max_texture_levels(ctx, target); local 712 assert(maxLevels != 0); 713 if (level < 0 || level >= maxLevels) { 867 const GLint maxLevels = _mesa_max_texture_levels(ctx, target); local 876 assert(maxLevels != 0); 877 if (level < 0 || level >= maxLevels) {
|
H A D | texparam.c | 1249 GLint maxLevels; local 1267 maxLevels = _mesa_max_texture_levels(ctx, target); 1268 assert(maxLevels != 0); 1270 if (level < 0 || level >= maxLevels) {
|
H A D | texobj.c | 446 GLint maxLog2 = 0, maxLevels = 0; local 503 maxLevels = ctx->Const.MaxTextureLevels; 509 maxLevels = ctx->Const.MaxTextureLevels; 515 maxLevels = ctx->Const.Max3DTextureLevels; 520 maxLevels = ctx->Const.MaxCubeTextureLevels; 526 maxLevels = 1; /* no mipmapping */ 533 ASSERT(maxLevels > 0); 537 t->_MaxLevel = MIN2(t->_MaxLevel, maxLevels - 1); /* 'q' in the GL spec */ 594 for (i = baseLevel + 1; i < maxLevels; i++) {
|
H A D | teximage.c | 1976 const GLint maxLevels = _mesa_max_texture_levels(ctx, target); local 2014 if (level > 0 || level < -maxLevels) { 2049 if (level < 0 || level >= maxLevels) { 3600 GLint expectedSize, maxLevels = 0, maxTextureSize; local 3610 maxLevels = ctx->Const.MaxTextureLevels; 3613 maxLevels = ctx->Const.MaxTextureLevels; 3618 maxLevels = ctx->Const.MaxCubeTextureLevels; 3623 maxLevels = ctx->Const.MaxCubeTextureLevels; 3634 maxTextureSize = 1 << (maxLevels - 1); 3647 if (level < 0 || level >= maxLevels) [all...] |
/external/skia/tests/ |
H A D | GLProgramsTest.cpp | 188 int minLevels, int maxLevels) { 190 SkASSERT(minLevels <= maxLevels); 192 // Return a leaf node if maxLevels is 1 or if we randomly chose to terminate. 197 bool terminate = (1 == maxLevels) || (d->fRandom->nextF() < terminateProbability); 218 maxLevels - 1)); 220 maxLevels - 1)); 187 create_random_proc_tree(GrProcessorTestData* d, int minLevels, int maxLevels) argument
|
Completed in 95 milliseconds