Lines Matching refs:mBaseLevel

51 	mBaseLevel = 0;  in Texture()
199 mBaseLevel = baseLevel; in setBaseLevel()
518 int level = mBaseLevel; in getTopLevel()
690 if(!image[mBaseLevel]) in isSamplerComplete()
695 GLsizei width = image[mBaseLevel]->getWidth(); in isSamplerComplete()
696 GLsizei height = image[mBaseLevel]->getHeight(); in isSamplerComplete()
717 if(mBaseLevel > mMaxLevel) in isMipmapComplete()
722 GLsizei width = image[mBaseLevel]->getWidth(); in isMipmapComplete()
723 GLsizei height = image[mBaseLevel]->getHeight(); in isMipmapComplete()
725 int p = log2(maxsize) + mBaseLevel; in isMipmapComplete()
728 for(int level = mBaseLevel + 1; level <= q; level++) in isMipmapComplete()
735 if(image[level]->getFormat() != image[mBaseLevel]->getFormat()) in isMipmapComplete()
740 int i = level - mBaseLevel; in isMipmapComplete()
768 if(!image[mBaseLevel]) in generateMipmaps()
773 if(image[mBaseLevel]->getWidth() == 0 || image[mBaseLevel]->getHeight() == 0) in generateMipmaps()
778 int maxsize = std::max(image[mBaseLevel]->getWidth(), image[mBaseLevel]->getHeight()); in generateMipmaps()
779 int p = log2(maxsize) + mBaseLevel; in generateMipmaps()
782 for(int i = mBaseLevel + 1; i <= q; i++) in generateMipmaps()
789 …eate(this, std::max(image[mBaseLevel]->getWidth() >> i, 1), std::max(image[mBaseLevel]->getHeight(… in generateMipmaps()
988 int level = mBaseLevel; in getTopLevel()
1048 if(!image[face][mBaseLevel]) in isSamplerComplete()
1054 int size = image[0][mBaseLevel]->getWidth(); in isSamplerComplete()
1082 …if(image[0][mBaseLevel]->getWidth() <= 0 || image[0][mBaseLevel]->getHeight() != image[0][mBaseLev… in isCubeComplete()
1089 if(image[face][mBaseLevel]->getWidth() != image[0][mBaseLevel]->getWidth() || in isCubeComplete()
1090 image[face][mBaseLevel]->getWidth() != image[0][mBaseLevel]->getHeight() || in isCubeComplete()
1091 image[face][mBaseLevel]->getFormat() != image[0][mBaseLevel]->getFormat()) in isCubeComplete()
1102 if(mBaseLevel > mMaxLevel) in isMipmapCubeComplete()
1112 GLsizei size = image[0][mBaseLevel]->getWidth(); in isMipmapCubeComplete()
1113 int p = log2(size) + mBaseLevel; in isMipmapCubeComplete()
1118 for(int level = mBaseLevel + 1; level <= q; level++) in isMipmapCubeComplete()
1125 if(image[face][level]->getFormat() != image[0][mBaseLevel]->getFormat()) in isMipmapCubeComplete()
1130 int i = level - mBaseLevel; in isMipmapCubeComplete()
1326 int p = log2(image[0][mBaseLevel]->getWidth()) + mBaseLevel; in generateMipmaps()
1331 ASSERT(image[f][mBaseLevel]); in generateMipmaps()
1333 for(int i = mBaseLevel + 1; i <= q; i++) in generateMipmaps()
1340 …, std::max(image[f][mBaseLevel]->getWidth() >> i, 1), std::max(image[f][mBaseLevel]->getHeight() >… in generateMipmaps()
1499 int level = mBaseLevel; in getTopLevel()
1653 if(!image[mBaseLevel]) in isSamplerComplete()
1658 GLsizei width = image[mBaseLevel]->getWidth(); in isSamplerComplete()
1659 GLsizei height = image[mBaseLevel]->getHeight(); in isSamplerComplete()
1660 GLsizei depth = image[mBaseLevel]->getDepth(); in isSamplerComplete()
1681 if(mBaseLevel > mMaxLevel) in isMipmapComplete()
1686 GLsizei width = image[mBaseLevel]->getWidth(); in isMipmapComplete()
1687 GLsizei height = image[mBaseLevel]->getHeight(); in isMipmapComplete()
1688 GLsizei depth = image[mBaseLevel]->getDepth(); in isMipmapComplete()
1692 int p = log2(maxsize) + mBaseLevel; in isMipmapComplete()
1695 for(int level = mBaseLevel + 1; level <= q; level++) in isMipmapComplete()
1702 if(image[level]->getFormat() != image[mBaseLevel]->getFormat()) in isMipmapComplete()
1707 int i = level - mBaseLevel; in isMipmapComplete()
1741 if(!image[mBaseLevel]) in generateMipmaps()
1746 …if(image[mBaseLevel]->getWidth() == 0 || image[mBaseLevel]->getHeight() == 0 || image[mBaseLevel]-… in generateMipmaps()
1751 …int maxsize = std::max(std::max(image[mBaseLevel]->getWidth(), image[mBaseLevel]->getHeight()), im… in generateMipmaps()
1752 int p = log2(maxsize) + mBaseLevel; in generateMipmaps()
1755 for(int i = mBaseLevel + 1; i <= q; i++) in generateMipmaps()
1762mBaseLevel]->getWidth() >> i, 1), std::max(image[mBaseLevel]->getHeight() >> i, 1), std::max(image… in generateMipmaps()
1843 if(!image[mBaseLevel]) in generateMipmaps()
1848 …if(image[mBaseLevel]->getWidth() == 0 || image[mBaseLevel]->getHeight() == 0 || image[mBaseLevel]-… in generateMipmaps()
1853 int depth = image[mBaseLevel]->getDepth(); in generateMipmaps()
1854 int maxsize = std::max(image[mBaseLevel]->getWidth(), image[mBaseLevel]->getHeight()); in generateMipmaps()
1855 int p = log2(maxsize) + mBaseLevel; in generateMipmaps()
1858 for(int i = mBaseLevel + 1; i <= q; i++) in generateMipmaps()
1865 GLsizei w = std::max(image[mBaseLevel]->getWidth() >> i, 1); in generateMipmaps()
1866 GLsizei h = std::max(image[mBaseLevel]->getHeight() >> i, 1); in generateMipmaps()
1867 image[i] = egl::Image::create(this, w, h, depth, 0, image[mBaseLevel]->getFormat()); in generateMipmaps()