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