Lines Matching defs:passes
83 // When there are no separate faces we do two passes to setup the winding rule
86 // decrementing passes.
119 // Color passes are the same whether we use the two-sided stencil or two passes
374 const GrStencilSettings* passes[3];
382 passes[0] = &gDirectToStencil;
384 passes[0] = NULL;
392 passes[0] = &gDirectToStencil;
394 passes[0] = NULL;
404 passes[0] = &gEOStencilPass;
412 passes[1] = &gInvEOColorPass;
414 passes[1] = &gEOColorPass;
426 passes[0] = &gWindStencilSeparateWithWrap;
428 passes[0] = &gWindStencilSeparateNoWrap;
434 passes[0] = &gWindSingleStencilWithWrapInc;
435 passes[1] = &gWindSingleStencilWithWrapDec;
437 passes[0] = &gWindSingleStencilNoWrapInc;
438 passes[1] = &gWindSingleStencilNoWrapDec;
452 passes[passCount-1] = &gInvWindColorPass;
454 passes[passCount-1] = &gWindColorPass;
470 if (NULL != passes[p]) {
471 *drawState->stencil() = *passes[p];