Lines Matching refs:ImageIndex
47 return ImageIndex::kEntireLevel; in TextureTargetToLayer()
74 ASSERT(layerIndex != ImageIndex::kEntireLevel); in TextureTypeToTarget()
83 ImageIndex::ImageIndex() in ImageIndex() function in gl::ImageIndex
87 ImageIndex::ImageIndex(const ImageIndex &other) = default;
89 ImageIndex &ImageIndex::operator=(const ImageIndex &other) = default;
91 bool ImageIndex::hasLayer() const in hasLayer()
96 bool ImageIndex::isLayered() const in isLayered()
111 bool ImageIndex::has3DLayer() const in has3DLayer()
119 bool ImageIndex::usesTex3D() const in usesTex3D()
125 TextureTarget ImageIndex::getTarget() const in getTarget()
130 gl::TextureTarget ImageIndex::getTargetOrFirstCubeFace() const in getTargetOrFirstCubeFace()
142 GLint ImageIndex::cubeMapFaceIndex() const in cubeMapFaceIndex()
149 bool ImageIndex::valid() const in valid()
154 bool ImageIndex::isEntireLevelCubeMap() const in isEntireLevelCubeMap()
156 return mType == TextureType::CubeMap && mLayerIndex == ImageIndex::kEntireLevel; in isEntireLevelCubeMap()
159 ImageIndex ImageIndex::Make2D(GLint levelIndex) in Make2D()
161 return ImageIndex(TextureType::_2D, levelIndex, kEntireLevel, 1); in Make2D()
164 ImageIndex ImageIndex::MakeRectangle(GLint levelIndex) in MakeRectangle()
166 return ImageIndex(TextureType::Rectangle, levelIndex, kEntireLevel, 1); in MakeRectangle()
169 ImageIndex ImageIndex::MakeCubeMapFace(TextureTarget target, GLint levelIndex) in MakeCubeMapFace()
172 return ImageIndex(TextureType::CubeMap, levelIndex, TextureTargetToLayer(target), 1); in MakeCubeMapFace()
175 ImageIndex ImageIndex::Make2DArray(GLint levelIndex, GLint layerIndex) in Make2DArray()
177 return ImageIndex(TextureType::_2DArray, levelIndex, layerIndex, 1); in Make2DArray()
180 ImageIndex ImageIndex::Make2DArrayRange(GLint levelIndex, GLint layerIndex, GLint numLayers) in Make2DArrayRange()
182 return ImageIndex(TextureType::_2DArray, levelIndex, layerIndex, numLayers); in Make2DArrayRange()
185 ImageIndex ImageIndex::Make3D(GLint levelIndex, GLint layerIndex) in Make3D()
187 return ImageIndex(TextureType::_3D, levelIndex, layerIndex, 1); in Make3D()
190 ImageIndex ImageIndex::MakeFromTarget(TextureTarget target, GLint levelIndex, GLint depth) in MakeFromTarget()
192 return ImageIndex(TextureTargetToType(target), levelIndex, TextureTargetToLayer(target), in MakeFromTarget()
196 ImageIndex ImageIndex::MakeFromType(TextureType type, in MakeFromType()
203 return ImageIndex(type, levelIndex, layerIndex, overrideLayerCount); in MakeFromType()
206 ImageIndex ImageIndex::MakeBuffer() in MakeBuffer()
208 return ImageIndex(TextureType::Buffer, 0, kEntireLevel, 1); in MakeBuffer()
211 ImageIndex ImageIndex::Make2DMultisample() in Make2DMultisample()
213 return ImageIndex(TextureType::_2DMultisample, 0, kEntireLevel, 1); in Make2DMultisample()
216 ImageIndex ImageIndex::Make2DMultisampleArray(GLint layerIndex) in Make2DMultisampleArray()
218 return ImageIndex(TextureType::_2DMultisampleArray, 0, layerIndex, 1); in Make2DMultisampleArray()
221 ImageIndex ImageIndex::Make2DMultisampleArrayRange(GLint layerIndex, GLint numLayers) in Make2DMultisampleArrayRange()
223 return ImageIndex(TextureType::_2DMultisampleArray, 0, layerIndex, numLayers); in Make2DMultisampleArrayRange()
226 bool ImageIndex::operator<(const ImageIndex &b) const in operator <()
232 bool ImageIndex::operator==(const ImageIndex &b) const in operator ==()
238 bool ImageIndex::operator!=(const ImageIndex &b) const in operator !=()
243 ImageIndex::ImageIndex(TextureType type, GLint levelIndex, GLint layerIndex, GLint layerCount) in ImageIndex() function in gl::ImageIndex
247 ImageIndexIterator ImageIndex::getLayerIterator(GLint layerCount) const in getLayerIterator()
258 Range<GLint>(ImageIndex::kEntireLevel, ImageIndex::kEntireLevel), in Make2D()
265 Range<GLint>(ImageIndex::kEntireLevel, ImageIndex::kEntireLevel), in MakeRectangle()
296 Range<GLint>(ImageIndex::kEntireLevel, ImageIndex::kEntireLevel), in Make2DMultisample()
303 Range<GLint>(ImageIndex::kEntireLevel, ImageIndex::kEntireLevel), in MakeBuffer()
351 ImageIndex ImageIndexIterator::next() in next()
356 ImageIndex previousIndex = mCurrentIndex; in next()
372 mCurrentIndex = ImageIndex(); in next()
378 ImageIndex ImageIndexIterator::current() const in current()