Lines Matching refs:StencilOp

112 class StencilOp  class
134StencilOp (Type type_, GLenum stencilTest_ = GL_ALWAYS, int stencil_ = 0, GLenum depthTest_ = GL_A… in StencilOp() function in deqp::gles2::Functional::StencilOp
147 static StencilOp clearStencil (int stencil) in clearStencil()
149 StencilOp op(TYPE_CLEAR_STENCIL); in clearStencil()
154 static StencilOp clearDepth (float depth) in clearDepth()
156 StencilOp op(TYPE_CLEAR_DEPTH); in clearDepth()
161 …static StencilOp quad (GLenum stencilTest, int stencil, GLenum depthTest, float depth, GLenum sFai… in quad()
163 return StencilOp(TYPE_QUAD, stencilTest, stencil, depthTest, depth, sFail, dFail, dPass); in quad()
177 …virtual void genOps (vector<StencilOp>& dst, int stencilBits, int depthBits, int targetStencil…
180 void executeOps (sglr::Context& context, const IVec4& cell, const vector<StencilOp>& ops);
205 void StencilCase::executeOps (sglr::Context& context, const IVec4& cell, const vector<StencilOp>& o… in executeOps()
215 for (vector<StencilOp>::const_iterator i = ops.begin(); i != ops.end(); i++) in executeOps()
217 const StencilOp& op = *i; in executeOps()
221 case StencilOp::TYPE_CLEAR_DEPTH: in executeOps()
229 case StencilOp::TYPE_CLEAR_STENCIL: in executeOps()
237 case StencilOp::TYPE_QUAD: in executeOps()
301 vector<vector<StencilOp> > ops(numStencilValues+2); in iterate()
387 typedef void (*GenStencilOpsFunc) (vector<StencilOp>& dst, int stencilBits, int depthBits, int targ…
398 void genOps (vector<StencilOp>& dst, int stencilBits, int depthBits, int 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()
435 dst.push_back(StencilOp::clearDepth(0.0f)); 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()
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()
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()
497 dst.push_back(StencilOp::clearStencil(inv)); in init()
498 dst.push_back(StencilOp::quad(GL_EQUAL, inv, GL_ALWAYS, 0.0f, GL_KEEP, GL_KEEP, GL_INVERT)); in init()
499 dst.push_back(StencilOp::quad(GL_EQUAL, inv, GL_ALWAYS, 0.0f, GL_KEEP, GL_KEEP, GL_INVERT)); in init()
505 dst.push_back(StencilOp::clearStencil(inv)); 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()
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()
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()
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()
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()
560StencilOp op = StencilOp::quad(GL_EQUAL, (~targetStencil | ~mask) & valMask, GL_ALWAYS, 0.0f, GL_K… in init()