Home
last modified time | relevance | path

Searched refs:attrCount (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/src/xml/
DSkDOMParser.cpp25 int attrCount = fAttrs.count(); in flushAttributes() local
27 SkDOMAttr* attrs = fAlloc->makeArrayDefault<SkDOMAttr>(attrCount); in flushAttributes()
32 node->fAttrCount = SkToU16(attrCount); in flushAttributes()
47 sk_careful_memcpy(node->attrs(), fAttrs.begin(), attrCount * sizeof(SkDOM::Attr)); in flushAttributes()
/third_party/skia/experimental/graphite/src/
DGraphicsPipelineDesc.h154 void setVertexAttributes(const Attribute* attrs, int attrCount) { in setVertexAttributes() argument
155 fVertexAttributes.init(attrs, attrCount); in setVertexAttributes()
157 void setInstanceAttributes(const Attribute* attrs, int attrCount) { in setInstanceAttributes() argument
158 SkASSERT(attrCount >= 0); in setInstanceAttributes()
159 fInstanceAttributes.init(attrs, attrCount); in setInstanceAttributes()
/third_party/skia/src/gpu/
DGrGeometryProcessor.h208 auto add_attributes = [=](const Attribute* attrs, int attrCount) { in getAttributeKey()
209 for (int i = 0; i < attrCount; ++i) { in getAttributeKey()
237 void setVertexAttributes(const Attribute* attrs, int attrCount) { in setVertexAttributes() argument
238 fVertexAttributes.init(attrs, attrCount); in setVertexAttributes()
240 void setInstanceAttributes(const Attribute* attrs, int attrCount) { in setInstanceAttributes() argument
241 SkASSERT(attrCount >= 0); in setInstanceAttributes()
242 fInstanceAttributes.init(attrs, attrCount); in setInstanceAttributes()
/third_party/skia/src/core/
DSkVertices.cpp307 const int attrCount = hasCustomData ? safe.checkGE(buffer.readInt(), 0) : 0; in Decode() local
315 if (!safe || !buffer.isValid() || attrCount) { in Decode()
/third_party/skia/src/gpu/gl/
DGrGLGpu.cpp3930 int attrCount = gpu->glCaps().maxVertexAttributes(); in bindInternalVertexArray() local
3931 fCoreProfileVertexArray = new GrGLVertexArray(arrayID, attrCount); in bindInternalVertexArray()
3945 int attrCount = gpu->glCaps().maxVertexAttributes(); in bindInternalVertexArray() local
3946 if (fDefaultVertexArrayAttribState.count() != attrCount) { in bindInternalVertexArray()
3947 fDefaultVertexArrayAttribState.resize(attrCount); in bindInternalVertexArray()