Lines Matching refs:internalFormat
129 glw::GLenum internalFormat; member
137 , internalFormat (GL_RGBA) in TextureLevelSpec()
275 static bool isColorRenderableFormat (glw::GLenum internalFormat) in isColorRenderableFormat() argument
277 return internalFormat == GL_RGB565 || in isColorRenderableFormat()
278 internalFormat == GL_RGBA4 || in isColorRenderableFormat()
279 internalFormat == GL_RGB5_A1 || in isColorRenderableFormat()
280 internalFormat == GL_RGB10_A2 || in isColorRenderableFormat()
281 internalFormat == GL_RGB10_A2UI || in isColorRenderableFormat()
282 internalFormat == GL_SRGB8_ALPHA8 || in isColorRenderableFormat()
283 internalFormat == GL_R8 || in isColorRenderableFormat()
284 internalFormat == GL_RG8 || in isColorRenderableFormat()
285 internalFormat == GL_RGB8 || in isColorRenderableFormat()
286 internalFormat == GL_RGBA8 || in isColorRenderableFormat()
287 internalFormat == GL_R8I || in isColorRenderableFormat()
288 internalFormat == GL_RG8I || in isColorRenderableFormat()
289 internalFormat == GL_RGBA8I || in isColorRenderableFormat()
290 internalFormat == GL_R8UI || in isColorRenderableFormat()
291 internalFormat == GL_RG8UI || in isColorRenderableFormat()
292 internalFormat == GL_RGBA8UI || in isColorRenderableFormat()
293 internalFormat == GL_R16I || in isColorRenderableFormat()
294 internalFormat == GL_RG16I || in isColorRenderableFormat()
295 internalFormat == GL_RGBA16I || in isColorRenderableFormat()
296 internalFormat == GL_R16UI || in isColorRenderableFormat()
297 internalFormat == GL_RG16UI || in isColorRenderableFormat()
298 internalFormat == GL_RGBA16UI || in isColorRenderableFormat()
299 internalFormat == GL_R32I || in isColorRenderableFormat()
300 internalFormat == GL_RG32I || in isColorRenderableFormat()
301 internalFormat == GL_RGBA32I || in isColorRenderableFormat()
302 internalFormat == GL_R32UI || in isColorRenderableFormat()
303 internalFormat == GL_RG32UI || in isColorRenderableFormat()
304 internalFormat == GL_RGBA32UI; in isColorRenderableFormat()
307 static bool isRenderableFormat (glw::GLenum internalFormat) in isRenderableFormat() argument
309 return isColorRenderableFormat(internalFormat) || in isRenderableFormat()
310 internalFormat == GL_DEPTH_COMPONENT16 || in isRenderableFormat()
311 internalFormat == GL_DEPTH_COMPONENT24 || in isRenderableFormat()
312 internalFormat == GL_DEPTH_COMPONENT32F || in isRenderableFormat()
313 internalFormat == GL_DEPTH24_STENCIL8 || in isRenderableFormat()
314 internalFormat == GL_DEPTH32F_STENCIL8; in isRenderableFormat()
317 static bool isTextureBufferFormat (glw::GLenum internalFormat) in isTextureBufferFormat() argument
319 return internalFormat == GL_R8 || in isTextureBufferFormat()
320 internalFormat == GL_R16F || in isTextureBufferFormat()
321 internalFormat == GL_R32F || in isTextureBufferFormat()
322 internalFormat == GL_R8I || in isTextureBufferFormat()
323 internalFormat == GL_R16I || in isTextureBufferFormat()
324 internalFormat == GL_R32I || in isTextureBufferFormat()
325 internalFormat == GL_R8UI || in isTextureBufferFormat()
326 internalFormat == GL_R16UI || in isTextureBufferFormat()
327 internalFormat == GL_R32UI || in isTextureBufferFormat()
328 internalFormat == GL_RG8 || in isTextureBufferFormat()
329 internalFormat == GL_RG16F || in isTextureBufferFormat()
330 internalFormat == GL_RG32F || in isTextureBufferFormat()
331 internalFormat == GL_RG8I || in isTextureBufferFormat()
332 internalFormat == GL_RG16I || in isTextureBufferFormat()
333 internalFormat == GL_RG32I || in isTextureBufferFormat()
334 internalFormat == GL_RG8UI || in isTextureBufferFormat()
335 internalFormat == GL_RG16UI || in isTextureBufferFormat()
336 internalFormat == GL_RG32UI || in isTextureBufferFormat()
337 internalFormat == GL_RGB32F || in isTextureBufferFormat()
338 internalFormat == GL_RGB32I || in isTextureBufferFormat()
339 internalFormat == GL_RGB32UI || in isTextureBufferFormat()
340 internalFormat == GL_RGBA8 || in isTextureBufferFormat()
341 internalFormat == GL_RGBA16F || in isTextureBufferFormat()
342 internalFormat == GL_RGBA32F || in isTextureBufferFormat()
343 internalFormat == GL_RGBA8I || in isTextureBufferFormat()
344 internalFormat == GL_RGBA16I || in isTextureBufferFormat()
345 internalFormat == GL_RGBA32I || in isTextureBufferFormat()
346 internalFormat == GL_RGBA8UI || in isTextureBufferFormat()
347 internalFormat == GL_RGBA16UI || in isTextureBufferFormat()
348 internalFormat == GL_RGBA32UI; in isTextureBufferFormat()
381 static int getPixelSize (glw::GLenum internalFormat) in getPixelSize() argument
383 const tcu::TextureFormat fmt = glu::mapGLInternalFormat(internalFormat); in getPixelSize()
387 …ctor<TextureGenerationSpec>& group, glw::GLenum target, int maxSamples, glw::GLenum internalFormat) in generateColorTextureGenerationGroup() argument
421 level.internalFormat = internalFormat; in generateColorTextureGenerationGroup()
442 level.internalFormat = internalFormat; in generateColorTextureGenerationGroup()
463 level.internalFormat = internalFormat; in generateColorTextureGenerationGroup()
476 const int baseSize = getPixelSize(internalFormat); in generateColorTextureGenerationGroup()
490 level.internalFormat = internalFormat; in generateColorTextureGenerationGroup()
500 const int baseSize = getPixelSize(internalFormat); in generateColorTextureGenerationGroup()
514 level.internalFormat = internalFormat; in generateColorTextureGenerationGroup()
537 level.internalFormat = internalFormat; in generateColorTextureGenerationGroup()
557 level.internalFormat = internalFormat; in generateColorTextureGenerationGroup()
577 level.internalFormat = internalFormat; in generateColorTextureGenerationGroup()
644 level.internalFormat = internalFormats[internalFormatNdx]; in generateInternalFormatTextureGenerationGroup()
666 level.internalFormat = GL_RGBA8; in generateInternalFormatTextureGenerationGroup()
704 level.internalFormat = GL_COMPRESSED_RGB8_ETC2; in generateCompressedTextureGenerationGroup()
739 …rmat()) : (glu::getTransferFormat(glu::mapGLInternalFormat(spec.levels[levelNdx].internalFormat))); in applyTextureGenerationSpec()
742 …gl.glTexStorage2D(spec.bindTarget, 1, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].… in applyTextureGenerationSpec()
744 …gl.glTexStorage3D(spec.bindTarget, 1, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].… in applyTextureGenerationSpec()
746 …gl.glTexStorage3D(spec.bindTarget, 1, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].… in applyTextureGenerationSpec()
748 …gl.glTexStorage2D(spec.bindTarget, 1, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].… in applyTextureGenerationSpec()
750 …Multisample(spec.bindTarget, spec.sampleCount, spec.levels[levelNdx].internalFormat, spec.levels[l… in applyTextureGenerationSpec()
752 …Multisample(spec.bindTarget, spec.sampleCount, spec.levels[levelNdx].internalFormat, spec.levels[l… in applyTextureGenerationSpec()
754 …gl.glTexStorage3D(spec.bindTarget, 1, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].… in applyTextureGenerationSpec()
756 …(spec.bindTarget, spec.levels[levelNdx].level, spec.levels[levelNdx].internalFormat, spec.levels[l… in applyTextureGenerationSpec()
758 …(spec.bindTarget, spec.levels[levelNdx].level, spec.levels[levelNdx].internalFormat, spec.levels[l… in applyTextureGenerationSpec()
760 …(spec.bindTarget, spec.levels[levelNdx].level, spec.levels[levelNdx].internalFormat, spec.levels[l… in applyTextureGenerationSpec()
762 …spec.queryTarget, spec.levels[levelNdx].level, spec.levels[levelNdx].internalFormat, spec.levels[l… in applyTextureGenerationSpec()
764 …(spec.bindTarget, spec.levels[levelNdx].level, spec.levels[levelNdx].internalFormat, spec.levels[l… in applyTextureGenerationSpec()
769 DE_ASSERT(spec.levels[levelNdx].internalFormat == GL_COMPRESSED_RGB8_ETC2); in applyTextureGenerationSpec()
772 …(spec.bindTarget, spec.levels[levelNdx].level, spec.levels[levelNdx].internalFormat, spec.levels[l… in applyTextureGenerationSpec()
779 DE_ASSERT(spec.levels[levelNdx].internalFormat == GL_COMPRESSED_RGB8_ETC2); in applyTextureGenerationSpec()
782 …(spec.bindTarget, spec.levels[levelNdx].level, spec.levels[levelNdx].internalFormat, spec.levels[l… 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()
829 void getFormatSamples (glw::GLenum internalFormat, std::vector<int>& samples);
892 void TextureLevelCase::getFormatSamples (glw::GLenum internalFormat, std::vector<int>& samples) in getFormatSamples() argument
900 gl.getInternalformativ(m_target, internalFormat, GL_NUM_SAMPLE_COUNTS, 1, &sampleCount); in getFormatSamples()
909 gl.getInternalformativ(m_target, internalFormat, GL_SAMPLES, sampleCount, &samples[0]); in getFormatSamples()
996 const glw::GLenum internalFormat = GL_RGBA8; in generateTestIterations() local
1000 getFormatSamples(internalFormat, samples); in generateTestIterations()
1006 generateColorTextureGenerationGroup(iterations, m_target, maxSamples, internalFormat); in generateTestIterations()
1184 const int refValue = spec.levels[levelNdx].internalFormat; in checkTextureState()
1202 int getMinimumComponentResolution (glw::GLenum internalFormat);
1231 const int refValue = getMinimumComponentResolution(spec.levels[levelNdx].internalFormat); in checkTextureState()
1240 int TextureLevelSizeCase::getMinimumComponentResolution (glw::GLenum internalFormat) in getMinimumComponentResolution() argument
1242 const tcu::TextureFormat format = glu::mapGLInternalFormat(internalFormat); in getMinimumComponentResolution()
1306 if (internalFormat == GL_RGB9_E5) in getMinimumComponentResolution()
1324 int getComponentType (glw::GLenum internalFormat);
1353 const int refValue = getComponentType(spec.levels[levelNdx].internalFormat); in checkTextureState()
1362 int TextureLevelTypeCase::getComponentType (glw::GLenum internalFormat) in getComponentType() argument
1364 const tcu::TextureFormat format = glu::mapGLInternalFormat(internalFormat); in getComponentType()