/external/deqp/modules/glshared/ |
glsShaderRenderCase.hpp | 39 namespace glu namespace 46 } // glu 88 TextureBinding (const glu::Texture2D* tex2D, const tcu::Sampler& sampler); 89 TextureBinding (const glu::TextureCube* texCube, const tcu::Sampler& sampler); 90 TextureBinding (const glu::Texture2DArray* tex2DArray, const tcu::Sampler& sampler); 91 TextureBinding (const glu::Texture3D* tex3D, const tcu::Sampler& sampler); 95 void setTexture (const glu::Texture2D* tex2D); 96 void setTexture (const glu::TextureCube* texCube); 97 void setTexture (const glu::Texture2DArray* tex2DArray); 98 void setTexture (const glu::Texture3D* tex3D) [all...] |
glsBuiltinPrecisionTests.hpp | 55 glu::RenderContext& renderCtx, 57 const std::vector<glu::ShaderType>& shaderTypes,
|
glsRandomUniformBlockCase.cpp | 40 glu::RenderContext& renderCtx, 41 glu::GLSLVersion glslVersion, 198 vector<glu::DataType> typeCandidates; 200 typeCandidates.push_back(glu::TYPE_FLOAT); 201 typeCandidates.push_back(glu::TYPE_INT); 202 typeCandidates.push_back(glu::TYPE_UINT); 203 typeCandidates.push_back(glu::TYPE_BOOL); 207 typeCandidates.push_back(glu::TYPE_FLOAT_VEC2); 208 typeCandidates.push_back(glu::TYPE_FLOAT_VEC3); 209 typeCandidates.push_back(glu::TYPE_FLOAT_VEC4) [all...] |
glsScissorTests.hpp | 32 namespace glu namespace 35 } // glu 77 glu::RenderContext& renderCtx, 85 glu::RenderContext& renderCtx, 92 glu::RenderContext& renderCtx, 98 glu::RenderContext& renderCtx,
|
glsTextureBufferCase.hpp | 29 namespace glu namespace 33 } // glu 67 glu::RenderContext& renderCtx, 85 glu::RenderContext& m_renderCtx; 94 glu::ShaderProgram* m_preRenderProgram; 95 glu::ShaderProgram* m_postRenderProgram;
|
/external/deqp/modules/gles3/functional/ |
es3fShaderCommonFunctionTests.cpp | 123 inline bool supportsSignedZero (glu::Precision precision) 127 return precision == glu::PRECISION_HIGHP; 149 static int getMinMantissaBits (glu::Precision precision) 157 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(bits) == glu::PRECISION_LAST); 167 CommonFunctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType); 181 glu::ShaderType m_shaderType; 191 CommonFunctionCase::CommonFunctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType) 197 m_spec.version = glu::GLSL_VERSION_300_ES; 258 // \todo [2013-08-08 pyry] Make generic utility and move to glu? 284 const glu::VarType& type [all...] |
es3fShaderPackingFunctionTests.cpp | 72 ShaderPackingFunctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType); 79 glu::ShaderType m_shaderType; 88 ShaderPackingFunctionCase::ShaderPackingFunctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType) 93 m_spec.version = glu::GLSL_VERSION_300_ES; 120 static const char* getPrecisionPostfix (glu::Precision precision) 128 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_postfix) == glu::PRECISION_LAST); 133 static const char* getShaderTypePostfix (glu::ShaderType shaderType) 147 PackSnorm2x16Case (Context& context, glu::ShaderType shaderType, glu::Precision precision) 151 m_spec.inputs.push_back(Symbol("in0", glu::VarType(glu::TYPE_FLOAT_VEC2, precision))) [all...] |
es3fTransformFeedbackTests.cpp | 98 Varying (const char* name_, const glu::VarType& type_, Interpolation interp_) 106 glu::VarType type; //!< Variable type. 120 Attribute (const std::string& name_, const glu::VarType& type_, int offset_) 128 glu::VarType type; 149 glu::VarType type; 184 glu::StructType* createStruct (const char* name); 185 void addVarying (const char* name, const glu::VarType& type, Interpolation interp); 188 const vector<glu::StructType*>& getStructs (void) const { return m_structs; } 197 vector<glu::StructType*> m_structs; 210 for (vector<glu::StructType*>::iterator i = m_structs.begin(); i != m_structs.end(); i++ [all...] |
es3fShaderDerivateTests.cpp | 186 static inline tcu::BVec4 getDerivateMask (glu::DataType type) 190 case glu::TYPE_FLOAT: return tcu::BVec4(true, false, false, false); 191 case glu::TYPE_FLOAT_VEC2: return tcu::BVec4(true, true, false, false); 192 case glu::TYPE_FLOAT_VEC3: return tcu::BVec4(true, true, true, false); 193 case glu::TYPE_FLOAT_VEC4: return tcu::BVec4(true, true, true, true); 222 static int getNumMantissaBits (const glu::Precision precision) 226 case glu::PRECISION_HIGHP: return 23; 227 case glu::PRECISION_MEDIUMP: return 10; 228 case glu::PRECISION_LOWP: return 6; 235 static int getMinExponent (const glu::Precision precision [all...] |
es3fUniformBlockTests.cpp | 53 group->addChild(new RandomUniformBlockCase(context.getTestContext(), context.getRenderContext(), glu::GLSL_VERSION_300_ES, 61 : UniformBlockCase(context.getTestContext(), context.getRenderContext(), name, description, glu::GLSL_VERSION_300_ES, BUFFERMODE_PER_BLOCK) 88 : UniformBlockCase (context.getTestContext(), context.getRenderContext(), name, description, glu::GLSL_VERSION_300_ES, bufferMode) 97 typeS.addMember("a", VarType(glu::TYPE_INT_VEC3, PRECISION_HIGH), UNUSED_BOTH); // First member is unused. 98 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, PRECISION_MEDIUM), 4)); 99 typeS.addMember("c", VarType(glu::TYPE_FLOAT_VEC4, PRECISION_HIGH)); 121 : UniformBlockCase (context.getTestContext(), context.getRenderContext(), name, description, glu::GLSL_VERSION_300_ES, bufferMode) 130 typeS.addMember("a", VarType(glu::TYPE_INT_VEC3, PRECISION_HIGH), UNUSED_BOTH); 131 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, PRECISION_MEDIUM), 4)); 132 typeS.addMember("c", VarType(glu::TYPE_FLOAT_VEC4, PRECISION_HIGH)) [all...] |
es3fShaderFragDataTests.cpp | 112 static glu::ProgramSources genSources (const IndexExprType indexExprType) 117 glu::ProgramSources sources; 121 sources << glu::VertexSource( 134 sources << glu::FragmentSource(string( 148 const glu::RenderContext& renderCtx = m_context.getRenderContext(); 150 const glu::ShaderProgram program (renderCtx, genSources(m_indexExprType)); 171 const glu::VertexArrayBinding vertexArrays[] = 173 glu::va::Float("a_position", 2, 4, 0, &positions[0]), 174 glu::va::Float("a_color", 4, 4, 0, &colors[0]), 175 glu::va::Float("a_index", 1, 4, 0, &indexValues[0] [all...] |
es3fInstancedRenderingTests.cpp | 107 InstancedRenderingCase (Context& context, const char* name, const char* description, DrawFunction function, InstancingType instancingType, glu::DataType rgbAttrType, int numInstances); 126 glu::DataType m_rgbAttrType; // \note Instance attribute types, color components only. Position offset attribute is always float/vecN. 139 glu::ShaderProgram* m_program; 142 InstancedRenderingCase::InstancedRenderingCase (Context& context, const char* name, const char* description, DrawFunction function, InstancingType instancingType, glu::DataType rgbAttrType, int numInstances) 160 bool isFloatCase = glu::isDataTypeFloatOrVec(m_rgbAttrType); 161 bool isIntCase = glu::isDataTypeIntOrIVec(m_rgbAttrType); 162 bool isUintCase = glu::isDataTypeUintOrUVec(m_rgbAttrType); 163 bool isMatCase = glu::isDataTypeMatrix(m_rgbAttrType); 177 bool isFloatCase = glu::isDataTypeFloatOrVec(m_rgbAttrType); 178 bool isIntCase = glu::isDataTypeIntOrIVec(m_rgbAttrType) [all...] |
es3fFboTestUtil.hpp | 49 std::vector<glu::DataType> vec; 50 DataTypes& operator<< (glu::DataType type) { vec.push_back(type); return *this; } 58 FlatColorShader (glu::DataType outputType); 67 const glu::DataType m_outputType; 73 GradientShader (glu::DataType outputType); 82 const glu::DataType m_outputType; 88 Texture2DShader (const DataTypes& samplerTypes, glu::DataType outputType, const tcu::Vec4& outScale = tcu::Vec4(1.0f), const tcu::Vec4& outBias = tcu::Vec4(0.0f)); 112 const glu::DataType m_outputType; 118 TextureCubeShader (glu::DataType samplerType, glu::DataType outputType) [all...] |
/external/deqp/modules/gles31/functional/ |
es31fNegativeShaderDirectiveTests.cpp | 47 void verifyProgram(NegativeTestContext& ctx, glu::ProgramSources sources, ExpectResult expect) 52 const glu::ShaderProgram program (ctx.getRenderContext(), sources); 76 void verifyShader(NegativeTestContext& ctx, glu::ShaderType shaderType, std::string shaderSource, ExpectResult expect) 84 glu::Shader shader (ctx.getRenderContext(), shaderType); 112 if (ctx.isShaderSupported(glu::SHADERTYPE_TESSELLATION_CONTROL)) 122 verifyShader(ctx, glu::SHADERTYPE_TESSELLATION_CONTROL, source.str(), EXPECT_RESULT_FAIL); 126 if (contextSupports(ctx.getRenderContext().getType() , glu::ApiType::es(3, 2))) 136 verifyShader(ctx, glu::SHADERTYPE_TESSELLATION_CONTROL, source, EXPECT_RESULT_PASS); 171 verifyShader(ctx, glu::SHADERTYPE_FRAGMENT, source.str(), EXPECT_RESULT_FAIL); 178 TCU_CHECK_AND_THROW(NotSupportedError, contextSupports(ctx.getRenderContext().getType() , glu::ApiType::es(3, 2)), "Test requires a context version 3.2 or higher.") [all...] |
es31fNegativeTestShared.cpp | 51 glu::RenderContext& renderCtx, 52 const glu::ContextInfo& ctxInfo, 56 : glu::CallLogWrapper (renderCtx.getFunctions(), log) 113 bool NegativeTestContext::isShaderSupported (glu::ShaderType shaderType) 115 if (contextSupports(getRenderContext().getType(), glu::ApiType::es(3, 2))) 120 case glu::SHADERTYPE_GEOMETRY: 122 case glu::SHADERTYPE_TESSELLATION_CONTROL: 123 case glu::SHADERTYPE_TESSELLATION_EVALUATION:
|
es31fProgramPipelineStateQueryTests.cpp | 100 const glu::ShaderProgram vtxProgram (m_context.getRenderContext(), glu::ProgramSources() << glu::ProgramSeparable(true) << glu::VertexSource(s_vertexSource)); 101 const glu::ShaderProgram frgProgram (m_context.getRenderContext(), glu::ProgramSources() << glu::ProgramSeparable(true) << glu::FragmentSource(s_fragmentSource)); 102 const glu::ProgramPipeline pipeline (m_context.getRenderContext()); 103 glu::CallLogWrapper gl (m_context.getRenderContext().getFunctions(), m_testCtx.getLog()) [all...] |
es31fBooleanStateQueryTests.cpp | 58 class IsEnabledStateTestCase : public TestCase, private glu::CallLogWrapper 61 IsEnabledStateTestCase (Context& context, QueryType verifier, const char* name, const char* description, glw::GLenum targetName, bool initial, glu::ApiType minimumContextVersion) 63 , glu::CallLogWrapper (context.getRenderContext().getFunctions(), context.getTestContext().getLog()) 99 const glu::ApiType m_minimumVersion; 115 const bool isDebugContext = (m_context.getRenderContext().getType().getFlags() & glu::CONTEXT_DEBUG) != 0; 140 glu::ApiType minimumContext; 146 { "sample_mask", "SAMPLE_MASK", GL_SAMPLE_MASK, false, glu::ApiType::es(3, 1)}, 147 { "sample_shading", "SAMPLE_SHADING", GL_SAMPLE_SHADING, false, glu::ApiType::es(3, 2)}, 148 { "debug_output", "DEBUG_OUTPUT", GL_DEBUG_OUTPUT, isDebugContext, glu::ApiType::es(3, 2)}, 149 { "debug_output_synchronous", "DEBUG_OUTPUT_SYNCHRONOUS", GL_DEBUG_OUTPUT_SYNCHRONOUS, false, glu::ApiType::es(3, 2)} [all...] |
es31fUniformLocationTests.cpp | 66 using glu::VarType; 98 glu::RenderContext& renderContext, 108 static glu::ProgramSources genShaderSources (const vector<UniformInfo>& uniformList); 109 bool verifyLocations (const glu::ShaderProgram& program, const vector<UniformInfo>& uniformList); 110 void render (const glu::ShaderProgram& program, const vector<UniformInfo>& uniformList); 113 static float getExpectedValue (glu::DataType type, int id, const char* name); 115 de::MovePtr<glu::Texture2D> createTexture (glu::DataType samplerType, float redChannelValue, int binding); 117 glu::RenderContext& m_renderCtx; 127 string getUniformName (int ndx, const glu::VarType& type, const glu::TypeComponentVector& path [all...] |
/external/libgdx/extensions/gdx-bullet/jni/vs/Glut/ |
btGlutInclude.h | 28 #include <OpenGL/glu.h> 36 #include <GL/glu.h>
|
/external/deqp/framework/platform/win32/ |
tcuWin32GLES3Platform.cpp | 58 class Win32GLES3Context : public glu::RenderContext 61 Win32GLES3Context (const wgl::Core& wgl, HINSTANCE instance, const glu::RenderConfig& config); 64 glu::ContextType getType (void) const { return glu::CONTEXTTYPE_ES3; } 84 Win32GLES3Context::Win32GLES3Context (const wgl::Core& wgl, HINSTANCE instance, const glu::RenderConfig& config) 85 : m_renderTarget(config.width != glu::RenderConfig::DONT_CARE ? config.width : DEFAULT_WINDOW_WIDTH, 86 config.height != glu::RenderConfig::DONT_CARE ? config.height : DEFAULT_WINDOW_HEIGHT, 108 m_window.setVisible(config.windowVisibility != glu::RenderConfig::VISIBILITY_HIDDEN); 144 class Win32GLES3ContextFactory : public glu::ContextFactory 150 virtual glu::RenderContext* createContext (const glu::RenderConfig& config, const tcu::CommandLine& cmdLine (…) [all...] |
/external/deqp/framework/platform/ios/ |
tcuIOSPlatform.mm | 65 : glu::ContextFactory ("eagl", "iOS EAGL Context") 74 glu::RenderContext* ContextFactory::createContext (const glu::RenderConfig& config, const tcu::CommandLine&) const 80 if (config.surfaceType == glu::RenderConfig::SURFACETYPE_OFFSCREEN_GENERIC) 81 return new glu::FboRenderContext(rawContext, config); 82 else if (config.surfaceType == glu::RenderConfig::SURFACETYPE_WINDOW) 107 static EAGLRenderingAPI getEAGLApi (glu::ContextType type) 109 if (type.getAPI() == glu::ApiType::es(3,0)) 111 else if (type.getAPI() == glu::ApiType::es(2,0)) 117 RawContext::RawContext (glu::ContextType type [all...] |
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
vktShaderCommonFunctionTests.cpp | 131 inline bool supportsSignedZero (glu::Precision precision) 135 return precision == glu::PRECISION_HIGHP; 157 static int getMinMantissaBits (glu::Precision precision) 165 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(bits) == glu::PRECISION_LAST); 170 static int getMaxNormalizedValueExponent (glu::Precision precision) 178 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(exponent) == glu::PRECISION_LAST); 183 static int getMinNormalizedValueExponent (glu::Precision precision) 191 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(exponent) == glu::PRECISION_LAST); 196 static float makeFloatRepresentable (float f, glu::Precision precision) 198 if (precision == glu::PRECISION_HIGHP [all...] |
/external/eigen/Eigen/src/SparseLU/ |
SparseLUImpl.h | 34 Index memInit(Index m, Index n, Index annz, Index lwork, Index fillratio, Index panel_size, GlobalLU_t& glu); 39 Index snode_dfs(const Index jcol, const Index kcol,const MatrixType& mat, IndexVector& xprune, IndexVector& marker, GlobalLU_t& glu); 40 Index snode_bmod (const Index jcol, const Index fsupc, ScalarVector& dense, GlobalLU_t& glu); 41 Index pivotL(const Index jcol, const RealScalar& diagpivotthresh, IndexVector& perm_r, IndexVector& iperm_c, Index& pivrow, GlobalLU_t& glu); 46 IndexVector& xplore, GlobalLU_t& glu, Index& nextl_col, Index krow, Traits& traits); 47 void panel_dfs(const Index m, const Index w, const Index jcol, MatrixType& A, IndexVector& perm_r, Index& nseg, ScalarVector& dense, IndexVector& panel_lsub, IndexVector& segrep, IndexVector& repfnz, IndexVector& xprune, IndexVector& marker, IndexVector& parent, IndexVector& xplore, GlobalLU_t& glu); 49 void panel_bmod(const Index m, const Index w, const Index jcol, const Index nseg, ScalarVector& dense, ScalarVector& tempv, IndexVector& segrep, IndexVector& repfnz, GlobalLU_t& glu); 50 Index column_dfs(const Index m, const Index jcol, IndexVector& perm_r, Index maxsuper, Index& nseg, BlockIndexVector lsub_col, IndexVector& segrep, BlockIndexVector repfnz, IndexVector& xprune, IndexVector& marker, IndexVector& parent, IndexVector& xplore, GlobalLU_t& glu); 51 Index column_bmod(const Index jcol, const Index nseg, BlockScalarVector dense, ScalarVector& tempv, BlockIndexVector segrep, BlockIndexVector repfnz, Index fpanelc, GlobalLU_t& glu); 52 Index copy_to_ucol(const Index jcol, const Index nseg, IndexVector& segrep, BlockIndexVector repfnz ,IndexVector& perm_r, BlockScalarVector dense, GlobalLU_t& glu); [all...] |
/external/deqp/modules/gles3/performance/ |
es3pTextureCases.cpp | 79 for (vector<glu::Texture2D*>::iterator i = m_textures.begin(); i != m_textures.end(); i++) 95 const tcu::TextureFormat texFormat = glu::mapGLInternalFormat(m_internalFormat); 97 const glu::Precision samplerPrec = (texFormat.type == tcu::TextureFormat::FLOAT || 100 ? glu::PRECISION_HIGHP : glu::PRECISION_MEDIUMP; 101 const glu::DataType samplerType = glu::getSampler2DType(texFormat); 102 const bool isIntUint = samplerType == glu::TYPE_INT_SAMPLER_2D || samplerType == glu::TYPE_UINT_SAMPLER_2D; 131 log << TestLog::Message << "Format: " <<glu::getTextureFormatName(m_internalFormat) << TestLog::EndMessage [all...] |
/external/deqp/modules/gles2/functional/ |
es2fDefaultVertexAttributeTests.cpp | 82 virtual tcu::Vec4 load (glu::CallLogWrapper& gl, int index, const tcu::Vec4& v) const = 0; 99 tcu::Vec4 load (glu::CallLogWrapper& gl, int index, const tcu::Vec4& v) const \ 133 tcu::Vec4 load (glu::CallLogWrapper& gl, int index, const tcu::Vec4& v) const \ 165 AttributeCase (Context& ctx, const char* name, const char* desc, const char* funcName, bool normalizing, bool useNegative, glu::DataType dataType); 168 static AttributeCase* create (Context& ctx, glu::DataType dataType); 176 glu::DataType getTargetType (void) const; 185 const glu::DataType m_dataType; 187 glu::ShaderProgram* m_program; 198 AttributeCase::AttributeCase (Context& ctx, const char* name, const char* desc, const char* funcName, bool normalizing, bool useNegative, glu::DataType dataType) 213 AttributeCase* AttributeCase::create (Context& ctx, glu::DataType dataType [all...] |