Searched refs:mipWidth (Results 1 – 4 of 4) sorted by relevance
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/ |
D | DDSLoader.java | 391 int mipWidth = width; in loadSizes() local 399 size = ((mipWidth + 3) / 4) * ((mipHeight + 3) / 4) * outBpp * 2; in loadSizes() 401 size = mipWidth * mipHeight * outBpp / 8; in loadSizes() 406 mipWidth = Math.max(mipWidth / 2, 1); in loadSizes() 446 int mipWidth = width; in readGrayscale2D() local 453 data = flipData(data, mipWidth * bpp / 8, mipHeight); in readGrayscale2D() 457 mipWidth = Math.max(mipWidth / 2, 1); in readGrayscale2D() 491 int mipWidth = width; in readRGB2D() local 498 for (int x = 0; x < mipWidth; x++) { in readRGB2D() 509 … dataBuffer.position(offset + ((mipHeight - y - 1) * mipWidth + x) * targetBytesPP); in readRGB2D() [all …]
|
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/renderer/lwjgl/ |
D | TextureUtil.java | 415 int mipWidth = Math.max(1, width >> i); in uploadTexture() local 429 mipWidth, in uploadTexture() 439 mipWidth, in uploadTexture() 449 mipWidth, in uploadTexture() 463 mipWidth, in uploadTexture() 491 mipWidth, mipHeight, in uploadTexture() 500 mipWidth, in uploadTexture() 507 mipWidth, in uploadTexture()
|
/external/jmonkeyengine/engine/src/android/com/jme3/renderer/android/ |
D | TextureUtil.java | 263 int mipWidth = Math.max(1, width >> i); in uploadTexture() local 276 mipWidth, in uploadTexture() 285 mipWidth, in uploadTexture()
|
/external/quake/quake/src/WinQuake/ |
D | gl_draw.cpp | 1579 int mipWidth = scaled_width; in GL_Upload32() local 1582 while (mipWidth > 1 || mipHeight > 1) { in GL_Upload32() 1583 if (mipWidth > 1 && mipHeight > 1) { in GL_Upload32() 1585 int srcWidth = mipWidth; in GL_Upload32() 1586 mipWidth >>= 1; in GL_Upload32() 1591 for (int x = 0; x < mipWidth; x++) { in GL_Upload32() 1601 if (mipWidth > 1) { in GL_Upload32() 1602 mipWidth >>= 1; in GL_Upload32() 1605 unsigned int numTexels = mipHeight * mipWidth; in GL_Upload32() 1617 for (int x = 0; x < mipWidth; x++) { in GL_Upload32() [all …]
|