Lines Matching +full:array +full:- +full:bounds
4 * Use of this source code is governed by a BSD-style license that can be
11 const int GrAuditTrail::kGrAuditTrailInvalidID = -1;
17 auditOp->fName = op->name(); in addOp()
18 auditOp->fBounds = op->bounds(); in addOp()
19 auditOp->fClientID = kGrAuditTrailInvalidID; in addOp()
20 auditOp->fOpsTaskID = kGrAuditTrailInvalidID; in addOp()
21 auditOp->fChildID = kGrAuditTrailInvalidID; in addOp()
24 auditOp->fStackTrace = fCurrentStackTrace; in addOp()
28 auditOp->fClientID = fClientID; in addOp()
38 ops->push_back(auditOp); in addOp()
42 auditOp->fOpsTaskID = fOpsTask.count(); in addOp()
43 auditOp->fChildID = 0; in addOp()
46 fIDLookup.set(op->uniqueID(), auditOp->fOpsTaskID); in addOp()
48 opNode->fBounds = op->bounds(); in addOp()
49 opNode->fChildren.push_back(auditOp); in addOp()
55 int* indexPtr = fIDLookup.find(consumer->uniqueID()); in opsCombined()
62 int* consumedPtr = fIDLookup.find(consumed->uniqueID()); in opsCombined()
73 childOp->fOpsTaskID = index; in opsCombined()
74 childOp->fChildID = consumerOp.fChildren.count(); in opsCombined()
78 // Update the bounds for the combineWith node in opsCombined()
79 consumerOp.fBounds = consumer->bounds(); in opsCombined()
84 fIDLookup.remove(consumed->uniqueID()); in opsCombined()
91 outOpInfo->fBounds = bn->fBounds; in copyOutFromOpsTask()
92 outOpInfo->fProxyUniqueID = bn->fProxyUniqueID; in copyOutFromOpsTask()
93 for (int j = 0; j < bn->fChildren.count(); j++) { in copyOutFromOpsTask()
94 OpInfo::Op& outOp = outOpInfo->fOps.push_back(); in copyOutFromOpsTask()
95 const Op* currentOp = bn->fChildren[j]; in copyOutFromOpsTask()
96 outOp.fBounds = currentOp->fBounds; in copyOutFromOpsTask()
97 outOp.fClientID = currentOp->fClientID; in copyOutFromOpsTask()
108 for (int i = 0; i < (*opsLookup)->count(); i++) { in getBoundsByClientID()
113 if (kGrAuditTrailInvalidID == currentOpsTaskID || op->fOpsTaskID != currentOpsTaskID) { in getBoundsByClientID()
114 OpInfo& outOpInfo = outInfo->push_back(); in getBoundsByClientID()
118 this->copyOutFromOpsTask(&outOpInfo, op->fOpsTaskID); in getBoundsByClientID()
125 this->copyOutFromOpsTask(outInfo, opsTaskID); in getBoundsByOpsTaskID()
142 void GrAuditTrail::JsonifyTArray(SkJSONWriter& writer, const char* name, const T& array) { in JsonifyTArray() argument
143 if (array.count()) { in JsonifyTArray()
145 for (int i = 0; i < array.count(); i++) { in JsonifyTArray()
147 if (array[i]) { in JsonifyTArray()
148 array[i]->toJson(writer); in JsonifyTArray()
185 skrect_to_json(writer, "Bounds", fBounds); in toJson()
199 skrect_to_json(writer, "Bounds", fBounds); in toJson()
205 void GrAuditTrail::JsonifyTArray(SkJSONWriter& writer, const char* name, const T& array) {} in JsonifyTArray() argument