diff options
author | Ben Wagner <bungeman@google.com> | 2016-11-03 15:43:44 -0400 |
---|---|---|
committer | Ben Wagner <bungeman@google.com> | 2016-11-03 19:45:29 +0000 |
commit | 12e8dc256dc521c3b1f465726b99fbce3b95728c (patch) | |
tree | 34c346c42e199111dbbfedb0a69c58c69f5f33bb /tools/gpu/GrContextFactory.cpp | |
parent | 7d3028818ec1b6a653da45387ddf0fa01888cdda (diff) |
Fix iOS and Angle builds.
"Remove SkAutoTDelete." did not run trybots on these specific bots.
Change-Id: Ibfa731df387a90a78187b88c75483800981a691c
Reviewed-on: https://skia-review.googlesource.com/4387
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
Diffstat (limited to 'tools/gpu/GrContextFactory.cpp')
-rw-r--r-- | tools/gpu/GrContextFactory.cpp | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/tools/gpu/GrContextFactory.cpp b/tools/gpu/GrContextFactory.cpp index 79489f4590..ffc5295ab2 100644 --- a/tools/gpu/GrContextFactory.cpp +++ b/tools/gpu/GrContextFactory.cpp @@ -118,23 +118,19 @@ ContextInfo GrContextFactory::getContextInfo(ContextType type, ContextOptions op break; #if SK_ANGLE case kANGLE_D3D9_ES2_ContextType: - glCtx = CreateANGLETestContext(ANGLEBackend::kD3D9, ANGLEContextVersion::kES2); + glCtx = MakeANGLETestContext(ANGLEBackend::kD3D9, ANGLEContextVersion::kES2).release(); break; case kANGLE_D3D11_ES2_ContextType: - glCtx = CreateANGLETestContext(ANGLEBackend::kD3D11, - ANGLEContextVersion::kES2); + glCtx = MakeANGLETestContext(ANGLEBackend::kD3D11, ANGLEContextVersion::kES2).release(); break; case kANGLE_D3D11_ES3_ContextType: - glCtx = CreateANGLETestContext(ANGLEBackend::kD3D11, - ANGLEContextVersion::kES3); + glCtx = MakeANGLETestContext(ANGLEBackend::kD3D11, ANGLEContextVersion::kES3).release(); break; case kANGLE_GL_ES2_ContextType: - glCtx = CreateANGLETestContext(ANGLEBackend::kOpenGL, - ANGLEContextVersion::kES2); + glCtx = MakeANGLETestContext(ANGLEBackend::kOpenGL, ANGLEContextVersion::kES2).release(); break; case kANGLE_GL_ES3_ContextType: - glCtx = CreateANGLETestContext(ANGLEBackend::kOpenGL, - ANGLEContextVersion::kES3); + glCtx = MakeANGLETestContext(ANGLEBackend::kOpenGL, ANGLEContextVersion::kES3).release(); break; #endif case kCommandBuffer_ContextType: |