Home
last modified time | relevance | path

Searched refs:mipHeight (Results 1 – 4 of 4) sorted by relevance

/external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/
DDDSLoader.java392 int mipHeight = height; in loadSizes() local
399 size = ((mipWidth + 3) / 4) * ((mipHeight + 3) / 4) * outBpp * 2; in loadSizes()
401 size = mipWidth * mipHeight * outBpp / 8; in loadSizes()
407 mipHeight = Math.max(mipHeight / 2, 1); in loadSizes()
447 int mipHeight = height; in readGrayscale2D() local
453 data = flipData(data, mipWidth * bpp / 8, mipHeight); in readGrayscale2D()
458 mipHeight = Math.max(mipHeight / 2, 1); in readGrayscale2D()
492 int mipHeight = height; in readRGB2D() local
497 for (int y = 0; y < mipHeight; y++) { in readRGB2D()
509 … dataBuffer.position(offset + ((mipHeight - y - 1) * mipWidth + x) * targetBytesPP); in readRGB2D()
[all …]
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/renderer/lwjgl/
DTextureUtil.java416 int mipHeight = Math.max(1, height >> i); in uploadTexture() local
430 mipHeight, in uploadTexture()
440 mipHeight, in uploadTexture()
450 mipHeight, in uploadTexture()
464 mipHeight, in uploadTexture()
491 mipWidth, mipHeight, in uploadTexture()
501 mipHeight, in uploadTexture()
508 mipHeight, in uploadTexture()
/external/jmonkeyengine/engine/src/android/com/jme3/renderer/android/
DTextureUtil.java264 int mipHeight = Math.max(1, height >> i); in uploadTexture() local
277 mipHeight, in uploadTexture()
286 mipHeight, in uploadTexture()
/external/quake/quake/src/WinQuake/
Dgl_draw.cpp1580 int mipHeight = scaled_height; in GL_Upload32() local
1582 while (mipWidth > 1 || mipHeight > 1) { in GL_Upload32()
1583 if (mipWidth > 1 && mipHeight > 1) { in GL_Upload32()
1587 mipHeight >>= 1; in GL_Upload32()
1590 for(int y = 0; y < mipHeight; y++) { in GL_Upload32()
1605 unsigned int numTexels = mipHeight * mipWidth; in GL_Upload32()
1612 if (mipHeight > 1) { in GL_Upload32()
1613 mipHeight >>= 1; in GL_Upload32()
1616 for(int y = 0; y < mipHeight; y++) { in GL_Upload32()
1626 sendTexture(mipLevel, mipWidth, mipHeight, scaled, alpha); in GL_Upload32()