Lines Matching refs:static_assert
23 static_assert(kAll_StencilFlags == (gUnused.fCWFlags[0] & gUnused.fCCWFlags[0]));
65 static_assert(sizeof(Face) == in reset()
85 static_assert(sizeof(Face) == in operator ==()
89 static_assert(0 == offsetof(Face, fRef)); in operator ==()
90 static_assert(2 == sizeof(Face::fRef)); in operator ==()
91 static_assert(2 == offsetof(Face, fTest)); in operator ==()
92 static_assert(2 == sizeof(Face::fTest)); in operator ==()
93 static_assert(4 == offsetof(Face, fTestMask)); in operator ==()
94 static_assert(2 == sizeof(Face::fTestMask)); in operator ==()
95 static_assert(6 == offsetof(Face, fPassOp)); in operator ==()
96 static_assert(1 == sizeof(Face::fPassOp)); in operator ==()
97 static_assert(7 == offsetof(Face, fFailOp)); in operator ==()
98 static_assert(1 == sizeof(Face::fFailOp)); in operator ==()
99 static_assert(8 == offsetof(Face, fWriteMask)); in operator ==()
100 static_assert(2 == sizeof(Face::fWriteMask)); in operator ==()
101 static_assert(10 == sizeof(Face)); in operator ==()
122 static_assert(0 == (int)GrUserStencilTest::kAlwaysIfInClip);
123 static_assert(1 == (int)GrUserStencilTest::kEqualIfInClip);
124 static_assert(2 == (int)GrUserStencilTest::kLessIfInClip);
125 static_assert(3 == (int)GrUserStencilTest::kLEqualIfInClip);
126 static_assert(4 == (int)GrUserStencilTest::kAlways);
127 static_assert(5 == (int)GrUserStencilTest::kNever);
128 static_assert(6 == (int)GrUserStencilTest::kGreater);
129 static_assert(7 == (int)GrUserStencilTest::kGEqual);
130 static_assert(8 == (int)GrUserStencilTest::kLess);
131 static_assert(9 == (int)GrUserStencilTest::kLEqual);
132 static_assert(10 == (int)GrUserStencilTest::kEqual);
133 static_assert(11 == (int)GrUserStencilTest::kNotEqual);
157 static_assert(0 == (int)GrUserStencilOp::kKeep);
158 static_assert(1 == (int)GrUserStencilOp::kZero);
159 static_assert(2 == (int)GrUserStencilOp::kReplace);
160 static_assert(3 == (int)GrUserStencilOp::kInvert);
161 static_assert(4 == (int)GrUserStencilOp::kIncWrap);
162 static_assert(5 == (int)GrUserStencilOp::kDecWrap);
163 static_assert(6 == (int)GrUserStencilOp::kIncMaybeClamp);
164 static_assert(7 == (int)GrUserStencilOp::kDecMaybeClamp);
165 static_assert(8 == (int)GrUserStencilOp::kZeroClipBit);
166 static_assert(9 == (int)GrUserStencilOp::kSetClipBit);
167 static_assert(10 == (int)GrUserStencilOp::kInvertClipBit);
168 static_assert(11 == (int)GrUserStencilOp::kSetClipAndReplaceUserBits);
169 static_assert(12 == (int)GrUserStencilOp::kZeroClipAndUserBits);
219 static_assert(0 == (int)GrStencilTest::kAlways); in setDisabled()
220 static_assert(0 == (int)GrStencilOp::kKeep); in setDisabled()
274 static_assert(0 == offsetof(Face, fRef)); in genKey()
275 static_assert(2 == sizeof(Face::fRef)); in genKey()
276 static_assert(2 == offsetof(Face, fTest)); in genKey()
277 static_assert(2 == sizeof(Face::fTest)); in genKey()
278 static_assert(4 == offsetof(Face, fTestMask)); in genKey()
279 static_assert(2 == sizeof(Face::fTestMask)); in genKey()
280 static_assert(6 == offsetof(Face, fPassOp)); in genKey()
281 static_assert(1 == sizeof(Face::fPassOp)); in genKey()
282 static_assert(7 == offsetof(Face, fFailOp)); in genKey()
283 static_assert(1 == sizeof(Face::fFailOp)); in genKey()
284 static_assert(8 == offsetof(Face, fWriteMask)); in genKey()
285 static_assert(2 == sizeof(Face::fWriteMask)); in genKey()
286 static_assert(10 == sizeof(Face)); in genKey()