aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2015-09-10 14:33:38 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-09-10 14:33:38 -0700
commit85d9178832f4a64c9d80ffb14cb9dab4fe0fa54a (patch)
tree809af195b135b0118ce2e6b9f060bdf2f5dfbfbc /gyp
parente70afc9f48d00828ee6b707899a8ff542b0e8b98 (diff)
Use SkImageCacherator in SkImages
Possible follow-up changes to consider 1. Roll SkImage_Raster and _Gpu into _Generator, where the generator (or cacherator) is backed by a pre-existing texture or raster. 2. Evolve SkImageUsageType into a verb requiring stretching, and have the caller (common code) digest the caps() and usage, so that subclasses are just told what to do (stretch or not) 3. Common code/utility to convert an unstretched texture into a stretch one (and cache it) if the generator can only make an unstretched one. BUG=skia: Review URL: https://codereview.chromium.org/1282363002
Diffstat (limited to 'gyp')
-rw-r--r--gyp/core.gypi1
1 files changed, 1 insertions, 0 deletions
diff --git a/gyp/core.gypi b/gyp/core.gypi
index badd3217b6..799266b944 100644
--- a/gyp/core.gypi
+++ b/gyp/core.gypi
@@ -249,6 +249,7 @@
'<(skia_src_path)/doc/SkDocument.cpp',
'<(skia_src_path)/image/SkImage.cpp',
+ '<(skia_src_path)/image/SkImage_Generator.cpp',
# '<(skia_src_path)/image/SkImage_Gpu.cpp',
'<(skia_src_path)/image/SkImage_Raster.cpp',
'<(skia_src_path)/image/SkSurface.cpp',