• Home
  • Raw
  • Download

Lines Matching refs:TEST_ASSERT

47 #define TEST_ASSERT(...) REPORTER_ASSERT(reporter, __VA_ARGS__)  macro
88 TEST_ASSERT(!analysis.requiresDstTexture() || in XPInfo()
97 TEST_ASSERT(analysis.requiresDstTexture() == analysis.requiresNonOverlappingDraws()); in XPInfo()
100 TEST_ASSERT(!xp->willReadDstColor() || in XPInfo()
103 TEST_ASSERT(xp->hasSecondaryOutput() == GrBlendCoeffRefsSrc2(fBlendInfo.fDstBlend)); in XPInfo()
127 TEST_ASSERT(xpi.fIgnoresInputColor); in test_lcd_coverage()
128 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_lcd_coverage()
129 TEST_ASSERT(kInvalid_OutputType == xpi.fPrimaryOutputType); in test_lcd_coverage()
130 TEST_ASSERT(kInvalid_OutputType == xpi.fSecondaryOutputType); in test_lcd_coverage()
131 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_lcd_coverage()
132 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_lcd_coverage()
133 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_lcd_coverage()
134 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_lcd_coverage()
137 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_lcd_coverage()
138 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_lcd_coverage()
139 TEST_ASSERT(kInvalid_OutputType == xpi.fPrimaryOutputType); in test_lcd_coverage()
140 TEST_ASSERT(kInvalid_OutputType == xpi.fSecondaryOutputType); in test_lcd_coverage()
141 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_lcd_coverage()
142 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_lcd_coverage()
143 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_lcd_coverage()
144 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_lcd_coverage()
147 TEST_ASSERT(xpi.fIgnoresInputColor); in test_lcd_coverage()
148 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_lcd_coverage()
149 TEST_ASSERT(kInvalid_OutputType == xpi.fPrimaryOutputType); in test_lcd_coverage()
150 TEST_ASSERT(kInvalid_OutputType == xpi.fSecondaryOutputType); in test_lcd_coverage()
151 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_lcd_coverage()
152 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_lcd_coverage()
153 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_lcd_coverage()
154 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_lcd_coverage()
157 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_lcd_coverage()
158 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_lcd_coverage()
159 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_lcd_coverage()
160 TEST_ASSERT(kSAModulate_OutputType == xpi.fSecondaryOutputType); in test_lcd_coverage()
161 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_lcd_coverage()
162 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_lcd_coverage()
163 TEST_ASSERT(kIS2C_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_lcd_coverage()
164 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_lcd_coverage()
167 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_lcd_coverage()
168 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_lcd_coverage()
169 TEST_ASSERT(kInvalid_OutputType == xpi.fPrimaryOutputType); in test_lcd_coverage()
170 TEST_ASSERT(kInvalid_OutputType == xpi.fSecondaryOutputType); in test_lcd_coverage()
171 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_lcd_coverage()
172 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_lcd_coverage()
173 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_lcd_coverage()
174 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_lcd_coverage()
177 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_lcd_coverage()
178 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_lcd_coverage()
179 TEST_ASSERT(kInvalid_OutputType == xpi.fPrimaryOutputType); in test_lcd_coverage()
180 TEST_ASSERT(kInvalid_OutputType == xpi.fSecondaryOutputType); in test_lcd_coverage()
181 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_lcd_coverage()
182 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_lcd_coverage()
183 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_lcd_coverage()
184 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_lcd_coverage()
187 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_lcd_coverage()
188 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_lcd_coverage()
189 TEST_ASSERT(kInvalid_OutputType == xpi.fPrimaryOutputType); in test_lcd_coverage()
190 TEST_ASSERT(kInvalid_OutputType == xpi.fSecondaryOutputType); in test_lcd_coverage()
191 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_lcd_coverage()
192 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_lcd_coverage()
193 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_lcd_coverage()
194 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_lcd_coverage()
197 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_lcd_coverage()
198 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_lcd_coverage()
199 TEST_ASSERT(kInvalid_OutputType == xpi.fPrimaryOutputType); in test_lcd_coverage()
200 TEST_ASSERT(kInvalid_OutputType == xpi.fSecondaryOutputType); in test_lcd_coverage()
201 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_lcd_coverage()
202 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_lcd_coverage()
203 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_lcd_coverage()
204 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_lcd_coverage()
207 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_lcd_coverage()
208 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_lcd_coverage()
209 TEST_ASSERT(kInvalid_OutputType == xpi.fPrimaryOutputType); in test_lcd_coverage()
210 TEST_ASSERT(kInvalid_OutputType == xpi.fSecondaryOutputType); in test_lcd_coverage()
211 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_lcd_coverage()
212 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_lcd_coverage()
213 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_lcd_coverage()
214 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_lcd_coverage()
217 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_lcd_coverage()
218 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_lcd_coverage()
219 TEST_ASSERT(kInvalid_OutputType == xpi.fPrimaryOutputType); in test_lcd_coverage()
220 TEST_ASSERT(kInvalid_OutputType == xpi.fSecondaryOutputType); in test_lcd_coverage()
221 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_lcd_coverage()
222 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_lcd_coverage()
223 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_lcd_coverage()
224 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_lcd_coverage()
227 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_lcd_coverage()
228 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_lcd_coverage()
229 TEST_ASSERT(kInvalid_OutputType == xpi.fPrimaryOutputType); in test_lcd_coverage()
230 TEST_ASSERT(kInvalid_OutputType == xpi.fSecondaryOutputType); in test_lcd_coverage()
231 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_lcd_coverage()
232 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_lcd_coverage()
233 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_lcd_coverage()
234 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_lcd_coverage()
237 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_lcd_coverage()
238 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_lcd_coverage()
239 TEST_ASSERT(kInvalid_OutputType == xpi.fPrimaryOutputType); in test_lcd_coverage()
240 TEST_ASSERT(kInvalid_OutputType == xpi.fSecondaryOutputType); in test_lcd_coverage()
241 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_lcd_coverage()
242 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_lcd_coverage()
243 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_lcd_coverage()
244 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_lcd_coverage()
247 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_lcd_coverage()
248 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_lcd_coverage()
249 TEST_ASSERT(kInvalid_OutputType == xpi.fPrimaryOutputType); in test_lcd_coverage()
250 TEST_ASSERT(kInvalid_OutputType == xpi.fSecondaryOutputType); in test_lcd_coverage()
251 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_lcd_coverage()
252 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_lcd_coverage()
253 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_lcd_coverage()
254 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_lcd_coverage()
257 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_lcd_coverage()
258 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_lcd_coverage()
259 TEST_ASSERT(kInvalid_OutputType == xpi.fPrimaryOutputType); in test_lcd_coverage()
260 TEST_ASSERT(kInvalid_OutputType == xpi.fSecondaryOutputType); in test_lcd_coverage()
261 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_lcd_coverage()
262 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_lcd_coverage()
263 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_lcd_coverage()
264 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_lcd_coverage()
267 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_lcd_coverage()
268 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_lcd_coverage()
269 TEST_ASSERT(kInvalid_OutputType == xpi.fPrimaryOutputType); in test_lcd_coverage()
270 TEST_ASSERT(kInvalid_OutputType == xpi.fSecondaryOutputType); in test_lcd_coverage()
271 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_lcd_coverage()
272 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_lcd_coverage()
273 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_lcd_coverage()
274 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_lcd_coverage()
291 TEST_ASSERT(xpi.fIgnoresInputColor); in test_color_unknown_with_coverage()
292 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_unknown_with_coverage()
293 TEST_ASSERT(kCoverage_OutputType == xpi.fPrimaryOutputType); in test_color_unknown_with_coverage()
294 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_unknown_with_coverage()
295 TEST_ASSERT(kReverseSubtract_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_unknown_with_coverage()
296 TEST_ASSERT(kDC_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_unknown_with_coverage()
297 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_unknown_with_coverage()
298 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_unknown_with_coverage()
301 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_unknown_with_coverage()
302 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_unknown_with_coverage()
303 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_unknown_with_coverage()
304 TEST_ASSERT(kCoverage_OutputType == xpi.fSecondaryOutputType); in test_color_unknown_with_coverage()
305 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_unknown_with_coverage()
306 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_unknown_with_coverage()
307 TEST_ASSERT(kIS2A_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_unknown_with_coverage()
308 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_unknown_with_coverage()
311 TEST_ASSERT(xpi.fIgnoresInputColor); in test_color_unknown_with_coverage()
312 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_unknown_with_coverage()
313 TEST_ASSERT(kNone_OutputType == xpi.fPrimaryOutputType); in test_color_unknown_with_coverage()
314 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_unknown_with_coverage()
315 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_unknown_with_coverage()
316 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_unknown_with_coverage()
317 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_unknown_with_coverage()
318 TEST_ASSERT(!xpi.fBlendInfo.fWriteColor); in test_color_unknown_with_coverage()
321 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_unknown_with_coverage()
322 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_unknown_with_coverage()
323 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_unknown_with_coverage()
324 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_unknown_with_coverage()
325 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_unknown_with_coverage()
326 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_unknown_with_coverage()
327 TEST_ASSERT(kISA_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_unknown_with_coverage()
328 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_unknown_with_coverage()
331 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_unknown_with_coverage()
332 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_unknown_with_coverage()
333 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_unknown_with_coverage()
334 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_unknown_with_coverage()
335 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_unknown_with_coverage()
336 TEST_ASSERT(kIDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_unknown_with_coverage()
337 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_unknown_with_coverage()
338 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_unknown_with_coverage()
341 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_unknown_with_coverage()
342 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_unknown_with_coverage()
343 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_unknown_with_coverage()
344 TEST_ASSERT(kCoverage_OutputType == xpi.fSecondaryOutputType); in test_color_unknown_with_coverage()
345 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_unknown_with_coverage()
346 TEST_ASSERT(kDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_unknown_with_coverage()
347 TEST_ASSERT(kIS2A_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_unknown_with_coverage()
348 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_unknown_with_coverage()
351 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_unknown_with_coverage()
352 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_unknown_with_coverage()
353 TEST_ASSERT(kISAModulate_OutputType == xpi.fPrimaryOutputType); in test_color_unknown_with_coverage()
354 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_unknown_with_coverage()
355 TEST_ASSERT(kReverseSubtract_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_unknown_with_coverage()
356 TEST_ASSERT(kDC_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_unknown_with_coverage()
357 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_unknown_with_coverage()
358 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_unknown_with_coverage()
361 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_unknown_with_coverage()
362 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_unknown_with_coverage()
363 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_unknown_with_coverage()
364 TEST_ASSERT(kCoverage_OutputType == xpi.fSecondaryOutputType); in test_color_unknown_with_coverage()
365 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_unknown_with_coverage()
366 TEST_ASSERT(kIDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_unknown_with_coverage()
367 TEST_ASSERT(kIS2A_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_unknown_with_coverage()
368 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_unknown_with_coverage()
371 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_unknown_with_coverage()
372 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_unknown_with_coverage()
373 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_unknown_with_coverage()
374 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_unknown_with_coverage()
375 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_unknown_with_coverage()
376 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_unknown_with_coverage()
377 TEST_ASSERT(kISA_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_unknown_with_coverage()
378 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_unknown_with_coverage()
381 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_unknown_with_coverage()
382 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_unknown_with_coverage()
383 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_unknown_with_coverage()
384 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_unknown_with_coverage()
385 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_unknown_with_coverage()
386 TEST_ASSERT(kDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_unknown_with_coverage()
387 TEST_ASSERT(kISA_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_unknown_with_coverage()
388 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_unknown_with_coverage()
391 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_unknown_with_coverage()
392 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_unknown_with_coverage()
393 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_unknown_with_coverage()
394 TEST_ASSERT(kISAModulate_OutputType == xpi.fSecondaryOutputType); in test_color_unknown_with_coverage()
395 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_unknown_with_coverage()
396 TEST_ASSERT(kIDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_unknown_with_coverage()
397 TEST_ASSERT(kIS2C_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_unknown_with_coverage()
398 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_unknown_with_coverage()
401 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_unknown_with_coverage()
402 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_unknown_with_coverage()
403 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_unknown_with_coverage()
404 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_unknown_with_coverage()
405 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_unknown_with_coverage()
406 TEST_ASSERT(kIDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_unknown_with_coverage()
407 TEST_ASSERT(kISA_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_unknown_with_coverage()
408 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_unknown_with_coverage()
411 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_unknown_with_coverage()
412 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_unknown_with_coverage()
413 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_unknown_with_coverage()
414 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_unknown_with_coverage()
415 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_unknown_with_coverage()
416 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_unknown_with_coverage()
417 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_unknown_with_coverage()
418 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_unknown_with_coverage()
421 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_unknown_with_coverage()
422 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_unknown_with_coverage()
423 TEST_ASSERT(kISCModulate_OutputType == xpi.fPrimaryOutputType); in test_color_unknown_with_coverage()
424 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_unknown_with_coverage()
425 TEST_ASSERT(kReverseSubtract_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_unknown_with_coverage()
426 TEST_ASSERT(kDC_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_unknown_with_coverage()
427 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_unknown_with_coverage()
428 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_unknown_with_coverage()
431 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_unknown_with_coverage()
432 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_unknown_with_coverage()
433 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_unknown_with_coverage()
434 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_unknown_with_coverage()
435 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_unknown_with_coverage()
436 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_unknown_with_coverage()
437 TEST_ASSERT(kISC_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_unknown_with_coverage()
438 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_unknown_with_coverage()
457 TEST_ASSERT(xpi.fIgnoresInputColor); in test_color_not_opaque_no_coverage()
458 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_not_opaque_no_coverage()
459 TEST_ASSERT(kNone_OutputType == xpi.fPrimaryOutputType); in test_color_not_opaque_no_coverage()
460 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_not_opaque_no_coverage()
461 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_not_opaque_no_coverage()
462 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_not_opaque_no_coverage()
463 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_not_opaque_no_coverage()
464 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_not_opaque_no_coverage()
467 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_not_opaque_no_coverage()
468 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_not_opaque_no_coverage()
469 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_not_opaque_no_coverage()
470 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_not_opaque_no_coverage()
471 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_not_opaque_no_coverage()
472 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_not_opaque_no_coverage()
473 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_not_opaque_no_coverage()
474 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_not_opaque_no_coverage()
477 TEST_ASSERT(xpi.fIgnoresInputColor); in test_color_not_opaque_no_coverage()
478 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_not_opaque_no_coverage()
479 TEST_ASSERT(kNone_OutputType == xpi.fPrimaryOutputType); in test_color_not_opaque_no_coverage()
480 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_not_opaque_no_coverage()
481 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_not_opaque_no_coverage()
482 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_not_opaque_no_coverage()
483 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_not_opaque_no_coverage()
484 TEST_ASSERT(!xpi.fBlendInfo.fWriteColor); in test_color_not_opaque_no_coverage()
487 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_not_opaque_no_coverage()
488 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_not_opaque_no_coverage()
489 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_not_opaque_no_coverage()
490 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_not_opaque_no_coverage()
491 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_not_opaque_no_coverage()
492 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_not_opaque_no_coverage()
493 TEST_ASSERT(kISA_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_not_opaque_no_coverage()
494 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_not_opaque_no_coverage()
497 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_not_opaque_no_coverage()
498 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_not_opaque_no_coverage()
499 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_not_opaque_no_coverage()
500 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_not_opaque_no_coverage()
501 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_not_opaque_no_coverage()
502 TEST_ASSERT(kIDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_not_opaque_no_coverage()
503 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_not_opaque_no_coverage()
504 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_not_opaque_no_coverage()
507 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_not_opaque_no_coverage()
508 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_not_opaque_no_coverage()
509 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_not_opaque_no_coverage()
510 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_not_opaque_no_coverage()
511 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_not_opaque_no_coverage()
512 TEST_ASSERT(kDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_not_opaque_no_coverage()
513 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_not_opaque_no_coverage()
514 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_not_opaque_no_coverage()
517 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_not_opaque_no_coverage()
518 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_not_opaque_no_coverage()
519 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_not_opaque_no_coverage()
520 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_not_opaque_no_coverage()
521 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_not_opaque_no_coverage()
522 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_not_opaque_no_coverage()
523 TEST_ASSERT(kSA_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_not_opaque_no_coverage()
524 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_not_opaque_no_coverage()
527 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_not_opaque_no_coverage()
528 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_not_opaque_no_coverage()
529 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_not_opaque_no_coverage()
530 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_not_opaque_no_coverage()
531 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_not_opaque_no_coverage()
532 TEST_ASSERT(kIDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_not_opaque_no_coverage()
533 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_not_opaque_no_coverage()
534 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_not_opaque_no_coverage()
537 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_not_opaque_no_coverage()
538 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_not_opaque_no_coverage()
539 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_not_opaque_no_coverage()
540 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_not_opaque_no_coverage()
541 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_not_opaque_no_coverage()
542 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_not_opaque_no_coverage()
543 TEST_ASSERT(kISA_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_not_opaque_no_coverage()
544 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_not_opaque_no_coverage()
547 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_not_opaque_no_coverage()
548 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_not_opaque_no_coverage()
549 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_not_opaque_no_coverage()
550 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_not_opaque_no_coverage()
551 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_not_opaque_no_coverage()
552 TEST_ASSERT(kDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_not_opaque_no_coverage()
553 TEST_ASSERT(kISA_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_not_opaque_no_coverage()
554 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_not_opaque_no_coverage()
557 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_not_opaque_no_coverage()
558 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_not_opaque_no_coverage()
559 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_not_opaque_no_coverage()
560 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_not_opaque_no_coverage()
561 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_not_opaque_no_coverage()
562 TEST_ASSERT(kIDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_not_opaque_no_coverage()
563 TEST_ASSERT(kSA_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_not_opaque_no_coverage()
564 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_not_opaque_no_coverage()
567 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_not_opaque_no_coverage()
568 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_not_opaque_no_coverage()
569 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_not_opaque_no_coverage()
570 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_not_opaque_no_coverage()
571 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_not_opaque_no_coverage()
572 TEST_ASSERT(kIDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_not_opaque_no_coverage()
573 TEST_ASSERT(kISA_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_not_opaque_no_coverage()
574 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_not_opaque_no_coverage()
577 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_not_opaque_no_coverage()
578 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_not_opaque_no_coverage()
579 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_not_opaque_no_coverage()
580 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_not_opaque_no_coverage()
581 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_not_opaque_no_coverage()
582 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_not_opaque_no_coverage()
583 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_not_opaque_no_coverage()
584 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_not_opaque_no_coverage()
587 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_not_opaque_no_coverage()
588 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_not_opaque_no_coverage()
589 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_not_opaque_no_coverage()
590 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_not_opaque_no_coverage()
591 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_not_opaque_no_coverage()
592 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_not_opaque_no_coverage()
593 TEST_ASSERT(kSC_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_not_opaque_no_coverage()
594 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_not_opaque_no_coverage()
597 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_not_opaque_no_coverage()
598 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_not_opaque_no_coverage()
599 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_not_opaque_no_coverage()
600 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_not_opaque_no_coverage()
601 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_not_opaque_no_coverage()
602 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_not_opaque_no_coverage()
603 TEST_ASSERT(kISC_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_not_opaque_no_coverage()
604 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_not_opaque_no_coverage()
622 TEST_ASSERT(xpi.fIgnoresInputColor); in test_color_opaque_with_coverage()
623 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_with_coverage()
624 TEST_ASSERT(kCoverage_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_with_coverage()
625 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_with_coverage()
626 TEST_ASSERT(kReverseSubtract_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_with_coverage()
627 TEST_ASSERT(kDC_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_with_coverage()
628 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_with_coverage()
629 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_with_coverage()
632 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_with_coverage()
633 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_with_coverage()
634 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_with_coverage()
635 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_with_coverage()
636 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_with_coverage()
637 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_with_coverage()
638 TEST_ASSERT(kISA_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_with_coverage()
639 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_with_coverage()
642 TEST_ASSERT(xpi.fIgnoresInputColor); in test_color_opaque_with_coverage()
643 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_with_coverage()
644 TEST_ASSERT(kNone_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_with_coverage()
645 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_with_coverage()
646 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_with_coverage()
647 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_with_coverage()
648 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_with_coverage()
649 TEST_ASSERT(!xpi.fBlendInfo.fWriteColor); in test_color_opaque_with_coverage()
652 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_with_coverage()
653 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_with_coverage()
654 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_with_coverage()
655 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_with_coverage()
656 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_with_coverage()
657 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_with_coverage()
658 TEST_ASSERT(kISA_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_with_coverage()
659 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_with_coverage()
662 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_with_coverage()
663 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_with_coverage()
664 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_with_coverage()
665 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_with_coverage()
666 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_with_coverage()
667 TEST_ASSERT(kIDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_with_coverage()
668 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_with_coverage()
669 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_with_coverage()
672 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_with_coverage()
673 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_with_coverage()
674 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_with_coverage()
675 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_with_coverage()
676 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_with_coverage()
677 TEST_ASSERT(kDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_with_coverage()
678 TEST_ASSERT(kISA_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_with_coverage()
679 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_with_coverage()
682 TEST_ASSERT(xpi.fIgnoresInputColor); in test_color_opaque_with_coverage()
683 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_with_coverage()
684 TEST_ASSERT(kNone_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_with_coverage()
685 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_with_coverage()
686 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_with_coverage()
687 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_with_coverage()
688 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_with_coverage()
689 TEST_ASSERT(!xpi.fBlendInfo.fWriteColor); in test_color_opaque_with_coverage()
692 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_with_coverage()
693 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_with_coverage()
694 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_with_coverage()
695 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_with_coverage()
696 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_with_coverage()
697 TEST_ASSERT(kIDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_with_coverage()
698 TEST_ASSERT(kISA_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_with_coverage()
699 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_with_coverage()
702 TEST_ASSERT(xpi.fIgnoresInputColor); in test_color_opaque_with_coverage()
703 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_with_coverage()
704 TEST_ASSERT(kCoverage_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_with_coverage()
705 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_with_coverage()
706 TEST_ASSERT(kReverseSubtract_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_with_coverage()
707 TEST_ASSERT(kDC_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_with_coverage()
708 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_with_coverage()
709 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_with_coverage()
712 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_with_coverage()
713 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_with_coverage()
714 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_with_coverage()
715 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_with_coverage()
716 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_with_coverage()
717 TEST_ASSERT(kDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_with_coverage()
718 TEST_ASSERT(kISA_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_with_coverage()
719 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_with_coverage()
722 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_with_coverage()
723 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_with_coverage()
724 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_with_coverage()
725 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_with_coverage()
726 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_with_coverage()
727 TEST_ASSERT(kIDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_with_coverage()
728 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_with_coverage()
729 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_with_coverage()
732 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_with_coverage()
733 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_with_coverage()
734 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_with_coverage()
735 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_with_coverage()
736 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_with_coverage()
737 TEST_ASSERT(kIDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_with_coverage()
738 TEST_ASSERT(kISA_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_with_coverage()
739 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_with_coverage()
742 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_with_coverage()
743 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_with_coverage()
744 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_with_coverage()
745 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_with_coverage()
746 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_with_coverage()
747 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_with_coverage()
748 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_with_coverage()
749 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_with_coverage()
752 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_with_coverage()
753 TEST_ASSERT(kISCModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_with_coverage()
754 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_with_coverage()
755 TEST_ASSERT(kReverseSubtract_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_with_coverage()
756 TEST_ASSERT(kDC_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_with_coverage()
757 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_with_coverage()
758 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_with_coverage()
761 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_with_coverage()
762 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_with_coverage()
763 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_with_coverage()
764 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_with_coverage()
765 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_with_coverage()
766 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_with_coverage()
767 TEST_ASSERT(kISC_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_with_coverage()
768 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_with_coverage()
787 TEST_ASSERT(xpi.fIgnoresInputColor); in test_color_opaque_no_coverage()
788 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_no_coverage()
789 TEST_ASSERT(kNone_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_no_coverage()
790 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_no_coverage()
791 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_no_coverage()
792 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_no_coverage()
793 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_no_coverage()
794 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_no_coverage()
797 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_no_coverage()
798 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_no_coverage()
799 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_no_coverage()
800 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_no_coverage()
801 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_no_coverage()
802 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_no_coverage()
803 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_no_coverage()
804 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_no_coverage()
807 TEST_ASSERT(xpi.fIgnoresInputColor); in test_color_opaque_no_coverage()
808 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_no_coverage()
809 TEST_ASSERT(kNone_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_no_coverage()
810 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_no_coverage()
811 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_no_coverage()
812 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_no_coverage()
813 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_no_coverage()
814 TEST_ASSERT(!xpi.fBlendInfo.fWriteColor); in test_color_opaque_no_coverage()
818 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_no_coverage()
819 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_no_coverage()
820 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_no_coverage()
821 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_no_coverage()
822 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_no_coverage()
823 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_no_coverage()
824 TEST_ASSERT(kISA_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_no_coverage()
825 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_no_coverage()
828 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_no_coverage()
829 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_no_coverage()
830 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_no_coverage()
831 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_no_coverage()
832 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_no_coverage()
833 TEST_ASSERT(kIDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_no_coverage()
834 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_no_coverage()
835 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_no_coverage()
838 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_no_coverage()
839 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_no_coverage()
840 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_no_coverage()
841 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_no_coverage()
842 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_no_coverage()
843 TEST_ASSERT(kDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_no_coverage()
844 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_no_coverage()
845 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_no_coverage()
848 TEST_ASSERT(xpi.fIgnoresInputColor); in test_color_opaque_no_coverage()
849 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_no_coverage()
850 TEST_ASSERT(kNone_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_no_coverage()
851 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_no_coverage()
852 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_no_coverage()
853 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_no_coverage()
854 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_no_coverage()
855 TEST_ASSERT(!xpi.fBlendInfo.fWriteColor); in test_color_opaque_no_coverage()
858 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_no_coverage()
859 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_no_coverage()
860 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_no_coverage()
861 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_no_coverage()
862 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_no_coverage()
863 TEST_ASSERT(kIDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_no_coverage()
864 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_no_coverage()
865 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_no_coverage()
868 TEST_ASSERT(xpi.fIgnoresInputColor); in test_color_opaque_no_coverage()
869 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_no_coverage()
870 TEST_ASSERT(kNone_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_no_coverage()
871 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_no_coverage()
872 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_no_coverage()
873 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_no_coverage()
874 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_no_coverage()
875 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_no_coverage()
878 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_no_coverage()
879 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_no_coverage()
880 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_no_coverage()
881 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_no_coverage()
882 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_no_coverage()
883 TEST_ASSERT(kDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_no_coverage()
884 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_no_coverage()
885 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_no_coverage()
888 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_no_coverage()
889 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_no_coverage()
890 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_no_coverage()
891 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_no_coverage()
892 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_no_coverage()
893 TEST_ASSERT(kIDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_no_coverage()
894 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_no_coverage()
895 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_no_coverage()
898 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_no_coverage()
899 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_no_coverage()
900 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_no_coverage()
901 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_no_coverage()
902 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_no_coverage()
903 TEST_ASSERT(kIDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_no_coverage()
904 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_no_coverage()
905 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_no_coverage()
908 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_no_coverage()
909 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_no_coverage()
910 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_no_coverage()
911 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_no_coverage()
912 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_no_coverage()
913 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_no_coverage()
914 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_no_coverage()
915 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_no_coverage()
918 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_no_coverage()
919 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_no_coverage()
920 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_no_coverage()
921 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_no_coverage()
922 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_no_coverage()
923 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_no_coverage()
924 TEST_ASSERT(kSC_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_no_coverage()
925 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_no_coverage()
928 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_no_coverage()
929 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_no_coverage()
930 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_no_coverage()
931 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_no_coverage()
932 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_no_coverage()
933 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_no_coverage()
934 TEST_ASSERT(kISC_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_no_coverage()
935 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_no_coverage()
949 TEST_ASSERT(!(GrXPFactory::GetAnalysisProperties(xpf, color, coverage, caps, autoClamp) & in test_lcd_coverage_fallback_case()
960 TEST_ASSERT(blendInfo.fWriteColor); in test_lcd_coverage_fallback_case()
965 TEST_ASSERT(!(GrXPFactory::GetAnalysisProperties(xpf, color, coverage, caps, autoClamp) & in test_lcd_coverage_fallback_case()
975 TEST_ASSERT(blendInfo.fWriteColor); in test_lcd_coverage_fallback_case()
1026 TEST_ASSERT(!xp->hasSecondaryOutput()); in DEF_GPUTEST()