skia2/src
commit-bot@chromium.org 11c6b39cfa 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.

R=bsalomon@google.com, robertphillips@google.com

Author: cdalton@nvidia.com

Review URL: https://codereview.chromium.org/257093002

git-svn-id: http://skia.googlecode.com/svn/trunk@14576 2bbb7eff-a529-9590-31e7-b0007b416f81
2014-05-05 19:09:13 +00:00
..
animator fix size_t/int warnings 2014-05-04 01:26:19 +00:00
core Remove SkShader virtual method validContext 2014-05-05 18:39:18 +00:00
device/xps Rename SK_DEBUGBREAK to SK_ALWAYSBREAK 2014-04-30 18:24:16 +00:00
doc Fix compilation with SK_ENABLE_INST_COUNT=1 2013-12-05 12:08:12 +00:00
effects Remove SkShader virtual method validContext 2014-05-05 18:39:18 +00:00
fonts Don't unset gFCSafeToUse when it's still safe to use. 2014-04-16 22:10:52 +00:00
gpu Adds a mechanism for GrCacheable objects to notify the resource cache 2014-05-05 19:09:13 +00:00
image Add flag for SkGpuSurface creation to enable distance fields. 2014-05-02 12:39:41 +00:00
images Fast path for blurred round rects -- blur a small 9patch rect on the CPU 2014-04-28 19:49:24 +00:00
lazy SkDiscardableMemoryPool to abstract class 2014-04-04 16:43:38 +00:00
opts Cleanup of SSE optimization files. 2014-04-30 14:58:46 +00:00
pathops Sanitizing source files in Housekeeper-Nightly 2014-05-01 03:04:54 +00:00
pdf fix int/size_t warnings 2014-04-18 19:29:07 +00:00
pipe Fix build: these asserts are always now true, which GCC warns about 2014-04-24 18:45:17 +00:00
ports Add support for kEmbeddedBitmapText_Flag to DirectWrite. 2014-05-01 20:39:14 +00:00
record Backfill unit tests for SkRecord 2014-04-30 13:18:12 +00:00
sfnt Add support for kEmbeddedBitmapText_Flag to DirectWrite. 2014-05-01 20:39:14 +00:00
svg Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
utils remove code behind SK_SUPPORT_LEGACY_PROCXFERMODE 2014-05-01 15:56:52 +00:00
views Revert of Revert of Rename kPMColor_SkColorType to kN32_SkColorType. (https://codereview.chromium.org/234243002/) 2014-04-11 17:15:40 +00:00
xml remove SK_SCALAR_IS_[FLOAT,FIXED] and assume floats 2013-12-17 16:44:46 +00:00