Home | History | Annotate | Download | only in functional

Lines Matching defs:texWidth

579 		const int texWidth		= 1 << deLog2Ceil32(MAX_2D_RENDER_WIDTH / 2);
585 m_textures[i] = new glu::Texture2D(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth, texHeight);
588 const bool mipmaps = (deIsPowerOfTwo32(texWidth) && deIsPowerOfTwo32(texHeight));
589 const int numLevels = mipmaps ? deLog2Floor32(de::max(texWidth, texHeight))+1 : 1;
885 const int texWidth = 1 << deLog2Ceil32(MAX_CUBE_RENDER_WIDTH / 3 / 2);
888 DE_ASSERT(texWidth == texHeight);
894 m_textures[i] = new glu::TextureCube(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth);
897 const bool mipmaps = deIsPowerOfTwo32(texWidth) != DE_FALSE;
898 const int numLevels = mipmaps ? deLog2Floor32(texWidth)+1 : 1;
1225 const int texWidth = WIDTH_2D_ARRAY;
1232 m_textures[i] = new glu::Texture2DArray(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth, texHeight, texLayers);
1235 const int numLevels = deLog2Floor32(de::max(texWidth, texHeight)) + 1;
1289 const int texWidth = refTexture.getWidth();
1298 const float dudx = (trans10.x() - trans00.x()) * (float)texWidth / dstSize.x();
1299 const float dudy = (trans01.x() - trans00.x()) * (float)texWidth / dstSize.y();
1565 const int texWidth = WIDTH_3D;
1572 m_textures[i] = new glu::Texture3D(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth, texHeight, texDepth);
1575 const int numLevels = deLog2Floor32(de::max(de::max(texWidth, texHeight), texDepth)) + 1;