|
Make all SkSurface_* -related devices all have a device
Make all devices created out of an initial SkSurface_{Gpu,Raster}
surface have a surface of their own.
This works towards a scenario whree all devices would have a surface.
This would enable Skia to use the SkImage snapshot facility of
SkSurface.
WIP: does not work yet.
BUG= skia:3388
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+264 lines, -89 lines) |
Patch |
 |
M |
include/core/SkBitmapDevice.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
include/core/SkCanvas.h
|
View
|
|
4 chunks |
+6 lines, -16 lines |
0 comments
|
Download
|
 |
M |
include/core/SkDevice.h
|
View
|
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/core/SkCanvas.cpp
|
View
|
|
5 chunks |
+2 lines, -15 lines |
0 comments
|
Download
|
 |
M |
src/core/SkPictureRecord.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/gpu/SkGpuDevice.h
|
View
|
|
5 chunks |
+9 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/gpu/SkGpuDevice.cpp
|
View
|
|
6 chunks |
+33 lines, -27 lines |
0 comments
|
Download
|
 |
M |
src/image/SkSurface.cpp
|
View
|
|
3 chunks |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
src/image/SkSurface_Base.h
|
View
|
|
2 chunks |
+2 lines, -7 lines |
0 comments
|
Download
|
 |
M |
src/image/SkSurface_Gpu.h
|
View
|
|
2 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/image/SkSurface_Gpu.cpp
|
View
|
|
2 chunks |
+55 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/image/SkSurface_Raster.cpp
|
View
|
|
6 chunks |
+134 lines, -10 lines |
0 comments
|
Download
|
|