• Home
  • Raw
  • Download

Lines Matching refs:StencilOp

115 class StencilOp  class
137StencilOp (Type type_, GLenum stencilTest_ = GL_ALWAYS, int stencil_ = 0, GLenum depthTest_ = GL_A… in StencilOp() function in deqp::gles3::Functional::StencilOp
150 static StencilOp clearStencil (int stencil) in clearStencil()
152 StencilOp op(TYPE_CLEAR_STENCIL); in clearStencil()
157 static StencilOp clearDepth (float depth) in clearDepth()
159 StencilOp op(TYPE_CLEAR_DEPTH); in clearDepth()
164 …static StencilOp quad (GLenum stencilTest, int stencil, GLenum depthTest, float depth, GLenum sFai… in quad()
166 return StencilOp(TYPE_QUAD, stencilTest, stencil, depthTest, depth, sFail, dFail, dPass); in quad()
180 …virtual void genOps (vector<StencilOp>& dst, int stencilBits, int depthBits, int targetStencil…
183 void executeOps (sglr::Context& context, const IVec4& cell, const vector<StencilOp>& ops);
208 void StencilCase::executeOps (sglr::Context& context, const IVec4& cell, const vector<StencilOp>& o… in executeOps()
218 for (vector<StencilOp>::const_iterator i = ops.begin(); i != ops.end(); i++) in executeOps()
220 const StencilOp& op = *i; in executeOps()
224 case StencilOp::TYPE_CLEAR_DEPTH: in executeOps()
232 case StencilOp::TYPE_CLEAR_STENCIL: in executeOps()
240 case StencilOp::TYPE_QUAD: in executeOps()
304 vector<vector<StencilOp> > ops(numStencilValues+2); in iterate()
390 typedef void (*GenStencilOpsFunc) (vector<StencilOp>& dst, int stencilBits, int depthBits, int targ…
401 void genOps (vector<StencilOp>& dst, int stencilBits, int depthBits, int 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()
438 dst.push_back(StencilOp::clearDepth(0.0f)); 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()
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()
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()
500 dst.push_back(StencilOp::clearStencil(inv)); in init()
501 dst.push_back(StencilOp::quad(GL_EQUAL, inv, GL_ALWAYS, 0.0f, GL_KEEP, GL_KEEP, GL_INVERT)); in init()
502 dst.push_back(StencilOp::quad(GL_EQUAL, inv, GL_ALWAYS, 0.0f, GL_KEEP, GL_KEEP, GL_INVERT)); in init()
508 dst.push_back(StencilOp::clearStencil(inv)); 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()
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()
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()
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()
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()
563StencilOp op = StencilOp::quad(GL_EQUAL, (~targetStencil | ~mask) & valMask, GL_ALWAYS, 0.0f, GL_K… in init()