Index: tests/GLProgramsTest.cpp |
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp |
index 7440608d773b5f940e5206e6c4540ceb9872bcd7..81d1013dd0104775a937408f0978d38cae105885 100644 |
--- a/tests/GLProgramsTest.cpp |
+++ b/tests/GLProgramsTest.cpp |
@@ -170,7 +170,7 @@ |
GrTexture* texture = textureProvider->findAndRefTextureByUniqueKey(key); |
if (!texture) { |
- texture = textureProvider->createTexture(texDesc, SkBudgeted::kYes); |
+ texture = textureProvider->createTexture(texDesc, true); |
if (texture) { |
textureProvider->assignUniqueKeyToTexture(key, texture); |
} |
@@ -310,13 +310,13 @@ |
dummyDesc.fWidth = 34; |
dummyDesc.fHeight = 18; |
SkAutoTUnref<GrTexture> dummyTexture1( |
- context->textureProvider()->createTexture(dummyDesc, SkBudgeted::kNo, nullptr, 0)); |
+ context->textureProvider()->createTexture(dummyDesc, false, nullptr, 0)); |
dummyDesc.fFlags = kNone_GrSurfaceFlags; |
dummyDesc.fConfig = kAlpha_8_GrPixelConfig; |
dummyDesc.fWidth = 16; |
dummyDesc.fHeight = 22; |
SkAutoTUnref<GrTexture> dummyTexture2( |
- context->textureProvider()->createTexture(dummyDesc, SkBudgeted::kNo, nullptr, 0)); |
+ context->textureProvider()->createTexture(dummyDesc, false, nullptr, 0)); |
if (!dummyTexture1 || ! dummyTexture2) { |
SkDebugf("Could not allocate dummy textures"); |
@@ -373,7 +373,7 @@ |
rtDesc.fFlags = kRenderTarget_GrSurfaceFlag; |
rtDesc.fConfig = kRGBA_8888_GrPixelConfig; |
SkAutoTUnref<GrRenderTarget> rt( |
- context->textureProvider()->createTexture(rtDesc, SkBudgeted::kNo)->asRenderTarget()); |
+ context->textureProvider()->createTexture(rtDesc, false)->asRenderTarget()); |
int fpFactoryCnt = GrProcessorTestFactory<GrFragmentProcessor>::Count(); |
for (int i = 0; i < fpFactoryCnt; ++i) { |
// Since FP factories internally randomize, call each 10 times. |