• Home
  • Raw
  • Download

Lines Matching refs:internalFormat

130 		glw::GLenum internalFormat;  member
138 , internalFormat (GL_RGBA) in TextureLevelSpec()
278 static bool isColorRenderableFormat (glw::GLenum internalFormat) in isColorRenderableFormat() argument
280 return internalFormat == GL_RGB565 || in isColorRenderableFormat()
281 internalFormat == GL_RGBA4 || in isColorRenderableFormat()
282 internalFormat == GL_RGB5_A1 || in isColorRenderableFormat()
283 internalFormat == GL_RGB10_A2 || in isColorRenderableFormat()
284 internalFormat == GL_RGB10_A2UI || in isColorRenderableFormat()
285 internalFormat == GL_SRGB8_ALPHA8 || in isColorRenderableFormat()
286 internalFormat == GL_R8 || in isColorRenderableFormat()
287 internalFormat == GL_RG8 || in isColorRenderableFormat()
288 internalFormat == GL_RGB8 || in isColorRenderableFormat()
289 internalFormat == GL_RGBA8 || in isColorRenderableFormat()
290 internalFormat == GL_R8I || in isColorRenderableFormat()
291 internalFormat == GL_RG8I || in isColorRenderableFormat()
292 internalFormat == GL_RGBA8I || in isColorRenderableFormat()
293 internalFormat == GL_R8UI || in isColorRenderableFormat()
294 internalFormat == GL_RG8UI || in isColorRenderableFormat()
295 internalFormat == GL_RGBA8UI || in isColorRenderableFormat()
296 internalFormat == GL_R16I || in isColorRenderableFormat()
297 internalFormat == GL_RG16I || in isColorRenderableFormat()
298 internalFormat == GL_RGBA16I || in isColorRenderableFormat()
299 internalFormat == GL_R16UI || in isColorRenderableFormat()
300 internalFormat == GL_RG16UI || in isColorRenderableFormat()
301 internalFormat == GL_RGBA16UI || in isColorRenderableFormat()
302 internalFormat == GL_R32I || in isColorRenderableFormat()
303 internalFormat == GL_RG32I || in isColorRenderableFormat()
304 internalFormat == GL_RGBA32I || in isColorRenderableFormat()
305 internalFormat == GL_R32UI || in isColorRenderableFormat()
306 internalFormat == GL_RG32UI || in isColorRenderableFormat()
307 internalFormat == GL_RGBA32UI; in isColorRenderableFormat()
310 static bool isRenderableFormat (glw::GLenum internalFormat) in isRenderableFormat() argument
312 return isColorRenderableFormat(internalFormat) || in isRenderableFormat()
313 internalFormat == GL_DEPTH_COMPONENT16 || in isRenderableFormat()
314 internalFormat == GL_DEPTH_COMPONENT24 || in isRenderableFormat()
315 internalFormat == GL_DEPTH_COMPONENT32F || in isRenderableFormat()
316 internalFormat == GL_DEPTH24_STENCIL8 || in isRenderableFormat()
317 internalFormat == GL_DEPTH32F_STENCIL8; in isRenderableFormat()
320 static bool isTextureBufferFormat (glw::GLenum internalFormat) in isTextureBufferFormat() argument
322 return internalFormat == GL_R8 || in isTextureBufferFormat()
323 internalFormat == GL_R16F || in isTextureBufferFormat()
324 internalFormat == GL_R32F || in isTextureBufferFormat()
325 internalFormat == GL_R8I || in isTextureBufferFormat()
326 internalFormat == GL_R16I || in isTextureBufferFormat()
327 internalFormat == GL_R32I || in isTextureBufferFormat()
328 internalFormat == GL_R8UI || in isTextureBufferFormat()
329 internalFormat == GL_R16UI || in isTextureBufferFormat()
330 internalFormat == GL_R32UI || in isTextureBufferFormat()
331 internalFormat == GL_RG8 || in isTextureBufferFormat()
332 internalFormat == GL_RG16F || in isTextureBufferFormat()
333 internalFormat == GL_RG32F || in isTextureBufferFormat()
334 internalFormat == GL_RG8I || in isTextureBufferFormat()
335 internalFormat == GL_RG16I || in isTextureBufferFormat()
336 internalFormat == GL_RG32I || in isTextureBufferFormat()
337 internalFormat == GL_RG8UI || in isTextureBufferFormat()
338 internalFormat == GL_RG16UI || in isTextureBufferFormat()
339 internalFormat == GL_RG32UI || in isTextureBufferFormat()
340 internalFormat == GL_RGB32F || in isTextureBufferFormat()
341 internalFormat == GL_RGB32I || in isTextureBufferFormat()
342 internalFormat == GL_RGB32UI || in isTextureBufferFormat()
343 internalFormat == GL_RGBA8 || in isTextureBufferFormat()
344 internalFormat == GL_RGBA16F || in isTextureBufferFormat()
345 internalFormat == GL_RGBA32F || in isTextureBufferFormat()
346 internalFormat == GL_RGBA8I || in isTextureBufferFormat()
347 internalFormat == GL_RGBA16I || in isTextureBufferFormat()
348 internalFormat == GL_RGBA32I || in isTextureBufferFormat()
349 internalFormat == GL_RGBA8UI || in isTextureBufferFormat()
350 internalFormat == GL_RGBA16UI || in isTextureBufferFormat()
351 internalFormat == GL_RGBA32UI; in isTextureBufferFormat()
384 static int getPixelSize (glw::GLenum internalFormat) in getPixelSize() argument
386 const tcu::TextureFormat fmt = glu::mapGLInternalFormat(internalFormat); in getPixelSize()
390 …ctor<TextureGenerationSpec>& group, glw::GLenum target, int maxSamples, glw::GLenum internalFormat) in generateColorTextureGenerationGroup() argument
424 level.internalFormat = internalFormat; in generateColorTextureGenerationGroup()
445 level.internalFormat = internalFormat; in generateColorTextureGenerationGroup()
466 level.internalFormat = internalFormat; in generateColorTextureGenerationGroup()
479 const int baseSize = getPixelSize(internalFormat); in generateColorTextureGenerationGroup()
493 level.internalFormat = internalFormat; in generateColorTextureGenerationGroup()
503 const int baseSize = getPixelSize(internalFormat); in generateColorTextureGenerationGroup()
517 level.internalFormat = internalFormat; in generateColorTextureGenerationGroup()
540 level.internalFormat = internalFormat; in generateColorTextureGenerationGroup()
560 level.internalFormat = internalFormat; in generateColorTextureGenerationGroup()
580 level.internalFormat = internalFormat; in generateColorTextureGenerationGroup()
647 level.internalFormat = internalFormats[internalFormatNdx]; in generateInternalFormatTextureGenerationGroup()
669 level.internalFormat = GL_RGBA8; in generateInternalFormatTextureGenerationGroup()
707 level.internalFormat = GL_COMPRESSED_RGB8_ETC2; in generateCompressedTextureGenerationGroup()
742 …rmat()) : (glu::getTransferFormat(glu::mapGLInternalFormat(spec.levels[levelNdx].internalFormat))); in applyTextureGenerationSpec()
745 …gl.glTexStorage2D(spec.bindTarget, 1, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].… in applyTextureGenerationSpec()
747 …gl.glTexStorage3D(spec.bindTarget, 1, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].… in applyTextureGenerationSpec()
749 …gl.glTexStorage3D(spec.bindTarget, 1, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].… in applyTextureGenerationSpec()
751 …gl.glTexStorage2D(spec.bindTarget, 1, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].… in applyTextureGenerationSpec()
753 …Multisample(spec.bindTarget, spec.sampleCount, spec.levels[levelNdx].internalFormat, spec.levels[l… in applyTextureGenerationSpec()
755 …Multisample(spec.bindTarget, spec.sampleCount, spec.levels[levelNdx].internalFormat, spec.levels[l… in applyTextureGenerationSpec()
757 …gl.glTexStorage3D(spec.bindTarget, 1, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].… in applyTextureGenerationSpec()
759 …(spec.bindTarget, spec.levels[levelNdx].level, spec.levels[levelNdx].internalFormat, spec.levels[l… in applyTextureGenerationSpec()
761 …(spec.bindTarget, spec.levels[levelNdx].level, spec.levels[levelNdx].internalFormat, spec.levels[l… in applyTextureGenerationSpec()
763 …(spec.bindTarget, spec.levels[levelNdx].level, spec.levels[levelNdx].internalFormat, spec.levels[l… in applyTextureGenerationSpec()
765 …spec.queryTarget, spec.levels[levelNdx].level, spec.levels[levelNdx].internalFormat, spec.levels[l… in applyTextureGenerationSpec()
767 …(spec.bindTarget, spec.levels[levelNdx].level, spec.levels[levelNdx].internalFormat, spec.levels[l… in applyTextureGenerationSpec()
772 DE_ASSERT(spec.levels[levelNdx].internalFormat == GL_COMPRESSED_RGB8_ETC2); in applyTextureGenerationSpec()
775 …(spec.bindTarget, spec.levels[levelNdx].level, spec.levels[levelNdx].internalFormat, spec.levels[l… in applyTextureGenerationSpec()
782 DE_ASSERT(spec.levels[levelNdx].internalFormat == GL_COMPRESSED_RGB8_ETC2); in applyTextureGenerationSpec()
785 …(spec.bindTarget, spec.levels[levelNdx].level, spec.levels[levelNdx].internalFormat, spec.levels[l… in applyTextureGenerationSpec()
795 gl.glTexBuffer(GL_TEXTURE_BUFFER, spec.levels[levelNdx].internalFormat, texBuffer); in applyTextureGenerationSpec()
800 …gl.glTexBufferRange(GL_TEXTURE_BUFFER, spec.levels[levelNdx].internalFormat, texBuffer, spec.texBu… in applyTextureGenerationSpec()
832 void getFormatSamples (glw::GLenum internalFormat, std::vector<int>& samples);
895 void TextureLevelCase::getFormatSamples (glw::GLenum internalFormat, std::vector<int>& samples) in getFormatSamples() argument
903 gl.getInternalformativ(m_target, internalFormat, GL_NUM_SAMPLE_COUNTS, 1, &sampleCount); in getFormatSamples()
912 gl.getInternalformativ(m_target, internalFormat, GL_SAMPLES, sampleCount, &samples[0]); in getFormatSamples()
999 const glw::GLenum internalFormat = GL_RGBA8; in generateTestIterations() local
1003 getFormatSamples(internalFormat, samples); in generateTestIterations()
1009 generateColorTextureGenerationGroup(iterations, m_target, maxSamples, internalFormat); in generateTestIterations()
1187 const int refValue = spec.levels[levelNdx].internalFormat; in checkTextureState()
1205 int getMinimumComponentResolution (glw::GLenum internalFormat);
1234 const int refValue = getMinimumComponentResolution(spec.levels[levelNdx].internalFormat); in checkTextureState()
1243 int TextureLevelSizeCase::getMinimumComponentResolution (glw::GLenum internalFormat) in getMinimumComponentResolution() argument
1245 const tcu::TextureFormat format = glu::mapGLInternalFormat(internalFormat); in getMinimumComponentResolution()
1309 if (internalFormat == GL_RGB9_E5) in getMinimumComponentResolution()
1327 int getComponentType (glw::GLenum internalFormat);
1356 const int refValue = getComponentType(spec.levels[levelNdx].internalFormat); in checkTextureState()
1365 int TextureLevelTypeCase::getComponentType (glw::GLenum internalFormat) in getComponentType() argument
1367 const tcu::TextureFormat format = glu::mapGLInternalFormat(internalFormat); in getComponentType()