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

Side by Side Diff: cc/tiles/image_decode_cache.h

Issue 2748263002: Move cc::DisplayItemList and related classes into cc/paint/ (Closed)
Patch Set: Merge branch 'master' into ccpaint Created 3 years, 9 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 | « cc/tiles/image_controller.h ('k') | cc/tiles/mipmap_util.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 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_TILES_IMAGE_DECODE_CACHE_H_ 5 #ifndef CC_TILES_IMAGE_DECODE_CACHE_H_
6 #define CC_TILES_IMAGE_DECODE_CACHE_H_ 6 #define CC_TILES_IMAGE_DECODE_CACHE_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "cc/playback/decoded_draw_image.h" 9 #include "cc/paint/draw_image.h"
10 #include "cc/playback/draw_image.h" 10 #include "cc/tiles/decoded_draw_image.h"
11 #include "cc/tiles/tile_priority.h" 11 #include "cc/tiles/tile_priority.h"
12 12
13 namespace cc { 13 namespace cc {
14 14
15 class TileTask; 15 class TileTask;
16 16
17 // ImageDecodeCache is responsible for generating decode tasks, decoding 17 // ImageDecodeCache is responsible for generating decode tasks, decoding
18 // images, storing images in cache, and being able to return the decoded images 18 // images, storing images in cache, and being able to return the decoded images
19 // when requested. 19 // when requested.
20 20
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 91
92 // This function informs the cache that we are hidden and should not be 92 // This function informs the cache that we are hidden and should not be
93 // retaining cached resources longer than needed. 93 // retaining cached resources longer than needed.
94 virtual void SetShouldAggressivelyFreeResources( 94 virtual void SetShouldAggressivelyFreeResources(
95 bool aggressively_free_resources) = 0; 95 bool aggressively_free_resources) = 0;
96 }; 96 };
97 97
98 } // namespace cc 98 } // namespace cc
99 99
100 #endif // CC_TILES_IMAGE_DECODE_CACHE_H_ 100 #endif // CC_TILES_IMAGE_DECODE_CACHE_H_
OLDNEW
« no previous file with comments | « cc/tiles/image_controller.h ('k') | cc/tiles/mipmap_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698