Lines Matching refs:op
107 static uint32_t DrawOp_packOpFlagData(DrawOps op, unsigned flags, unsigned data) {
108 SkASSERT(0 == (op & ~DRAWOPS_OP_MASK));
112 return (op << (DRAWOPS_FLAG_BITS + DRAWOPS_DATA_BITS)) |
180 static uint32_t PaintOp_packOp(PaintOps op) {
181 SkASSERT(0 == (op & ~PAINTOPS_OP_MASK));
183 return op << (PAINTOPS_FLAG_BITS + PAINTOPS_DATA_BITS);
186 static uint32_t PaintOp_packOpData(PaintOps op, unsigned data) {
187 SkASSERT(0 == (op & ~PAINTOPS_OP_MASK));
190 return (op << (PAINTOPS_FLAG_BITS + PAINTOPS_DATA_BITS)) | data;
193 static uint32_t PaintOp_packOpFlagData(PaintOps op, unsigned flags, unsigned data) {
194 SkASSERT(0 == (op & ~PAINTOPS_OP_MASK));
198 return (op << (PAINTOPS_FLAG_BITS + PAINTOPS_DATA_BITS)) |