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

Side by Side Diff: tools/PictureRenderer.cpp

Issue 243173002: Staging for cleanup of SkPicture-related headers (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Add crucial newline at end of file Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « tools/PictureRenderer.h ('k') | tools/bench_record.cpp » ('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 2012 Google Inc. 2 * Copyright 2012 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 #include "PictureRenderer.h" 8 #include "PictureRenderer.h"
9 #include "picture_utils.h" 9 #include "picture_utils.h"
10 #include "SamplePipeControllers.h" 10 #include "SamplePipeControllers.h"
11 #include "SkBitmapHasher.h" 11 #include "SkBitmapHasher.h"
12 #include "SkCanvas.h" 12 #include "SkCanvas.h"
13 #include "SkData.h" 13 #include "SkData.h"
14 #include "SkDevice.h" 14 #include "SkDevice.h"
15 #include "SkDiscardableMemoryPool.h" 15 #include "SkDiscardableMemoryPool.h"
16 #include "SkGPipe.h" 16 #include "SkGPipe.h"
17 #if SK_SUPPORT_GPU 17 #if SK_SUPPORT_GPU
18 #include "gl/GrGLDefines.h" 18 #include "gl/GrGLDefines.h"
19 #include "SkGpuDevice.h" 19 #include "SkGpuDevice.h"
20 #endif 20 #endif
21 #include "SkGraphics.h" 21 #include "SkGraphics.h"
22 #include "SkImageEncoder.h" 22 #include "SkImageEncoder.h"
23 #include "SkMaskFilter.h" 23 #include "SkMaskFilter.h"
24 #include "SkMatrix.h" 24 #include "SkMatrix.h"
25 #include "SkOSFile.h" 25 #include "SkOSFile.h"
26 #include "SkPicture.h" 26 #include "SkPicture.h"
27 #include "SkPictureRecorder.h"
27 #include "SkPictureUtils.h" 28 #include "SkPictureUtils.h"
28 #include "SkPixelRef.h" 29 #include "SkPixelRef.h"
29 #include "SkQuadTree.h"
30 #include "SkQuadTreePicture.h"
31 #include "SkRTreePicture.h"
32 #include "SkScalar.h" 30 #include "SkScalar.h"
33 #include "SkStream.h" 31 #include "SkStream.h"
34 #include "SkString.h" 32 #include "SkString.h"
35 #include "SkTemplates.h" 33 #include "SkTemplates.h"
36 #include "SkTileGridPicture.h"
37 #include "SkTDArray.h" 34 #include "SkTDArray.h"
38 #include "SkThreadUtils.h" 35 #include "SkThreadUtils.h"
39 #include "SkTypes.h" 36 #include "SkTypes.h"
40 37
41 static inline SkScalar scalar_log2(SkScalar x) { 38 static inline SkScalar scalar_log2(SkScalar x) {
42 static const SkScalar log2_conversion_factor = SkScalarDiv(1, SkScalarLog(2) ); 39 static const SkScalar log2_conversion_factor = SkScalarDiv(1, SkScalarLog(2) );
43 40
44 return SkScalarLog(x) * log2_conversion_factor; 41 return SkScalarLog(x) * log2_conversion_factor;
45 } 42 }
46 43
(...skipping 986 matching lines...) Expand 10 before | Expand all | Expand 10 after
1033 virtual SkString getConfigNameInternal() SK_OVERRIDE { 1030 virtual SkString getConfigNameInternal() SK_OVERRIDE {
1034 return SkString("picture_clone"); 1031 return SkString("picture_clone");
1035 } 1032 }
1036 }; 1033 };
1037 1034
1038 PictureRenderer* CreatePictureCloneRenderer() { 1035 PictureRenderer* CreatePictureCloneRenderer() {
1039 return SkNEW(PictureCloneRenderer); 1036 return SkNEW(PictureCloneRenderer);
1040 } 1037 }
1041 1038
1042 } // namespace sk_tools 1039 } // namespace sk_tools
OLDNEW
« no previous file with comments | « tools/PictureRenderer.h ('k') | tools/bench_record.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698