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

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

Issue 789033002: Remove SkCanvas::drawBitmapMatrix() (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: non-const canvas ptr Created 6 years 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/pdf/SkPDFShader.cpp ('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 22 matching lines...) Expand all
33 enum DrawOps { 33 enum DrawOps {
34 kSkip_DrawOp, // skip an addition N bytes (N == data) 34 kSkip_DrawOp, // skip an addition N bytes (N == data)
35 35
36 // these match Canvas apis 36 // these match Canvas apis
37 kClipPath_DrawOp, 37 kClipPath_DrawOp,
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,
44 kDrawBitmapNine_DrawOp, 43 kDrawBitmapNine_DrawOp,
45 kDrawBitmapRectToRect_DrawOp, 44 kDrawBitmapRectToRect_DrawOp,
46 kDrawClear_DrawOp, 45 kDrawClear_DrawOp,
47 kDrawData_DrawOp, 46 kDrawData_DrawOp,
48 kDrawDRRect_DrawOp, 47 kDrawDRRect_DrawOp,
49 kDrawOval_DrawOp, 48 kDrawOval_DrawOp,
50 kDrawPaint_DrawOp, 49 kDrawPaint_DrawOp,
51 kDrawPatch_DrawOp, 50 kDrawPatch_DrawOp,
52 kDrawPath_DrawOp, 51 kDrawPath_DrawOp,
53 kDrawPicture_DrawOp, 52 kDrawPicture_DrawOp,
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 SkASSERT(0 == (op & ~PAINTOPS_OP_MASK)); 280 SkASSERT(0 == (op & ~PAINTOPS_OP_MASK));
282 SkASSERT(0 == (flags & ~PAINTOPS_FLAG_MASK)); 281 SkASSERT(0 == (flags & ~PAINTOPS_FLAG_MASK));
283 SkASSERT(0 == (data & ~PAINTOPS_DATA_MASK)); 282 SkASSERT(0 == (data & ~PAINTOPS_DATA_MASK));
284 283
285 return (op << (PAINTOPS_FLAG_BITS + PAINTOPS_DATA_BITS)) | 284 return (op << (PAINTOPS_FLAG_BITS + PAINTOPS_DATA_BITS)) |
286 (flags << PAINTOPS_DATA_BITS) | 285 (flags << PAINTOPS_DATA_BITS) |
287 data; 286 data;
288 } 287 }
289 288
290 #endif 289 #endif
OLDNEW
« no previous file with comments | « src/pdf/SkPDFShader.cpp ('k') | src/pipe/SkGPipeRead.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698