Home
last modified time | relevance | path

Searched refs:attributeIndex (Results 1 – 14 of 14) sorted by relevance

/external/chromium_org/third_party/angle/src/libGLESv2/
DVertexArray.cpp56 const VertexAttribute& VertexArray::getVertexAttribute(size_t attributeIndex) const in getVertexAttribute()
58 ASSERT(attributeIndex < getMaxAttribs()); in getVertexAttribute()
59 return mVertexAttributes[attributeIndex]; in getVertexAttribute()
69 void VertexArray::enableAttribute(unsigned int attributeIndex, bool enabledState) in enableAttribute() argument
71 ASSERT(attributeIndex < getMaxAttribs()); in enableAttribute()
72 mVertexAttributes[attributeIndex].enabled = enabledState; in enableAttribute()
73 mVertexArray->enableAttribute(attributeIndex, enabledState); in enableAttribute()
76 void VertexArray::setAttributeState(unsigned int attributeIndex, gl::Buffer *boundBuffer, GLint siz… in setAttributeState() argument
79 ASSERT(attributeIndex < getMaxAttribs()); in setAttributeState()
80 mVertexAttributes[attributeIndex].buffer.set(boundBuffer); in setAttributeState()
[all …]
Dangletypes.cpp154 for (unsigned int attributeIndex = 0; attributeIndex < MAX_VERTEX_ATTRIBS; attributeIndex++) in GetInputLayout() local
156 int semanticIndex = programBinary->getSemanticIndex(attributeIndex); in GetInputLayout()
160 …inputLayout[semanticIndex] = VertexFormat(attributes[attributeIndex], currentValues[attributeIndex in GetInputLayout()
DVertexArray.h40 const VertexAttribute& getVertexAttribute(size_t attributeIndex) const;
43 void enableAttribute(unsigned int attributeIndex, bool enabledState);
44 …void setAttributeState(unsigned int attributeIndex, gl::Buffer *boundBuffer, GLint size, GLenum ty…
DProgramBinary.cpp89 for (size_t attributeIndex = 0; attributeIndex < shaderAttributes.size(); attributeIndex++) in GetDefaultInputLayoutFromShader() local
93 const sh::Attribute &shaderAttr = shaderAttributes[attributeIndex]; in GetDefaultInputLayoutFromShader()
144 for (size_t attributeIndex = 0; attributeIndex < gl::MAX_VERTEX_ATTRIBS; attributeIndex++) in VertexExecutable() local
146 mInputs[attributeIndex] = inputLayout[attributeIndex]; in VertexExecutable()
147 mSignature[attributeIndex] = signature[attributeIndex]; in VertexExecutable()
158 for (size_t attributeIndex = 0; attributeIndex < MAX_VERTEX_ATTRIBS; attributeIndex++) in matchesSignature() local
160 if (mSignature[attributeIndex] != signature[attributeIndex]) in matchesSignature()
336 int ProgramBinary::getSemanticIndex(int attributeIndex) in getSemanticIndex() argument
338 ASSERT(attributeIndex >= 0 && attributeIndex < MAX_VERTEX_ATTRIBS); in getSemanticIndex()
340 return mSemanticIndex[attributeIndex]; in getSemanticIndex()
[all …]
DvalidationES.cpp1471 for (int attributeIndex = 0; attributeIndex < MAX_VERTEX_ATTRIBS; attributeIndex++) in ValidateDrawBase() local
1473 const VertexAttribute &attrib = vao->getVertexAttribute(attributeIndex); in ValidateDrawBase()
1474 bool attribActive = (programBinary->getSemanticIndex(attributeIndex) != -1); in ValidateDrawBase()
1571 for (int attributeIndex = 0; attributeIndex < MAX_VERTEX_ATTRIBS; attributeIndex++) in ValidateDrawInstancedANGLE() local
1573 const VertexAttribute &attrib = vao->getVertexAttribute(attributeIndex); in ValidateDrawInstancedANGLE()
1574 bool active = (programBinary->getSemanticIndex(attributeIndex) != -1); in ValidateDrawInstancedANGLE()
DProgramBinary.h110 int getSemanticIndex(int attributeIndex);
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/serialization/
DAttributeContainer.java46 Integer i = attributeIndex(name); in getAttribute()
60 Integer i = attributeIndex(name); in getAttributeAsString()
72 if (attributeIndex(name) != null) { in hasAttribute()
86 Integer i = attributeIndex(name); in getAttributeSafely()
103 Integer i = attributeIndex(name); in getAttributeSafelyAsString()
111 private Integer attributeIndex(String name) { in attributeIndex() method in AttributeContainer
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/
DVertexDataManager.cpp94 for (int attributeIndex = 0; attributeIndex < gl::MAX_VERTEX_ATTRIBS; attributeIndex++) in prepareVertexData() local
96 translated[attributeIndex].active = (programBinary->getSemanticIndex(attributeIndex) != -1); in prepareVertexData()
98 if (translated[attributeIndex].active && attribs[attributeIndex].enabled) in prepareVertexData()
100 invalidateMatchingStaticData(attribs[attributeIndex], currentValues[attributeIndex]); in prepareVertexData()
DShaderD3D.cpp441 for (size_t attributeIndex = 0; attributeIndex < mActiveAttributes.size(); attributeIndex++) in getSemanticIndex() local
443 const sh::ShaderVariable &attribute = mActiveAttributes[attributeIndex]; in getSemanticIndex()
DDynamicHLSL.cpp373 for (unsigned int attributeIndex = 0; attributeIndex < MAX_VERTEX_ATTRIBS; attributeIndex++) in generateVertexShaderForInputLayout() local
375 const sh::Attribute &shaderAttribute = shaderAttributes[attributeIndex]; in generateVertexShaderForInputLayout()
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d11/
DInputLayoutCache.cpp27 for (unsigned int attributeIndex = 0; attributeIndex < gl::MAX_VERTEX_ATTRIBS; attributeIndex++) in GetInputLayout() local
29 const TranslatedAttribute &translatedAttribute = translatedAttributes[attributeIndex]; in GetInputLayout()
31 if (translatedAttributes[attributeIndex].active) in GetInputLayout()
33 inputLayout[attributeIndex] = gl::VertexFormat(*translatedAttribute.attribute, in GetInputLayout()
/external/chromium_org/third_party/skia/src/gpu/gl/builders/
DGrGLVertexShaderBuilder.h28 const SkString* getEffectAttributeName(int attributeIndex) const;
/external/skia/src/gpu/gl/
DGrGLShaderBuilder.h461 bool addEffectAttribute(int attributeIndex, GrSLType type, const SkString& name);
462 const SkString* getEffectAttributeName(int attributeIndex) const;
DGrGLShaderBuilder.cpp910 bool GrGLFullShaderBuilder::addEffectAttribute(int attributeIndex, in addEffectAttribute() argument
917 fEffectAttributes.push_back().set(attributeIndex, name); in addEffectAttribute()
960 const SkString* GrGLFullShaderBuilder::getEffectAttributeName(int attributeIndex) const { in getEffectAttributeName()
963 if (attrib->fIndex == attributeIndex) { in getEffectAttributeName()