diff options
author | robertphillips <robertphillips@google.com> | 2016-07-21 07:17:54 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-07-21 07:17:54 -0700 |
commit | 1f3923e4e5bf9afb9e52a15ced30e3854af73f7b (patch) | |
tree | b3d9484a73598754f40e74b67971f49e32b44a23 /src/image | |
parent | afbf71dd924c7bb46ccdac49e7408b4b088563ff (diff) |
Deprecate SkDevice::accessBitmap method
Relies on https://codereview.chromium.org/2162423003/ (Add SK_SUPPORT_LEGACY_ACCESSBITMAP Skia guard) landing in Chromium first.
Calved off: https://codereview.chromium.org/2163323002/ (Add desired width & height to drawContext (as opposed to using the width & height of the RT))
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2168483003
Review-Url: https://codereview.chromium.org/2168483003
Diffstat (limited to 'src/image')
-rw-r--r-- | src/image/SkSurface_Gpu.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/image/SkSurface_Gpu.cpp b/src/image/SkSurface_Gpu.cpp index fa3781476f..8d5601d01c 100644 --- a/src/image/SkSurface_Gpu.cpp +++ b/src/image/SkSurface_Gpu.cpp @@ -34,8 +34,6 @@ static GrRenderTarget* prepare_rt_for_external_access(SkSurface_Gpu* surface, case SkSurface::kDiscardWrite_BackendHandleAccess: // for now we don't special-case on Discard, but we may in the future. surface->notifyContentWillChange(SkSurface::kRetain_ContentChangeMode); - // legacy: need to dirty the bitmap's genID in our device (curse it) - surface->getDevice()->accessBitmap(false).notifyPixelsChanged(); break; } |