Lines Matching refs:texWidth

581 		const int texWidth		= 1 << deLog2Ceil32(MAX_2D_RENDER_WIDTH / 2);  in init()  local
587 … = new glu::Texture2D(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth, texHeight); in init()
590 const bool mipmaps = (deIsPowerOfTwo32(texWidth) && deIsPowerOfTwo32(texHeight)); in init()
591 const int numLevels = mipmaps ? deLog2Floor32(de::max(texWidth, texHeight))+1 : 1; in init()
887 const int texWidth = 1 << deLog2Ceil32(MAX_CUBE_RENDER_WIDTH / 3 / 2); in init() local
890 DE_ASSERT(texWidth == texHeight); in init()
896 …xtures[i] = new glu::TextureCube(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth); in init()
899 const bool mipmaps = deIsPowerOfTwo32(texWidth) != DE_FALSE; in init()
900 const int numLevels = mipmaps ? deLog2Floor32(texWidth)+1 : 1; in init()
1227 const int texWidth = WIDTH_2D_ARRAY; in init() local
1234 …:Texture2DArray(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth, texHeight, texLa… in init()
1237 const int numLevels = deLog2Floor32(de::max(texWidth, texHeight)) + 1; in init()
1291 const int texWidth = refTexture.getWidth(); in calculateLod() local
1300 const float dudx = (trans10.x() - trans00.x()) * (float)texWidth / dstSize.x(); in calculateLod()
1301 const float dudy = (trans01.x() - trans00.x()) * (float)texWidth / dstSize.y(); in calculateLod()
1567 const int texWidth = WIDTH_3D; in init() local
1574 … glu::Texture3D(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth, texHeight, texDe… in init()
1577 const int numLevels = deLog2Floor32(de::max(de::max(texWidth, texHeight), texDepth)) + 1; in init()