|
Add caching of the snapshot image form a surface
Notify the surface when the canvas draws into it, so it can invalidate the
cached image, and (if needed) perform a copy-on-write on the surface if it
was being shared with the image.
Committed: https://code.google.com/p/skia/source/detail?r=5306
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+220 lines, -34 lines) |
Patch |
|
M |
gm/image.cpp
|
View
|
1
2
|
2 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
|
M |
gyp/core.gyp
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
1 comment
|
Download
|
|
M |
gyp/core.gypi
|
View
|
1
2
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
gyp/gmslides.gypi
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
include/core/SkCanvas.h
|
View
|
1
2
|
3 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
|
M |
include/core/SkDevice.h
|
View
|
1
2
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
include/core/SkImage.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
include/core/SkSurface.h
|
View
|
1
2
|
3 chunks |
+10 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/core/SkCanvas.cpp
|
View
|
1
2
|
6 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/core/SkDevice.cpp
|
View
|
1
2
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/core/SkPictureRecord.h
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/image/SkImage.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/image/SkImagePriv.h
|
View
|
1
2
|
2 chunks |
+15 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/image/SkImagePriv.cpp
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/image/SkImage_Raster.cpp
|
View
|
1
2
|
3 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/image/SkSurface.cpp
|
View
|
1
2
|
3 chunks |
+80 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/image/SkSurface_Base.h
|
View
|
1
2
|
1 chunk |
+19 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/image/SkSurface_Raster.cpp
|
View
|
1
2
|
4 chunks |
+20 lines, -8 lines |
0 comments
|
Download
|
Total messages: 4
|