/external/deqp/modules/gles2/performance/ |
H A D | es2pTextureCases.cpp | 105 bool mipmaps = m_minFilter == GL_NEAREST_MIPMAP_NEAREST || local 110 DE_ASSERT(m_powerOfTwo || (!mipmaps && m_wrapS == GL_CLAMP_TO_EDGE && m_wrapT == GL_CLAMP_TO_EDGE)); 127 log << TestLog::Message << "Mipmaps: " << (mipmaps ? "true" : "false") << TestLog::EndMessage; 171 int numLevels = mipmaps ? texture->getRefTexture().getNumLevels() : 1;
|
/external/deqp/modules/gles3/performance/ |
H A D | es3pTextureCases.cpp | 113 bool mipmaps = m_minFilter == GL_NEAREST_MIPMAP_NEAREST || local 118 DE_ASSERT(m_powerOfTwo || (!mipmaps && m_wrapS == GL_CLAMP_TO_EDGE && m_wrapT == GL_CLAMP_TO_EDGE)); 135 log << TestLog::Message << "Mipmaps: " << (mipmaps ? "true" : "false") << TestLog::EndMessage; 197 int numLevels = mipmaps ? texture->getRefTexture().getNumLevels() : 1;
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fTextureSizeTests.cpp | 54 Texture2DSizeCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 format, deUint32 dataType, int width, int height, bool mipmaps); 77 Texture2DSizeCase::Texture2DSizeCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 format, deUint32 dataType, int width, int height, bool mipmaps) argument 84 , m_useMipmaps (mipmaps) 174 TextureCubeSizeCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 format, deUint32 dataType, int width, int height, bool mipmaps); 202 TextureCubeSizeCase::TextureCubeSizeCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 format, deUint32 dataType, int width, int height, bool mipmaps) argument 209 , m_useMipmaps (mipmaps)
|
H A D | es2fTextureUnitTests.cpp | 645 bool mipmaps = (deIsPowerOfTwo32(texWidth) && deIsPowerOfTwo32(texHeight)); local 646 int numLevels = mipmaps ? deLog2Floor32(de::max(texWidth, texHeight))+1 : 1; 653 // Certain minification filters are only used when using mipmaps. 654 if (mipmaps) 714 int curCellSize = deMax32(1, GRID_CELL_SIZE >> levelNdx); // \note Scale grid cell size for mipmaps. 854 bool mipmaps = (deIsPowerOfTwo32(texture->getWidth()) && deIsPowerOfTwo32(texture->getHeight())); local 855 int numLevels = mipmaps ? deLog2Floor32(de::max(texture->getWidth(), texture->getHeight()))+1 : 1; 876 bool mipmaps = deIsPowerOfTwo32(texture->getSize()) != DE_FALSE; local 877 int numLevels = mipmaps ? deLog2Floor32(texture->getSize())+1 : 1;
|
H A D | es2fTextureFilteringTests.cpp | 174 bool mipmaps = deIsPowerOfTwo32(m_width) && deIsPowerOfTwo32(m_height); local 175 int numLevels = mipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; 437 const bool mipmaps = deIsPowerOfTwo32(m_width) && deIsPowerOfTwo32(m_height); local 438 const int numLevels = mipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1;
|
H A D | es2fVertexTextureTests.cpp | 480 // Compute suitable power-of-two sizes (for mipmaps). 490 const bool mipmaps = (deIsPowerOfTwo32(texWidth) && deIsPowerOfTwo32(texHeight)); local 491 const int numLevels = mipmaps ? deLog2Floor32(de::max(texWidth, texHeight))+1 : 1; 783 // Compute suitable power-of-two sizes (for mipmaps). 796 const bool mipmaps = deIsPowerOfTwo32(texWidth) != DE_FALSE; local 797 const int numLevels = mipmaps ? deLog2Floor32(texWidth)+1 : 1;
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fTextureSizeTests.cpp | 55 Texture2DSizeCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 format, deUint32 dataType, int width, int height, bool mipmaps); 78 Texture2DSizeCase::Texture2DSizeCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 format, deUint32 dataType, int width, int height, bool mipmaps) argument 85 , m_useMipmaps (mipmaps) 175 TextureCubeSizeCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 format, deUint32 dataType, int width, int height, bool mipmaps); 203 TextureCubeSizeCase::TextureCubeSizeCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 format, deUint32 dataType, int width, int height, bool mipmaps) argument 210 , m_useMipmaps (mipmaps)
|
H A D | es3fTextureUnitTests.cpp | 827 bool mipmaps = (deIsPowerOfTwo32(texWidth) && deIsPowerOfTwo32(texHeight) && deIsPowerOfTwo32(texDepth)); local 828 int numLevels = mipmaps ? deLog2Floor32(de::max(de::max(texWidth, texHeight), texDepth))+1 : 1; 840 if (mipmaps) 905 int curCellSize = deMax32(1, GRID_CELL_SIZE >> levelNdx); // \note Scale grid cell size for mipmaps.
|
H A D | es3fVertexTextureTests.cpp | 580 // Compute suitable power-of-two sizes (for mipmaps). 590 const bool mipmaps = (deIsPowerOfTwo32(texWidth) && deIsPowerOfTwo32(texHeight)); local 591 const int numLevels = mipmaps ? deLog2Floor32(de::max(texWidth, texHeight))+1 : 1; 886 // Compute suitable power-of-two sizes (for mipmaps). 899 const bool mipmaps = deIsPowerOfTwo32(texWidth) != DE_FALSE; local 900 const int numLevels = mipmaps ? deLog2Floor32(texWidth)+1 : 1;
|
H A D | es3fTextureFilteringTests.cpp | 192 const bool mipmaps = true; local 193 const int numLevels = mipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1;
|
/external/skia/src/gpu/ |
H A D | GrProxyProvider.cpp | 298 sk_sp<SkMipMap> mipmaps(SkMipMap::Build(pixmap, mipColorMode, nullptr)); 299 if (!mipmaps) { 303 if (mipmaps->countLevels() < 0) { 320 if (0 == mipmaps->countLevels()) { 327 [desc, baseLevel, mipmaps, mipColorMode] 333 const int mipLevelCount = mipmaps->countLevels() + 1; 346 mipmaps->getLevel(i - 1, &generatedMipLevel);
|
/external/skqp/src/gpu/ |
H A D | SkGr.cpp | 132 std::unique_ptr<SkMipMap> mipmaps(SkMipMap::Build(pixmap, colorMode, nullptr)); 133 if (!mipmaps) { 137 const int mipLevelCount = mipmaps->countLevels() + 1; 149 mipmaps->getLevel(i - 1, &generatedMipLevel); 620 // Should be unreachable. If not, fall back to mipmaps.
|
/external/ImageMagick/coders/ |
H A D | dds.c | 2358 Only skip mipmaps for textures and cube maps 2405 Only skip mipmaps for textures and cube maps 2591 mipmaps, 2647 mipmaps=0; 2651 option=GetImageOption(image_info,"dds:mipmaps"); 2659 while (columns != 1 && rows != 1 && mipmaps != maxMipmaps) 2663 mipmaps++; 2668 WriteDDSInfo(image,pixelFormat,compression,mipmaps); 2673 if (mipmaps > 0 && WriteMipmaps(image,pixelFormat,compression,mipmaps, 2587 mipmaps, local 2677 WriteDDSInfo(Image *image, const size_t pixelFormat, const size_t compression, const size_t mipmaps) argument 2981 WriteMipmaps(Image *image, const size_t pixelFormat, const size_t compression, const size_t mipmaps, const MagickBooleanType clusterFit, const MagickBooleanType weightByAlpha, ExceptionInfo *exception) argument [all...] |
/external/deqp/modules/gles2/accuracy/ |
H A D | es2aTextureFilteringTests.cpp | 144 const bool mipmaps = deIsPowerOfTwo32(m_width) && deIsPowerOfTwo32(m_height); local 145 const int numLevels = mipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1; 405 const bool mipmaps = deIsPowerOfTwo32(m_width) && deIsPowerOfTwo32(m_height); local 406 const int numLevels = mipmaps ? deLog2Floor32(de::max(m_width, m_height))+1 : 1;
|
/external/skqp/tests/ |
H A D | ResourceCacheTest.cpp | 1666 sk_sp<SkMipMap> mipmaps(SkMipMap::Build(bm, SkDestinationSurfaceColorMode::kLegacy, nullptr)); 1667 SkASSERT(mipmaps); 1668 SkASSERT(mipmaps->countLevels() > 1); 1670 int mipLevelCount = mipmaps->countLevels() + 1; 1679 mipmaps->getLevel(i - 1, &generatedMipLevel);
|
/external/skqp/src/image/ |
H A D | SkImage_Gpu.cpp | 672 // Right now, the destination color mode is only considered when generating mipmaps 962 std::unique_ptr<SkMipMap> mipmaps(SkMipMap::Build(pixmap, colorMode, nullptr)); 970 mipmaps->getLevel(generatedMipLevelIndex, &mipLevel);
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
H A D | vktTextureFilteringTests.cpp | 116 const bool mipmaps = true; local 117 const int numLevels = mipmaps ? deLog2Floor32(de::max(m_testParameters.width, m_testParameters.height))+1 : 1;
|
/external/mesa3d/docs/specs/ |
H A D | MESA_texture_array.spec | 64 textures without mipmaps. Both of these options have major drawbacks.
|