aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/shaders/gradients
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2017-09-21 13:46:28 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-09-21 18:33:23 +0000
commit65e706379657d64371012c2e95ccf1354d741145 (patch)
treef8ebde9cb13b844bc6d852fb54823c92e6aed1a9 /src/shaders/gradients
parentebf648e57afa0484b4665b2c945331e1af0dfb83 (diff)
Don't call GrBuffer::map() in createPatternedIndexBuffer.
TSAN doesn't seem to be understanding that the memory coming back from GrBuffer::map() is a new allocation. Using AnnotateNewMemory() to tell TSAN didn't seem to help. This also appears to fix a memory leak if buffer->updateData() fails when useTempData was true. Not sure if that ever really happens? Bug: skia:7058 Change-Id: I0a2786fa2c59e14c322ec5acc8cd26436c5a9477 Reviewed-on: https://skia-review.googlesource.com/49743 Commit-Queue: Mike Klein <mtklein@chromium.org> Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/shaders/gradients')
0 files changed, 0 insertions, 0 deletions