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

1 2 3 4 5 67 8 91011>>

  /external/deqp/modules/gles31/functional/
es31fShaderPackingFunctionTests.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_310_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)
151 PackSnorm2x16Case (Context& context, glu::ShaderType shaderType, glu::Precision precision)
155 m_spec.inputs.push_back(Symbol("in0", glu::VarType(glu::TYPE_FLOAT_VEC2, precision)))
    [all...]
es31fShaderBuiltinConstantTests.cpp 51 GLU_EXPECT_NO_ERROR(gl.getError(), ("glGetIntegerv(" + glu::getGettableStateStr((int)pname).toString() + ")").c_str());
65 GLU_EXPECT_NO_ERROR(gl.getError(), ("glGetIntegerv(" + glu::getGettableStateStr((int)pname).toString() + ")").c_str());
66 TCU_CHECK_MSG(value%4 == 0, ("Expected " + glu::getGettableStateStr((int)pname).toString() + " to be divisible by 4").c_str());
81 GLU_EXPECT_NO_ERROR(gl.getError(), ("glGetIntegeri_v(" + glu::getGettableStateStr((int)pname).toString() + ")").c_str());
113 VS = (1<<glu::SHADERTYPE_VERTEX),
114 TC = (1<<glu::SHADERTYPE_TESSELLATION_CONTROL),
115 TE = (1<<glu::SHADERTYPE_TESSELLATION_EVALUATION),
116 GS = (1<<glu::SHADERTYPE_GEOMETRY),
117 FS = (1<<glu::SHADERTYPE_FRAGMENT),
118 CS = (1<<glu::SHADERTYPE_COMPUTE)
    [all...]
es31fProgramInterfaceQueryTestCase.cpp 49 static glw::GLenum getProgramDefaultBlockInterfaceFromStorage (glu::Storage storage)
53 case glu::STORAGE_IN:
54 case glu::STORAGE_PATCH_IN:
57 case glu::STORAGE_OUT:
58 case glu::STORAGE_PATCH_OUT:
61 case glu::STORAGE_UNIFORM:
70 static bool isBufferBackedInterfaceBlockStorage (glu::Storage storage)
72 return storage == glu::STORAGE_BUFFER || storage == glu::STORAGE_UNIFORM;
75 const char* getRequiredExtensionForStage (glu::ShaderType stage
    [all...]
es31fTextureFormatTests.cpp 50 using namespace glu::TextureTestUtil;
75 TextureCubeArrayFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& renderCtxInfo, const char* name, const char* description, deUint32 format, deUint32 dataType, int size, int depth);
76 TextureCubeArrayFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& renderCtxInfo, const char* name, const char* description, deUint32 internalFormat, int size, int depth);
90 glu::RenderContext& m_renderCtx;
91 const glu::ContextInfo& m_renderCtxInfo;
98 glu::TextureCubeArray* m_texture;
104 TextureCubeArrayFormatCase::TextureCubeArrayFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& renderCtxInfo, const char* name, const char* description, deUint32 format, deUint32 (…)
    [all...]
es31fNegativeVertexArrayApiTests.cpp 46 using glu::CallLogWrapper;
391 const bool isES32 = glu::contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2));
394 args["GLSL_VERSION_STRING"] = isES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES);
395 glu::ShaderProgram program (ctx.getRenderContext(), glu::makeVtxFragSources(tcu::StringTemplate(vertexShaderSource).specialize(args), tcu::StringTemplate(fragmentShaderSource).specialize(args)));
451 const bool isES32 = glu::contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2));
454 args["GLSL_VERSION_STRING"] = isES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES)
    [all...]
es31fSSBOLayoutCase.cpp 57 using glu::VarType;
58 using glu::StructType;
59 using glu::StructMember;
159 : type (glu::TYPE_LAST)
172 glu::DataType type;
191 stream << entry.name << " { type = " << glu::getDataTypeName(entry.type)
330 int getDataTypeByteSize (glu::DataType type)
332 return glu::getDataTypeScalarSize(type)*(int)sizeof(deUint32);
335 int getDataTypeByteAlignment (glu::DataType type)
339 case glu::TYPE_FLOAT
    [all...]
es31fFboTestUtil.hpp 49 std::vector<glu::DataType> vec;
50 DataTypes& operator<< (glu::DataType type) { vec.push_back(type); return *this; }
58 Texture2DShader (const DataTypes& samplerTypes, glu::DataType outputType, const tcu::Vec4& outScale = tcu::Vec4(1.0f), const tcu::Vec4& outBias = tcu::Vec4(0.0f));
82 const glu::DataType m_outputType;
88 TextureCubeArrayShader (glu::DataType samplerType, glu::DataType outputType);
106 const glu::DataType m_outputType;
124 glu::DataType getFragmentOutputType (const tcu::TextureFormat& format);
  /external/deqp/modules/glshared/
glsFragmentOpUtil.hpp 32 namespace glu namespace
68 QuadRenderer (const glu::RenderContext& context, glu::GLSLVersion glslVersion);
77 const glu::RenderContext& m_context;
78 glu::ShaderProgram* m_program;
glsLongStressTestUtil.hpp 42 ProgramLibrary (glu::GLSLVersion glslVersion);
54 glu::GLSLVersion m_glslVersion;
glsMemoryStressCase.hpp 61 MemoryStressCase (tcu::TestContext& testCtx, glu::RenderContext& renderContext, deUint32 objectTypes, int minTextureSize, int maxTextureSize, int minBufferSize, int maxBufferSize, bool write, bool use, bool useDummyData, bool clearAfterOOM, const char* name, const char* desc);
76 glu::RenderContext& m_renderCtx;
glsRandomUniformBlockCase.hpp 69 glu::RenderContext& renderCtx,
70 glu::GLSLVersion glslVersion,
  /external/python/cpython2/Lib/ctypes/test/
test_find.py 18 lib_glu = find_library("GLU")
26 ("GLU", lib_glu),
34 self.gl = self.glu = self.gle = None
42 self.glu = CDLL(lib_glu, RTLD_GLOBAL)
52 self.gl = self.glu = self.gle = None
61 if self.glu:
62 self.glu.gluBeginCurve
  /external/deqp/external/vulkancts/modules/vulkan/ubo/
vktUniformBlockCase.cpp 71 VarType::VarType (glu::DataType basicType, deUint32 flags)
166 stream << entry.name << " { type = " << glu::getDataTypeName(entry.type)
303 int getDataTypeByteSize (glu::DataType type)
305 return glu::getDataTypeScalarSize(type)*(int)sizeof(deUint32);
308 int getDataTypeByteAlignment (glu::DataType type)
312 case glu::TYPE_FLOAT:
313 case glu::TYPE_INT:
314 case glu::TYPE_UINT:
315 case glu::TYPE_BOOL: return 1*(int)sizeof(deUint32);
317 case glu::TYPE_FLOAT_VEC2
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
vktOpaqueTypeIndexingTests.cpp 177 const glu::ShaderType shaderType,
188 const glu::ShaderType m_shaderType;
196 const glu::ShaderType shaderType,
213 const glu::ShaderType shaderType,
226 const glu::ShaderType m_shaderType;
233 const glu::ShaderType shaderType,
289 static TextureType getTextureType (glu::DataType samplerType)
293 case glu::TYPE_SAMPLER_1D:
294 case glu::TYPE_INT_SAMPLER_1D:
295 case glu::TYPE_UINT_SAMPLER_1D
    [all...]
vktShaderExecutor.cpp 106 src << "layout(location = "<< location << ") in " << glu::declare(input->varType, inputPrefix + input->name) << ";\n"
107 << "layout(location = " << location - 1 << ") flat out " << glu::declare(input->varType, outputPrefix + input->name) << ";\n";
128 src << glu::getGLSLVersionDeclaration(shaderSpec.glslVersion) << "\n";
137 src << "layout(location = " << locationNumber << ") in " << glu::declare(input->varType, inputPrefix + input->name) << ";\n";
144 if (glu::isDataTypeBoolOrBVec(output->varType.getBasicType()))
146 const int vecSize = glu::getDataTypeScalarSize(output->varType.getBasicType());
147 const glu::DataType intBaseType = vecSize > 1 ? glu::getDataTypeIntVec(vecSize) : glu::TYPE_INT;
148 const glu::VarType intType (intBaseType, glu::PRECISION_HIGHP)
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/ssbo/
vktSSBOLayoutCase.hpp 66 BufferVar (const char* name, const glu::VarType& type, deUint32 flags);
69 const glu::VarType& getType (void) const { return m_type; }
77 glu::VarType m_type;
124 glu::StructType& allocStruct (const char* name);
125 const glu::StructType* findStruct (const char* name) const;
126 void getNamedStructs (std::vector<const glu::StructType*>& structs) const;
138 std::vector<glu::StructType*> m_structs;
145 : type (glu::TYPE_LAST)
158 glu::DataType type;
  /external/deqp/external/vulkancts/modules/vulkan/shaderrender/
vktShaderRenderDerivateTests.cpp 155 static inline tcu::BVec4 getDerivateMask (glu::DataType type)
159 case glu::TYPE_FLOAT: return tcu::BVec4(true, false, false, false);
160 case glu::TYPE_FLOAT_VEC2: return tcu::BVec4(true, true, false, false);
161 case glu::TYPE_FLOAT_VEC3: return tcu::BVec4(true, true, true, false);
162 case glu::TYPE_FLOAT_VEC4: return tcu::BVec4(true, true, true, true);
191 static int getNumMantissaBits (const glu::Precision precision)
195 case glu::PRECISION_HIGHP: return 23;
196 case glu::PRECISION_MEDIUMP: return 10;
197 case glu::PRECISION_LOWP: return 6;
204 static int getMinExponent (const glu::Precision precision
    [all...]
  /external/deqp/framework/egl/
egluGLContextFactory.cpp 130 RenderContext (const NativeDisplayFactory* displayFactory, const NativeWindowFactory* windowFactory, const NativePixmapFactory* pixmapFactory, const glu::RenderConfig& config);
133 virtual glu::ContextType getType (void) const { return m_renderConfig.type; }
142 void create (const NativeDisplayFactory* displayFactory, const NativeWindowFactory* windowFactory, const NativePixmapFactory* pixmapFactory, const glu::RenderConfig& config);
145 const glu::RenderConfig m_renderConfig;
162 RenderContext::RenderContext (const NativeDisplayFactory* displayFactory, const NativeWindowFactory* windowFactory, const NativePixmapFactory* pixmapFactory, const glu::RenderConfig& config)
205 static WindowParams::Visibility getNativeWindowVisibility (glu::RenderConfig::Visibility visibility)
207 using glu::RenderConfig;
223 WindowSurfacePair createWindow (NativeDisplay* nativeDisplay, const NativeWindowFactory* windowFactory, EGLDisplay eglDisplay, EGLConfig eglConfig, const glu::RenderConfig& config)
225 const int width = (config.width == glu::RenderConfig::DONT_CARE ? WindowParams::SIZE_DONT_CARE : config.width);
226 const int height = (config.height == glu::RenderConfig::DONT_CARE ? WindowParams::SIZE_DONT_CARE : config.height)
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/tessellation/
vktTessellationUserDefinedIO.cpp 94 typedef std::string (*BasicTypeVisitFunc)(const std::string& name, glu::DataType type, int indentationDepth); //!< See glslTraverseBasicTypes below.
114 const glu::VarType& rootType,
133 const glu::StructType& structType = *rootType.getStructPtr();
139 const glu::StructMember& member = structType.getMember(membNdx);
153 std::string glslAssignBasicTypeObject (const std::string& name, const glu::DataType type, const int indentationDepth)
155 const int scalarSize = glu::getDataTypeScalarSize(type);
161 if (type != glu::TYPE_FLOAT)
162 result << std::string() << glu::getDataTypeName(type) << "(";
165 if (type != glu::TYPE_FLOAT)
173 std::string glslCheckBasicTypeObject (const std::string& name, const glu::DataType type, const int indentationDepth
    [all...]
  /external/deqp/modules/gles2/functional/
es2fShaderFragDataTests.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...]
es2fTextureCompletenessTests.cpp 61 using glu::TextureTestUtil::computeQuadTexCoord2D;
62 using glu::TextureTestUtil::computeQuadTexCoordCube;
74 static bool isExtensionSupported (const glu::ContextInfo& ctxInfo, const char* extension)
125 Tex2DCompletenessCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description);
134 glu::RenderContext& m_renderCtx;
138 Tex2DCompletenessCase::Tex2DCompletenessCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description)
151 TextureRenderer renderer (m_renderCtx, log, glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP);
164 renderer.renderQuad (0, &texCoord[0], glu::TextureTestUtil::TEXTURETYPE_2D);
165 glu::readPixels (m_renderCtx, offsetX, offsetY, renderedFrame.getAccess())
    [all...]
  /external/eigen/Eigen/src/SparseLU/
SparseLUImpl.h 36 Index memInit(Index m, Index n, Index annz, Index lwork, Index fillratio, Index panel_size, GlobalLU_t& glu);
41 Index snode_dfs(const Index jcol, const Index kcol,const MatrixType& mat, IndexVector& xprune, IndexVector& marker, GlobalLU_t& glu);
42 Index snode_bmod (const Index jcol, const Index fsupc, ScalarVector& dense, GlobalLU_t& glu);
43 Index pivotL(const Index jcol, const RealScalar& diagpivotthresh, IndexVector& perm_r, IndexVector& iperm_c, Index& pivrow, GlobalLU_t& glu);
48 IndexVector& xplore, GlobalLU_t& glu, Index& nextl_col, Index krow, Traits& traits);
49 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);
51 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);
52 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);
53 Index column_bmod(const Index jcol, const Index nseg, BlockScalarVector dense, ScalarVector& tempv, BlockIndexVector segrep, BlockIndexVector repfnz, Index fpanelc, GlobalLU_t& glu);
54 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/external/vulkancts/framework/vulkan/
vkGlslProgram.hpp 63 std::vector<std::string> sources[glu::SHADERTYPE_LAST];
68 GlslSource& operator<< (const glu::ShaderSource& shaderSource) { sources[shaderSource.shaderType].push_back(shaderSource.source); return *this; }
  /external/deqp/modules/gles3/functional/
es3fFragDepthTests.cpp 148 glu::ShaderProgram basicQuadProgram(m_context.getRenderContext(), glu::makeVtxFragSources(s_vertexShaderSrc, s_defaultFragmentShaderSrc));
176 glu::VertexArrayBinding posBinding = glu::va::Float("a_position", 4, 4, 0, &constDepthCoord[0]);
177 glu::draw(m_context.getRenderContext(), basicQuadProgram.getProgram(), 1, &posBinding,
178 glu::pr::Triangles(DE_LENGTH_OF_ARRAY(quadIndices), &quadIndices[0]));
182 glu::VertexArrayBinding posBinding = glu::va::Float("a_position", 4, 4, 0, &varyingDepthCoord[0]);
183 glu::draw(m_context.getRenderContext(), basicQuadProgram.getProgram(), 1, &posBinding,
184 glu::pr::Triangles(DE_LENGTH_OF_ARRAY(quadIndices), &quadIndices[0]))
    [all...]
es3fCompressedTextureTests.cpp 88 testTypeGroup->addChild(new ASTCBlockCase2D(m_context, getASTCFormatShortName(format).c_str(), glu::getCompressedTextureFormatName(glu::getGLFormat(format)), astcTestType, format));
105 blockSizeRemainderGroup->addChild(new ASTCBlockSizeRemainderCase2D(m_context, getASTCFormatShortName(format).c_str(), glu::getCompressedTextureFormatName(glu::getGLFormat(format)), format));

Completed in 473 milliseconds

1 2 3 4 5 67 8 91011>>