• Home
  • Raw
  • Download

Lines Matching refs:TEST_ASSERT

47 #define TEST_ASSERT(...) REPORTER_ASSERT(reporter, __VA_ARGS__)  macro
86 TEST_ASSERT(!analysis.requiresDstTexture() || in XPInfo()
95 TEST_ASSERT(analysis.requiresDstTexture() == analysis.requiresNonOverlappingDraws()); in XPInfo()
98 TEST_ASSERT(!xp->willReadDstColor() || in XPInfo()
101 TEST_ASSERT(xp->hasSecondaryOutput() == GrBlendCoeffRefsSrc2(fBlendInfo.fDstBlend)); in XPInfo()
125 TEST_ASSERT(xpi.fIgnoresInputColor); in test_lcd_coverage()
126 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_lcd_coverage()
127 TEST_ASSERT(kInvalid_OutputType == xpi.fPrimaryOutputType); in test_lcd_coverage()
128 TEST_ASSERT(kInvalid_OutputType == xpi.fSecondaryOutputType); in test_lcd_coverage()
129 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_lcd_coverage()
130 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_lcd_coverage()
131 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_lcd_coverage()
132 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_lcd_coverage()
135 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_lcd_coverage()
136 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_lcd_coverage()
137 TEST_ASSERT(kInvalid_OutputType == xpi.fPrimaryOutputType); in test_lcd_coverage()
138 TEST_ASSERT(kInvalid_OutputType == xpi.fSecondaryOutputType); in test_lcd_coverage()
139 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_lcd_coverage()
140 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_lcd_coverage()
141 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_lcd_coverage()
142 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_lcd_coverage()
145 TEST_ASSERT(xpi.fIgnoresInputColor); in test_lcd_coverage()
146 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_lcd_coverage()
147 TEST_ASSERT(kInvalid_OutputType == xpi.fPrimaryOutputType); in test_lcd_coverage()
148 TEST_ASSERT(kInvalid_OutputType == xpi.fSecondaryOutputType); in test_lcd_coverage()
149 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_lcd_coverage()
150 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_lcd_coverage()
151 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_lcd_coverage()
152 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_lcd_coverage()
155 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_lcd_coverage()
156 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_lcd_coverage()
157 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_lcd_coverage()
158 TEST_ASSERT(kSAModulate_OutputType == xpi.fSecondaryOutputType); in test_lcd_coverage()
159 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_lcd_coverage()
160 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_lcd_coverage()
161 TEST_ASSERT(kIS2C_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_lcd_coverage()
162 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_lcd_coverage()
165 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_lcd_coverage()
166 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_lcd_coverage()
167 TEST_ASSERT(kInvalid_OutputType == xpi.fPrimaryOutputType); in test_lcd_coverage()
168 TEST_ASSERT(kInvalid_OutputType == xpi.fSecondaryOutputType); in test_lcd_coverage()
169 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_lcd_coverage()
170 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_lcd_coverage()
171 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_lcd_coverage()
172 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_lcd_coverage()
175 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_lcd_coverage()
176 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_lcd_coverage()
177 TEST_ASSERT(kInvalid_OutputType == xpi.fPrimaryOutputType); in test_lcd_coverage()
178 TEST_ASSERT(kInvalid_OutputType == xpi.fSecondaryOutputType); in test_lcd_coverage()
179 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_lcd_coverage()
180 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_lcd_coverage()
181 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_lcd_coverage()
182 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_lcd_coverage()
185 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_lcd_coverage()
186 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_lcd_coverage()
187 TEST_ASSERT(kInvalid_OutputType == xpi.fPrimaryOutputType); in test_lcd_coverage()
188 TEST_ASSERT(kInvalid_OutputType == xpi.fSecondaryOutputType); in test_lcd_coverage()
189 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_lcd_coverage()
190 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_lcd_coverage()
191 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_lcd_coverage()
192 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_lcd_coverage()
195 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_lcd_coverage()
196 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_lcd_coverage()
197 TEST_ASSERT(kInvalid_OutputType == xpi.fPrimaryOutputType); in test_lcd_coverage()
198 TEST_ASSERT(kInvalid_OutputType == xpi.fSecondaryOutputType); in test_lcd_coverage()
199 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_lcd_coverage()
200 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_lcd_coverage()
201 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_lcd_coverage()
202 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_lcd_coverage()
205 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_lcd_coverage()
206 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_lcd_coverage()
207 TEST_ASSERT(kInvalid_OutputType == xpi.fPrimaryOutputType); in test_lcd_coverage()
208 TEST_ASSERT(kInvalid_OutputType == xpi.fSecondaryOutputType); in test_lcd_coverage()
209 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_lcd_coverage()
210 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_lcd_coverage()
211 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_lcd_coverage()
212 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_lcd_coverage()
215 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_lcd_coverage()
216 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_lcd_coverage()
217 TEST_ASSERT(kInvalid_OutputType == xpi.fPrimaryOutputType); in test_lcd_coverage()
218 TEST_ASSERT(kInvalid_OutputType == xpi.fSecondaryOutputType); in test_lcd_coverage()
219 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_lcd_coverage()
220 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_lcd_coverage()
221 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_lcd_coverage()
222 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_lcd_coverage()
225 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_lcd_coverage()
226 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_lcd_coverage()
227 TEST_ASSERT(kInvalid_OutputType == xpi.fPrimaryOutputType); in test_lcd_coverage()
228 TEST_ASSERT(kInvalid_OutputType == xpi.fSecondaryOutputType); in test_lcd_coverage()
229 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_lcd_coverage()
230 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_lcd_coverage()
231 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_lcd_coverage()
232 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_lcd_coverage()
235 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_lcd_coverage()
236 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_lcd_coverage()
237 TEST_ASSERT(kInvalid_OutputType == xpi.fPrimaryOutputType); in test_lcd_coverage()
238 TEST_ASSERT(kInvalid_OutputType == xpi.fSecondaryOutputType); in test_lcd_coverage()
239 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_lcd_coverage()
240 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_lcd_coverage()
241 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_lcd_coverage()
242 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_lcd_coverage()
245 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_lcd_coverage()
246 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_lcd_coverage()
247 TEST_ASSERT(kInvalid_OutputType == xpi.fPrimaryOutputType); in test_lcd_coverage()
248 TEST_ASSERT(kInvalid_OutputType == xpi.fSecondaryOutputType); in test_lcd_coverage()
249 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_lcd_coverage()
250 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_lcd_coverage()
251 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_lcd_coverage()
252 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_lcd_coverage()
255 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_lcd_coverage()
256 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_lcd_coverage()
257 TEST_ASSERT(kInvalid_OutputType == xpi.fPrimaryOutputType); in test_lcd_coverage()
258 TEST_ASSERT(kInvalid_OutputType == xpi.fSecondaryOutputType); in test_lcd_coverage()
259 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_lcd_coverage()
260 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_lcd_coverage()
261 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_lcd_coverage()
262 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_lcd_coverage()
265 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_lcd_coverage()
266 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_lcd_coverage()
267 TEST_ASSERT(kInvalid_OutputType == xpi.fPrimaryOutputType); in test_lcd_coverage()
268 TEST_ASSERT(kInvalid_OutputType == xpi.fSecondaryOutputType); in test_lcd_coverage()
269 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_lcd_coverage()
270 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_lcd_coverage()
271 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_lcd_coverage()
272 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_lcd_coverage()
289 TEST_ASSERT(xpi.fIgnoresInputColor); in test_color_unknown_with_coverage()
290 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_unknown_with_coverage()
291 TEST_ASSERT(kCoverage_OutputType == xpi.fPrimaryOutputType); in test_color_unknown_with_coverage()
292 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_unknown_with_coverage()
293 TEST_ASSERT(kReverseSubtract_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_unknown_with_coverage()
294 TEST_ASSERT(kDC_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_unknown_with_coverage()
295 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_unknown_with_coverage()
296 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_unknown_with_coverage()
299 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_unknown_with_coverage()
300 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_unknown_with_coverage()
301 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_unknown_with_coverage()
302 TEST_ASSERT(kCoverage_OutputType == xpi.fSecondaryOutputType); in test_color_unknown_with_coverage()
303 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_unknown_with_coverage()
304 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_unknown_with_coverage()
305 TEST_ASSERT(kIS2A_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_unknown_with_coverage()
306 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_unknown_with_coverage()
309 TEST_ASSERT(xpi.fIgnoresInputColor); in test_color_unknown_with_coverage()
310 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_unknown_with_coverage()
311 TEST_ASSERT(kNone_OutputType == xpi.fPrimaryOutputType); in test_color_unknown_with_coverage()
312 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_unknown_with_coverage()
313 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_unknown_with_coverage()
314 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_unknown_with_coverage()
315 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_unknown_with_coverage()
316 TEST_ASSERT(!xpi.fBlendInfo.fWriteColor); in test_color_unknown_with_coverage()
319 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_unknown_with_coverage()
320 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_unknown_with_coverage()
321 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_unknown_with_coverage()
322 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_unknown_with_coverage()
323 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_unknown_with_coverage()
324 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_unknown_with_coverage()
325 TEST_ASSERT(kISA_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_unknown_with_coverage()
326 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_unknown_with_coverage()
329 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_unknown_with_coverage()
330 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_unknown_with_coverage()
331 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_unknown_with_coverage()
332 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_unknown_with_coverage()
333 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_unknown_with_coverage()
334 TEST_ASSERT(kIDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_unknown_with_coverage()
335 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_unknown_with_coverage()
336 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_unknown_with_coverage()
339 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_unknown_with_coverage()
340 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_unknown_with_coverage()
341 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_unknown_with_coverage()
342 TEST_ASSERT(kCoverage_OutputType == xpi.fSecondaryOutputType); in test_color_unknown_with_coverage()
343 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_unknown_with_coverage()
344 TEST_ASSERT(kDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_unknown_with_coverage()
345 TEST_ASSERT(kIS2A_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_unknown_with_coverage()
346 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_unknown_with_coverage()
349 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_unknown_with_coverage()
350 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_unknown_with_coverage()
351 TEST_ASSERT(kISAModulate_OutputType == xpi.fPrimaryOutputType); in test_color_unknown_with_coverage()
352 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_unknown_with_coverage()
353 TEST_ASSERT(kReverseSubtract_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_unknown_with_coverage()
354 TEST_ASSERT(kDC_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_unknown_with_coverage()
355 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_unknown_with_coverage()
356 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_unknown_with_coverage()
359 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_unknown_with_coverage()
360 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_unknown_with_coverage()
361 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_unknown_with_coverage()
362 TEST_ASSERT(kCoverage_OutputType == xpi.fSecondaryOutputType); in test_color_unknown_with_coverage()
363 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_unknown_with_coverage()
364 TEST_ASSERT(kIDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_unknown_with_coverage()
365 TEST_ASSERT(kIS2A_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_unknown_with_coverage()
366 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_unknown_with_coverage()
369 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_unknown_with_coverage()
370 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_unknown_with_coverage()
371 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_unknown_with_coverage()
372 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_unknown_with_coverage()
373 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_unknown_with_coverage()
374 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_unknown_with_coverage()
375 TEST_ASSERT(kISA_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_unknown_with_coverage()
376 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_unknown_with_coverage()
379 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_unknown_with_coverage()
380 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_unknown_with_coverage()
381 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_unknown_with_coverage()
382 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_unknown_with_coverage()
383 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_unknown_with_coverage()
384 TEST_ASSERT(kDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_unknown_with_coverage()
385 TEST_ASSERT(kISA_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_unknown_with_coverage()
386 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_unknown_with_coverage()
389 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_unknown_with_coverage()
390 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_unknown_with_coverage()
391 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_unknown_with_coverage()
392 TEST_ASSERT(kISAModulate_OutputType == xpi.fSecondaryOutputType); in test_color_unknown_with_coverage()
393 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_unknown_with_coverage()
394 TEST_ASSERT(kIDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_unknown_with_coverage()
395 TEST_ASSERT(kIS2C_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_unknown_with_coverage()
396 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_unknown_with_coverage()
399 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_unknown_with_coverage()
400 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_unknown_with_coverage()
401 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_unknown_with_coverage()
402 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_unknown_with_coverage()
403 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_unknown_with_coverage()
404 TEST_ASSERT(kIDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_unknown_with_coverage()
405 TEST_ASSERT(kISA_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_unknown_with_coverage()
406 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_unknown_with_coverage()
409 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_unknown_with_coverage()
410 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_unknown_with_coverage()
411 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_unknown_with_coverage()
412 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_unknown_with_coverage()
413 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_unknown_with_coverage()
414 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_unknown_with_coverage()
415 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_unknown_with_coverage()
416 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_unknown_with_coverage()
419 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_unknown_with_coverage()
420 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_unknown_with_coverage()
421 TEST_ASSERT(kISCModulate_OutputType == xpi.fPrimaryOutputType); in test_color_unknown_with_coverage()
422 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_unknown_with_coverage()
423 TEST_ASSERT(kReverseSubtract_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_unknown_with_coverage()
424 TEST_ASSERT(kDC_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_unknown_with_coverage()
425 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_unknown_with_coverage()
426 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_unknown_with_coverage()
429 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_unknown_with_coverage()
430 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_unknown_with_coverage()
431 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_unknown_with_coverage()
432 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_unknown_with_coverage()
433 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_unknown_with_coverage()
434 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_unknown_with_coverage()
435 TEST_ASSERT(kISC_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_unknown_with_coverage()
436 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_unknown_with_coverage()
455 TEST_ASSERT(xpi.fIgnoresInputColor); in test_color_not_opaque_no_coverage()
456 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_not_opaque_no_coverage()
457 TEST_ASSERT(kNone_OutputType == xpi.fPrimaryOutputType); in test_color_not_opaque_no_coverage()
458 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_not_opaque_no_coverage()
459 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_not_opaque_no_coverage()
460 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_not_opaque_no_coverage()
461 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_not_opaque_no_coverage()
462 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_not_opaque_no_coverage()
465 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_not_opaque_no_coverage()
466 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_not_opaque_no_coverage()
467 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_not_opaque_no_coverage()
468 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_not_opaque_no_coverage()
469 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_not_opaque_no_coverage()
470 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_not_opaque_no_coverage()
471 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_not_opaque_no_coverage()
472 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_not_opaque_no_coverage()
475 TEST_ASSERT(xpi.fIgnoresInputColor); in test_color_not_opaque_no_coverage()
476 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_not_opaque_no_coverage()
477 TEST_ASSERT(kNone_OutputType == xpi.fPrimaryOutputType); in test_color_not_opaque_no_coverage()
478 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_not_opaque_no_coverage()
479 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_not_opaque_no_coverage()
480 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_not_opaque_no_coverage()
481 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_not_opaque_no_coverage()
482 TEST_ASSERT(!xpi.fBlendInfo.fWriteColor); in test_color_not_opaque_no_coverage()
485 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_not_opaque_no_coverage()
486 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_not_opaque_no_coverage()
487 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_not_opaque_no_coverage()
488 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_not_opaque_no_coverage()
489 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_not_opaque_no_coverage()
490 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_not_opaque_no_coverage()
491 TEST_ASSERT(kISA_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_not_opaque_no_coverage()
492 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_not_opaque_no_coverage()
495 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_not_opaque_no_coverage()
496 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_not_opaque_no_coverage()
497 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_not_opaque_no_coverage()
498 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_not_opaque_no_coverage()
499 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_not_opaque_no_coverage()
500 TEST_ASSERT(kIDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_not_opaque_no_coverage()
501 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_not_opaque_no_coverage()
502 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_not_opaque_no_coverage()
505 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_not_opaque_no_coverage()
506 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_not_opaque_no_coverage()
507 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_not_opaque_no_coverage()
508 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_not_opaque_no_coverage()
509 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_not_opaque_no_coverage()
510 TEST_ASSERT(kDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_not_opaque_no_coverage()
511 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_not_opaque_no_coverage()
512 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_not_opaque_no_coverage()
515 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_not_opaque_no_coverage()
516 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_not_opaque_no_coverage()
517 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_not_opaque_no_coverage()
518 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_not_opaque_no_coverage()
519 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_not_opaque_no_coverage()
520 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_not_opaque_no_coverage()
521 TEST_ASSERT(kSA_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_not_opaque_no_coverage()
522 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_not_opaque_no_coverage()
525 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_not_opaque_no_coverage()
526 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_not_opaque_no_coverage()
527 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_not_opaque_no_coverage()
528 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_not_opaque_no_coverage()
529 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_not_opaque_no_coverage()
530 TEST_ASSERT(kIDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_not_opaque_no_coverage()
531 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_not_opaque_no_coverage()
532 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_not_opaque_no_coverage()
535 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_not_opaque_no_coverage()
536 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_not_opaque_no_coverage()
537 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_not_opaque_no_coverage()
538 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_not_opaque_no_coverage()
539 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_not_opaque_no_coverage()
540 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_not_opaque_no_coverage()
541 TEST_ASSERT(kISA_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_not_opaque_no_coverage()
542 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_not_opaque_no_coverage()
545 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_not_opaque_no_coverage()
546 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_not_opaque_no_coverage()
547 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_not_opaque_no_coverage()
548 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_not_opaque_no_coverage()
549 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_not_opaque_no_coverage()
550 TEST_ASSERT(kDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_not_opaque_no_coverage()
551 TEST_ASSERT(kISA_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_not_opaque_no_coverage()
552 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_not_opaque_no_coverage()
555 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_not_opaque_no_coverage()
556 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_not_opaque_no_coverage()
557 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_not_opaque_no_coverage()
558 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_not_opaque_no_coverage()
559 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_not_opaque_no_coverage()
560 TEST_ASSERT(kIDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_not_opaque_no_coverage()
561 TEST_ASSERT(kSA_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_not_opaque_no_coverage()
562 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_not_opaque_no_coverage()
565 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_not_opaque_no_coverage()
566 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_not_opaque_no_coverage()
567 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_not_opaque_no_coverage()
568 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_not_opaque_no_coverage()
569 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_not_opaque_no_coverage()
570 TEST_ASSERT(kIDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_not_opaque_no_coverage()
571 TEST_ASSERT(kISA_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_not_opaque_no_coverage()
572 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_not_opaque_no_coverage()
575 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_not_opaque_no_coverage()
576 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_not_opaque_no_coverage()
577 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_not_opaque_no_coverage()
578 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_not_opaque_no_coverage()
579 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_not_opaque_no_coverage()
580 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_not_opaque_no_coverage()
581 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_not_opaque_no_coverage()
582 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_not_opaque_no_coverage()
585 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_not_opaque_no_coverage()
586 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_not_opaque_no_coverage()
587 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_not_opaque_no_coverage()
588 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_not_opaque_no_coverage()
589 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_not_opaque_no_coverage()
590 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_not_opaque_no_coverage()
591 TEST_ASSERT(kSC_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_not_opaque_no_coverage()
592 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_not_opaque_no_coverage()
595 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_not_opaque_no_coverage()
596 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_not_opaque_no_coverage()
597 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_not_opaque_no_coverage()
598 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_not_opaque_no_coverage()
599 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_not_opaque_no_coverage()
600 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_not_opaque_no_coverage()
601 TEST_ASSERT(kISC_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_not_opaque_no_coverage()
602 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_not_opaque_no_coverage()
620 TEST_ASSERT(xpi.fIgnoresInputColor); in test_color_opaque_with_coverage()
621 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_with_coverage()
622 TEST_ASSERT(kCoverage_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_with_coverage()
623 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_with_coverage()
624 TEST_ASSERT(kReverseSubtract_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_with_coverage()
625 TEST_ASSERT(kDC_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_with_coverage()
626 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_with_coverage()
627 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_with_coverage()
630 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_with_coverage()
631 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_with_coverage()
632 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_with_coverage()
633 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_with_coverage()
634 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_with_coverage()
635 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_with_coverage()
636 TEST_ASSERT(kISA_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_with_coverage()
637 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_with_coverage()
640 TEST_ASSERT(xpi.fIgnoresInputColor); in test_color_opaque_with_coverage()
641 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_with_coverage()
642 TEST_ASSERT(kNone_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_with_coverage()
643 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_with_coverage()
644 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_with_coverage()
645 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_with_coverage()
646 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_with_coverage()
647 TEST_ASSERT(!xpi.fBlendInfo.fWriteColor); in test_color_opaque_with_coverage()
650 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_with_coverage()
651 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_with_coverage()
652 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_with_coverage()
653 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_with_coverage()
654 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_with_coverage()
655 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_with_coverage()
656 TEST_ASSERT(kISA_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_with_coverage()
657 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_with_coverage()
660 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_with_coverage()
661 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_with_coverage()
662 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_with_coverage()
663 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_with_coverage()
664 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_with_coverage()
665 TEST_ASSERT(kIDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_with_coverage()
666 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_with_coverage()
667 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_with_coverage()
670 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_with_coverage()
671 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_with_coverage()
672 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_with_coverage()
673 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_with_coverage()
674 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_with_coverage()
675 TEST_ASSERT(kDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_with_coverage()
676 TEST_ASSERT(kISA_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_with_coverage()
677 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_with_coverage()
680 TEST_ASSERT(xpi.fIgnoresInputColor); in test_color_opaque_with_coverage()
681 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_with_coverage()
682 TEST_ASSERT(kNone_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_with_coverage()
683 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_with_coverage()
684 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_with_coverage()
685 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_with_coverage()
686 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_with_coverage()
687 TEST_ASSERT(!xpi.fBlendInfo.fWriteColor); in test_color_opaque_with_coverage()
690 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_with_coverage()
691 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_with_coverage()
692 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_with_coverage()
693 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_with_coverage()
694 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_with_coverage()
695 TEST_ASSERT(kIDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_with_coverage()
696 TEST_ASSERT(kISA_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_with_coverage()
697 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_with_coverage()
700 TEST_ASSERT(xpi.fIgnoresInputColor); in test_color_opaque_with_coverage()
701 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_with_coverage()
702 TEST_ASSERT(kCoverage_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_with_coverage()
703 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_with_coverage()
704 TEST_ASSERT(kReverseSubtract_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_with_coverage()
705 TEST_ASSERT(kDC_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_with_coverage()
706 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_with_coverage()
707 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_with_coverage()
710 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_with_coverage()
711 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_with_coverage()
712 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_with_coverage()
713 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_with_coverage()
714 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_with_coverage()
715 TEST_ASSERT(kDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_with_coverage()
716 TEST_ASSERT(kISA_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_with_coverage()
717 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_with_coverage()
720 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_with_coverage()
721 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_with_coverage()
722 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_with_coverage()
723 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_with_coverage()
724 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_with_coverage()
725 TEST_ASSERT(kIDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_with_coverage()
726 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_with_coverage()
727 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_with_coverage()
730 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_with_coverage()
731 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_with_coverage()
732 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_with_coverage()
733 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_with_coverage()
734 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_with_coverage()
735 TEST_ASSERT(kIDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_with_coverage()
736 TEST_ASSERT(kISA_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_with_coverage()
737 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_with_coverage()
740 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_with_coverage()
741 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_with_coverage()
742 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_with_coverage()
743 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_with_coverage()
744 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_with_coverage()
745 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_with_coverage()
746 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_with_coverage()
747 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_with_coverage()
750 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_with_coverage()
751 TEST_ASSERT(kISCModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_with_coverage()
752 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_with_coverage()
753 TEST_ASSERT(kReverseSubtract_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_with_coverage()
754 TEST_ASSERT(kDC_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_with_coverage()
755 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_with_coverage()
756 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_with_coverage()
759 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_with_coverage()
760 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_with_coverage()
761 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_with_coverage()
762 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_with_coverage()
763 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_with_coverage()
764 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_with_coverage()
765 TEST_ASSERT(kISC_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_with_coverage()
766 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_with_coverage()
785 TEST_ASSERT(xpi.fIgnoresInputColor); in test_color_opaque_no_coverage()
786 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_no_coverage()
787 TEST_ASSERT(kNone_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_no_coverage()
788 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_no_coverage()
789 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_no_coverage()
790 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_no_coverage()
791 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_no_coverage()
792 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_no_coverage()
795 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_no_coverage()
796 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_no_coverage()
797 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_no_coverage()
798 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_no_coverage()
799 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_no_coverage()
800 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_no_coverage()
801 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_no_coverage()
802 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_no_coverage()
805 TEST_ASSERT(xpi.fIgnoresInputColor); in test_color_opaque_no_coverage()
806 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_no_coverage()
807 TEST_ASSERT(kNone_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_no_coverage()
808 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_no_coverage()
809 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_no_coverage()
810 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_no_coverage()
811 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_no_coverage()
812 TEST_ASSERT(!xpi.fBlendInfo.fWriteColor); in test_color_opaque_no_coverage()
816 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_no_coverage()
817 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_no_coverage()
818 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_no_coverage()
819 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_no_coverage()
820 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_no_coverage()
821 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_no_coverage()
822 TEST_ASSERT(kISA_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_no_coverage()
823 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_no_coverage()
826 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_no_coverage()
827 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_no_coverage()
828 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_no_coverage()
829 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_no_coverage()
830 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_no_coverage()
831 TEST_ASSERT(kIDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_no_coverage()
832 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_no_coverage()
833 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_no_coverage()
836 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_no_coverage()
837 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_no_coverage()
838 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_no_coverage()
839 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_no_coverage()
840 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_no_coverage()
841 TEST_ASSERT(kDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_no_coverage()
842 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_no_coverage()
843 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_no_coverage()
846 TEST_ASSERT(xpi.fIgnoresInputColor); in test_color_opaque_no_coverage()
847 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_no_coverage()
848 TEST_ASSERT(kNone_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_no_coverage()
849 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_no_coverage()
850 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_no_coverage()
851 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_no_coverage()
852 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_no_coverage()
853 TEST_ASSERT(!xpi.fBlendInfo.fWriteColor); in test_color_opaque_no_coverage()
856 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_no_coverage()
857 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_no_coverage()
858 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_no_coverage()
859 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_no_coverage()
860 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_no_coverage()
861 TEST_ASSERT(kIDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_no_coverage()
862 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_no_coverage()
863 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_no_coverage()
866 TEST_ASSERT(xpi.fIgnoresInputColor); in test_color_opaque_no_coverage()
867 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_no_coverage()
868 TEST_ASSERT(kNone_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_no_coverage()
869 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_no_coverage()
870 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_no_coverage()
871 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_no_coverage()
872 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_no_coverage()
873 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_no_coverage()
876 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_no_coverage()
877 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_no_coverage()
878 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_no_coverage()
879 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_no_coverage()
880 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_no_coverage()
881 TEST_ASSERT(kDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_no_coverage()
882 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_no_coverage()
883 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_no_coverage()
886 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_no_coverage()
887 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_no_coverage()
888 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_no_coverage()
889 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_no_coverage()
890 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_no_coverage()
891 TEST_ASSERT(kIDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_no_coverage()
892 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_no_coverage()
893 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_no_coverage()
896 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_no_coverage()
897 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_no_coverage()
898 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_no_coverage()
899 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_no_coverage()
900 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_no_coverage()
901 TEST_ASSERT(kIDA_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_no_coverage()
902 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_no_coverage()
903 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_no_coverage()
906 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_no_coverage()
907 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_no_coverage()
908 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_no_coverage()
909 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_no_coverage()
910 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_no_coverage()
911 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_no_coverage()
912 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_no_coverage()
913 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_no_coverage()
916 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_no_coverage()
917 TEST_ASSERT(!xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_no_coverage()
918 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_no_coverage()
919 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_no_coverage()
920 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_no_coverage()
921 TEST_ASSERT(kZero_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_no_coverage()
922 TEST_ASSERT(kSC_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_no_coverage()
923 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_no_coverage()
926 TEST_ASSERT(!xpi.fIgnoresInputColor); in test_color_opaque_no_coverage()
927 TEST_ASSERT(xpi.fCompatibleWithCoverageAsAlpha); in test_color_opaque_no_coverage()
928 TEST_ASSERT(kModulate_OutputType == xpi.fPrimaryOutputType); in test_color_opaque_no_coverage()
929 TEST_ASSERT(kNone_OutputType == xpi.fSecondaryOutputType); in test_color_opaque_no_coverage()
930 TEST_ASSERT(kAdd_GrBlendEquation == xpi.fBlendInfo.fEquation); in test_color_opaque_no_coverage()
931 TEST_ASSERT(kOne_GrBlendCoeff == xpi.fBlendInfo.fSrcBlend); in test_color_opaque_no_coverage()
932 TEST_ASSERT(kISC_GrBlendCoeff == xpi.fBlendInfo.fDstBlend); in test_color_opaque_no_coverage()
933 TEST_ASSERT(xpi.fBlendInfo.fWriteColor); in test_color_opaque_no_coverage()
946 TEST_ASSERT(!(GrXPFactory::GetAnalysisProperties(xpf, color, coverage, caps) & in test_lcd_coverage_fallback_case()
957 TEST_ASSERT(blendInfo.fWriteColor); in test_lcd_coverage_fallback_case()
962 TEST_ASSERT(!(GrXPFactory::GetAnalysisProperties(xpf, color, coverage, caps) & in test_lcd_coverage_fallback_case()
972 TEST_ASSERT(blendInfo.fWriteColor); in test_lcd_coverage_fallback_case()
1022 TEST_ASSERT(!xp->hasSecondaryOutput()); in DEF_GPUTEST()