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 /tests/FloatingPointTextureTest.cpp | |
| parent | ddb347b63c72141378fc8bd25fa40d6dac9fe916 (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
Review URL: https://codereview.chromium.org/1728093005
Diffstat (limited to 'tests/FloatingPointTextureTest.cpp')
| -rw-r--r-- | tests/FloatingPointTextureTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/FloatingPointTextureTest.cpp b/tests/FloatingPointTextureTest.cpp index 04f73c7cd9..3a8d63cae9 100644 --- a/tests/FloatingPointTextureTest.cpp +++ b/tests/FloatingPointTextureTest.cpp @@ -46,7 +46,7 @@ void runFPTest(skiatest::Reporter* reporter, GrContext* context, desc.fOrigin = 0 == origin ? kTopLeft_GrSurfaceOrigin : kBottomLeft_GrSurfaceOrigin; SkAutoTUnref<GrTexture> fpTexture(context->textureProvider()->createTexture( - desc, false, controlPixelData.begin(), 0)); + desc, SkBudgeted::kNo, controlPixelData.begin(), 0)); // Floating point textures are NOT supported everywhere if (nullptr == fpTexture) { continue; |
