|
Extend SkImageGenerator to support natively generated GrTextures. As part of this, added uniqueID() to the generator, and made it be in the same namespace is bitmaps, pixelrefs, images.
To do this, create SkImageCacherator, which wraps a generator and provides an
interface to get a cached answer for either the raster or texture output of
the generator.
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/8f34372f7e97482e5e61ab298b7edaa008ba2f4c
Total comments: 20
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+477 lines, -11 lines) |
Patch |
|
M |
gm/image_pict.cpp
|
View
|
1
2
3
4
5
|
2 chunks |
+90 lines, -0 lines |
0 comments
|
Download
|
|
M |
gyp/core.gypi
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
include/core/SkImageGenerator.h
|
View
|
1
|
5 chunks |
+32 lines, -1 line |
0 comments
|
Download
|
|
M |
include/core/SkImageInfo.h
|
View
|
1
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
|
M |
include/core/SkPixelRef.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
include/gpu/SkGr.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
A |
src/core/SkImageCacherator.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+51 lines, -0 lines |
0 comments
|
Download
|
|
A |
src/core/SkImageCacherator.cpp
|
View
|
1
2
3
4
|
1 chunk |
+144 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/core/SkImageGenerator.cpp
|
View
|
1
|
2 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/core/SkPictureImageGenerator.cpp
|
View
|
1
|
3 chunks |
+29 lines, -1 line |
0 comments
|
Download
|
|
M |
src/gpu/SkGr.cpp
|
View
|
1
2
3
4
5
6
|
3 chunks |
+67 lines, -9 lines |
0 comments
|
Download
|
|
A |
src/gpu/SkGrPriv.h
|
View
|
1
|
1 chunk |
+32 lines, -0 lines |
0 comments
|
Download
|
Total messages: 30 (11 generated)
|