OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 Google Inc. |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 | 9 |
10 | 10 |
(...skipping 27 matching lines...) Expand all Loading... |
38 kClipRegion_DrawOp, | 38 kClipRegion_DrawOp, |
39 kClipRect_DrawOp, | 39 kClipRect_DrawOp, |
40 kClipRRect_DrawOp, | 40 kClipRRect_DrawOp, |
41 kConcat_DrawOp, | 41 kConcat_DrawOp, |
42 kDrawBitmap_DrawOp, | 42 kDrawBitmap_DrawOp, |
43 kDrawBitmapMatrix_DrawOp, | 43 kDrawBitmapMatrix_DrawOp, |
44 kDrawBitmapNine_DrawOp, | 44 kDrawBitmapNine_DrawOp, |
45 kDrawBitmapRectToRect_DrawOp, | 45 kDrawBitmapRectToRect_DrawOp, |
46 kDrawClear_DrawOp, | 46 kDrawClear_DrawOp, |
47 kDrawData_DrawOp, | 47 kDrawData_DrawOp, |
| 48 kDrawDRRect_DrawOp, |
48 kDrawOval_DrawOp, | 49 kDrawOval_DrawOp, |
49 kDrawPaint_DrawOp, | 50 kDrawPaint_DrawOp, |
50 kDrawPath_DrawOp, | 51 kDrawPath_DrawOp, |
51 kDrawPicture_DrawOp, | 52 kDrawPicture_DrawOp, |
52 kDrawPoints_DrawOp, | 53 kDrawPoints_DrawOp, |
53 kDrawPosText_DrawOp, | 54 kDrawPosText_DrawOp, |
54 kDrawPosTextH_DrawOp, | 55 kDrawPosTextH_DrawOp, |
55 kDrawRect_DrawOp, | 56 kDrawRect_DrawOp, |
56 kDrawRRect_DrawOp, | 57 kDrawRRect_DrawOp, |
57 kDrawSprite_DrawOp, | 58 kDrawSprite_DrawOp, |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 SkASSERT(0 == (op & ~PAINTOPS_OP_MASK)); | 278 SkASSERT(0 == (op & ~PAINTOPS_OP_MASK)); |
278 SkASSERT(0 == (flags & ~PAINTOPS_FLAG_MASK)); | 279 SkASSERT(0 == (flags & ~PAINTOPS_FLAG_MASK)); |
279 SkASSERT(0 == (data & ~PAINTOPS_DATA_MASK)); | 280 SkASSERT(0 == (data & ~PAINTOPS_DATA_MASK)); |
280 | 281 |
281 return (op << (PAINTOPS_FLAG_BITS + PAINTOPS_DATA_BITS)) | | 282 return (op << (PAINTOPS_FLAG_BITS + PAINTOPS_DATA_BITS)) | |
282 (flags << PAINTOPS_DATA_BITS) | | 283 (flags << PAINTOPS_DATA_BITS) | |
283 data; | 284 data; |
284 } | 285 } |
285 | 286 |
286 #endif | 287 #endif |
OLD | NEW |