diff options
author | Brian Osman <brianosman@google.com> | 2017-08-16 15:14:59 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-08-16 19:35:25 +0000 |
commit | 6269f71f7fe3a9fcbcece7ec2668fc3fcbb71732 (patch) | |
tree | e2cd2bf6c630a1f9935da3f25c393f54a85193d3 /tests/ParsePathTest.cpp | |
parent | a71e2ef4120dfcf318cbfdb56dea8509cd1d7512 (diff) |
Cache WGL extension function pointers
These took about 20 ms to look up, and we were doing so at least twice per
sink. On my desktop windows machine, this saves 25 seconds when running
dm --config gl --src gm
Actual times dropped from 63s to 37s if not writing PNGs,
or 71s to 46s if writing PNGs.
Bug: skia:
Change-Id: I22313791939e774290b702e58fec780f0b9c917e
Reviewed-on: https://skia-review.googlesource.com/35422
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Diffstat (limited to 'tests/ParsePathTest.cpp')
0 files changed, 0 insertions, 0 deletions