godot/platform/macos
Yevhen Babiichuk (DustDFG) af6d260c17 Don't include core/io/image.h in core/os/os.h
`core/os/os.h` doesn't use `core/io/image.h`. It just brings
transitive dependencies. Lots of dependencies because `core/os/os.h`
is transitively included in almost every file of godot

Also added `core/io/image.h` into files^1 where `Ref<Image>` and `core/os/os.h`
were used to prevent obscure errors involving `Ref<Image>`

^1 except those which include `core/io/image_loader.h` or `core/io/image.h` by
corresponding .h file with the same name

Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-10-18 19:04:19 +03:00
..
doc_classes added ability to add extra codesign entitlements for macos from godot editor 2024-10-13 09:33:42 -04:00
export Don't include core/io/image.h in core/os/os.h 2024-10-18 19:04:19 +03:00
crash_handler_macos.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
crash_handler_macos.mm [macOS] Add SIGTRAP to the crash handler. 2024-02-01 23:30:33 +02:00
detect.py Merge pull request #97570 from dustdfg/ios_macos/print_warning_instead_of_comments 2024-10-04 22:43:46 +02:00
dir_access_macos.h Add method to check if filesystem is case sensitive. 2023-10-09 11:00:15 +03:00
dir_access_macos.mm [macOS] Add null checks for NSString stringWithUTF8String. 2024-02-23 08:20:02 +02:00
display_server_macos.h Add Metal support for macOS (arm64) and iOS 2024-08-20 12:11:06 +02:00
display_server_macos.mm Fix window_set_current_screen for maximized windows. 2024-10-03 10:38:32 +03:00
gl_manager_macos_angle.h [macOS/Windows] Add optional ANGLE backed OpenGL renderer support. Add EGL_ANDROID_blob_cache caching. 2023-09-21 14:21:00 +03:00
gl_manager_macos_angle.mm [macOS] Switch ANGLE backend to ANGLE over OpenGL, switch default compatibility renderer back to native. 2023-12-05 15:39:40 +02:00
gl_manager_macos_legacy.h [macOS] Load OpenGL.framework by path to avoid issues with non-Latin executable names. 2024-08-07 11:57:27 +03:00
gl_manager_macos_legacy.mm [macOS] Load OpenGL.framework by path to avoid issues with non-Latin executable names. 2024-08-07 11:57:27 +03:00
godot_application_delegate.h [macOS] Add support for native help menu search callbacks, integrate editor help. 2024-02-13 18:37:37 +02:00
godot_application_delegate.mm Move global_menu_* methods to a separate NativeMenu class. 2024-03-04 23:41:41 +02:00
godot_application.h Cleanup and unify keyboard input. 2023-01-23 15:08:12 +02:00
godot_application.mm [macOS] Fix some deprecation warnings. 2024-02-28 23:38:29 +02:00
godot_button_view.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
godot_button_view.mm One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
godot_content_view.h [macOS] Handle Trackpad / Magic Mouse swipe events and simulate XBUTTON1 / XBUTTON2 buttons. 2024-01-17 00:08:24 +02:00
godot_content_view.mm [macOS] Fix drag-and-drop feedback. 2024-07-11 23:13:38 +03:00
godot_main_macos.mm [MoltenVK] Fix downscaled hiDPI window pixelation. 2024-07-04 21:03:32 +03:00
godot_menu_delegate.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
godot_menu_delegate.mm [macOS] Fix menu crash when used from opened native dialog. 2024-10-01 08:30:30 +03:00
godot_menu_item.h [NativeMenu] Do not auto toggle check/multi-state items. Add is_native_menu method. 2024-07-08 11:20:28 +03:00
godot_menu_item.mm [NativeMenu] Do not auto toggle check/multi-state items. Add is_native_menu method. 2024-07-08 11:20:28 +03:00
godot_open_save_delegate.h [Native File Dialog] Add support for adding custom options to the dialogs. 2024-01-24 15:00:31 +02:00
godot_open_save_delegate.mm [macOS] Fix native file dialog with empty filter list. 2024-04-17 11:12:14 +03:00
godot_status_item.h [StatusIndicator] Switch API to use Texture2D instead of Image, improve handling on macOS, add method to set native popup menu directly. 2024-03-20 11:56:07 +02:00
godot_status_item.mm [DisplayServer] Add error messages and descriptions to callbacks. 2024-05-28 17:36:54 +03:00
godot_window_delegate.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
godot_window_delegate.mm Fix unsafe uses of Callable.is_null() 2024-04-27 16:22:57 +02:00
godot_window.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
godot_window.mm [macOS] Fix IME focus in popup windows. 2023-06-09 08:03:13 +03:00
joypad_macos.h Migrate macos controller API to GameController.h 2024-02-20 08:13:05 -06:00
joypad_macos.mm [macOS] Fix wrong object type in joypad queue. 2024-08-12 14:09:18 +03:00
key_mapping_macos.h Add InputEventKey.location to tell left from right 2024-01-26 14:42:28 +01:00
key_mapping_macos.mm Add InputEventKey.location to tell left from right 2024-01-26 14:42:28 +01:00
macos_terminal_logger.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
macos_terminal_logger.mm One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
native_menu_macos.h [macOS] Improve native menu open/close callbacks. 2024-06-05 20:22:41 +03:00
native_menu_macos.mm [NativeMenu] Do not auto toggle check/multi-state items. Add is_native_menu method. 2024-07-08 11:20:28 +03:00
os_macos.h [macOS] Remove kill override. 2024-08-08 21:39:00 +03:00
os_macos.mm [macOS] Fix dynamic library lookup for system libraries. 2024-09-14 18:22:36 +03:00
platform_config.h Migrate macos controller API to GameController.h 2024-02-20 08:13:05 -06:00
platform_gl.h [macOS/Windows] Add optional ANGLE backed OpenGL renderer support. Add EGL_ANDROID_blob_cache caching. 2023-09-21 14:21:00 +03:00
platform_macos_builders.py SCons: Remove run_in_subprocess dependency 2024-03-11 13:20:09 -05:00
README.md Update all outdated online documentation links 2023-01-14 19:38:00 +03:00
rendering_context_driver_vulkan_macos.h [macOS / iOS] Switch Vulkan init to VK_EXT_metal_surface extension. 2024-02-13 16:57:02 +02:00
rendering_context_driver_vulkan_macos.mm Add debug utilities for Vulkan 2024-08-21 23:48:08 +02:00
SCsub SCons: Add unobtrusive type hints in SCons files 2024-09-25 09:34:35 -05:00
tts_macos.h Windows TTS: Use HashMap instead of RBMap for ids 2023-04-11 15:54:21 +02:00
tts_macos.mm One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00

macOS platform port

This folder contains the C++, Objective-C and Objective-C++ code for the macOS platform port.

See also misc/dist/macos folder for additional files used by this platform. misc/dist/macos_tools.app is an .app bundle template used for packaging the macOS editor, while misc/dist/macos_template.app is used for packaging macOS export templates.

Documentation