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

Side by Side Diff: tests/CachedDecodingPixelRefTest.cpp

Issue 145313004: Cleanup: Sanitize the order of includes under tests/ (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: more two fixes Created 6 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 | Annotate | Revision Log
« no previous file with comments | « tests/BlitRowTest.cpp ('k') | tests/CanvasStateTest.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 2013 Google Inc. 2 * Copyright 2013 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 "SkBitmap.h" 8 #include "SkBitmap.h"
9 #include "SkCachingPixelRef.h"
9 #include "SkCanvas.h" 10 #include "SkCanvas.h"
10 #include "SkData.h" 11 #include "SkData.h"
11 #include "SkDecodingImageGenerator.h" 12 #include "SkDecodingImageGenerator.h"
12 #include "SkDiscardableMemoryPool.h" 13 #include "SkDiscardableMemoryPool.h"
13 #include "SkImageDecoder.h" 14 #include "SkImageDecoder.h"
14 #include "SkCachingPixelRef.h"
15 #include "SkScaledImageCache.h" 15 #include "SkScaledImageCache.h"
16 #include "SkStream.h" 16 #include "SkStream.h"
17 #include "SkUtils.h" 17 #include "SkUtils.h"
18 18
19 #include "Test.h" 19 #include "Test.h"
20 20
21 /** 21 /**
22 * Fill this bitmap with some color. 22 * Fill this bitmap with some color.
23 */ 23 */
24 static void make_test_image(SkBitmap* bm) { 24 static void make_test_image(SkBitmap* bm) {
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 314
315 SkDiscardableMemoryPool* globalPool = SkGetGlobalDiscardableMemoryPool(); 315 SkDiscardableMemoryPool* globalPool = SkGetGlobalDiscardableMemoryPool();
316 // Only acts differently from NULL on a platform that has a 316 // Only acts differently from NULL on a platform that has a
317 // default discardable memory implementation that differs from the 317 // default discardable memory implementation that differs from the
318 // global DM pool. 318 // global DM pool.
319 check_pixelref(TestImageGenerator::kFailGetPixels_TestType, 319 check_pixelref(TestImageGenerator::kFailGetPixels_TestType,
320 reporter, kSkDiscardable_PixelRefType, globalPool); 320 reporter, kSkDiscardable_PixelRefType, globalPool);
321 check_pixelref(TestImageGenerator::kSucceedGetPixels_TestType, 321 check_pixelref(TestImageGenerator::kSucceedGetPixels_TestType,
322 reporter, kSkDiscardable_PixelRefType, globalPool); 322 reporter, kSkDiscardable_PixelRefType, globalPool);
323 } 323 }
OLDNEW
« no previous file with comments | « tests/BlitRowTest.cpp ('k') | tests/CanvasStateTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698