/external/regex-re2/util/ |
random.cc | 30 int32 ACMRandom::Uniform(int32 n) {
|
/external/skia/src/gpu/vk/ |
GrVkPipelineStateDataManager.h | 38 // arrayCount matrices into a uniform array. 59 struct Uniform { 71 void* getBufferPtrAndMarkDirty(const Uniform& uni) const; 76 SkTArray<Uniform, true> fUniforms;
|
/prebuilts/go/darwin-x86/src/image/ |
names.go | 12 // Black is an opaque black uniform image. 14 // White is an opaque white uniform image. 16 // Transparent is a fully transparent uniform image. 18 // Opaque is a fully opaque uniform image. 22 // Uniform is an infinite-sized Image of uniform color. 24 type Uniform struct { 28 func (c *Uniform) RGBA() (r, g, b, a uint32) { 32 func (c *Uniform) ColorModel() color.Model { 36 func (c *Uniform) Convert(color.Color) color.Color [all...] |
/prebuilts/go/linux-x86/src/image/ |
names.go | 12 // Black is an opaque black uniform image. 14 // White is an opaque white uniform image. 16 // Transparent is a fully transparent uniform image. 18 // Opaque is a fully opaque uniform image. 22 // Uniform is an infinite-sized Image of uniform color. 24 type Uniform struct { 28 func (c *Uniform) RGBA() (r, g, b, a uint32) { 32 func (c *Uniform) ColorModel() color.Model { 36 func (c *Uniform) Convert(color.Color) color.Color [all...] |
/external/skia/src/gpu/gl/ |
GrGLProgramDataManager.h | 51 /** Functions for uploading uniform values. The varities ending in v can be used to upload to an 52 * array of uniforms. arrayCount must be <= the array count of the uniform. 65 // arrayCount matrices into a uniform array. 82 struct Uniform { 104 SkTArray<Uniform, true> fUniforms;
|
/external/swiftshader/src/OpenGL/libGL/ |
Program.h | 37 // Helper struct representing a single shader uniform 38 struct Uniform 40 Uniform(GLenum type, GLenum precision, const std::string &name, unsigned int arraySize); 42 ~Uniform(); 60 // Struct used for correlating uniforms/elements of uniform arrays to handles 190 typedef std::vector<Uniform*> UniformArray;
|
Program.cpp | 41 Uniform::Uniform(GLenum type, GLenum precision, const std::string &name, unsigned int arraySize) : type(type), precision(precision), name(name), arraySize(arraySize) 52 Uniform::~Uniform() 57 bool Uniform::isArray() const 62 int Uniform::size() const 67 int Uniform::registerCount() const 300 Uniform *targetUniform = uniforms[uniformIndex[location].index]; 307 return false; // Attempting to write an array to a non-array uniform is an INVALID_OPERATION 348 Uniform *targetUniform = uniforms[uniformIndex[location].index] 1300 const glsl::Uniform &uniform = activeUniforms[uniformIndex]; local 1354 Uniform *uniform = 0; local [all...] |
/external/deqp/framework/opengl/simplereference/ |
sglrShaderProgram.hpp | 96 struct Uniform 98 Uniform (const std::string& name_, glu::DataType type_) : name(name_), type(type_) { } 154 ShaderProgramDeclaration& operator<< (const Uniform&); 176 std::vector<Uniform> m_uniforms; 253 friend class ReferenceContext; // for uniform access
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
Program.h | 37 // Helper struct representing a single shader uniform 38 struct Uniform 42 BlockInfo(const glsl::Uniform& uniform, int blockIndex); 51 Uniform(GLenum type, GLenum precision, const std::string &name, unsigned int arraySize, 54 ~Uniform(); 73 // Helper struct representing a single shader uniform block 95 // Struct used for correlating uniforms/elements of uniform arrays to handles 233 bool defineUniform(GLenum shader, GLenum type, GLenum precision, const std::string &_name, unsigned int arraySize, int registerIndex, const Uniform::BlockInfo& blockInfo); 299 typedef std::vector<Uniform*> UniformArray [all...] |
Program.cpp | 44 Uniform::BlockInfo::BlockInfo(const glsl::Uniform& uniform, int blockIndex) 49 offset = uniform.blockInfo.offset; 50 arrayStride = uniform.blockInfo.arrayStride; 51 matrixStride = uniform.blockInfo.matrixStride; 52 isRowMajorMatrix = uniform.blockInfo.isRowMajorMatrix; 64 Uniform::Uniform(GLenum type, GLenum precision, const std::string &name, unsigned int arraySize, 84 Uniform::~Uniform( 1638 const glsl::Uniform &uniform = activeUniforms[uniformIndex]; local 1742 Uniform *uniform = 0; local 2717 const Uniform& uniform = *uniforms[index]; local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/ubo/ |
vktUniformBlockCase.hpp | 24 * \brief Uniform block tests. 39 // Uniform block details. 60 UNUSED_VERTEX = (1<<11), //!< Uniform or struct member is not read in vertex shader. 61 UNUSED_FRAGMENT = (1<<12), //!< Uniform or struct member is not read in fragment shader. 171 class Uniform 174 Uniform (const std::string& name, const VarType& type, deUint32 flags = 0); 189 typedef std::vector<Uniform>::iterator Iterator; 190 typedef std::vector<Uniform>::const_iterator ConstIterator; 204 void addUniform (const Uniform& uniform) { m_uniforms.push_back(uniform); [all...] |
vktUniformBlockCase.cpp | 23 * \brief Uniform block case. 129 // Uniform implementation. 131 Uniform::Uniform (const std::string& name, const VarType& type, deUint32 flags) 542 const Uniform& uniform = *uniformIter; local 543 computeStd140Layout(layout, curOffset, activeBlockNdx, blockPrefix + uniform.getName(), uniform.getType(), mergeLayoutFlags(block.getFlags(), uniform.getFlags())); 563 // Compute active uniform set for block 1316 const Uniform& uniform = *uniformIter; local [all...] |
/external/deqp/modules/glshared/ |
glsUniformBlockCase.hpp | 23 * \brief Uniform block tests. 40 // Uniform block details. 62 UNUSED_VERTEX = (1<<10), //!< Uniform or struct member is not read in vertex shader. 63 UNUSED_FRAGMENT = (1<<11), //!< Uniform or struct member is not read in fragment shader. 164 class Uniform 167 Uniform (const char* name, const VarType& type, deUint32 flags = 0); 182 typedef std::vector<Uniform>::iterator Iterator; 183 typedef std::vector<Uniform>::const_iterator ConstIterator; 196 void addUniform (const Uniform& uniform) { m_uniforms.push_back(uniform); [all...] |
glsUniformBlockCase.cpp | 21 * \brief Uniform block case. 186 // Uniform implementation. 188 Uniform::Uniform (const char* name, const VarType& type, deUint32 flags) 594 const Uniform& uniform = *uniformIter; local 595 computeStd140Layout(layout, curOffset, activeBlockNdx, blockPrefix + uniform.getName(), uniform.getType(), mergeLayoutFlags(block.getFlags(), uniform.getFlags())); 612 // Compute active uniform set for block 1081 const Uniform& uniform = *uniformIter; local 1795 const UniformLayoutEntry& uniform = layout.uniforms[uniformNdx]; local 1830 const UniformLayoutEntry& uniform = layout.uniforms[uniformNdx]; local [all...] |
/external/swiftshader/src/OpenGL/compiler/ |
OutputASM.h | 58 struct Uniform 60 Uniform(GLenum type, GLenum precision, const std::string &name, int arraySize, int registerIndex, int blockId, const BlockMemberInfo& blockMemberInfo); 73 typedef std::vector<Uniform> ActiveUniforms; 122 // See "Standard Uniform Block Layout" in Section 2.11.6 of the OpenGL ES 3.0 specification 165 int size() const // Unify with es2::Uniform? 289 int uniformRegister(TIntermTyped *uniform);
|
OutputASM.cpp | 84 Uniform::Uniform(GLenum type, GLenum precision, const std::string &name, int arraySize, int registerIndex, int blockId, const BlockMemberInfo& blockMemberInfo) : 479 // OpenGL ES 3.0.4 spec, section 2.12.6 Uniform Variables: 480 // "All members of a named uniform block declared with a shared or std140 layout qualifier 482 // The uniform block itself is also considered active, even if no member of the block is referenced." [all...] |
/external/spirv-llvm/lib/SPIRV/ |
OCL20ToSPIRV.cpp | [all...] |
/external/deqp/modules/gles31/functional/ |
es31fProgramUniformTests.cpp | 23 * \todo [2013-02-26 nuutti] Much duplication between ES2&3 uniform api 306 struct Uniform 311 Uniform (const char* const name_, const glu::VarType& type_) : name(name_), type(type_) {} 320 Uniform& getUniform (const int ndx) { return m_uniforms[ndx]; } 321 const Uniform& getUniform (const int ndx) const { return m_uniforms[ndx]; } 323 void addUniform (const Uniform& uniform) { m_uniforms.push_back(uniform); } 379 res->m_uniforms.push_back(Uniform((string("u_var") + nameSuffix).c_str(), glu::VarType(type, prec))); 387 res->m_uniforms.push_back(Uniform((string("u_var") + nameSuffix).c_str(), glu::VarType(glu::VarType(type, prec), 3))) 1270 const BasicUniform& uniform = basicUniforms[unifNdx]; local 1351 const BasicUniform& uniform = basicUniforms[unifNdx]; local 1550 const BasicUniform& uniform = basicUniforms[unifNdx]; local [all...] |
/external/clang/lib/CodeGen/ |
CGOpenMPRuntime.cpp | [all...] |