Lines Matching defs:elements

44     // Provides fluent API to describe actual clip commands and expected clip elements:
104 // Update the default matrix, aa, and op state for elements that are added.
111 // Add rect, rrect, or paths to the list of elements, possibly overriding the last set
154 ElementsBuilder(TestCaseBuilder* builder, std::vector<ClipStack::Element>* elements)
156 , fElements(elements) {}
370 // shouldn't match multiple expected elements or it's a bad test case
382 "%s, did not match all expected elements: expected %d but matched only %d",
404 // All clip operations are commutative so applying actual elements in every possible order should
405 // always produce the same set of expected elements.
425 // Heap's algorithm (non-recursive) to generate every permutation over the test case's elements
1075 // Chosen to be greater than the number of inline-allocated elements and save records of the
1168 // elements with different scale+translate matrices to be consolidated as if they were in the same
1647 // the actual elements to be unmodified (both intersect and difference).
1749 // Tests that when a stack is forced to always be AA, non-AA elements become AA
1767 // The stack reports elements newest first, but the non-AA rect op was combined in place with
1769 auto elements = cs.begin();
1771 const ClipStack::Element& nonAARectElement = *elements;
1778 ++elements;
1779 const ClipStack::Element& aaPathElement = *elements;
1784 ++elements;
1785 const ClipStack::Element& aaRectElement = *elements;
1791 ++elements;
1792 REPORTER_ASSERT(r, !(elements != cs.end()), "Expected only three clip elements");