Lines Matching defs:height

985 ConstPixelBufferAccess::ConstPixelBufferAccess (const TextureFormat& format, int width, int height, int depth, const void* data)
987 , m_size (width, height, depth)
1005 ConstPixelBufferAccess::ConstPixelBufferAccess (const TextureFormat& format, int width, int height, int depth, int rowPitch, int slicePitch, const void* data)
1007 , m_size (width, height, depth)
1046 PixelBufferAccess::PixelBufferAccess (const TextureFormat& format, int width, int height, int depth, void* data)
1047 : ConstPixelBufferAccess(format, width, height, depth, data)
1056 PixelBufferAccess::PixelBufferAccess (const TextureFormat& format, int width, int height, int depth, int rowPitch, int slicePitch, void* data)
1057 : ConstPixelBufferAccess(format, width, height, depth, rowPitch, slicePitch, data)
2043 int height = access.getHeight();
2050 (sampler.wrapT == Sampler::CLAMP_TO_BORDER && !deInBounds32(y, 0, height)))
2054 int j = wrap(sampler.wrapT, y, height);
2062 int height = access.getHeight();
2071 (sampler.wrapT == Sampler::CLAMP_TO_BORDER && !deInBounds32(y, 0, height)) ||
2076 int j = wrap(sampler.wrapT, y, height);
2182 int height = access.getHeight();
2198 j[n] = wrap(sampler.wrapT, y[n], height);
2204 jUseBorder[n] = sampler.wrapT == Sampler::CLAMP_TO_BORDER && !de::inBounds(j[n], 0, height);
2302 int height = access.getHeight();
2314 int j0 = wrap(sampler.wrapT, y0, height);
2315 int j1 = wrap(sampler.wrapT, y1, height);
2325 bool j0UseBorder = sampler.wrapT == Sampler::CLAMP_TO_BORDER && !de::inBounds(j0, 0, height);
2326 bool j1UseBorder = sampler.wrapT == Sampler::CLAMP_TO_BORDER && !de::inBounds(j1, 0, height);
2354 int height = access.getHeight();
2375 j[n] = wrap(sampler.wrapT, y[n], height);
2383 jUseBorder[n] = sampler.wrapT == Sampler::CLAMP_TO_BORDER && !de::inBounds(j[n], 0, height);
2577 TextureLevel::TextureLevel (const TextureFormat& format, int width, int height, int depth)
2581 setSize(width, height, depth);
2588 void TextureLevel::setStorage (const TextureFormat& format, int width, int height, int depth)
2591 setSize(width, height, depth);
2594 void TextureLevel::setSize (int width, int height, int depth)
2598 m_size = IVec3(width, height, depth);
3680 inline int computeMipPyramidLevels (int width, int height)
3682 return deLog2Floor32(de::max(width, height))+1;
3685 inline int computeMipPyramidLevels (int width, int height, int depth)
3687 return deLog2Floor32(de::max(width, de::max(height, depth)))+1;
3750 void TextureLevelPyramid::allocLevel (int levelNdx, int width, int height, int depth)
3752 const int size = m_format.getPixelSize()*width*height*depth;
3757 m_access[levelNdx] = PixelBufferAccess(m_format, width, height, depth, m_data[levelNdx].getPtr());
3812 Texture2D::Texture2D (const TextureFormat& format, int width, int height, bool es2)
3813 : TextureLevelPyramid (format, computeMipPyramidLevels(width, height))
3816 , m_height (height)
3821 Texture2D::Texture2D (const TextureFormat& format, int width, int height, int mipmaps)
3825 , m_height (height)
3862 const int height = getMipPyramidLevelSize(m_height, levelNdx);
3864 TextureLevelPyramid::allocLevel(levelNdx, width, height, 1);
4193 Texture2DArray::Texture2DArray (const TextureFormat& format, int width, int height, int numLayers)
4194 : TextureLevelPyramid (format, computeMipPyramidLevels(width, height))
4196 , m_height (height)
4235 const int height = getMipPyramidLevelSize(m_height, levelNdx);
4237 TextureLevelPyramid::allocLevel(levelNdx, width, height, m_numLayers);
4252 Texture3D::Texture3D (const TextureFormat& format, int width, int height, int depth)
4253 : TextureLevelPyramid (format, computeMipPyramidLevels(width, height, depth))
4255 , m_height (height)
4294 const int height = getMipPyramidLevelSize(m_height, levelNdx);
4297 TextureLevelPyramid::allocLevel(levelNdx, width, height, depth);