Lines Matching defs:that
4 * Use of this source code is governed by a BSD-style license that can be
56 void GrStencilSettings::reset(const GrStencilSettings& that) {
57 fFlags = that.fFlags;
62 memcpy(&fCWFace, &that.fCWFace, sizeof(Face));
64 memcpy(&fCWFace, &that.fCWFace, 2 * sizeof(Face));
70 bool GrStencilSettings::operator==(const GrStencilSettings& that) const {
71 if ((kInvalid_PrivateFlag | kDisabled_StencilFlag) & (fFlags | that.fFlags)) {
73 if (kInvalid_PrivateFlag & (fFlags | that.fFlags)) {
77 return kDisabled_StencilFlag & (fFlags & that.fFlags);
79 if (kSingleSided_StencilFlag & (fFlags & that.fFlags)) {
80 return 0 == memcmp(&fCWFace, &that.fCWFace, sizeof(Face)); // Both are single sided.
81 } else if (kSingleSided_StencilFlag & (fFlags | that.fFlags)) {
84 return 0 == memcmp(&fCWFace, &that.fCWFace, 2 * sizeof(Face));
105 // Tests that respect the clip.
111 // Tests that ignore the clip.
138 // Ops that only modify user bits.
147 // Ops that only modify the clip bit.
152 // Ops that modify clip and user bits.
183 // Ops that only modify user bits.
187 // Ops that only modify the clip bit.
192 // Ops that modify both clip and user bits.