/external/skqp/tests/ |
D | GLProgramsTest.cpp | 178 int minLevels, int maxLevels) { in create_random_proc_tree() argument 180 SkASSERT(minLevels <= maxLevels); in create_random_proc_tree() 187 bool terminate = (1 == maxLevels) || (d->fRandom->nextF() < terminateProbability); in create_random_proc_tree() 206 auto minLevelsChild = create_random_proc_tree(d, minLevels, maxLevels - 1); in create_random_proc_tree() 207 std::unique_ptr<GrFragmentProcessor> otherChild(create_random_proc_tree(d, 1, maxLevels - 1)); in create_random_proc_tree() 258 bool GrDrawingManager::ProgramUnitTest(GrContext* context, int maxStages, int maxLevels) { in ProgramUnitTest() argument 311 set_random_color_coverage_stages(&paint, &ptd, maxStages, maxLevels); in ProgramUnitTest() 400 int maxLevels = get_glprograms_max_levels(ctxInfo); in test_glprograms() local 401 if (maxLevels == 0) { in test_glprograms() 406 maxLevels)); in test_glprograms()
|
/external/skia/tests/ |
D | GLProgramsTest.cpp | 178 int minLevels, int maxLevels) { in create_random_proc_tree() argument 180 SkASSERT(minLevels <= maxLevels); in create_random_proc_tree() 187 bool terminate = (1 == maxLevels) || (d->fRandom->nextF() < terminateProbability); in create_random_proc_tree() 206 auto minLevelsChild = create_random_proc_tree(d, minLevels, maxLevels - 1); in create_random_proc_tree() 207 std::unique_ptr<GrFragmentProcessor> otherChild(create_random_proc_tree(d, 1, maxLevels - 1)); in create_random_proc_tree() 258 bool GrDrawingManager::ProgramUnitTest(GrContext* context, int maxStages, int maxLevels) { in ProgramUnitTest() argument 311 set_random_color_coverage_stages(&paint, &ptd, maxStages, maxLevels); in ProgramUnitTest() 402 int maxLevels = get_glprograms_max_levels(ctxInfo); in test_glprograms() local 403 if (maxLevels == 0) { in test_glprograms() 408 maxLevels)); in test_glprograms()
|
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/ |
D | esextcTextureCubeMapArrayTex3DValidation.cpp | 169 const glw::GLint maxLevels = (glw::GLint)floor(log(maxTextureSize) / log(2.0f)) + 1; in iterate() local 171 gl.texStorage3D(GL_TEXTURE_CUBE_MAP_ARRAY, maxLevels + 1, /* levels */ in iterate()
|
/external/mesa3d/src/mesa/main/ |
D | texobj.c | 648 GLint maxLevels = 0; in _mesa_test_texobj_completeness() local 712 maxLevels = ctx->Const.MaxTextureLevels; in _mesa_test_texobj_completeness() 716 maxLevels = ctx->Const.MaxTextureLevels; in _mesa_test_texobj_completeness() 719 maxLevels = ctx->Const.Max3DTextureLevels; in _mesa_test_texobj_completeness() 723 maxLevels = ctx->Const.MaxCubeTextureLevels; in _mesa_test_texobj_completeness() 730 maxLevels = 1; /* no mipmapping */ in _mesa_test_texobj_completeness() 737 assert(maxLevels > 0); in _mesa_test_texobj_completeness() 743 maxLevels - 1); in _mesa_test_texobj_completeness() 819 for (i = baseLevel + 1; i < maxLevels; i++) { in _mesa_test_texobj_completeness()
|
D | texgetimage.c | 1152 GLint maxLevels; in getteximage_error_check() local 1161 maxLevels = _mesa_max_texture_levels(ctx, target); in getteximage_error_check() 1162 if (level < 0 || level >= maxLevels) { in getteximage_error_check() 1525 GLint maxLevels; in getcompressedteximage_error_check() local 1536 maxLevels = _mesa_max_texture_levels(ctx, target); in getcompressedteximage_error_check() 1537 if (level < 0 || level >= maxLevels) { in getcompressedteximage_error_check()
|
D | texparam.c | 1703 GLint maxLevels; in get_tex_level_parameteriv() local 1714 maxLevels = _mesa_max_texture_levels(ctx, target); in get_tex_level_parameteriv() 1715 assert(maxLevels != 0); in get_tex_level_parameteriv() 1717 if (level < 0 || level >= maxLevels) { in get_tex_level_parameteriv()
|
D | teximage.c | 2028 const GLint maxLevels = _mesa_max_texture_levels(ctx, target); in compressed_texture_error_check() local 2065 if (level > 0 || level < -maxLevels) { in compressed_texture_error_check() 2095 if (level < 0 || level >= maxLevels) { in compressed_texture_error_check()
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_tile_cache.c | 96 int maxLevels; in sp_create_tile_cache() local 99 maxLevels = pipe->screen->get_param(pipe->screen, PIPE_CAP_MAX_TEXTURE_2D_LEVELS); in sp_create_tile_cache() 100 maxTexSize = 1 << (maxLevels - 1); in sp_create_tile_cache()
|
/external/skia/src/gpu/ |
D | GrDrawingManager.h | 73 static bool ProgramUnitTest(GrContext* context, int maxStages, int maxLevels);
|
/external/skqp/src/gpu/ |
D | GrDrawingManager.h | 73 static bool ProgramUnitTest(GrContext* context, int maxStages, int maxLevels);
|
/external/mesa3d/src/gallium/state_trackers/osmesa/ |
D | osmesa.c | 889 int maxLevels = screen->get_param(screen, in OSMesaGetIntegerv() local 891 *value = 1 << (maxLevels - 1); in OSMesaGetIntegerv()
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cSparseTextureClampTests.cpp | 656 int maxLevels = 0; in iterate() local 662 maxLevels = l; in iterate() 666 for (l = 0; l <= maxLevels; ++l) in iterate()
|
D | gl4cSparseTexture2Tests.cpp | 948 GLint maxLevels; in sparseAllocateTexture() local 951 gl.getTexParameteriv(target, GL_NUM_SPARSE_LEVELS_ARB, &maxLevels); in sparseAllocateTexture() 953 if (levels > maxLevels) in sparseAllocateTexture() 954 levels = maxLevels; in sparseAllocateTexture()
|