Lines Matching refs:cell
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>& ops)
211 float x0 = 2.0f*((float)cell.x() / (float)context.getWidth())-1.0f;
212 float y0 = 2.0f*((float)cell.y() / (float)context.getHeight())-1.0f;
213 float x1 = x0 + 2.0f*((float)cell.z() / (float)context.getWidth());
214 float y1 = y0 + 2.0f*((float)cell.w() / (float)context.getHeight());
226 context.scissor(cell.x(), cell.y(), cell.z(), cell.w());
234 context.scissor(cell.x(), cell.y(), cell.z(), cell.w());