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

Side by Side Diff: tests/ResourceCacheTest.cpp

Issue 1377943003: Remove separate cache for clip mask textures (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 2 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 | « tests/ClipCacheTest.cpp ('k') | no next file » | 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 here to ensure SK_SUPPORT_GPU is set correctly before it is examined. 8 // Include here to ensure SK_SUPPORT_GPU is set correctly before it is examined.
9 #include "SkTypes.h" 9 #include "SkTypes.h"
10 10
11 #if SK_SUPPORT_GPU 11 #if SK_SUPPORT_GPU
12 12
13 #include "GrContext.h" 13 #include "GrContext.h"
14 #include "GrContextFactory.h" 14 #include "GrContextFactory.h"
15 #include "GrGpu.h" 15 #include "GrGpu.h"
16 #include "GrGpuResourceCacheAccess.h" 16 #include "GrGpuResourceCacheAccess.h"
17 #include "GrGpuResourcePriv.h" 17 #include "GrGpuResourcePriv.h"
18 #include "GrRenderTarget.h" 18 #include "GrRenderTarget.h"
19 #include "GrRenderTargetPriv.h" 19 #include "GrRenderTargetPriv.h"
20 #include "GrResourceCache.h" 20 #include "GrResourceCache.h"
21 #include "GrResourceProvider.h"
21 #include "GrTest.h" 22 #include "GrTest.h"
22 #include "SkCanvas.h" 23 #include "SkCanvas.h"
23 #include "SkGr.h" 24 #include "SkGr.h"
24 #include "SkMessageBus.h" 25 #include "SkMessageBus.h"
25 #include "SkSurface.h" 26 #include "SkSurface.h"
26 #include "Test.h" 27 #include "Test.h"
27 28
28 static const int gWidth = 640; 29 static const int gWidth = 640;
29 static const int gHeight = 480; 30 static const int gHeight = 480;
30 31
(...skipping 1288 matching lines...) Expand 10 before | Expand all | Expand 10 after
1319 test_cache_chained_purge(reporter); 1320 test_cache_chained_purge(reporter);
1320 test_resource_size_changed(reporter); 1321 test_resource_size_changed(reporter);
1321 test_timestamp_wrap(reporter); 1322 test_timestamp_wrap(reporter);
1322 test_flush(reporter); 1323 test_flush(reporter);
1323 test_large_resource_count(reporter); 1324 test_large_resource_count(reporter);
1324 test_custom_data(reporter); 1325 test_custom_data(reporter);
1325 test_abandoned(reporter); 1326 test_abandoned(reporter);
1326 } 1327 }
1327 1328
1328 #endif 1329 #endif
OLDNEW
« no previous file with comments | « tests/ClipCacheTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698