From 4e7cdd5a0052aa76bed6f80ec325be19e09e6ab1 Mon Sep 17 00:00:00 2001 From: Brian Salomon Date: Mon, 9 Oct 2017 15:18:31 +0000 Subject: Revert "Disable GL buffer mapping on TSAN/Mac." This reverts commit c203e65265ccf0dcf426eafa4fae97b2b99cba7d. Reason for revert: Original change's description: > Disable GL buffer mapping on TSAN/Mac. > > Also reverts 65e706379657d64371012c2e95ccf1354d741145 which disabled buffer mapping in GrResourceProvider::createPatternedIndexBuffer. > > Bug: skia:7058 > Change-Id: I6816abe53251e1cd8e92eae41b8cdbe45218a341 > Reviewed-on: https://skia-review.googlesource.com/50100 > Reviewed-by: Robert Phillips > Commit-Queue: Brian Salomon TBR=mtklein@google.com,bsalomon@google.com,robertphillips@google.com Change-Id: Icf0cf40ba4d6e7081971eee2eea0a41033790df7 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: skia:7058 Reviewed-on: https://skia-review.googlesource.com/57220 Reviewed-by: Brian Salomon Commit-Queue: Brian Salomon --- tests/TransferPixelsTest.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tests/TransferPixelsTest.cpp') diff --git a/tests/TransferPixelsTest.cpp b/tests/TransferPixelsTest.cpp index b59495f0f5..722707ae9b 100755 --- a/tests/TransferPixelsTest.cpp +++ b/tests/TransferPixelsTest.cpp @@ -64,10 +64,6 @@ bool does_full_buffer_contain_correct_values(GrColor* srcBuffer, void basic_transfer_test(skiatest::Reporter* reporter, GrContext* context, GrPixelConfig config, GrSurfaceOrigin origin, bool renderTarget) { - if (GrCaps::kNone_MapFlags == context->caps()->mapBufferFlags()) { - return; - } - // set up the data const int kTextureWidth = 16; const int kTextureHeight = 16; -- cgit v1.2.3