commit | 3502c5cc736f131674147ed19f1942f83f5fb9a4 | [log] [tgz] |
---|---|---|
author | Herb Derby <herb@google.com> | Mon Nov 21 12:09:27 2016 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Mon Nov 21 17:41:43 2016 +0000 |
tree | e8b69a6e0aca1413ecf299b7e40ad34cd81ab928 | |
parent | 9e1138d56665d13641f8805cd72ae81adc255f79 [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>