Lines Matching full:data
33 kSkip_DrawOp, // skip an addition N bytes (N == data)
77 * DrawOp:8 - Flags:4 - Data:20
79 * Flags and Data are called out separately, so we can reuse Data between
80 * different Ops that might have different Flags. e.g. Data might be a Paint
83 * All Ops that take a SkPaint use their Data field to store the index to
107 static uint32_t DrawOp_packOpFlagData(DrawOps op, unsigned flags, unsigned data) {
110 SkASSERT(0 == (data & ~DRAWOPS_DATA_MASK));
114 data;
157 kFlatIndex_PaintOp, // flags=paintflat, data=index
186 static uint32_t PaintOp_packOpData(PaintOps op, unsigned data) {
188 SkASSERT(0 == (data & ~PAINTOPS_DATA_MASK));
190 return (op << (PAINTOPS_FLAG_BITS + PAINTOPS_DATA_BITS)) | data;
193 static uint32_t PaintOp_packOpFlagData(PaintOps op, unsigned flags, unsigned data) {
196 SkASSERT(0 == (data & ~PAINTOPS_DATA_MASK));
200 data;