Searched refs:mipmaps (Results 1 - 18 of 18) sorted by relevance

/external/deqp/modules/gles2/performance/
H A Des2pTextureCases.cpp105 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 Des3pTextureCases.cpp113 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 Des2fTextureSizeTests.cpp54 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 Des2fTextureUnitTests.cpp645 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 Des2fTextureFilteringTests.cpp174 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 Des2fVertexTextureTests.cpp480 // 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 Des3fTextureSizeTests.cpp55 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 Des3fTextureUnitTests.cpp827 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 Des3fVertexTextureTests.cpp580 // 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 Des3fTextureFilteringTests.cpp192 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 DGrProxyProvider.cpp298 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 DSkGr.cpp132 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 Ddds.c2358 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 Des2aTextureFilteringTests.cpp144 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 DResourceCacheTest.cpp1666 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 DSkImage_Gpu.cpp672 // 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 DvktTextureFilteringTests.cpp116 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 DMESA_texture_array.spec64 textures without mipmaps. Both of these options have major drawbacks.

Completed in 446 milliseconds