commit | 57599fe6c0336feaeeeb9b1996e77b70219b483c | [log] [tgz] |
---|---|---|
author | bsalomon <bsalomon@google.com> | Thu Feb 25 06:33:26 2016 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Thu Feb 25 06:33:27 2016 -0800 |
tree | 5387b10428f64c8e5e56427b24a589489d746440 | |
parent | ddb347b63c72141378fc8bd25fa40d6dac9fe916 [diff] [blame] |
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
diff --git a/src/gpu/GrTest.cpp b/src/gpu/GrTest.cpp index f082a86..dc14016 100644 --- a/src/gpu/GrTest.cpp +++ b/src/gpu/GrTest.cpp
@@ -74,8 +74,8 @@ desc.fConfig = kRGBA_8888_GrPixelConfig; desc.fSampleCnt = 0; - SkAutoTUnref<GrTexture> texture(this->textureProvider()->createTexture(desc, false, - nullptr, 0)); + SkAutoTUnref<GrTexture> texture(this->textureProvider()->createTexture( + desc, SkBudgeted::kNo, nullptr, 0)); if (nullptr == texture) { return; }