Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(449)

Issue 912243004: Make all SkSurface_* -related devices all have a device (Closed)

Created:
5 years, 10 months ago by Kimmo Kinnunen
Modified:
5 years, 10 months ago
Reviewers:
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@skimage-filters-03-sksurface-set-root-device
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

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

Patch Set 1 #

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

Powered by Google App Engine
This is Rietveld 408576698