summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
2022-05-13Merge pull request #60894 from derammo/derammo_opengl3_windowsRémi Verschelde
2022-05-13Increase compiler optimization when using `target=release` on iOS/AndroidHugo Locurcio
2022-05-12Merge pull request #60643 from clayjohn/GLES3-3DRémi Verschelde
2022-05-12Basic 3D renderingclayjohn
2022-05-12Add a new HashMap implementationreduz
Adds a new, cleaned up, HashMap implementation. * Uses Robin Hood Hashing (https://en.wikipedia.org/wiki/Hash_table#Robin_Hood_hashing). * Keeps elements in a double linked list for simpler, ordered, iteration. * Allows keeping iterators for later use in removal (Unlike Map<>, it does not do much for performance vs keeping the key, but helps replace old code). * Uses a more modern C++ iterator API, deprecates the old one. * Supports custom allocator (in case there is a wish to use a paged one). This class aims to unify all the associative template usage and replace it by this one: * Map<> (whereas key order does not matter, which is 99% of cases) * HashMap<> * OrderedHashMap<> * OAHashMap<>
2022-05-11opengl3 driver now works on windows including multi windowderammo
fixed and simplified gl_manager_windows swap buffers now called for all windows fixed missing pixel format setting in additional windows this makes them work in OpenGL contexts changed verbose error printing to write once this error message happens very frequently while opengl3 is not finished removed dead code no longer needed after changes fixed comments that were misinformation window messages during window creation now handled these were previously discarded messages now tunnel the required context changed failure to create opengl3 window on windows to be more fatal marked a problem with pen code conditional compilation of vulkan and opengl3 on windows fixed windows debug builds now show messages on debug console also rendering driver selection box now shows only compiled drivers marked some problematic code thanks to akien-mga for patiently rewriting my style mistakes
2022-05-11Fix ZipIO crash when reused (and possible leaks).bruvzg
2022-05-11[HTML5] Limit the returned OS cpu count to 2.Fabio Alessandrelli
Temporarily workaround issues due to godot spawning too many threads.
2022-05-10[HTML5] Fix JS "tools" editor plugin.Fabio Alessandrelli
Needed update after file/dir access refactoring.
2022-05-10[HTML5] Add "webgl/webgl2.h" as OpenGL include.Fabio Alessandrelli
Requires emscripten versions > 2.0.17 .
2022-05-10[macOS / iOS] Fix text-to-speech build with older macOS / iOS SDK.bruvzg
Add __has_include check for AVFAudio include. Add some explicit casts to avoid conflicts. Change all `include`s to `import`s for consistency.
2022-05-10Try to convert OS::execute() output to Unicode on WindowsHaoyu Qiu
2022-05-10[Windows] Save and re-apply window icon when changing window style.bruvzg
2022-05-05Crash handler: Use `print_error` to include backtrace in logsRémi Verschelde
2022-05-05Read and store joypad events in a separate thread on x11 platformMarcel Admiraal
2022-05-04Fix export plugins after embedded PCK loading changes.bruvzg
2022-05-04Merge pull request #51682 from mdavisprog/os-is-process-runningRémi Verschelde
OS::is_process_running function.
2022-05-03Add OS::is_process_running function.mdavisprog
Adds the is_process_running function to the native OS class and exposes it to script. This is implemented on Windows and Unix platforms. A stub is provided for other platforms that do not support this function. Documentation is updated to reflect new API function.
2022-05-03[JS] Add flag to disable weak symbols in ZSTD.Fabio Alessandrelli
Weak symbols are currently broken in upstream emscripten.
2022-05-03Added missing signature.Fabio Alessandrelli
2022-05-03Merge pull request #60714 from Calinou/typedef-remove-refRémi Verschelde
Remove `RES` and `REF` typedefs in favor of spelled out `Ref<>`
2022-05-03Merge pull request #60224 from pfeodrippe/fix-simultaneous-touchesRémi Verschelde
2022-05-03Merge pull request #60553 from madmiraal/separate-display_safe_areaRémi Verschelde
2022-05-03Merge pull request #60601 from touilleMan/gdextension_get_library_pathRémi Verschelde
Add GDNativeInterface::get_library_path to GDExtension
2022-05-03Remove `RES` and `REF` typedefs in favor of spelled out `Ref<>`Hugo Locurcio
These typedefs don't save much typing compared to the full `Ref<Resource>` and `Ref<RefCounted>`, yet they sometimes introduce confusion among new contributors.
2022-05-02Style: Partially apply clang-tidy's `cppcoreguidelines-pro-type-member-init`Rémi Verschelde
Didn't commit all the changes where it wants to initialize a struct with `{}`. Should be reviewed in a separate PR. Option `IgnoreArrays` enabled for now to be conservative, can be disabled to see if it proposes more useful changes. Also fixed manually a handful of other missing initializations / moved some from constructors.
2022-05-02Merge pull request #60638 from m4gr3d/support_hand_tracking_v2_mainRémi Verschelde
2022-05-02Fix screen_get_usable_rect returning display safe areaMarcel Admiraal
2022-05-02Merge pull request #60551 from madmiraal/implement-3466Rémi Verschelde
Add a method for obtaining display cutouts on Android
2022-04-29Add GDNativeInterface::get_library_path to GDExtensionEmmanuel Leblond
2022-04-29Merge pull request #60563 from madmiraal/fix-60562Rémi Verschelde
2022-04-28[Linux] Disable speech-dispatcher, pulse audio and udev wrapper builds, when ↵bruvzg
library is not found.
2022-04-28Implement text-to-speech support on Android, iOS, HTML5, Linux, macOS and ↵bruvzg
Windows. Implement TextServer word break method.
2022-04-28[Windows Export] Improve error messages for missing rcedit and signtool.bruvzg
2022-04-27Update Meta hand tracking versionFredy Huya-Kouadio
https://developer.oculus.com/blog/presence-platforms-hand-tracking-api-gets-an-upgrade/
2022-04-27Check for null when retrieving clip data item text on AndroidMarcel Admiraal
2022-04-27Merge pull request #56093 from bruvzg/pck_section_loadRémi Verschelde
Improve embedded PCK loading and exporting.
2022-04-27Merge pull request #59979 from bruvzg/cpp_check2Rémi Verschelde
2022-04-27Merge pull request #60523 from akien-mga/linux-pkgconfig-nixosRémi Verschelde
2022-04-27Merge pull request #60397 from timoschwarzer/ios-haptic-engineRémi Verschelde
2022-04-27Merge pull request #58272 from bruvzg/x11_backup_screen_infoRémi Verschelde
2022-04-26Add a method for obtaining display cutouts on AndroidMarcel Admiraal
2022-04-26Linux: Use pkg-config for alsa, libudev and GL tooRémi Verschelde
It's not needed on most distros as those are found in standard lib and include paths, but on NixOS they're all in non-standard prefixes, so we need to rely on information provided by pkg-config. Fixes #59913. Co-authored-by: David Lewis <davidalewis00@gmail.com>
2022-04-25Merge pull request #60433 from madmiraal/remove-superfluous-null-checkRémi Verschelde
Remove superfluous null check
2022-04-25Merge pull request #60457 from madmiraal/replace-index-iteratorsRémi Verschelde
Replace index iterators with for each loops.
2022-04-25Merge pull request #60441 from madmiraal/remove-superfluous-inputmanagerRémi Verschelde
Remove superfluous Android InputManager interface and implementation
2022-04-25Merge pull request #60434 from madmiraal/remove-superfluous-version-checkRémi Verschelde
Remove superfluous check for minimum Android SDK.
2022-04-25Fix the issue causing the screen to be black after resuming when in low ↵Fredy Huya-Kouadio
processor mode. This is done by forcing a redraw and buffers swap when resuming the app.
2022-04-23Replace index iterators with for each loops.Marcel Admiraal
2022-04-22Remove superfluous check for minimum Android SDK.Marcel Admiraal