You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Code/Tools/AssetProcessor/Platform/Mac
Chris Burel ce0bb1ca2b [AssetProcessor] Refactor the FileWatcher to use only one watch thread
This change reworks the AssetProcessor's FileWatcher so that it only uses
one thread. This is motivated by getting better support for inotify on
Linux. The previous architecture required calling `inotify_init` once for
each directory that was being watched, and using separate inotify instances
for each watched tree. In addition, having separate threads per watched
tree is not necessary, and just consumes system resources. Each platform
supports watching multiple directories with the same platform-specific
watcher API, so each platform has been updated accordingly.

The interface to the FileWatcher class is greatly simplified. Previously,
it supported client-supplied filtering of the paths that would generate
notifications. This was done by subclassing `FolderWatchBase` and
implementing `OnFileChange`. However, only one filter was ever used, so
that filter is now hard-coded in the FileWatcher class, and the classes
driving the old filtering mechanism are removed. Users of the interface
now have a much easier time, they just call `AddFolderWatch` with the path
to watch, and only have to connect to one set of signals, instead of
separate signals per watched directory.

Signed-off-by: Chris Burel <burelc@amazon.com>
4 years ago
..
Images.xcassets Updated legacy Editor and Asset Processor icons on Mac to O3DE icons. 4 years ago
native [AssetProcessor] Refactor the FileWatcher to use only one watch thread 4 years ago
AssetProcessorEntitlements.plist [Mac] Generate O3DE SDK app bundle that can be notarized and distributed (#4150) 4 years ago
AssetProcessor_Traits_Mac.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
AssetProcessor_Traits_Platform.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
assetprocessor_gui_mac_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
assetprocessor_mac.cmake [Mac] Generate O3DE SDK app bundle that can be notarized and distributed (#4150) 4 years ago
assetprocessor_mac_files.cmake [AssetProcessor] Refactor the FileWatcher to use only one watch thread 4 years ago
gui_info.plist [Mac] Generate O3DE SDK app bundle that can be notarized and distributed (#4150) 4 years ago