Lines Matching refs:TextureViewUtilities
193 unsigned int TextureViewUtilities::getAmountOfComponentsForInternalformat(const glw::GLenum interna… in getAmountOfComponentsForInternalformat()
309 unsigned int TextureViewUtilities::getBlockSizeForCompressedInternalformat(const glw::GLenum intern… in getBlockSizeForCompressedInternalformat()
355 void TextureViewUtilities::getComponentSizeForInternalformat(const glw::GLenum internalformat, in getComponentSizeForInternalformat()
606 void TextureViewUtilities::getComponentSizeForType(const glw::GLenum type, unsigned int* out_rgba_s… in getComponentSizeForType()
720 const char* TextureViewUtilities::getErrorCodeString(const glw::GLint error_code) in getErrorCodeString()
756 _format TextureViewUtilities::getFormatOfInternalformat(const glw::GLenum internalformat) in getFormatOfInternalformat()
883 glw::GLenum TextureViewUtilities::getGLFormatOfInternalformat(const glw::GLenum internalformat) in getGLFormatOfInternalformat()
1072 const char* TextureViewUtilities::getGLSLDataTypeForSamplerType(const _sampler_type sampler_type, in getGLSLDataTypeForSamplerType()
1175 const char* TextureViewUtilities::getGLSLTypeForSamplerType(const _sampler_type sampler_type) in getGLSLTypeForSamplerType()
1204 TextureViewUtilities::_incompatible_internalformat_pairs TextureViewUtilities::
1207 TextureViewUtilities::_incompatible_internalformat_pairs result; in getIllegalTextureAndViewInternalformatCombinations()
1240 TextureViewUtilities::_incompatible_texture_target_pairs TextureViewUtilities::
1274 TextureViewUtilities::_internalformats TextureViewUtilities::getInternalformatsFromViewClass(_view_… in getInternalformatsFromViewClass()
1304 const char* TextureViewUtilities::getInternalformatString(const glw::GLenum internalformat) in getInternalformatString()
1562 TextureViewUtilities::_compatible_internalformat_pairs TextureViewUtilities::
1593 TextureViewUtilities::_compatible_texture_target_pairs TextureViewUtilities::getLegalTextureAndView… in getLegalTextureAndViewTargetCombinations()
1611 …if (TextureViewUtilities::isLegalTextureTargetForTextureView(original_texture_target, view_texture… in getLegalTextureAndViewTargetCombinations()
1628 void TextureViewUtilities::getMajorMinorVersionFromContextVersion(const glu::ContextType& context_t… in getMajorMinorVersionFromContextVersion()
1683 _sampler_type TextureViewUtilities::getSamplerTypeForInternalformat(const glw::GLenum internalforma… in getSamplerTypeForInternalformat()
1800 unsigned int TextureViewUtilities::getTextureDataSize(const glw::GLenum internalformat, const glw::… in getTextureDataSize()
1807 TextureViewUtilities::getComponentSizeForInternalformat(internalformat, internalformat_rgba_size); in getTextureDataSize()
1808 TextureViewUtilities::getComponentSizeForType(type, type_rgba_size); in getTextureDataSize()
1845 const char* TextureViewUtilities::getTextureTargetString(const glw::GLenum texture_target) in getTextureTargetString()
1898 glw::GLenum TextureViewUtilities::getTypeCompatibleWithInternalformat(const glw::GLenum internalfor… in getTypeCompatibleWithInternalformat()
2058 _view_class TextureViewUtilities::getViewClassForInternalformat(const glw::GLenum internalformat) in getViewClassForInternalformat()
2107 void TextureViewUtilities::initTextureStorage(const glw::Functions& gl, bool init_mutable_to, in initTextureStorage()
2360 bool TextureViewUtilities::isInternalformatCompatibleForTextureView(glw::GLenum original_internalfo… in isInternalformatCompatibleForTextureView()
2376 bool TextureViewUtilities::isInternalformatCompressed(const glw::GLenum internalformat) in isInternalformatCompressed()
2417 bool TextureViewUtilities::isInternalformatSRGB(const glw::GLenum internalformat) in isInternalformatSRGB()
2431 bool TextureViewUtilities::isInternalformatSupported(glw::GLenum internalformat, const glw::GLint m… in isInternalformatSupported()
2560 bool TextureViewUtilities::isLegalTextureTargetForTextureView(glw::GLenum original_texture_target, in isLegalTextureTargetForTextureView()
2817 …TextureViewUtilities::initTextureStorage(gl, (texture_type == TEST_TEXTURE_TYPE_MUTABLE_TEXTURE_OB… in initTestRuns()
3569 …m_testCtx.getLog() << tcu::TestLog::Message << "[" << TextureViewUtilities::getErrorCodeString(err… in iterate()
3593 …m_testCtx.getLog() << tcu::TestLog::Message << "[" << TextureViewUtilities::getErrorCodeString(err… in iterate()
3615 …m_testCtx.getLog() << tcu::TestLog::Message << "[" << TextureViewUtilities::getErrorCodeString(err… in iterate()
3639 …m_testCtx.getLog() << tcu::TestLog::Message << "[" << TextureViewUtilities::getErrorCodeString(err… in iterate()
3661 …m_testCtx.getLog() << tcu::TestLog::Message << "[" << TextureViewUtilities::getErrorCodeString(err… in iterate()
3680 TextureViewUtilities::_incompatible_texture_target_pairs incompatible_texture_target_pairs = in iterate()
3681 TextureViewUtilities::getIllegalTextureAndViewTargetCombinations(); in iterate()
3683 for (TextureViewUtilities::_incompatible_texture_target_pairs_const_iterator pair_iterator = in iterate()
3687 TextureViewUtilities::_internalformat_pair texture_target_pair = *pair_iterator; in iterate()
3700 TextureViewUtilities::initTextureStorage(gl, true, /* create mutable parent texture */ in iterate()
3715 …m_testCtx.getLog() << tcu::TestLog::Message << "[" << TextureViewUtilities::getErrorCodeString(err… in iterate()
3751 …TextureViewUtilities::getMajorMinorVersionFromContextVersion(m_context.getRenderContext().getType(… in iterate()
3754 TextureViewUtilities::_incompatible_internalformat_pairs internalformat_pairs = in iterate()
3755 TextureViewUtilities::getIllegalTextureAndViewInternalformatCombinations(); in iterate()
3757 for (TextureViewUtilities::_incompatible_internalformat_pairs::const_iterator pair_iterator = in iterate()
3765 if (!TextureViewUtilities::isInternalformatSupported(src_internalformat, context_major_version, in iterate()
3767 !TextureViewUtilities::isInternalformatSupported(view_internalformat, context_major_version, in iterate()
3784 TextureViewUtilities::initTextureStorage( in iterate()
3803 …m_testCtx.getLog() << tcu::TestLog::Message << "[" << TextureViewUtilities::getErrorCodeString(err… in iterate()
3835 …m_testCtx.getLog() << tcu::TestLog::Message << "[" << TextureViewUtilities::getErrorCodeString(err… in iterate()
3876 …if (!TextureViewUtilities::isInternalformatSupported(parent_texture_internalformat, context_major_… in iterate()
3885 …if (TextureViewUtilities::getViewClassForInternalformat(parent_texture_internalformat) == VIEW_CLA… in iterate()
3896 TextureViewUtilities::initTextureStorage( in iterate()
3916 << TextureViewUtilities::getErrorCodeString(error_code) in iterate()
3958 …m_testCtx.getLog() << tcu::TestLog::Message << "[" << TextureViewUtilities::getErrorCodeString(err… in iterate()
3981 …m_testCtx.getLog() << tcu::TestLog::Message << "[" << TextureViewUtilities::getErrorCodeString(err… in iterate()
4004 …m_testCtx.getLog() << tcu::TestLog::Message << "[" << TextureViewUtilities::getErrorCodeString(err… in iterate()
4028 …m_testCtx.getLog() << tcu::TestLog::Message << "[" << TextureViewUtilities::getErrorCodeString(err… in iterate()
4051 …m_testCtx.getLog() << tcu::TestLog::Message << "[" << TextureViewUtilities::getErrorCodeString(err… in iterate()
4074 …m_testCtx.getLog() << tcu::TestLog::Message << "[" << TextureViewUtilities::getErrorCodeString(err… in iterate()
4097 …m_testCtx.getLog() << tcu::TestLog::Message << "[" << TextureViewUtilities::getErrorCodeString(err… in iterate()
4120 …m_testCtx.getLog() << tcu::TestLog::Message << "[" << TextureViewUtilities::getErrorCodeString(err… in iterate()
4143 …m_testCtx.getLog() << tcu::TestLog::Message << "[" << TextureViewUtilities::getErrorCodeString(err… in iterate()
4167 …m_testCtx.getLog() << tcu::TestLog::Message << "[" << TextureViewUtilities::getErrorCodeString(err… in iterate()
4191 …m_testCtx.getLog() << tcu::TestLog::Message << "[" << TextureViewUtilities::getErrorCodeString(err… in iterate()
6064 << "[" << TextureViewUtilities::getTextureTargetString(view_texture_target) << "] " in initTextureObject()
6066 << "[" << TextureViewUtilities::getTextureTargetString(texture_target) << "] " in initTextureObject()
6114 << "[" << TextureViewUtilities::getTextureTargetString(texture_target) << "] " in initTextureObject()
6134 << "[" << TextureViewUtilities::getTextureTargetString(texture_target) << "] " in initTextureObject()
6157 << "[" << TextureViewUtilities::getTextureTargetString(texture_target) << "] " in initTextureObject()
6178 << "[" << TextureViewUtilities::getTextureTargetString(texture_target) << "] " in initTextureObject()
6201 << "[" << TextureViewUtilities::getTextureTargetString(texture_target) << "] " in initTextureObject()
6225 << "[" << TextureViewUtilities::getTextureTargetString(texture_target) << "] " in initTextureObject()
6249 << "[" << TextureViewUtilities::getTextureTargetString(texture_target) << "] " in initTextureObject()
6274 << "[" << TextureViewUtilities::getTextureTargetString(texture_target) << "] " in initTextureObject()
6328 TextureViewUtilities::_compatible_texture_target_pairs_const_iterator texture_target_iterator; in iterate()
6329 TextureViewUtilities::_compatible_texture_target_pairs texture_target_pairs = in iterate()
6330 TextureViewUtilities::getLegalTextureAndViewTargetCombinations(); in iterate()
6737 TextureViewUtilities::getAmountOfComponentsForInternalformat(texture_internalformat); in initBufferObject()
6739 TextureViewUtilities::getAmountOfComponentsForInternalformat(view_internalformat); in initBufferObject()
6780 TextureViewUtilities::getAmountOfComponentsForInternalformat(texture_internalformat); in initProgramObject()
6782 TextureViewUtilities::getSamplerTypeForInternalformat(texture_internalformat); in initProgramObject()
6784 TextureViewUtilities::getGLSLDataTypeForSamplerType(texture_sampler_type, texture_n_components); in initProgramObject()
6785 …const char* texture_sampler_glsl = TextureViewUtilities::getGLSLTypeForSamplerType(texture_sampler… in initProgramObject()
6790 TextureViewUtilities::getAmountOfComponentsForInternalformat(view_internalformat); in initProgramObject()
6791 …const _sampler_type view_sampler_type = TextureViewUtilities::getSamplerTypeForInternalformat(view… in initProgramObject()
6793 TextureViewUtilities::getGLSLDataTypeForSamplerType(view_sampler_type, view_n_components); in initProgramObject()
6794 const char* view_sampler_glsl = TextureViewUtilities::getGLSLTypeForSamplerType(view_sampler_type); in initProgramObject()
7038 …bool is_internalformat_compressed = TextureViewUtilities::isInternalformatCompressed(texture_inter… in initTextureObject()
7049 _format format = TextureViewUtilities::getFormatOfInternalformat(texture_internalformat); in initTextureObject()
7074 …glw::GLenum format_to_use = TextureViewUtilities::getGLFormatOfInternalformat(internalformat_to_… in initTextureObject()
7075 …glw::GLenum type_to_use = TextureViewUtilities::getTypeCompatibleWithInternalformat(internalforma… in initTextureObject()
7076 …const glw::GLenum view_type = TextureViewUtilities::getTypeCompatibleWithInternalformat(view_inter… in initTextureObject()
7097 const unsigned int mipmap_raw_size = TextureViewUtilities::getTextureDataSize( in initTextureObject()
7373 …TextureViewUtilities::_compatible_internalformat_pairs_const_iterator internalformat_combination_i… in iterate()
7374 TextureViewUtilities::_compatible_internalformat_pairs internalformat_combinations = in iterate()
7375 TextureViewUtilities::getLegalTextureAndViewInternalformatCombinations(); in iterate()
7381 …TextureViewUtilities::_internalformat_pair internalformat_pair = *internalformat_combination_itera… in iterate()
7470 …const char* texture_internalformat_string = TextureViewUtilities::getInternalformatString(texture_… in verifyResultData()
7471 …const char* view_internalformat_string = TextureViewUtilities::getInternalformatString(view_intern… in verifyResultData()
7502 TextureViewUtilities::isInternalformatCompressed(view_internalformat); in verifyResultData()
7506 TextureViewUtilities::getAmountOfComponentsForInternalformat(view_internalformat); in verifyResultData()
7507 _format texture_format = TextureViewUtilities::getFormatOfInternalformat(texture_internalformat); in verifyResultData()
7510 _format view_format = TextureViewUtilities::getFormatOfInternalformat(view_internalformat); in verifyResultData()
7514 …TextureViewUtilities::getComponentSizeForInternalformat(view_internalformat, view_component_sizes); in verifyResultData()
7609 TextureViewUtilities::getSamplerTypeForInternalformat(view_internalformat); in verifyResultData()
7768 if (TextureViewUtilities::isInternalformatSRGB(view_internalformat) && in verifyResultData()
7769 !TextureViewUtilities::isInternalformatSRGB(texture_internalformat)) in verifyResultData()