diff options
author | 2016-05-13 11:20:46 -0700 | |
---|---|---|
committer | 2016-05-13 11:20:46 -0700 | |
commit | e576874b162f8c66aa6c2e06cb6bc459ccd8b6f9 (patch) | |
tree | 8ce401f7abec406f202f01ceedbdaf6af71e77b4 /include/gpu/GrDrawContext.h | |
parent | 846c051a4800b3cea341a0195db24297d6d9047f (diff) |
Retract GrRenderTarget a bit within SkGpuDevice
Split off of: https://codereview.chromium.org/1930013002/ ((Mostly) Retract GrRenderTarget from SkGpuDevice)
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1956473002
Committed: https://skia.googlesource.com/skia/+/d215a95882485026d176a81bf58871276b21c89c
Review-Url: https://codereview.chromium.org/1956473002
Diffstat (limited to 'include/gpu/GrDrawContext.h')
-rw-r--r-- | include/gpu/GrDrawContext.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/gpu/GrDrawContext.h b/include/gpu/GrDrawContext.h index 04b03d4b60..1ffa987f8a 100644 --- a/include/gpu/GrDrawContext.h +++ b/include/gpu/GrDrawContext.h @@ -258,6 +258,7 @@ public: */ void drawBatch(const GrClip&, const GrPaint&, GrDrawBatch*); + const GrSurfaceDesc& desc() const { return fRenderTarget->desc(); } int width() const { return fRenderTarget->width(); } int height() const { return fRenderTarget->height(); } int numColorSamples() const { return fRenderTarget->numColorSamples(); } |