Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Side by Side Diff: src/pipe/SkGPipePriv.h

Issue 1211583003: add drawImageNine (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: address comments from #9 Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/core/SkRecords.h ('k') | src/pipe/SkGPipeRead.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 28 matching lines...) Expand all
39 kClipRect_DrawOp, 39 kClipRect_DrawOp,
40 kClipRRect_DrawOp, 40 kClipRRect_DrawOp,
41 kConcat_DrawOp, 41 kConcat_DrawOp,
42 kDrawAtlas_DrawOp, 42 kDrawAtlas_DrawOp,
43 kDrawBitmap_DrawOp, 43 kDrawBitmap_DrawOp,
44 kDrawBitmapNine_DrawOp, 44 kDrawBitmapNine_DrawOp,
45 kDrawBitmapRectToRect_DrawOp, 45 kDrawBitmapRectToRect_DrawOp,
46 kDrawDRRect_DrawOp, 46 kDrawDRRect_DrawOp,
47 kDrawImage_DrawOp, 47 kDrawImage_DrawOp,
48 kDrawImageRect_DrawOp, 48 kDrawImageRect_DrawOp,
49 kDrawImageNine_DrawOp,
49 kDrawOval_DrawOp, 50 kDrawOval_DrawOp,
50 kDrawPaint_DrawOp, 51 kDrawPaint_DrawOp,
51 kDrawPatch_DrawOp, 52 kDrawPatch_DrawOp,
52 kDrawPath_DrawOp, 53 kDrawPath_DrawOp,
53 kDrawPicture_DrawOp, 54 kDrawPicture_DrawOp,
54 kDrawPoints_DrawOp, 55 kDrawPoints_DrawOp,
55 kDrawPosText_DrawOp, 56 kDrawPosText_DrawOp,
56 kDrawPosTextH_DrawOp, 57 kDrawPosTextH_DrawOp,
57 kDrawRect_DrawOp, 58 kDrawRect_DrawOp,
58 kDrawRRect_DrawOp, 59 kDrawRRect_DrawOp,
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 SkASSERT(0 == (op & ~PAINTOPS_OP_MASK)); 305 SkASSERT(0 == (op & ~PAINTOPS_OP_MASK));
305 SkASSERT(0 == (flags & ~PAINTOPS_FLAG_MASK)); 306 SkASSERT(0 == (flags & ~PAINTOPS_FLAG_MASK));
306 SkASSERT(0 == (data & ~PAINTOPS_DATA_MASK)); 307 SkASSERT(0 == (data & ~PAINTOPS_DATA_MASK));
307 308
308 return (op << (PAINTOPS_FLAG_BITS + PAINTOPS_DATA_BITS)) | 309 return (op << (PAINTOPS_FLAG_BITS + PAINTOPS_DATA_BITS)) |
309 (flags << PAINTOPS_DATA_BITS) | 310 (flags << PAINTOPS_DATA_BITS) |
310 data; 311 data;
311 } 312 }
312 313
313 #endif 314 #endif
OLDNEW
« no previous file with comments | « src/core/SkRecords.h ('k') | src/pipe/SkGPipeRead.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698