diff options
author | bsalomon <bsalomon@google.com> | 2016-02-25 06:33:26 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-25 06:33:27 -0800 |
commit | 57599fe6c0336feaeeeb9b1996e77b70219b483c (patch) | |
tree | 5387b10428f64c8e5e56427b24a589489d746440 /gm/dftext.cpp | |
parent | ddb347b63c72141378fc8bd25fa40d6dac9fe916 (diff) | |
download | platform_external_skqp-57599fe6c0336feaeeeb9b1996e77b70219b483c.tar.gz platform_external_skqp-57599fe6c0336feaeeeb9b1996e77b70219b483c.tar.bz2 platform_external_skqp-57599fe6c0336feaeeeb9b1996e77b70219b483c.zip |
Move Budgeted enum out of SkSurface, use in GrTextureProvider
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1728093005
DOCS_PREVIEW= https://skia.org/?cl=1728093005
Review URL: https://codereview.chromium.org/1728093005
Diffstat (limited to 'gm/dftext.cpp')
-rw-r--r-- | gm/dftext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/dftext.cpp b/gm/dftext.cpp index 78b15989e5..cccca3863d 100644 --- a/gm/dftext.cpp +++ b/gm/dftext.cpp @@ -51,7 +51,7 @@ protected: SkImageInfo info = SkImageInfo::MakeN32Premul(onISize()); SkSurfaceProps props(SkSurfaceProps::kUseDeviceIndependentFonts_Flag, SkSurfaceProps::kLegacyFontHost_InitType); - SkAutoTUnref<SkSurface> surface(SkSurface::NewRenderTarget(ctx, SkSurface::kNo_Budgeted, + SkAutoTUnref<SkSurface> surface(SkSurface::NewRenderTarget(ctx, SkBudgeted::kNo, info, 0, &props)); SkCanvas* canvas = surface.get() ? surface->getCanvas() : inputCanvas; // init our new canvas with the old canvas's matrix |