Lines Matching defs:Face
111 uint16_t fFuncMasks[2]; // mask for face tests
112 uint16_t fFuncRefs[2]; // reference values for face tests
172 enum Face {
182 GrStencilOp passOp(Face f) const { return static_cast<GrStencilOp>(fPassOps[f]); }
183 GrStencilOp failOp(Face f) const { return static_cast<GrStencilOp>(fFailOps[f]); }
184 GrStencilFunc func(Face f) const { return static_cast<GrStencilFunc>(fFuncs[f]); }
185 uint16_t funcMask(Face f) const { return fFuncMasks[f]; }
186 uint16_t funcRef(Face f) const { return fFuncRefs[f]; }
187 uint16_t writeMask(Face f) const { return fWriteMasks[f]; }
189 void setPassOp(Face f, GrStencilOp op) { fPassOps[f] = op; fFlags = 0;}
190 void setFailOp(Face f, GrStencilOp op) { fFailOps[f] = op; fFlags = 0;}
191 void setFunc(Face f, GrStencilFunc func) { fFuncs[f] = func; fFlags = 0;}
192 void setFuncMask(Face f, unsigned short mask) { fFuncMasks[f] = mask; }
193 void setFuncRef(Face f, unsigned short ref) { fFuncRefs[f] = ref; }
194 void setWriteMask(Face f, unsigned short writeMask) { fWriteMasks[f] = writeMask; }