summaryrefslogtreecommitdiff
path: root/src/mbgl/util/thread_context.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [tidy] Check modernize-pass-by-valueBruno de Oliveira Abinader2016-06-131-2/+3
| | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-pass-by-value.html
* [core] Clean up ThreadContext vestigesJohn Firebaugh2016-04-151-56/+1
|
* [core] Thread GLObjectStore through to Holder objectsJohn Firebaugh2016-02-181-16/+0
| | | | | | This eliminates the reliance on ThreadContext to provide GLObjectStore, and statically enforces that GL cleanup functions happen only when GLObjectStore::performCleanup is called. With the elimination of the Map thread, this becomes important because there may be multiple GLObjectStore's per-thread, and Map will need to ensure that the correct context is active when calling GLObjectStore::performCleanup.
* [core] Remove ThreadContext::getFileSource; instead thread FileSource throughJohn Firebaugh2016-02-181-16/+0
|
* [gl] Moved GLObjectStore to gl namespaceBruno de Oliveira Abinader2016-02-181-2/+2
|
* [core] throw values, catch referencesKonstantin Käfer2015-12-031-2/+2
|
* [core] add namespace comment to closing braceKonstantin Käfer2015-12-031-3/+3
|
* [core] Port uv::tls to pthreadsThiago Marcos P. Santos2015-12-011-10/+75
|
* Introduce the ThreadContextThiago Marcos P. Santos2015-06-251-0/+34
mbgl::Thread will keep a ThreadContext for each running instance in a thread_local so we don't need to lookup a man in the Environment every time we need some info about the current thread. This patch is moving the ::currentlyOn check used on Debug build from the Environment class to the ThreadContext.