summaryrefslogtreecommitdiffstats
path: root/core/safe_refcount.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Style: Fix unnecessary semicolons that confused clang-formatRémi Verschelde2020-05-191-16/+16
|
* Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde2020-05-141-8/+0
| | | | | | | | | | | | | | Which means that reduz' beloved style which we all became used to will now be changed automatically to remove the first empty line. This makes us lean closer to 1TBS (the one true brace style) instead of hybridating it with some Allman-inspired spacing. There's still the case of braces around single-statement blocks that needs to be addressed (but clang-format can't help with that, but clang-tidy may if we agree about it). Part of #33027.
* Update copyright statements to 2020Rémi Verschelde2020-01-011-2/+2
| | | | | | | | | | | Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* reduce clang warning spamkarroffel2018-07-241-24/+24
|
* Fix inconsistencies and typos in argument namesPaolo Perkovic2018-02-011-4/+4
|
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Style: Apply new clang-format 5.0 style to all filesRémi Verschelde2017-12-071-4/+4
|
* Build MSVC safe_refcount in a separate compilation unitHein-Pieter van Braam2017-09-271-0/+169
| | | | | | Including windows.h in a globally included header gives all kinds of issues. Move the MSVC implementation for safe_refcount back into a .cpp file to prevent this from happening.
* Allow inlining of all parts of safe_refcountHein-Pieter van Braam2017-09-251-287/+0
| | | | | Differences with this aren't huge but the effort is minimal, in some workloads gain a couple of percent of performance.
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* Improve/add atomicsPedro J. Estébanez2017-07-251-8/+48
| | | | | - Remove use of non-builtin overloaded `InterlockedExhangeSubtract()` for Windows. Moreover, it was wrongly being used as if it hadn't a 64-bit version instead of being overloaded. - Implement exchange-if-greater (as a CAS loop).
* UWP: Fix build issue caused by atomic operationsGeorge Marques2017-07-231-1/+1
|
* Fix atomic operations in NO_THREADS buildsL. Krause2017-07-221-2/+2
|
* Implement add & subtract atomicsPedro J. Estébanez2017-07-171-0/+72
|
* Add atomics for 64-bit integersPedro J. Estébanez2017-07-111-30/+89
| | | | | | The public API looks the same but with added overloads. The implementation uses templates or overloads depending on the context to avoid code duplication.
* Revert "Improve reliability of memory stats"Rémi Verschelde2017-07-111-67/+0
|
* Add atomics for 64-bit integersPedro J. Estébanez2017-06-221-0/+67
|
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-31/+25
| | | | | | | | | | | | | | | | | | | | | | | | I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
* Enable WebGL2 in web export, start fixing buildeska2017-02-011-0/+8
| | | | Will not yet compile
* Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky2017-01-071-0/+9
| | | | renamed to PoolVector
* -Changed memory functions, Memory::alloc_static*, simplified them, made them ↵Juan Linietsky2017-01-061-6/+55
| | | | | | aligned to 16 -Changed Vector<> template to fit this.
* Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-011-1/+1
| | | | | | | | That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
* remove trailing whitespaceHubert Jarosz2016-03-091-2/+2
|
* Update copyright to 2016 in headersGeorge Marques2016-01-011-1/+1
|
* Updated copyright year in all headersJuan Linietsky2015-04-181-1/+1
|
* GODOT IS OPEN SOURCEJuan Linietsky2014-02-091-0/+55