Lines Matching refs:levelNdx
737 for (int levelNdx = 0; levelNdx < (int)spec.levels.size(); ++levelNdx) in applyTextureGenerationSpec() local
739 …t = (spec.levels[levelNdx].compressed) ? (glu::TransferFormat()) : (glu::getTransferFormat(glu::ma… in applyTextureGenerationSpec()
741 if (spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_2D) in applyTextureGenerationSpec()
742 …rage2D(spec.bindTarget, 1, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].width, spec… in applyTextureGenerationSpec()
743 else if (spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_3D) in applyTextureGenerationSpec()
744 …dTarget, 1, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].width, spec.levels[levelNd… in applyTextureGenerationSpec()
745 …else if (spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_2D_A… in applyTextureGenerationSpec()
746 …dTarget, 1, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].width, spec.levels[levelNd… in applyTextureGenerationSpec()
747 …else if (spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_CUBE… in applyTextureGenerationSpec()
748 …rage2D(spec.bindTarget, 1, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].width, spec… in applyTextureGenerationSpec()
749 …else if (spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_2D_M… in applyTextureGenerationSpec()
750 …dTarget, spec.sampleCount, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].width, spec… in applyTextureGenerationSpec()
751 …else if (spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_2D_M… in applyTextureGenerationSpec()
752 …ampleCount, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].width, spec.levels[levelNd… in applyTextureGenerationSpec()
753 …else if (spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_CUBE… in applyTextureGenerationSpec()
754 …dTarget, 1, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].width, spec.levels[levelNd… in applyTextureGenerationSpec()
755 else if (!spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_2D) in applyTextureGenerationSpec()
756 …bindTarget, spec.levels[levelNdx].level, spec.levels[levelNdx].internalFormat, spec.levels[levelNd… in applyTextureGenerationSpec()
757 else if (!spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_3D) in applyTextureGenerationSpec()
758 …c.levels[levelNdx].level, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].width, spec.… in applyTextureGenerationSpec()
759 …else if (!spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_2D_… in applyTextureGenerationSpec()
760 …c.levels[levelNdx].level, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].width, spec.… in applyTextureGenerationSpec()
761 …else if (!spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_CUB… in applyTextureGenerationSpec()
762 …ueryTarget, spec.levels[levelNdx].level, spec.levels[levelNdx].internalFormat, spec.levels[levelNd… in applyTextureGenerationSpec()
763 …else if (!spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_CUB… in applyTextureGenerationSpec()
764 …c.levels[levelNdx].level, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].width, spec.… in applyTextureGenerationSpec()
765 else if (!spec.immutable && spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_2D) in applyTextureGenerationSpec()
767 DE_ASSERT(spec.levels[levelNdx].width == 32); in applyTextureGenerationSpec()
768 DE_ASSERT(spec.levels[levelNdx].height == 32); in applyTextureGenerationSpec()
769 DE_ASSERT(spec.levels[levelNdx].internalFormat == GL_COMPRESSED_RGB8_ETC2); in applyTextureGenerationSpec()
772 …bindTarget, spec.levels[levelNdx].level, spec.levels[levelNdx].internalFormat, spec.levels[levelNd… in applyTextureGenerationSpec()
774 …else if (!spec.immutable && spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_2D_A… in applyTextureGenerationSpec()
776 DE_ASSERT(spec.levels[levelNdx].width == 32); in applyTextureGenerationSpec()
777 DE_ASSERT(spec.levels[levelNdx].height == 32); in applyTextureGenerationSpec()
778 DE_ASSERT(spec.levels[levelNdx].depth == 2); in applyTextureGenerationSpec()
779 DE_ASSERT(spec.levels[levelNdx].internalFormat == GL_COMPRESSED_RGB8_ETC2); in applyTextureGenerationSpec()
782 …c.levels[levelNdx].level, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].width, spec.… in applyTextureGenerationSpec()
784 …else if (spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_BUFF… in applyTextureGenerationSpec()
792 gl.glTexBuffer(GL_TEXTURE_BUFFER, spec.levels[levelNdx].internalFormat, texBuffer); in applyTextureGenerationSpec()
797 …gl.glTexBufferRange(GL_TEXTURE_BUFFER, spec.levels[levelNdx].internalFormat, texBuffer, spec.texBu… in applyTextureGenerationSpec()
1068 for (int levelNdx = 0; levelNdx < (int)spec.levels.size(); ++levelNdx) in checkTextureState() local
1070 const int queryLevel = spec.levels[levelNdx].level; in checkTextureState()
1071 const int refValue = spec.levels[levelNdx].width; in checkTextureState()
1104 for (int levelNdx = 0; levelNdx < (int)spec.levels.size(); ++levelNdx) in checkTextureState() local
1106 const int queryLevel = spec.levels[levelNdx].level; in checkTextureState()
1107 const int refValue = spec.levels[levelNdx].height; in checkTextureState()
1141 for (int levelNdx = 0; levelNdx < (int)spec.levels.size(); ++levelNdx) in checkTextureState() local
1143 const int queryLevel = spec.levels[levelNdx].level; in checkTextureState()
1144 const int refValue = spec.levels[levelNdx].depth; in checkTextureState()
1181 for (int levelNdx = 0; levelNdx < (int)spec.levels.size(); ++levelNdx) in checkTextureState() local
1183 const int queryLevel = spec.levels[levelNdx].level; in checkTextureState()
1184 const int refValue = spec.levels[levelNdx].internalFormat; in checkTextureState()
1228 for (int levelNdx = 0; levelNdx < (int)spec.levels.size(); ++levelNdx) in checkTextureState() local
1230 const int queryLevel = spec.levels[levelNdx].level; in checkTextureState()
1231 const int refValue = getMinimumComponentResolution(spec.levels[levelNdx].internalFormat); in checkTextureState()
1350 for (int levelNdx = 0; levelNdx < (int)spec.levels.size(); ++levelNdx) in checkTextureState() local
1352 const int queryLevel = spec.levels[levelNdx].level; in checkTextureState()
1353 const int refValue = getComponentType(spec.levels[levelNdx].internalFormat); in checkTextureState()
1481 for (int levelNdx = 0; levelNdx < (int)spec.levels.size(); ++levelNdx) in checkTextureState() local
1483 const int queryLevel = spec.levels[levelNdx].level; in checkTextureState()
1484 const int refValue = (spec.levels[levelNdx].compressed) ? (1) : (0); in checkTextureState()