Searched refs:twoToTheMipLevel (Results 1 – 4 of 4) sorted by relevance
/external/skia/tests/ |
D | MipMapTest.cpp | 78 int twoToTheMipLevel = 1 << (i + 1); in test_mipmap_generation() local 79 int currentWidth = width / twoToTheMipLevel; in test_mipmap_generation() 80 int currentHeight = height / twoToTheMipLevel; in test_mipmap_generation()
|
/external/skqp/tests/ |
D | MipMapTest.cpp | 78 int twoToTheMipLevel = 1 << (i + 1); in test_mipmap_generation() local 79 int currentWidth = width / twoToTheMipLevel; in test_mipmap_generation() 80 int currentHeight = height / twoToTheMipLevel; in test_mipmap_generation()
|
/external/skqp/src/gpu/gl/ |
D | GrGLGpu.cpp | 976 int twoToTheMipLevel = 1 << currentMipLevel; in allocate_and_populate_texture() local 977 int currentWidth = SkTMax(1, baseWidth / twoToTheMipLevel); in allocate_and_populate_texture() 978 int currentHeight = SkTMax(1, baseHeight / twoToTheMipLevel); in allocate_and_populate_texture() 1009 int twoToTheMipLevel = 1 << currentMipLevel; in allocate_and_populate_texture() local 1010 int currentWidth = SkTMax(1, baseWidth / twoToTheMipLevel); in allocate_and_populate_texture() 1011 int currentHeight = SkTMax(1, baseHeight / twoToTheMipLevel); in allocate_and_populate_texture() 1082 int twoToTheMipLevel = 1 << currentMipLevel; in allocate_and_populate_compressed_texture() local 1083 int currentWidth = SkTMax(1, baseWidth / twoToTheMipLevel); in allocate_and_populate_compressed_texture() 1084 int currentHeight = SkTMax(1, baseHeight / twoToTheMipLevel); in allocate_and_populate_compressed_texture() 1108 int twoToTheMipLevel = 1 << currentMipLevel; in allocate_and_populate_compressed_texture() local [all …]
|
/external/skia/src/gpu/gl/ |
D | GrGLGpu.cpp | 1054 int twoToTheMipLevel = 1 << currentMipLevel; in uploadTexData() local 1055 const int currentWidth = std::max(1, width / twoToTheMipLevel); in uploadTexData() 1056 const int currentHeight = std::max(1, height / twoToTheMipLevel); in uploadTexData() 1691 const int twoToTheMipLevel = 1 << level; in createTexture2D() local 1692 const int currentWidth = std::max(1, dimensions.width() / twoToTheMipLevel); in createTexture2D() 1693 const int currentHeight = std::max(1, dimensions.height() / twoToTheMipLevel); in createTexture2D()
|