| 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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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) | 242 void ProfilingCanvas::onDrawPicture(const SkPicture* picture) |
| 243 { | 243 { |
| 244 AutoStamper stamper(this); | 244 AutoStamper stamper(this); |
| 245 this->SkCanvas::onDrawPicture(picture); | 245 this->SkCanvas::onDrawPicture(picture); |
| 246 } | 246 } |
| 247 | 247 |
| 248 void ProfilingCanvas::onDrawPicture(const SkPicture* picture, const SkMatrix* ma
trix, const SkPaint* paint) |
| 249 { |
| 250 AutoStamper stamper(this); |
| 251 this->SkCanvas::onDrawPicture(picture); |
| 252 } |
| 253 |
| 248 void ProfilingCanvas::didSetMatrix(const SkMatrix& matrix) | 254 void ProfilingCanvas::didSetMatrix(const SkMatrix& matrix) |
| 249 { | 255 { |
| 250 AutoStamper stamper(this); | 256 AutoStamper stamper(this); |
| 251 this->SkCanvas::didSetMatrix(matrix); | 257 this->SkCanvas::didSetMatrix(matrix); |
| 252 } | 258 } |
| 253 | 259 |
| 254 void ProfilingCanvas::didConcat(const SkMatrix& matrix) | 260 void ProfilingCanvas::didConcat(const SkMatrix& matrix) |
| 255 { | 261 { |
| 256 AutoStamper stamper(this); | 262 AutoStamper stamper(this); |
| 257 this->SkCanvas::didConcat(matrix); | 263 this->SkCanvas::didConcat(matrix); |
| (...skipping 11 matching lines...) Expand all Loading... |
| 269 return this->SkCanvas::willSaveLayer(bounds, paint, flags); | 275 return this->SkCanvas::willSaveLayer(bounds, paint, flags); |
| 270 } | 276 } |
| 271 | 277 |
| 272 void ProfilingCanvas::willRestore() | 278 void ProfilingCanvas::willRestore() |
| 273 { | 279 { |
| 274 AutoStamper stamper(this); | 280 AutoStamper stamper(this); |
| 275 this->SkCanvas::willRestore(); | 281 this->SkCanvas::willRestore(); |
| 276 } | 282 } |
| 277 | 283 |
| 278 } | 284 } |
| OLD | NEW |