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>
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