summaryrefslogtreecommitdiff
path: root/skia_for_chromium_defines.gypi
diff options
context:
space:
mode:
authorcommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-05-02 21:38:22 +0000
committercommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-05-02 21:38:22 +0000
commit5558450099591dffc0a241e4c65e878e614c4c53 (patch)
treee2aa339f43175683f00ce0b5c025323c9a1f4a7d /skia_for_chromium_defines.gypi
parentca4311e9500734c101a5d63666fe1a0fbca2c630 (diff)
downloadgyp-5558450099591dffc0a241e4c65e878e614c4c53.tar.gz
Split GrResource into GrCacheable/GrGpuObject
Before this change, an object needed to inherit from GrResource (and thus be a GPU object) in order to live in the GrResourceCache. That was a problem for caching items that weren't GPU objects themselves, but owned GPU objects. This change splits GrResource into two classes: 1. GrCacheable: The base class for objects that can live in the GrResourceCache. 2. GrGpuObject, which inherits from GrCacheable: The base class for objects that get tracked by GrGpu. This change is purely a refactor; there is no change in functionality. Change-Id: I3e8daeb1f123041f414aa306c1366e959ae9e39e BUG=skia: R=bsalomon@google.com Author: cdalton@nvidia.com Review URL: https://codereview.chromium.org/251013002 git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@14553 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'skia_for_chromium_defines.gypi')
0 files changed, 0 insertions, 0 deletions