diff options
| author | mtklein <mtklein@chromium.org> | 2016-05-04 13:57:30 -0700 |
|---|---|---|
| committer | Commit bot <commit-bot@chromium.org> | 2016-05-04 13:57:30 -0700 |
| commit | b37c68ad42ae7880e702649a01655165c7e12acc (patch) | |
| tree | 0a322e08933a489cb0000d6d7d55798f88a2a65b /tools/gpu/gl/command_buffer/GLTestContext_command_buffer.cpp | |
| parent | 06077565b18714ff3fc0db9118e2c21f6f25243f (diff) | |
Simplify implementation of SkOnce to not need so many comments.
I think this version reads more clearly, and the key invariants are
expressed in code rather than comments:
- race losers always go through an acquire
- we never exit the function unless fState is Done
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1951013004
Review-Url: https://codereview.chromium.org/1951013004
Diffstat (limited to 'tools/gpu/gl/command_buffer/GLTestContext_command_buffer.cpp')
0 files changed, 0 insertions, 0 deletions
