Add read/write-Pixels to GrDrawContext
authorrobertphillips <robertphillips@google.com>
Wed, 31 Aug 2016 21:54:15 +0000 (14:54 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 31 Aug 2016 21:54:15 +0000 (14:54 -0700)
commit1da3ecd07836a72c9225c896d2516625906b4bda
tree98e9aa5df3644d7ab383cd89b168a95650ea4719
parent30b9fdd6a1d607bde20c793af65b5e2e8a1737ca
Add read/write-Pixels to GrDrawContext

Although not absolutely required this does remove another case where the drawContext's backing store is accessed.

Broken out of: https://codereview.chromium.org/2215323003/ (Start using RenderTargetProxy (omnibus))

GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2298253002

Review-Url: https://codereview.chromium.org/2298253002
include/gpu/GrDrawContext.h
src/gpu/GrDrawContext.cpp
src/gpu/SkGpuDevice.cpp