Lines Matching refs:targetStencil

177 …virtual void		genOps				(vector<StencilOp>& dst, int stencilBits, int depthBits, int targetStencil
387 …d (*GenStencilOpsFunc) (vector<StencilOp>& dst, int stencilBits, int depthBits, int targetStencil);
398 void genOps (vector<StencilOp>& dst, int stencilBits, int depthBits, int targetStencil) in genOps() argument
400 m_genOps(dst, stencilBits, depthBits, targetStencil); in genOps()
412 static void genOps (vector<StencilOp>& dst, int stencilBits, int depthBits, int targetStencil) \ in init()
425 dst.push_back(StencilOp::clearStencil(targetStencil | ~mask)); in init()
431 …dst.push_back(StencilOp::quad(GL_NEVER, targetStencil, GL_ALWAYS, 0.0f, GL_REPLACE, GL_KEEP, GL_KE… in init()
436 …dst.push_back(StencilOp::quad(GL_ALWAYS, targetStencil, GL_LESS, 0.5f, GL_KEEP, GL_REPLACE, GL_KEE… in init()
440 …dst.push_back(StencilOp::quad(GL_ALWAYS, targetStencil, GL_LESS, 0.0f, GL_KEEP, GL_KEEP, GL_REPLAC… in init()
446 if (targetStencil > 0) in init()
448 dst.push_back(StencilOp::clearStencil(targetStencil-1)); in init()
449 …dst.push_back(StencilOp::quad(GL_EQUAL, targetStencil, GL_ALWAYS, 0.0f, GL_INCR, GL_KEEP, GL_KEEP)… in init()
452 dst.push_back(StencilOp::clearStencil(targetStencil)); in init()
457 if (targetStencil < maxStencil) in init()
459 dst.push_back(StencilOp::clearStencil(targetStencil+1)); in init()
460 …dst.push_back(StencilOp::quad(GL_EQUAL, targetStencil, GL_ALWAYS, 0.0f, GL_DECR, GL_KEEP, GL_KEEP)… in init()
463 dst.push_back(StencilOp::clearStencil(targetStencil)); in init()
468 dst.push_back(StencilOp::clearStencil((targetStencil-1)&maxStencil)); in init()
469 …dst.push_back(StencilOp::quad(GL_EQUAL, targetStencil, GL_ALWAYS, 0.0f, GL_INCR_WRAP, GL_KEEP, GL_… in init()
474 dst.push_back(StencilOp::clearStencil((targetStencil+1)&maxStencil)); in init()
475 …dst.push_back(StencilOp::quad(GL_EQUAL, targetStencil, GL_ALWAYS, 0.0f, GL_DECR_WRAP, GL_KEEP, GL_… in init()
481 dst.push_back(StencilOp::clearStencil(targetStencil)); in init()
482 …dst.push_back(StencilOp::quad(GL_NOTEQUAL, targetStencil, GL_ALWAYS, 0.0f, GL_ZERO, GL_KEEP, GL_KE… in init()
483 …dst.push_back(StencilOp::quad(GL_EQUAL, targetStencil, GL_ALWAYS, 0.0f, GL_REPLACE, GL_KEEP, GL_KE… in init()
488 dst.push_back(StencilOp::clearStencil((~targetStencil)&mask)); in init()
489 …dst.push_back(StencilOp::quad(GL_EQUAL, targetStencil, GL_ALWAYS, 0.0f, GL_INVERT, GL_KEEP, GL_KEE… in init()
496 int inv = (~targetStencil)&mask; in init()
504 int inv = (~targetStencil)&mask; in init()
506 …dst.push_back(StencilOp::quad(GL_NOTEQUAL, targetStencil, GL_ALWAYS, 0.0f, GL_KEEP, GL_KEEP, GL_IN… in init()
507 …dst.push_back(StencilOp::quad(GL_NOTEQUAL, targetStencil, GL_ALWAYS, 0.0f, GL_KEEP, GL_KEEP, GL_IN… in init()
512 if (targetStencil < maxStencil) in init()
514 dst.push_back(StencilOp::clearStencil(targetStencil+1)); in init()
515 …dst.push_back(StencilOp::quad(GL_LESS, targetStencil, GL_ALWAYS, 0.0f, GL_KEEP, GL_KEEP, GL_DECR)); in init()
516 …dst.push_back(StencilOp::quad(GL_LESS, targetStencil, GL_ALWAYS, 0.0f, GL_KEEP, GL_KEEP, GL_DECR)); in init()
519 dst.push_back(StencilOp::clearStencil(targetStencil)); in init()
524 if (targetStencil < maxStencil) in init()
526 dst.push_back(StencilOp::clearStencil(targetStencil+1)); in init()
527 …dst.push_back(StencilOp::quad(GL_LEQUAL, targetStencil+1, GL_ALWAYS, 0.0f, GL_KEEP, GL_KEEP, GL_DE… in init()
528 …dst.push_back(StencilOp::quad(GL_LEQUAL, targetStencil+1, GL_ALWAYS, 0.0f, GL_KEEP, GL_KEEP, GL_DE… in init()
531 dst.push_back(StencilOp::clearStencil(targetStencil)); in init()
535 if (targetStencil > 0) in init()
537 dst.push_back(StencilOp::clearStencil(targetStencil-1)); in init()
538 …dst.push_back(StencilOp::quad(GL_GREATER, targetStencil, GL_ALWAYS, 0.0f, GL_KEEP, GL_KEEP, GL_INC… in init()
539 …dst.push_back(StencilOp::quad(GL_GREATER, targetStencil, GL_ALWAYS, 0.0f, GL_KEEP, GL_KEEP, GL_INC… in init()
542 dst.push_back(StencilOp::clearStencil(targetStencil)); in init()
546 if (targetStencil > 0) in init()
548 dst.push_back(StencilOp::clearStencil(targetStencil-1)); in init()
549 …dst.push_back(StencilOp::quad(GL_GEQUAL, targetStencil-1, GL_ALWAYS, 0.0f, GL_KEEP, GL_KEEP, GL_IN… in init()
550 …dst.push_back(StencilOp::quad(GL_GEQUAL, targetStencil-1, GL_ALWAYS, 0.0f, GL_KEEP, GL_KEEP, GL_IN… in init()
553 dst.push_back(StencilOp::clearStencil(targetStencil)); in init()
559 dst.push_back(StencilOp::clearStencil(~targetStencil)); in init()
560 …StencilOp op = StencilOp::quad(GL_EQUAL, (~targetStencil | ~mask) & valMask, GL_ALWAYS, 0.0f, GL_K… in init()