Mv DRRect drawing code from GrDrawContext into SkGpuDevice
authorrobertphillips <robertphillips@google.com>
Thu, 25 Feb 2016 17:28:08 +0000 (09:28 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 25 Feb 2016 17:28:08 +0000 (09:28 -0800)
commitd77061067af664a158058771189d152a30acd59a
treec8f601a2ee701641947c6c9cacdc671a04bba35e
parent24dd687ac5f7afb44d593d793180f115f7c68b68
Mv DRRect drawing code from GrDrawContext into SkGpuDevice

This is a TODO left over from https://codereview.chromium.org/1731413002/ (Hide GrDrawTarget from GrOvalRenderer). It is desireable since the GrDrawContext doesn't, in general, manipulate GrFragmentProcessors.

GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1733993003

Review URL: https://codereview.chromium.org/1733993003
include/gpu/GrDrawContext.h
src/gpu/GrDrawContext.cpp
src/gpu/SkGpuDevice.cpp
src/gpu/SkGpuDevice.h