| commit | 7c334de50080b67c0a34a1dbb31f622e6fa45d42 | [log] [tgz] |
|---|---|---|
| author | [email protected] <[email protected]@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon May 05 19:09:13 2014 +0000 |
| committer | [email protected] <[email protected]@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon May 05 19:09:13 2014 +0000 |
| tree | ac6eacf3a7ec97664d4710e742cc9a4068631291 | |
| parent | 08a3eed60c27d0ab0e3059769a4b3470435bd348 [diff] |
Adds a mechanism for GrCacheable objects to notify the resource cache when their size has changed. GrResourceCacheEntry now holds a reference to the cache, and a cached value of the resource's most recent size. Also utilizes this new functionality for mipmaps, and adds a test for changing resource sizes. [email protected], [email protected] Author: [email protected] Review URL: https://codereview.chromium.org/257093002 git-svn-id: http://skia.googlecode.com/svn/trunk/include@14576 2bbb7eff-a529-9590-31e7-b0007b416f81