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

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

Issue 1561683002: Start using <type_traits> and <utility> (C++11). (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix skstd::unique_ptr::compressed_pair. Created 4 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/animator/SkMemberInfo.h ('k') | src/core/SkFindAndPlaceGlyph.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 2006 The Android Open Source Project 2 * Copyright 2006 The Android Open Source Project
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 #define __STDC_LIMIT_MACROS 7 #define __STDC_LIMIT_MACROS
8 8
9 #include "SkDraw.h" 9 #include "SkDraw.h"
10 #include "SkBlitter.h" 10 #include "SkBlitter.h"
(...skipping 12 matching lines...) Expand all
23 #include "SkRRect.h" 23 #include "SkRRect.h"
24 #include "SkScan.h" 24 #include "SkScan.h"
25 #include "SkShader.h" 25 #include "SkShader.h"
26 #include "SkSmallAllocator.h" 26 #include "SkSmallAllocator.h"
27 #include "SkString.h" 27 #include "SkString.h"
28 #include "SkStroke.h" 28 #include "SkStroke.h"
29 #include "SkStrokeRec.h" 29 #include "SkStrokeRec.h"
30 #include "SkTemplates.h" 30 #include "SkTemplates.h"
31 #include "SkTextMapStateProc.h" 31 #include "SkTextMapStateProc.h"
32 #include "SkTLazy.h" 32 #include "SkTLazy.h"
33 #include "SkUtility.h"
34 #include "SkUtils.h" 33 #include "SkUtils.h"
35 #include "SkVertState.h" 34 #include "SkVertState.h"
36 35
37 #include "SkBitmapProcShader.h" 36 #include "SkBitmapProcShader.h"
38 #include "SkDrawProcs.h" 37 #include "SkDrawProcs.h"
39 #include "SkMatrixUtils.h" 38 #include "SkMatrixUtils.h"
40 39
41 //#define TRACE_BITMAP_DRAWS 40 //#define TRACE_BITMAP_DRAWS
42 41
43 // Helper function to fix code gen bug on ARM64. 42 // Helper function to fix code gen bug on ARM64.
(...skipping 2033 matching lines...) Expand 10 before | Expand all | Expand 10 after
2077 mask->fImage = SkMask::AllocImage(size); 2076 mask->fImage = SkMask::AllocImage(size);
2078 memset(mask->fImage, 0, mask->computeImageSize()); 2077 memset(mask->fImage, 0, mask->computeImageSize());
2079 } 2078 }
2080 2079
2081 if (SkMask::kJustComputeBounds_CreateMode != mode) { 2080 if (SkMask::kJustComputeBounds_CreateMode != mode) {
2082 draw_into_mask(*mask, devPath, style); 2081 draw_into_mask(*mask, devPath, style);
2083 } 2082 }
2084 2083
2085 return true; 2084 return true;
2086 } 2085 }
OLDNEW
« no previous file with comments | « src/animator/SkMemberInfo.h ('k') | src/core/SkFindAndPlaceGlyph.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698