HomeSort by relevance Sort by last modified time
    Searched refs:glu (Results 76 - 100 of 647) sorted by null

1 2 34 5 6 7 8 91011>>

  /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...]
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/modules/gles3/functional/
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...]
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...]
  /external/eigen/Eigen/src/SparseLU/
SparseLU_panel_bmod.h 51 * \param glu Global LU data.
58 IndexVector& segrep, IndexVector& repfnz, GlobalLU_t& glu)
79 fsupc = glu.xsup(glu.supno(krep));
81 nsupr = glu.xlsub(fsupc+1) - glu.xlsub(fsupc);
83 lptr = glu.xlsub(fsupc);
120 luptr = glu.xlusup(fsupc);
128 Index irow = glu.lsub(isub);
135 luptr = glu.xlusup(fsupc)
    [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)))
137 verifyShader(ctx, glu::SHADERTYPE_TESSELLATION_CONTROL, source, EXPECT_RESULT_PASS);
150 verifyShader(ctx, glu::SHADERTYPE_TESSELLATION_CONTROL, source, EXPECT_RESULT_FAIL);
163 verifyShader(ctx, glu::SHADERTYPE_TESSELLATION_CONTROL, source, EXPECT_RESULT_FAIL)
    [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/deqp/framework/platform/lnx/
tcuLnxEglPlatform.hpp 44 de::MovePtr<glu::ContextFactory> createContextFactory (void);
tcuLnxEglPlatform.cpp 55 de::MovePtr<glu::ContextFactory> Platform::createContextFactory (void)
57 return de::MovePtr<glu::ContextFactory>(new eglu::GLContextFactory(m_nativeDisplayFactoryRegistry));
  /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...]
  /external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
vktShaderExecutor.hpp 44 glu::VarType varType; //!< Symbol type.
47 Symbol (const std::string& name_, const glu::VarType& varType_) : name(name_), varType(varType_) {}
53 glu::GLSLVersion glslVersion;
61 : glslVersion(glu::GLSL_VERSION_310_ES)
94 void generateSources (glu::ShaderType shaderType, const ShaderSpec& shaderSpec, vk::SourceCollections& dst);
95 ShaderExecutor* createExecutor (Context& context, glu::ShaderType shaderType, const ShaderSpec& shaderSpec, vk::VkDescriptorSetLayout extraResourcesLayout = (vk::VkDescriptorSetLayout)0);
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/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/pipeline/
vktPipelineSpecConstantTests.cpp 294 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_440) << "\n"
308 programCollection.glslSources.add("vert") << glu::VertexSource(src.str());
315 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_440) << "\n"
327 programCollection.glslSources.add("frag") << glu::FragmentSource(src.str());
334 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_440) << "\n"
357 programCollection.glslSources.add("tesc") << glu::TessellationControlSource(src.str());
364 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_440) << "\n
    [all...]

Completed in 1357 milliseconds

1 2 34 5 6 7 8 91011>>