/external/deqp/modules/gles31/functional/ |
es31fNegativeTestShared.hpp | 57 class NegativeTestContext : public glu::CallLogWrapper 60 NegativeTestContext (ErrorCase& host, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, tcu::TestLog& log, tcu::ResultCollector& results, bool enableLog); 67 const glu::RenderContext& getRenderContext (void) const { return m_renderCtx; } 68 const glu::ContextInfo& getContextInfo (void) const { return m_ctxInfo; } 74 bool isShaderSupported (glu::ShaderType shaderType); 81 glu::RenderContext& m_renderCtx; 82 const glu::ContextInfo& m_ctxInfo;
|
es31fUniformLocationTests.hpp | 29 namespace glu namespace 41 typedef std::vector<glu::StructType*> StructList;
|
es31fShaderCommonFunctionTests.cpp | 127 inline bool supportsSignedZero (glu::Precision precision) 131 return precision == glu::PRECISION_HIGHP; 153 static int getMinMantissaBits (glu::Precision precision) 161 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(bits) == glu::PRECISION_LAST); 166 static int getMaxNormalizedValueExponent (glu::Precision precision) 174 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(exponent) == glu::PRECISION_LAST); 179 static int getMinNormalizedValueExponent (glu::Precision precision) 187 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(exponent) == glu::PRECISION_LAST); 192 static float makeFloatRepresentable (float f, glu::Precision precision) 194 if (precision == glu::PRECISION_HIGHP [all...] |
es31fBuiltinPrecisionTests.cpp | 43 std::vector<glu::ShaderType> shaderTypes; 47 shaderTypes.push_back(glu::SHADERTYPE_COMPUTE); 56 shaderTypes.push_back(glu::SHADERTYPE_VERTEX); 57 shaderTypes.push_back(glu::SHADERTYPE_FRAGMENT); 58 shaderTypes.push_back(glu::SHADERTYPE_COMPUTE);
|
es31fProgramInterfaceDefinitionUtil.hpp | 46 VariablePathComponent (const glu::VarType* type) :m_type(TYPE_TYPE) { m_data.type = type; } 47 VariablePathComponent (const glu::InterfaceBlock* block) :m_type(TYPE_INTERFACEBLOCK) { m_data.block = block; } 48 VariablePathComponent (const glu::VariableDeclaration* decl) :m_type(TYPE_DECLARATION) { m_data.declaration = decl; } 57 const glu::VarType* getVariableType (void) const { DE_ASSERT(isVariableType()); return m_data.type; } 58 const glu::InterfaceBlock* getInterfaceBlock (void) const { DE_ASSERT(isInterfaceBlock()); return m_data.block; } 59 const glu::VariableDeclaration* getDeclaration (void) const { DE_ASSERT(isDeclaration()); return m_data.declaration; } 73 const glu::VarType* type; 74 const glu::InterfaceBlock* block; 75 const glu::VariableDeclaration* declaration; 89 static VariableSearchFilter createShaderTypeFilter (glu::ShaderType) [all...] |
es31fProgramInterfaceDefinitionUtil.cpp | 54 VariableSearchFilter VariableSearchFilter::createShaderTypeFilter (glu::ShaderType type) 56 DE_ASSERT(type < glu::SHADERTYPE_LAST); 63 VariableSearchFilter VariableSearchFilter::createStorageFilter (glu::Storage storage) 65 DE_ASSERT(storage < glu::STORAGE_LAST); 72 VariableSearchFilter VariableSearchFilter::createShaderTypeStorageFilter (glu::ShaderType type, glu::Storage storage) 95 DE_ASSERT(shader->getType() < glu::SHADERTYPE_LAST); 99 bool VariableSearchFilter::matchesFilter (const glu::VariableDeclaration& variable) const 101 DE_ASSERT(variable.storage < glu::STORAGE_LAST); 105 bool VariableSearchFilter::matchesFilter (const glu::InterfaceBlock& block) cons [all...] |
es31fProgramStateQueryTests.cpp | 83 const bool isES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2)); 122 args["GLSL_VERSION_STRING"] = isES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES); 125 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog()); 132 glu::ShaderProgram program (m_context.getRenderContext(), glu::ProgramSources() 133 << glu::VertexSource(tcu::StringTemplate(s_vtxFragTemplate).specialize(args)) 134 << glu::FragmentSource(tcu::StringTemplate(s_vtxFragTemplate).specialize(args)) 135 << glu::GeometrySource(tcu::StringTemplate(s_geometryTemplate1).specialize(args))) [all...] |
es31fProgramInterfaceQueryTests.cpp | 55 static int getTypeSize (glu::DataType type) 57 if (type == glu::TYPE_FLOAT) 59 else if (type == glu::TYPE_INT || type == glu::TYPE_UINT) 61 else if (type == glu::TYPE_BOOL) 68 static int getVarTypeSize (const glu::VarType& type) 71 return glu::getDataTypeScalarSize(type.getBasicType()) * getTypeSize(glu::getDataTypeScalarType(type.getBasicType())); 81 if (type.getArraySize() == glu::VarType::UNSIZED_ARRAY) 163 static glu::ShaderType getShaderMaskFirstStage (deUint32 mask [all...] |
es31fShaderIntegerFunctionTests.cpp | 71 const glu::VarType& type; 74 VarValue (const glu::VarType& type_, const void* value_) : type(type_), value(value_) {} 81 const glu::DataType basicType = varValue.type.getBasicType(); 82 const glu::DataType scalarType = glu::getDataTypeScalarType(basicType); 83 const int numComponents = glu::getDataTypeScalarSize(basicType); 86 str << glu::getDataTypeName(basicType) << "("; 95 case glu::TYPE_FLOAT: str << HexFloat(((const float*)varValue.value)[compNdx]); break; 96 case glu::TYPE_INT: str << ((const deInt32*)varValue.value)[compNdx]; break; 97 case glu::TYPE_UINT: str << tcu::toHex(((const deUint32*)varValue.value)[compNdx]); break [all...] |
/external/deqp/modules/glshared/ |
glsFragOpInteractionCase.hpp | 31 namespace glu namespace 52 FragOpInteractionCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const rsg::ProgramParameters& params); 65 glu::RenderContext& m_renderCtx; 66 const glu::ContextInfo& m_ctxInfo;
|
glsAttributeLocationTests.hpp | 32 namespace glu namespace 36 } // glu 138 glu::RenderContext& renderCtx, 145 glu::RenderContext& m_renderCtx; 157 glu::RenderContext& renderCtx, 164 glu::RenderContext& m_renderCtx; 175 glu::RenderContext& renderCtx, 183 glu::RenderContext& m_renderCtx; 195 glu::RenderContext& renderCtx, 202 glu::RenderContext& m_renderCtx [all...] |
/external/deqp/framework/egl/ |
egluGLUtil.cpp | 57 EGLint apiRenderableType (glu::ApiType apiType) 61 case glu::PROFILE_CORE: 62 case glu::PROFILE_COMPATIBILITY: 64 case glu::PROFILE_ES: 79 EGLContext createGLContext (const Library& egl, EGLDisplay display, EGLContext eglConfig, const glu::ContextType& contextType) 86 if (glu::isContextTypeES(contextType)) 108 DE_ASSERT(glu::isContextTypeGLCore(contextType) || glu::isContextTypeGLCompatibility(contextType)); 120 attribList.push_back(glu::isContextTypeGLCore(contextType) ? EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR 124 if (contextType.getFlags() != glu::ContextFlags(0) [all...] |
egluGLUtil.hpp | 41 eglw::EGLint apiRenderableType (glu::ApiType apiType); 42 eglw::EGLContext createGLContext (const eglw::Library& egl, eglw::EGLDisplay display, eglw::EGLConfig config, const glu::ContextType& contextType); 43 eglw::EGLConfig chooseConfig (const eglw::Library& egl, eglw::EGLDisplay display, const glu::RenderConfig& config);
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
vktShaderIntegerFunctionTests.cpp | 73 const glu::VarType& type; 76 VarValue (const glu::VarType& type_, const void* value_) : type(type_), value(value_) {} 83 const glu::DataType basicType = varValue.type.getBasicType(); 84 const glu::DataType scalarType = glu::getDataTypeScalarType(basicType); 85 const int numComponents = glu::getDataTypeScalarSize(basicType); 88 str << glu::getDataTypeName(basicType) << "("; 97 case glu::TYPE_FLOAT: str << HexFloat(((const float*)varValue.value)[compNdx]); break; 98 case glu::TYPE_INT: str << ((const deInt32*)varValue.value)[compNdx]; break; 99 case glu::TYPE_UINT: str << tcu::toHex(((const deUint32*)varValue.value)[compNdx]); break [all...] |
/external/deqp/external/vulkancts/modules/vulkan/ubo/ |
vktRandomUniformBlockCase.cpp | 191 std::vector<glu::DataType> typeCandidates; 193 typeCandidates.push_back(glu::TYPE_FLOAT); 194 typeCandidates.push_back(glu::TYPE_INT); 195 typeCandidates.push_back(glu::TYPE_UINT); 196 typeCandidates.push_back(glu::TYPE_BOOL); 200 typeCandidates.push_back(glu::TYPE_FLOAT_VEC2); 201 typeCandidates.push_back(glu::TYPE_FLOAT_VEC3); 202 typeCandidates.push_back(glu::TYPE_FLOAT_VEC4); 203 typeCandidates.push_back(glu::TYPE_INT_VEC2); 204 typeCandidates.push_back(glu::TYPE_INT_VEC3) [all...] |
/external/deqp/modules/gles3/functional/ |
es3fShaderApiTests.cpp | 77 const char* getSimpleShaderSource (const glu::ShaderType shaderType) 96 case glu::SHADERTYPE_VERTEX: 98 case glu::SHADERTYPE_FRAGMENT: 107 void setShaderSources (glu::Shader& shader, const ShaderSources& sources) 148 void queryShaderInfo (glu::RenderContext& renderCtx, deUint32 shader, glu::ShaderInfo& info) 188 void drawWithProgram (glu::RenderContext& renderCtx, deUint32 program) 204 glu::VertexArrayBinding vertexArrays[] = 206 glu::va::Float("a_position", 4, 4, 0, &position[0]) 208 glu::draw(renderCtx, program, DE_LENGTH_OF_ARRAY(vertexArrays), &vertexArrays[0], glu::pr::Triangles(D (…) [all...] |
es3fBuiltinPrecisionTests.cpp | 43 std::vector<glu::ShaderType> shaderTypes; 46 shaderTypes.push_back(glu::SHADERTYPE_VERTEX); 47 shaderTypes.push_back(glu::SHADERTYPE_FRAGMENT);
|
es3fDefaultVertexAttributeTests.cpp | 84 virtual tcu::Vec4 load (glu::CallLogWrapper& gl, int index, const tcu::Vec4& v) const = 0; 101 tcu::Vec4 load (glu::CallLogWrapper& gl, int index, const tcu::Vec4& v) const \ 135 tcu::Vec4 load (glu::CallLogWrapper& gl, int index, const tcu::Vec4& v) const \ 169 tcu::Vec4 load (glu::CallLogWrapper& gl, int index, const tcu::Vec4& v) const \ 203 tcu::Vec4 load (glu::CallLogWrapper& gl, int index, const tcu::Vec4& v) const \ 241 AttributeCase (Context& ctx, const char* name, const char* desc, const char* funcName, bool normalizing, bool useNegative, glu::DataType dataType); 244 static AttributeCase* create (Context& ctx, glu::DataType dataType); 252 glu::DataType getTargetType (void) const; 261 const glu::DataType m_dataType; 263 glu::ShaderProgram* m_program [all...] |
es3fUniformApiTests.cpp | 63 using glu::ShaderProgram; 64 using glu::StructType; 68 typedef bool (* dataTypePredicate)(glu::DataType); 74 static const glu::DataType s_testDataTypes[] = 76 glu::TYPE_FLOAT, 77 glu::TYPE_FLOAT_VEC2, 78 glu::TYPE_FLOAT_VEC3, 79 glu::TYPE_FLOAT_VEC4, 80 glu::TYPE_FLOAT_MAT2, 81 glu::TYPE_FLOAT_MAT2X3 [all...] |
/external/deqp/modules/gles2/ |
tes2Context.cpp | 47 m_renderCtx = glu::createDefaultRenderContext(m_testCtx.getPlatform(), m_testCtx.getCommandLine(), glu::ApiType::es(2,0)); 48 m_contextInfo = glu::ContextInfo::create(*m_renderCtx);
|
/external/deqp/modules/gles3/ |
tes3Context.cpp | 44 m_renderCtx = glu::createDefaultRenderContext(m_testCtx.getPlatform(), m_testCtx.getCommandLine(), glu::ApiType::es(3,0)); 45 m_contextInfo = glu::ContextInfo::create(*m_renderCtx);
|
/external/eigen/Eigen/src/SparseLU/ |
SparseLU_pivotL.h | 55 * \param glu Global LU data 60 Index SparseLUImpl<Scalar,Index>::pivotL(const Index jcol, const RealScalar& diagpivotthresh, IndexVector& perm_r, IndexVector& iperm_c, Index& pivrow, GlobalLU_t& glu) 63 Index fsupc = (glu.xsup)((glu.supno)(jcol)); // First column in the supernode containing the column jcol 65 Index lptr = glu.xlsub(fsupc); // pointer to the starting location of the row subscripts for this supernode portion 66 Index nsupr = glu.xlsub(fsupc+1) - lptr; // Number of rows in the supernode 67 Index lda = glu.xlusup(fsupc+1) - glu.xlusup(fsupc); // leading dimension 68 Scalar* lu_sup_ptr = &(glu.lusup.data()[glu.xlusup(fsupc)]); // Start of the current supernod [all...] |
/external/deqp/framework/platform/osx/ |
tcuOSXPlatform.cpp | 69 class CGLRenderContext : public glu::RenderContext 72 CGLRenderContext (const glu::RenderConfig& config); 75 glu::ContextType getType (void) const { return m_type; } 81 const glu::ContextType m_type; 87 static CGLOpenGLProfile getCGLProfile (glu::ContextType type) 89 if (type.getAPI().getProfile() != glu::PROFILE_CORE) 100 static glu::ApiType getVersion (const glw::Functions& gl) 107 return glu::ApiType::core(major, minor); 110 CGLRenderContext::CGLRenderContext (const glu::RenderConfig& config) 148 glu::initFunctions(&m_functions, &loader, config.type.getAPI()) [all...] |
/external/deqp/framework/platform/win32/ |
tcuWGLContextFactory.cpp | 65 class WGLContext : public glu::RenderContext 68 WGLContext (HINSTANCE instance, const wgl::Core& wglCore, const glu::RenderConfig& config); 71 glu::ContextType getType (void) const { return m_contextType; } 80 glu::ContextType m_contextType; 89 WGLContext::WGLContext (HINSTANCE instance, const wgl::Core& wglCore, const glu::RenderConfig& config) 92 config.width != glu::RenderConfig::DONT_CARE ? config.width : DEFAULT_WINDOW_WIDTH, 93 config.height != glu::RenderConfig::DONT_CARE ? config.height : DEFAULT_WINDOW_HEIGHT) 96 if (config.surfaceType != glu::RenderConfig::SURFACETYPE_WINDOW && 97 config.surfaceType != glu::RenderConfig::SURFACETYPE_DONT_CARE) 103 if (config.id != glu::RenderConfig::DONT_CARE [all...] |
/external/deqp/framework/platform/X11/ |
tcuX11EglPlatform.hpp | 44 de::MovePtr<glu::ContextFactory> createContextFactory (void);
|