summaryrefslogtreecommitdiffstats
path: root/platform/osx
Commit message (Collapse)AuthorAgeFilesLines
* Remove obsolete GLES3 backendRémi Verschelde2020-02-132-3/+0
| | | | | | | | | | | | | | Due to the port to Vulkan and complete redesign of the rendering backend, the `drivers/gles3` code is no longer usable in this state and is not planned to be ported to the new architecture. The GLES2 backend is kept (while still disabled and non-working) as it will eventually be ported to serve as the low-end renderer for Godot 4.0. Some GLES3 features might be selectively ported to the updated GLES2 backend if there's a need for them, and extensions we can use for that. So long, OpenGL driver bugs!
* Vulkan: Move thirdparty code out of drivers, style fixesRémi Verschelde2020-02-114-8/+8
| | | | | | | - `vk_enum_string_helper.h` is a generated file taken from the SDK (Vulkan-ValidationLayers). - `vk_mem_alloc.h` is a library from GPUOpen: https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
* Restore parts of #33783 and #32809 missing after rebase.bruvzg2020-02-113-65/+13
|
* Fix code formatting issues and VS compilationRémi Verschelde2020-02-111-6/+5
| | | | | | | Also temporarily disable multicheck build so that we get a full build even when there are style issues on Vulkan. Fixes #33356.
* Merge pull request #32821 from bruvzg/vlk_fix_macos_exitRémi Verschelde2020-02-111-13/+20
|\ | | | | | | [Vulkan, macOS] Fix RID leaks and crashes on exit.
| * Move Vulkan context/rendering_device destruction to windowWillClose ↵bruvzg2020-02-111-13/+20
| | | | | | | | notification.
* | Improve HiDPI handling, fix incorrect window viewport clipping.bruvzg2020-02-111-0/+6
|/
* SCons: Streamline Vulkan buildsystem + fixupsRémi Verschelde2020-02-111-5/+4
| | | | | | | | | | | - Renamed option to `builtin_vulkan`, since that's the name of the library and if we were to add new components, we'd likely use that same option. - Merge `vulkan_loader/SCsub` in `vulkan/SCsub`. - Accordingly, don't use built-in Vulkan headers when not building against the built-in loader library. - Drop Vulkan registry which we don't appear to need currently. - Style and permission fixes.
* Merge pull request #29993 from bruvzg/vulkanRémi Verschelde2020-02-119-195/+620
|\ | | | | | | Initial Vulkan support for macOS (MoltenVK) and Windows
| * Add runtime GLES2 / Vulkan context selection.bruvzg2020-02-116-233/+444
| |
| * Add static Vulkan loader.bruvzg2020-02-117-25/+239
| | | | | | | | | | Initial Vulkan support for Windows. Initial Vulkan support for macOS.
* | Added a spinlock template as well as a thread work pool class.Juan Linietsky2020-02-112-3/+3
|/ | | | Also, optimized shader compilation to happen on threads.
* Custom material support seems complete.Juan Linietsky2020-02-111-1/+1
|
* Texture refactorJuan Linietsky2020-02-113-3/+3
| | | | | | | | -Texture renamed to Texture2D -TextureLayered as base now inherits 2Darray, cubemap and cubemap array -Removed all references to flags in textures (they will go in the shader) -Texture3D gone for now (will come back later done properly) -Create base rasterizer for RenderDevice, RasterizerRD
* Merge pull request #35301 from Calinou/improve-console-error-loggingRémi Verschelde2020-02-101-19/+16
|\ | | | | Improve the console error logging appearance
| * Improve the console error logging appearanceHugo Locurcio2020-01-191-19/+16
| | | | | | | | | | | | | | This makes secondary information less visually prominent to improve overall readability. Various loggers were also tweaked for consistency.
* | Remove duplicate ERR_PRINT macro.Marcel Admiraal2020-02-052-3/+3
| |
* | Merge pull request #35684 from timothyqiu/macos-sanitizersRémi Verschelde2020-01-311-0/+18
|\ \ | | | | | | Adds sanitizer options for macOS
| * | Adds sanitizer options for macOSHaoyu Qiu2020-01-291-0/+18
| |/
* / Adds extra cursors for macOSHaoyu Qiu2020-01-311-6/+20
|/ | | | Before, plain arrow cursor or unsuitable ones were used.
* Remove unused ip_unix member from OSX/server.Fabio Alessandrelli2020-01-141-2/+0
|
* Fixes IME input backspace on macOSHaoyu Qiu2020-01-141-1/+5
|
* [macOS/Mono] Filter release/debug and rename Mono data folder on export.bruvzg2020-01-101-0/+18
|
* [macOS] Load PCK from the .app bundle resources, instead of changing working ↵bruvzg2020-01-103-29/+14
| | | | directory.
* macOS DMG export: create folder structure for the files extracted from ↵bruvzg2020-01-101-13/+18
| | | | export template ZIP.
* Export: Improve usability of command line interfaceRémi Verschelde2020-01-071-19/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm barely scratching the surface of the changes needed to make the --export command line interface easy to use, but this should already improve things somewhat. - Streamline `can_export()` templates check in all platforms, checking first for the presence of official templates, then of any defined custom template, and reporting on the absence of any. Shouldn't change the actual return value much which is still true if either release or debug is usable - we might want to change that eventually and better validate against the requested target. - Fix discrepancy between platforms using `custom_package/debug` and `custom_template/debug` (resp. `release`). All now use `custom_template`, which will break compatibility for `export_presets.cfg` with earlier projects (but is easy to fix). - Use `can_export()` when attempting a command line export and report the same errors that would be shown in the editor. - Improve error reporting after a failed export attempt, handling missing template and invalid path more gracefully. - Cleanup of unused stuff in EditorNode around the export workflow. - Improve --export documentation in --help a bit. Fixes #16949 (at least many of the misunderstandings listed there). Fixes #18470.
* Merge pull request #33967 from Calinou/add-os-is-window-focusedRémi Verschelde2020-01-062-5/+15
|\ | | | | Add an `OS.is_window_focused()` getter
| * Add an `OS.is_window_focused()` getterHugo Locurcio2019-11-282-5/+15
| | | | | | | | | | | | | | | | This makes it possible to know whether the window is focused at a given time, without having to track the focus state manually using `NOTIFICATION_WM_FOCUS_IN` and `NOTIFICATION_WM_FOCUS_OUT`. This partially addresses #33928.
* | Update copyright statements to 2020Rémi Verschelde2020-01-0116-32/+32
| | | | | | | | | | | | | | | | | | | | | | 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.
* | i18n: Sync translations with Weblate + update templateRémi Verschelde2019-12-221-1/+0
| | | | | | | | | | Also fix a few stray clang-format formatting errors that passed through CI unnoticed.
* | Added microphone and camera usage descriptions to macOS builds.Catchawink2019-12-131-0/+9
| |
* | [macOS] Send resize event without actually resizing window on backing change.bruvzg2019-12-081-6/+2
| | | | | | | | Co-authored-by: Haoyu Qiu <timothyqiu32@gmail.com>
* | iOS modular build and export implementation.bruvzg2019-12-015-420/+0
|/
* [macOS] Fix locale detection.bruvzg2019-11-251-1/+1
|
* Fix typos with codespellRémi Verschelde2019-11-222-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using codespell 1.16.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear dof doubleclick leapyear lod merchantibility nd numer ois ony que seeked synching te uint unselect webp EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
* [macOS] Remove CVDisplayLink v-sync hack.bruvzg2019-11-212-55/+2
|
* [macOS, Windows, X11] Add graphic tablet pen pressure and tilt support to ↵bruvzg2019-10-301-0/+5
| | | | InputEventMouseMotion event.
* Fix compilation warnings in macOS build, enable `warnings=extra werror=yes` ↵bruvzg2019-10-246-15/+21
| | | | for macOS CI.
* [macOS] Fix non-ASCII volume name listing, replace deprecated volume listing ↵bruvzg2019-10-181-4/+11
| | | | API. Remove hidden mount points from the volume list.
* Merge pull request #32809 from bruvzg/macos_1015_non_hidpi_fixRémi Verschelde2019-10-131-0/+4
|\ | | | | Fix non-HiDPI mode on HiDPI displays on macOS Catalina.
| * Fix non-HiDPI mode on HiDPI displays on macOS Catalina.bruvzg2019-10-131-0/+4
| |
* | Optimize images losslessly using `oxipng -o6 --strip all --zopfli`Hugo Locurcio2019-10-121-0/+0
|/
* Add code signing support for Windows exports (using "signtool" on Windows ↵bruvzg2019-10-041-5/+18
| | | | and "osslsigncode" on the other platforms)
* Merge pull request #32518 from nekomatata/fix-revert-cursorRémi Verschelde2019-10-031-1/+6
|\ | | | | Properly revert cursor when using set_custom_mouse_cursor with null
| * Properly revert cursor when using set_custom_mouse_cursor with nullPouleyKetchoupp2019-10-031-1/+6
| | | | | | | | Fixes #32486
* | macOS code signing improvements (timestamp and hardened runtime options, ↵bruvzg2019-10-021-16/+19
|/ | | | entitlements property hint, remove excessive codesign calls, suppress "file not found" error on first export)
* Changed some code found by Clang Tidy and Coverityqarmin2019-09-221-1/+1
|
* [macOS] Add methods to modify global and dock menus. Add ability to open ↵bruvzg2019-08-262-1/+118
| | | | multiple editor/project manager instances, recent/favourite project list to project manager dock menu and opened scene list to editor dock menu.
* Merge pull request #31266 from ↵Rémi Verschelde2019-08-142-6/+0
|\ | | | | | | | | IAmActuallyCthulhu/pr/remove-redundant-author-comments Remove redundant author doc comments
| * Remove redundant author doc commentsIAmActuallyCthulhu2019-08-122-6/+0
| |