Lines Matching refs:glu
100 static bool isCoreTextureTarget (glw::GLenum target, const glu::ContextType& contextType)
114 return glu::contextSupports(contextType, glu::ApiType::es(3, 2)) ||
115 glu::contextSupports(contextType, glu::ApiType::core(4, 5));
175 static std::string getIntegerName (int v) { return de::toString(glu::getTextureFormatStr(v)); }
176 static std::string getFloatName (float v) { return de::toString(glu::getTextureFormatStr((int)v)); }
180 static bool verifyTextureLevelParameterEqualWithPrinter (glu::CallLogWrapper& gl, glw::GLenum target, int level, glw::GLenum pname, int refValue, QueryType type)
185 gl.getLog() << tcu::TestLog::Message << "Verifying " << glu::getTextureLevelParameterStr(pname) << ", expecting " << Printer::getIntegerName(refValue) << tcu::TestLog::EndMessage;
196 static bool verifyTextureLevelParameterEqual (glu::CallLogWrapper& gl, glw::GLenum target, int level, glw::GLenum pname, int refValue, QueryType type)
201 static bool verifyTextureLevelParameterInternalFormatEqual (glu::CallLogWrapper& gl, glw::GLenum target, int level, glw::GLenum pname, int refValue, QueryType type)
206 static bool verifyTextureLevelParameterGreaterOrEqual (glu::CallLogWrapper& gl, glw::GLenum target, int level, glw::GLenum pname, int refValue, QueryType type)
211 gl.getLog() << tcu::TestLog::Message << "Verifying " << glu::getTextureLevelParameterStr(pname) << ", expecting " << refValue << " or greater" << tcu::TestLog::EndMessage;
222 static bool verifyTextureLevelParameterInternalFormatAnyOf (glu::CallLogWrapper& gl, glw::GLenum target, int level, glw::GLenum pname, const int* refValues, int numRefValues, QueryType type)
231 msg << "Verifying " << glu::getTextureLevelParameterStr(pname) << ", expecting any of {";
236 msg << glu::getTextureFormatStr(refValues[ndx]);
255 gl.getLog() << tcu::TestLog::Message << "Error: got " << state.getIntAccess() << ", (" << glu::getTextureFormatStr(state.getIntAccess()) << ")" << tcu::TestLog::EndMessage;
264 gl.getLog() << tcu::TestLog::Message << "Error: got " << state.getFloatAccess() << ", (" << glu::getTextureFormatStr((int)state.getFloatAccess()) << ")" << tcu::TestLog::EndMessage;
356 const tcu::TextureFormat fmt = glu::mapGLInternalFormat(format);
386 const tcu::TextureFormat fmt = glu::mapGLInternalFormat(internalFormat);
401 texGen.description = glu::getTextureTargetStr(target).toString() + ", initial values";
418 texGen.description = glu::getTextureTargetStr(target).toString() + ", low sample count";
439 texGen.description = glu::getTextureTargetStr(target).toString() + ", high sample count";
460 texGen.description = glu::getTextureTargetStr(target).toString() + ", fixed sample positions";
484 texGen.description = glu::getTextureTargetStr(target).toString() + ", whole buffer";
508 texGen.description = glu::getTextureTargetStr(target).toString() + ", partial buffer";
534 texGen.description = glu::getTextureTargetStr(target).toString() + ", immutable";
554 texGen.description = glu::getTextureTargetStr(target).toString() + ", mutable";
574 texGen.description = glu::getTextureTargetStr(target).toString() + ", mip level 3";
615 texGen.description = glu::getTextureTargetStr(target).toString() + ", initial values";
634 texGen.description = glu::getTextureTargetStr(target).toString() + ", internal format " + glu::getTextureFormatName(internalFormats[internalFormatNdx]);
663 texGen.description = glu::getTextureTargetStr(target).toString() + ", internal format GL_RGBA8, mip level 3";
687 texGen.description = glu::getTextureTargetStr(target).toString() + ", initial values";
701 texGen.description = glu::getTextureTargetStr(target).toString() + ", compressed";
726 texGen.description = glu::getTextureTargetStr(target).toString() + ", initial values";
734 bool applyTextureGenerationSpec (glu::CallLogWrapper& gl, const TextureGenerationSpec& spec, glw::GLuint& texBuffer)
742 const glu::TransferFormat transferFormat = (spec.levels[levelNdx].compressed) ? (glu::TransferFormat()) : (glu::getTransferFormat(glu::mapGLInternalFormat(spec.levels[levelNdx].internalFormat)));
811 << "Texture specification failed, got " + glu::getErrorStr(err).toString()
834 virtual bool checkTextureState (glu::CallLogWrapper& gl, const TextureGenerationSpec& spec) = 0;
953 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog());
1021 bool checkTextureState (glu::CallLogWrapper& gl, const TextureGenerationSpec& spec)
1039 bool checkTextureState (glu::CallLogWrapper& gl, const TextureGenerationSpec& spec)
1057 bool checkTextureState (glu::CallLogWrapper& gl, const TextureGenerationSpec& spec)
1093 bool checkTextureState (glu::CallLogWrapper& gl, const TextureGenerationSpec& spec)
1130 bool checkTextureState (glu::CallLogWrapper& gl, const TextureGenerationSpec& spec)
1171 bool checkTextureState (glu::CallLogWrapper& gl, const TextureGenerationSpec& spec)
1204 bool checkTextureState (glu::CallLogWrapper& gl, const TextureGenerationSpec& spec);
1221 bool TextureLevelSizeCase::checkTextureState (glu::CallLogWrapper& gl, const TextureGenerationSpec& spec)
1245 const tcu::TextureFormat format = glu::mapGLInternalFormat(internalFormat);
1326 bool checkTextureState (glu::CallLogWrapper& gl, const TextureGenerationSpec& spec);
1343 bool TextureLevelTypeCase::checkTextureState (glu::CallLogWrapper& gl, const TextureGenerationSpec& spec)
1367 const tcu::TextureFormat format = glu::mapGLInternalFormat(internalFormat);
1474 bool checkTextureState (glu::CallLogWrapper& gl, const TextureGenerationSpec& spec)
1500 return contextSupports(ctxType, glu::ApiType::es(3, 2)) ||
1501 contextSupports(ctxType, glu::ApiType::core(4, 5)) ||
1526 bool checkTextureState (glu::CallLogWrapper& gl, const TextureGenerationSpec& spec)
1564 bool checkTextureState (glu::CallLogWrapper& gl, const TextureGenerationSpec& spec)
1604 bool checkTextureState (glu::CallLogWrapper& gl, const TextureGenerationSpec& spec)