diff options
author | 2016-05-04 12:47:41 -0700 | |
---|---|---|
committer | 2016-05-04 12:47:41 -0700 | |
commit | 76948d4faaca9fd7730576e2f79790ca8d93c10b (patch) | |
tree | 702a78ad811ecb9ab0f96d07eee64ecdf8191bd1 /include/gpu/GrContext.h | |
parent | c4025189d31efcb0d54bf14b7712b38725f86c13 (diff) |
Add Gr*Proxy classes
This isn't wired in anywhere yet.
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1937553002
Committed: https://skia.googlesource.com/skia/+/de5bf0cfeca908b81a28cc50065f7bc2da3d2fd1
Committed: https://skia.googlesource.com/skia/+/92605b35efa0155c44d24bd8415b4cc1db8831db
Review-Url: https://codereview.chromium.org/1937553002
Diffstat (limited to 'include/gpu/GrContext.h')
-rw-r--r-- | include/gpu/GrContext.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h index cb407aa5bf..6f5ca981e5 100644 --- a/include/gpu/GrContext.h +++ b/include/gpu/GrContext.h @@ -194,16 +194,11 @@ public: */ sk_sp<GrDrawContext> drawContext(sk_sp<GrRenderTarget> rt, const SkSurfaceProps* = nullptr); - enum BackingFit { - kTight_BackingFit, - kLoose_BackingFit - }; - /** * Create both a GrRenderTarget and a matching GrDrawContext to wrap it. * The created GrRenderTarget will always be budgeted. */ - sk_sp<GrDrawContext> newDrawContext(BackingFit fit, + sk_sp<GrDrawContext> newDrawContext(SkBackingFit fit, int width, int height, GrPixelConfig config, int sampleCnt = 0, |