diff options
Diffstat (limited to 'tests/FloatingPointTextureTest.cpp')
-rw-r--r-- | tests/FloatingPointTextureTest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/FloatingPointTextureTest.cpp b/tests/FloatingPointTextureTest.cpp index 95c27f2339..fe347d2ce6 100644 --- a/tests/FloatingPointTextureTest.cpp +++ b/tests/FloatingPointTextureTest.cpp @@ -18,7 +18,7 @@ #if SK_SUPPORT_GPU #include "GrContext.h" #include "GrContextPriv.h" -#include "GrResourceProvider.h" +#include "GrProxyProvider.h" #include "GrTextureProxy.h" #include "SkHalf.h" @@ -52,9 +52,9 @@ void runFPTest(skiatest::Reporter* reporter, GrContext* context, desc.fWidth = DEV_W; desc.fHeight = DEV_H; desc.fConfig = config; - sk_sp<GrTextureProxy> fpProxy = GrSurfaceProxy::MakeDeferred(proxyProvider, - desc, SkBudgeted::kNo, - controlPixelData.begin(), 0); + + sk_sp<GrTextureProxy> fpProxy = proxyProvider->createTextureProxy( + desc, SkBudgeted::kNo, controlPixelData.begin(), 0); // Floating point textures are NOT supported everywhere if (!fpProxy) { continue; |