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

Side by Side Diff: src/core/SkPictureData.cpp

Issue 829983003: Rename SkDrawPictureCallback to SkPicture::AbortCallback (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Readd deleted android gypi changes Created 5 years, 11 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/SkPicture.cpp ('k') | src/core/SkPicturePlayback.h » ('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 * Copyright 2011 Google Inc. 2 * Copyright 2011 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 #include <new> 7 #include <new>
8 #include "SkBBoxHierarchy.h"
9 #include "SkDrawPictureCallback.h"
10 #include "SkPictureData.h" 8 #include "SkPictureData.h"
11 #include "SkPictureRecord.h" 9 #include "SkPictureRecord.h"
12 #include "SkReadBuffer.h" 10 #include "SkReadBuffer.h"
13 #include "SkTextBlob.h" 11 #include "SkTextBlob.h"
14 #include "SkTypeface.h" 12 #include "SkTypeface.h"
15 #include "SkTSort.h"
16 #include "SkWriteBuffer.h" 13 #include "SkWriteBuffer.h"
17 14
18 #if SK_SUPPORT_GPU 15 #if SK_SUPPORT_GPU
19 #include "GrContext.h" 16 #include "GrContext.h"
20 #endif 17 #endif
21 18
22 template <typename T> int SafeCount(const T* obj) { 19 template <typename T> int SafeCount(const T* obj) {
23 return obj ? obj->count() : 0; 20 return obj ? obj->count() : 0;
24 } 21 }
25 22
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after
578 } 575 }
579 } 576 }
580 577
581 bool SkPictureData::suitableForLayerOptimization() const { 578 bool SkPictureData::suitableForLayerOptimization() const {
582 return fContentInfo.numLayers() > 0; 579 return fContentInfo.numLayers() > 0;
583 } 580 }
584 #endif 581 #endif
585 /////////////////////////////////////////////////////////////////////////////// 582 ///////////////////////////////////////////////////////////////////////////////
586 583
587 584
OLDNEW
« no previous file with comments | « src/core/SkPicture.cpp ('k') | src/core/SkPicturePlayback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698