Home
last modified time | relevance | path

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

/third_party/skia/src/xml/
H A 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/
H A 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/
H A 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) {
238 fVertexAttributes.init(attrs, attrCount);
240 void setInstanceAttributes(const Attribute* attrs, int attrCount) {
241 SkASSERT(attrCount >= 0);
242 fInstanceAttributes.init(attrs, attrCount);
/third_party/skia/src/core/
H A DSkVertices.cpp307 const int attrCount = hasCustomData ? safe.checkGE(buffer.readInt(), 0) : 0; in Decode()
315 if (!safe || !buffer.isValid() || attrCount) { in Decode()
/third_party/skia/src/gpu/gl/
H A DGrGLGpu.cpp3941 int attrCount = gpu->glCaps().maxVertexAttributes(); in bindInternalVertexArray() local
3942 fCoreProfileVertexArray = new GrGLVertexArray(arrayID, attrCount); in bindInternalVertexArray()
3956 int attrCount = gpu->glCaps().maxVertexAttributes(); in bindInternalVertexArray() local
3957 if (fDefaultVertexArrayAttribState.count() != attrCount) { in bindInternalVertexArray()
3958 fDefaultVertexArrayAttribState.resize(attrCount); in bindInternalVertexArray()

Completed in 9 milliseconds