aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2016-05-06 07:55:19 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-05-06 07:55:20 -0700
commit524484b143e472b3b6bdc8fd7812635f509071a9 (patch)
treea640f1f8d127a144b47d4ee08878210fb055805d /include/gpu
parentebbdfe63a9643faa403f33282da9921427ca91eb (diff)
Revert of Retract GrRenderTarget a bit within SkGpuDevice (patchset #2 id:20001 of https://codereview.chromium.org/1956473002/ )
Reason for revert: Experimental revert to track down perf regression Original issue's description: > 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 TBR=bsalomon@google.com # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review-Url: https://codereview.chromium.org/1954103002
Diffstat (limited to 'include/gpu')
-rw-r--r--include/gpu/GrDrawContext.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/gpu/GrDrawContext.h b/include/gpu/GrDrawContext.h
index 699bf49a2a..7bb9aafc78 100644
--- a/include/gpu/GrDrawContext.h
+++ b/include/gpu/GrDrawContext.h
@@ -273,7 +273,6 @@ public:
*/
void drawPathBatch(const GrPipelineBuilder&, GrDrawPathBatchBase*);
- 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(); }