Searched refs:attrCount (Results 1 – 3 of 3) sorted by relevance
235 static void writeAttribute(ByteStream bs, AttributeWriter aw, int attrCount) { in writeAttribute() argument237 bs.writeShort(attrCount); in writeAttribute()241 bs.writeShort(aw.size() + attrCount); in writeAttribute()374 int attrCount = isAbstract ? 0 : 1; in begin() local376 ++attrCount; in begin()378 writeAttribute(output, aw, attrCount); in begin()488 int attrCount = smap == null ? 0 : 1; in end() local489 writeAttribute(output, aw, attrCount); in end()
219 int attrCount = fAttrs.count(); in flushAttributes() local221 …SkDOM::Node* node = (SkDOM::Node*)fAlloc->alloc(sizeof(SkDOM::Node) + attrCount * sizeof(SkDOM::At… in flushAttributes()226 node->fAttrCount = SkToU16(attrCount); in flushAttributes()243 sk_careful_memcpy(node->attrs(), fAttrs.begin(), attrCount * sizeof(SkDOM::Attr)); in flushAttributes()
3981 int attrCount = gpu->glCaps().maxVertexAttributes(); in internalBind() local3982 fVBOVertexArray = new GrGLVertexArray(arrayID, attrCount); in internalBind()3995 int attrCount = gpu->glCaps().maxVertexAttributes(); in internalBind() local3996 if (fDefaultVertexArrayAttribState.count() != attrCount) { in internalBind()3997 fDefaultVertexArrayAttribState.resize(attrCount); in internalBind()