Move prepareForExternalIO from GrRenderTarget to GrDrawContext
authorrobertphillips <robertphillips@google.com>
Tue, 26 Jul 2016 14:41:00 +0000 (07:41 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 26 Jul 2016 14:41:01 +0000 (07:41 -0700)
commit8c523e0f3ffa66eefd70f893e9f863b7d9ea3dc9
tree61e58c77c2a45ab9e5ff0c4d6b9af872d42e0baa
parent707bbd622b425d5edc96f06580d5ddd3d9cbeb3e
Move prepareForExternalIO from GrRenderTarget to GrDrawContext

This is part of the push to remove GrRenderTarget from SkGpuDevice

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

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