Lines Matching refs:levelNdx

732 	for (int levelNdx = 0; levelNdx < (int)spec.levels.size(); ++levelNdx)  in applyTextureGenerationSpec()  local
734 …t = (spec.levels[levelNdx].compressed) ? (glu::TransferFormat()) : (glu::getTransferFormat(glu::ma… in applyTextureGenerationSpec()
736 if (spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_2D) in applyTextureGenerationSpec()
737 …rage2D(spec.bindTarget, 1, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].width, spec… in applyTextureGenerationSpec()
738 else if (spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_3D) in applyTextureGenerationSpec()
739 …dTarget, 1, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].width, spec.levels[levelNd… in applyTextureGenerationSpec()
740 …else if (spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_2D_A… in applyTextureGenerationSpec()
741 …dTarget, 1, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].width, spec.levels[levelNd… in applyTextureGenerationSpec()
742 …else if (spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_CUBE… in applyTextureGenerationSpec()
743 …rage2D(spec.bindTarget, 1, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].width, spec… in applyTextureGenerationSpec()
744 …else if (spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_2D_M… in applyTextureGenerationSpec()
745 …dTarget, spec.sampleCount, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].width, spec… in applyTextureGenerationSpec()
746 …else if (spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_2D_M… in applyTextureGenerationSpec()
747 …ampleCount, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].width, spec.levels[levelNd… in applyTextureGenerationSpec()
748 …else if (spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_CUBE… in applyTextureGenerationSpec()
749 …dTarget, 1, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].width, spec.levels[levelNd… in applyTextureGenerationSpec()
750 else if (!spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_2D) in applyTextureGenerationSpec()
751 …bindTarget, spec.levels[levelNdx].level, spec.levels[levelNdx].internalFormat, spec.levels[levelNd… in applyTextureGenerationSpec()
752 else if (!spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_3D) in applyTextureGenerationSpec()
753 …c.levels[levelNdx].level, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].width, spec.… in applyTextureGenerationSpec()
754 …else if (!spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_2D_… in applyTextureGenerationSpec()
755 …c.levels[levelNdx].level, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].width, spec.… in applyTextureGenerationSpec()
756 …else if (!spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_CUB… in applyTextureGenerationSpec()
757 …ueryTarget, spec.levels[levelNdx].level, spec.levels[levelNdx].internalFormat, spec.levels[levelNd… in applyTextureGenerationSpec()
758 …else if (!spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_CUB… in applyTextureGenerationSpec()
759 …c.levels[levelNdx].level, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].width, spec.… in applyTextureGenerationSpec()
760 else if (!spec.immutable && spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_2D) in applyTextureGenerationSpec()
762 DE_ASSERT(spec.levels[levelNdx].width == 32); in applyTextureGenerationSpec()
763 DE_ASSERT(spec.levels[levelNdx].height == 32); in applyTextureGenerationSpec()
764 DE_ASSERT(spec.levels[levelNdx].internalFormat == GL_COMPRESSED_RGB8_ETC2); in applyTextureGenerationSpec()
767 …bindTarget, spec.levels[levelNdx].level, spec.levels[levelNdx].internalFormat, spec.levels[levelNd… in applyTextureGenerationSpec()
769 …else if (!spec.immutable && spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_2D_A… in applyTextureGenerationSpec()
771 DE_ASSERT(spec.levels[levelNdx].width == 32); in applyTextureGenerationSpec()
772 DE_ASSERT(spec.levels[levelNdx].height == 32); in applyTextureGenerationSpec()
773 DE_ASSERT(spec.levels[levelNdx].depth == 2); in applyTextureGenerationSpec()
774 DE_ASSERT(spec.levels[levelNdx].internalFormat == GL_COMPRESSED_RGB8_ETC2); in applyTextureGenerationSpec()
777 …c.levels[levelNdx].level, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].width, spec.… in applyTextureGenerationSpec()
779 …else if (spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_BUFF… in applyTextureGenerationSpec()
787 gl.glTexBuffer(GL_TEXTURE_BUFFER, spec.levels[levelNdx].internalFormat, texBuffer); in applyTextureGenerationSpec()
792 …gl.glTexBufferRange(GL_TEXTURE_BUFFER, spec.levels[levelNdx].internalFormat, texBuffer, spec.texBu… in applyTextureGenerationSpec()
1063 for (int levelNdx = 0; levelNdx < (int)spec.levels.size(); ++levelNdx) in checkTextureState() local
1065 const int queryLevel = spec.levels[levelNdx].level; in checkTextureState()
1066 const int refValue = spec.levels[levelNdx].width; in checkTextureState()
1099 for (int levelNdx = 0; levelNdx < (int)spec.levels.size(); ++levelNdx) in checkTextureState() local
1101 const int queryLevel = spec.levels[levelNdx].level; in checkTextureState()
1102 const int refValue = spec.levels[levelNdx].height; in checkTextureState()
1136 for (int levelNdx = 0; levelNdx < (int)spec.levels.size(); ++levelNdx) in checkTextureState() local
1138 const int queryLevel = spec.levels[levelNdx].level; in checkTextureState()
1139 const int refValue = spec.levels[levelNdx].depth; in checkTextureState()
1176 for (int levelNdx = 0; levelNdx < (int)spec.levels.size(); ++levelNdx) in checkTextureState() local
1178 const int queryLevel = spec.levels[levelNdx].level; in checkTextureState()
1179 const int refValue = spec.levels[levelNdx].internalFormat; in checkTextureState()
1223 for (int levelNdx = 0; levelNdx < (int)spec.levels.size(); ++levelNdx) in checkTextureState() local
1225 const int queryLevel = spec.levels[levelNdx].level; in checkTextureState()
1226 const int refValue = getMinimumComponentResolution(spec.levels[levelNdx].internalFormat); in checkTextureState()
1345 for (int levelNdx = 0; levelNdx < (int)spec.levels.size(); ++levelNdx) in checkTextureState() local
1347 const int queryLevel = spec.levels[levelNdx].level; in checkTextureState()
1348 const int refValue = getComponentType(spec.levels[levelNdx].internalFormat); in checkTextureState()
1476 for (int levelNdx = 0; levelNdx < (int)spec.levels.size(); ++levelNdx) in checkTextureState() local
1478 const int queryLevel = spec.levels[levelNdx].level; in checkTextureState()
1479 const int refValue = (spec.levels[levelNdx].compressed) ? (1) : (0); in checkTextureState()