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

Side by Side Diff: src/core/SkRecords.h

Issue 1228083004: add src-rect-constraint to drawImageRect (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: propogate Constraint into SkDevice 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
OLDNEW
1 /* 1 /*
2 * Copyright 2014 Google Inc. 2 * Copyright 2014 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkRecords_DEFINED 8 #ifndef SkRecords_DEFINED
9 #define SkRecords_DEFINED 9 #define SkRecords_DEFINED
10 10
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 ImmutableBitmap, bitmap, 288 ImmutableBitmap, bitmap,
289 SkRect, src, 289 SkRect, src,
290 SkRect, dst, 290 SkRect, dst,
291 SkCanvas::DrawBitmapRectFlags, flags); 291 SkCanvas::DrawBitmapRectFlags, flags);
292 RECORD3(DrawDRRect, SkPaint, paint, SkRRect, outer, SkRRect, inner); 292 RECORD3(DrawDRRect, SkPaint, paint, SkRRect, outer, SkRRect, inner);
293 RECORD3(DrawDrawable, Optional<SkMatrix>, matrix, SkRect, worstCaseBounds, int32 _t, index); 293 RECORD3(DrawDrawable, Optional<SkMatrix>, matrix, SkRect, worstCaseBounds, int32 _t, index);
294 RECORD4(DrawImage, Optional<SkPaint>, paint, 294 RECORD4(DrawImage, Optional<SkPaint>, paint,
295 RefBox<const SkImage>, image, 295 RefBox<const SkImage>, image,
296 SkScalar, left, 296 SkScalar, left,
297 SkScalar, top); 297 SkScalar, top);
298 RECORD4(DrawImageRect, Optional<SkPaint>, paint, 298 RECORD5(DrawImageRect, Optional<SkPaint>, paint,
299 RefBox<const SkImage>, image, 299 RefBox<const SkImage>, image,
300 Optional<SkRect>, src, 300 Optional<SkRect>, src,
301 SkRect, dst); 301 SkRect, dst,
302 SkCanvas::SrcRectConstraint, constraint);
302 RECORD4(DrawImageNine, Optional<SkPaint>, paint, 303 RECORD4(DrawImageNine, Optional<SkPaint>, paint,
303 RefBox<const SkImage>, image, 304 RefBox<const SkImage>, image,
304 SkIRect, center, 305 SkIRect, center,
305 SkRect, dst); 306 SkRect, dst);
306 RECORD2(DrawOval, SkPaint, paint, SkRect, oval); 307 RECORD2(DrawOval, SkPaint, paint, SkRect, oval);
307 RECORD1(DrawPaint, SkPaint, paint); 308 RECORD1(DrawPaint, SkPaint, paint);
308 RECORD2(DrawPath, SkPaint, paint, PreCachedPath, path); 309 RECORD2(DrawPath, SkPaint, paint, PreCachedPath, path);
309 RECORD3(DrawPicture, Optional<SkPaint>, paint, 310 RECORD3(DrawPicture, Optional<SkPaint>, paint,
310 RefBox<const SkPicture>, picture, 311 RefBox<const SkPicture>, picture,
311 TypedMatrix, matrix); 312 TypedMatrix, matrix);
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 #undef RECORD1 391 #undef RECORD1
391 #undef RECORD2 392 #undef RECORD2
392 #undef RECORD3 393 #undef RECORD3
393 #undef RECORD4 394 #undef RECORD4
394 #undef RECORD5 395 #undef RECORD5
395 #undef RECORD8 396 #undef RECORD8
396 397
397 } // namespace SkRecords 398 } // namespace SkRecords
398 399
399 #endif//SkRecords_DEFINED 400 #endif//SkRecords_DEFINED
OLDNEW
« include/core/SkCanvas.h ('K') | « src/core/SkRecorder.cpp ('k') | src/gpu/SkGpuDevice.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698