Lines Matching refs:targetStencil

180 …virtual void		genOps				(vector<StencilOp>& dst, int stencilBits, int depthBits, int targetStencil
390 …d (*GenStencilOpsFunc) (vector<StencilOp>& dst, int stencilBits, int depthBits, int targetStencil);
401 void genOps (vector<StencilOp>& dst, int stencilBits, int depthBits, int targetStencil) in genOps() argument
403 m_genOps(dst, stencilBits, depthBits, targetStencil); in genOps()
415 static void genOps (vector<StencilOp>& dst, int stencilBits, int depthBits, int targetStencil) \ in init()
428 dst.push_back(StencilOp::clearStencil(targetStencil | ~mask)); in init()
434 …dst.push_back(StencilOp::quad(GL_NEVER, targetStencil, GL_ALWAYS, 0.0f, GL_REPLACE, GL_KEEP, GL_KE… in init()
439 …dst.push_back(StencilOp::quad(GL_ALWAYS, targetStencil, GL_LESS, 0.5f, GL_KEEP, GL_REPLACE, GL_KEE… in init()
443 …dst.push_back(StencilOp::quad(GL_ALWAYS, targetStencil, GL_LESS, 0.0f, GL_KEEP, GL_KEEP, GL_REPLAC… in init()
449 if (targetStencil > 0) in init()
451 dst.push_back(StencilOp::clearStencil(targetStencil-1)); in init()
452 …dst.push_back(StencilOp::quad(GL_EQUAL, targetStencil, GL_ALWAYS, 0.0f, GL_INCR, GL_KEEP, GL_KEEP)… in init()
455 dst.push_back(StencilOp::clearStencil(targetStencil)); in init()
460 if (targetStencil < maxStencil) in init()
462 dst.push_back(StencilOp::clearStencil(targetStencil+1)); in init()
463 …dst.push_back(StencilOp::quad(GL_EQUAL, targetStencil, GL_ALWAYS, 0.0f, GL_DECR, GL_KEEP, GL_KEEP)… in init()
466 dst.push_back(StencilOp::clearStencil(targetStencil)); in init()
471 dst.push_back(StencilOp::clearStencil((targetStencil-1)&maxStencil)); in init()
472 …dst.push_back(StencilOp::quad(GL_EQUAL, targetStencil, GL_ALWAYS, 0.0f, GL_INCR_WRAP, GL_KEEP, GL_… in init()
477 dst.push_back(StencilOp::clearStencil((targetStencil+1)&maxStencil)); in init()
478 …dst.push_back(StencilOp::quad(GL_EQUAL, targetStencil, GL_ALWAYS, 0.0f, GL_DECR_WRAP, GL_KEEP, GL_… in init()
484 dst.push_back(StencilOp::clearStencil(targetStencil)); in init()
485 …dst.push_back(StencilOp::quad(GL_NOTEQUAL, targetStencil, GL_ALWAYS, 0.0f, GL_ZERO, GL_KEEP, GL_KE… in init()
486 …dst.push_back(StencilOp::quad(GL_EQUAL, targetStencil, GL_ALWAYS, 0.0f, GL_REPLACE, GL_KEEP, GL_KE… in init()
491 dst.push_back(StencilOp::clearStencil((~targetStencil)&mask)); in init()
492 …dst.push_back(StencilOp::quad(GL_EQUAL, targetStencil, GL_ALWAYS, 0.0f, GL_INVERT, GL_KEEP, GL_KEE… in init()
499 int inv = (~targetStencil)&mask; in init()
507 int inv = (~targetStencil)&mask; in init()
509 …dst.push_back(StencilOp::quad(GL_NOTEQUAL, targetStencil, GL_ALWAYS, 0.0f, GL_KEEP, GL_KEEP, GL_IN… in init()
510 …dst.push_back(StencilOp::quad(GL_NOTEQUAL, targetStencil, GL_ALWAYS, 0.0f, GL_KEEP, GL_KEEP, GL_IN… in init()
515 if (targetStencil < maxStencil) in init()
517 dst.push_back(StencilOp::clearStencil(targetStencil+1)); in init()
518 …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::quad(GL_LESS, targetStencil, GL_ALWAYS, 0.0f, GL_KEEP, GL_KEEP, GL_DECR)); in init()
522 dst.push_back(StencilOp::clearStencil(targetStencil)); in init()
527 if (targetStencil < maxStencil) in init()
529 dst.push_back(StencilOp::clearStencil(targetStencil+1)); in init()
530 …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::quad(GL_LEQUAL, targetStencil+1, GL_ALWAYS, 0.0f, GL_KEEP, GL_KEEP, GL_DE… in init()
534 dst.push_back(StencilOp::clearStencil(targetStencil)); in init()
538 if (targetStencil > 0) in init()
540 dst.push_back(StencilOp::clearStencil(targetStencil-1)); in init()
541 …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::quad(GL_GREATER, targetStencil, GL_ALWAYS, 0.0f, GL_KEEP, GL_KEEP, GL_INC… in init()
545 dst.push_back(StencilOp::clearStencil(targetStencil)); in init()
549 if (targetStencil > 0) in init()
551 dst.push_back(StencilOp::clearStencil(targetStencil-1)); in init()
552 …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::quad(GL_GEQUAL, targetStencil-1, GL_ALWAYS, 0.0f, GL_KEEP, GL_KEEP, GL_IN… in init()
556 dst.push_back(StencilOp::clearStencil(targetStencil)); in init()
562 dst.push_back(StencilOp::clearStencil(~targetStencil)); in init()
563 …StencilOp op = StencilOp::quad(GL_EQUAL, (~targetStencil | ~mask) & valMask, GL_ALWAYS, 0.0f, GL_K… in init()