OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 AutoStamper stamper(this); | 232 AutoStamper stamper(this); |
233 this->SkCanvas::onClipPath(path, op, edgeStyle); | 233 this->SkCanvas::onClipPath(path, op, edgeStyle); |
234 } | 234 } |
235 | 235 |
236 void ProfilingCanvas::onClipRegion(const SkRegion& region, SkRegion::Op op) | 236 void ProfilingCanvas::onClipRegion(const SkRegion& region, SkRegion::Op op) |
237 { | 237 { |
238 AutoStamper stamper(this); | 238 AutoStamper stamper(this); |
239 this->SkCanvas::onClipRegion(region, op); | 239 this->SkCanvas::onClipRegion(region, op); |
240 } | 240 } |
241 | 241 |
242 void ProfilingCanvas::onDrawPicture(const SkPicture* picture) | |
243 { | |
244 AutoStamper stamper(this); | |
245 this->SkCanvas::onDrawPicture(picture); | |
246 } | |
247 | |
248 void ProfilingCanvas::onDrawPicture(const SkPicture* picture, const SkMatrix* ma
trix, const SkPaint* paint) | 242 void ProfilingCanvas::onDrawPicture(const SkPicture* picture, const SkMatrix* ma
trix, const SkPaint* paint) |
249 { | 243 { |
250 AutoStamper stamper(this); | 244 AutoStamper stamper(this); |
251 this->SkCanvas::onDrawPicture(picture); | 245 this->SkCanvas::onDrawPicture(picture); |
252 } | 246 } |
253 | 247 |
254 void ProfilingCanvas::didSetMatrix(const SkMatrix& matrix) | 248 void ProfilingCanvas::didSetMatrix(const SkMatrix& matrix) |
255 { | 249 { |
256 AutoStamper stamper(this); | 250 AutoStamper stamper(this); |
257 this->SkCanvas::didSetMatrix(matrix); | 251 this->SkCanvas::didSetMatrix(matrix); |
(...skipping 17 matching lines...) Expand all Loading... |
275 return this->SkCanvas::willSaveLayer(bounds, paint, flags); | 269 return this->SkCanvas::willSaveLayer(bounds, paint, flags); |
276 } | 270 } |
277 | 271 |
278 void ProfilingCanvas::willRestore() | 272 void ProfilingCanvas::willRestore() |
279 { | 273 { |
280 AutoStamper stamper(this); | 274 AutoStamper stamper(this); |
281 this->SkCanvas::willRestore(); | 275 this->SkCanvas::willRestore(); |
282 } | 276 } |
283 | 277 |
284 } | 278 } |
OLD | NEW |