diff options
author | Brian Osman <brianosman@google.com> | 2017-05-16 13:30:11 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-05-16 21:10:13 +0000 |
commit | 0eb4ecb88532494e32521bdcc60aa98c25089923 (patch) | |
tree | 0e94f50757c13aa4cf6b27f32702203832eb472c /src | |
parent | eb99bfd8588269c3d0bc9fc23d07643a2039994b (diff) |
Remove Windows Intel blacklisting of cross context texture
The new version of this feature creates and destroys textures
on the same context, so shouldn't encounter the bug.
Bug: skia:
Change-Id: I5ace8fd066b0198e075a53742875554637fde553
Reviewed-on: https://skia-review.googlesource.com/17101
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/gpu/gl/GrGLCaps.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp index 232c013f11..49274d7498 100644 --- a/src/gpu/gl/GrGLCaps.cpp +++ b/src/gpu/gl/GrGLCaps.cpp @@ -548,14 +548,8 @@ void GrGLCaps::init(const GrContextOptions& contextOptions, fFenceSyncSupport = true; } - // Safely moving textures between contexts requires fences. The Windows Intel driver has a - // bug with deleting and reusing texture IDs across contexts, so disallow this feature. + // Safely moving textures between contexts requires fences. fCrossContextTextureSupport = fFenceSyncSupport; -#ifdef SK_BUILD_FOR_WIN - if (kIntel_GrGLVendor == ctxInfo.vendor()) { - fCrossContextTextureSupport = false; - } -#endif // We support manual mip-map generation (via iterative downsampling draw calls). This fixes // bugs on some cards/drivers that produce incorrect mip-maps for sRGB textures when using |