aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkTextBlobRunIterator.h
diff options
context:
space:
mode:
authorGravatar Herb Derby <herb@google.com>2016-11-21 12:09:27 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-11-21 17:41:43 +0000
commit3502c5cc736f131674147ed19f1942f83f5fb9a4 (patch)
treee8b69a6e0aca1413ecf299b7e40ad34cd81ab928 /src/core/SkTextBlobRunIterator.h
parent9e1138d56665d13641f8805cd72ae81adc255f79 (diff)
Use ptr diff to encode function and padding.
This drops allocation overhead from 16 bytes down to 4 bytes. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=5066 CQ_INCLUDE_TRYBOTS=master.client.skia:Test-Win8-MSVC-ShuttleB-GPU-HD4600-x86_64-Debug-Trybot;master.client.skia:Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Debug-GN-Trybot Change-Id: Id4665fd914dfb679996cefaf36fce6ef225fafb5 Reviewed-on: https://skia-review.googlesource.com/5066 Reviewed-by: Mike Klein <mtklein@chromium.org> Commit-Queue: Herb Derby <herb@google.com>
Diffstat (limited to 'src/core/SkTextBlobRunIterator.h')
0 files changed, 0 insertions, 0 deletions