diff options
author | bsalomon <bsalomon@google.com> | 2016-02-25 08:33:02 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-25 08:33:02 -0800 |
commit | 5ec26ae9bfca635ccc98283aad5deda11519d826 (patch) | |
tree | a95104e6a32178a9e3fd7305ed8ed59a6d0a0102 /bench | |
parent | f7e865a33a14007450259012a3ab7ec4ddc6f5b9 (diff) |
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
Committed: https://skia.googlesource.com/skia/+/57599fe6c0336feaeeeb9b1996e77b70219b483c
CQ_EXTRA_TRYBOTS=client.skia.compile:Build-Ubuntu-GCC-x86_64-Release-CMake-Trybot,Build-Mac-Clang-x86_64-Release-CMake-Trybot
Review URL: https://codereview.chromium.org/1728093005
Diffstat (limited to 'bench')
-rw-r--r-- | bench/nanobench.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp index c7cc3f0239..c463d6afc2 100644 --- a/bench/nanobench.cpp +++ b/bench/nanobench.cpp @@ -185,7 +185,7 @@ struct GPUTarget : public Target { SkSurfaceProps props(flags, SkSurfaceProps::kLegacyFontHost_InitType); this->surface.reset(SkSurface::NewRenderTarget(gGrFactory->get(this->config.ctxType, this->config.ctxOptions), - SkSurface::kNo_Budgeted, info, + SkBudgeted::kNo, info, this->config.samples, &props)); this->gl = gGrFactory->getContextInfo(this->config.ctxType, this->config.ctxOptions).fGLContext; |