Home
last modified time | relevance | path

Searched refs:maxLevels (Results 1 – 12 of 12) sorted by relevance

/third_party/skia/tests/
DProgramsTest.cpp163 int minLevels, int maxLevels) { in create_random_proc_tree() argument
165 SkASSERT(minLevels <= maxLevels); in create_random_proc_tree()
172 bool terminate = (1 == maxLevels) || (d->fRandom->nextF() < terminateProbability); in create_random_proc_tree()
193 auto minLevelsChild = create_random_proc_tree(d, minLevels, maxLevels - 1); in create_random_proc_tree()
194 std::unique_ptr<GrFragmentProcessor> otherChild(create_random_proc_tree(d, 1, maxLevels - 1)); in create_random_proc_tree()
241 bool GrDrawingManager::ProgramUnitTest(GrDirectContext* direct, int maxStages, int maxLevels) { in ProgramUnitTest() argument
289 set_random_color_coverage_stages(&paint, &ptd, maxStages, maxLevels); in ProgramUnitTest()
393 int maxLevels = get_programs_max_levels(ctxInfo); in test_programs() local
394 if (maxLevels == 0) { in test_programs()
399 maxLevels)); in test_programs()
/third_party/flutter/skia/tests/
DGLProgramsTest.cpp176 int minLevels, int maxLevels) { in create_random_proc_tree() argument
178 SkASSERT(minLevels <= maxLevels); in create_random_proc_tree()
185 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()
261 bool GrDrawingManager::ProgramUnitTest(GrContext* context, int maxStages, int maxLevels) { in ProgramUnitTest() argument
317 set_random_color_coverage_stages(&paint, &ptd, maxStages, maxLevels); in ProgramUnitTest()
405 int maxLevels = get_glprograms_max_levels(ctxInfo); in test_glprograms() local
406 if (maxLevels == 0) { in test_glprograms()
411 maxLevels)); in test_glprograms()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArrayTex3DValidation.cpp169 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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageSubresourceLayoutTests.cpp69 …BufferLevels (VkImageType type, VkFormat format, VkExtent3D levelZero, deUint32 maxLevels, VkImage…
80 …vels (VkImageType type, VkFormat format, VkExtent3D levelZero, deUint32 maxLevels, VkImageAspectFl… in BufferLevels() argument
83 DE_ASSERT(maxLevels >= 1u); in BufferLevels()
86 const auto maxLevelsSz = static_cast<size_t>(maxLevels); in BufferLevels()
655 deUint32 maxLevels; in createImageSubresourceLayoutTests() member
829 params.mipLevels = mipLevel.maxLevels; in createImageSubresourceLayoutTests()
/third_party/skia/src/gpu/
DGrDrawingManager.h137 static bool ProgramUnitTest(GrDirectContext*, int maxStages, int maxLevels);
/third_party/flutter/skia/src/gpu/
DGrDrawingManager.h79 static bool ProgramUnitTest(GrContext* context, int maxStages, int maxLevels);
/third_party/mesa3d/src/mesa/main/
Dtexgetimage.c1218 GLint maxLevels; in common_error_check() local
1225 maxLevels = _mesa_max_texture_levels(ctx, target); in common_error_check()
1226 if (level < 0 || level >= maxLevels) { in common_error_check()
1675 GLint maxLevels; in getcompressedteximage_error_check() local
1686 maxLevels = _mesa_max_texture_levels(ctx, target); in getcompressedteximage_error_check()
1687 if (level < 0 || level >= maxLevels) { in getcompressedteximage_error_check()
Dtexobj.c649 GLint maxLevels = 0; in _mesa_test_texobj_completeness() local
707 maxLevels = _mesa_max_texture_levels(ctx, t->Target); in _mesa_test_texobj_completeness()
708 if (maxLevels == 0) { in _mesa_test_texobj_completeness()
713 assert(maxLevels > 0); in _mesa_test_texobj_completeness()
719 maxLevels - 1); in _mesa_test_texobj_completeness()
795 for (i = baseLevel + 1; i < maxLevels; i++) { in _mesa_test_texobj_completeness()
Dtexparam.c2002 GLint maxLevels; in get_tex_level_parameteriv() local
2013 maxLevels = _mesa_max_texture_levels(ctx, target); in get_tex_level_parameteriv()
2014 assert(maxLevels != 0); in get_tex_level_parameteriv()
2016 if (level < 0 || level >= maxLevels) { in get_tex_level_parameteriv()
Dteximage.c2012 const GLint maxLevels = _mesa_max_texture_levels(ctx, target); in compressed_texture_error_check() local
2049 if (level > 0 || level < -maxLevels) { in compressed_texture_error_check()
2079 if (level < 0 || level >= maxLevels) { in compressed_texture_error_check()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cSparseTextureClampTests.cpp656 int maxLevels = 0; in iterate() local
662 maxLevels = l; in iterate()
666 for (l = 0; l <= maxLevels; ++l) in iterate()
Dgl4cSparseTexture2Tests.cpp948 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()