commit | 331e2dc8eb69b093bf012d8dcd1ab652d67fc36b | [log] [tgz] |
---|---|---|
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue May 08 21:45:03 2012 +0000 |
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue May 08 21:45:03 2012 +0000 |
tree | f48b803413351f38138f18f601da8cf5bab58060 | |
parent | f51018d8f954cc644cc875dc1faab386fd6e85e3 [diff] |
add flag/hint to PlatformGetSpecific. If true, then the caller requires that the tls slot be allocated even if this is the first, to ensure that it can later call PlatformSetSpecific. When this is false (which is most of the time) the implementation may optimize by not even creating the slot, and just returning null. git-svn-id: http://skia.googlecode.com/svn/trunk@3871 2bbb7eff-a529-9590-31e7-b0007b416f81