Commit Graph
98 Commits
Author SHA1 Message Date
J-rg 4a92e7d4ee Port OECorePlugin to Swift 2022-07-13 00:04:45 +02:00
J-rg 85ab82abe8 Port OESystemPlugin to Swift 2022-07-13 00:04:45 +02:00
Stuart Carnie 7112a443fb chore: Move OEThreadProxy to private module 2022-07-13 06:59:35 +10:00
Stuart Carnie 69eecc7859 chore: More Swift conversion 2022-07-13 06:32:01 +10:00
J-rg 502282792a Refactor OEPlugin 2022-07-12 14:50:56 +02:00
J-rg 26f39f9927 Refactor bundle cache flushing 2022-07-12 01:32:08 +02:00
Stuart Carnie 795aaaf125 chore: Convert managers to Swift 2022-07-10 10:20:41 +10:00
Stuart Carnie 41f2c83321 chore: Convert Obj-C to Swift for API improvements to OpenEmuShaders 2022-07-09 08:04:17 +10:00
J-rg 9c6c5f99cd Fix removal of out-of-support system plugins
‘baseURL’ returned ‘nil’
2022-06-17 15:31:12 +02:00
Stuart Carnie bc6e6077d5 chore: Update to new OpenEmuShaders version 2022-06-08 18:51:07 +10:00
J-rg c79e822d3f Remove conflicting redefinition of OEGameCoreErrorDomain
OEGameCoreErrorDomain is defined in OpenEmuBase.OEGameCore as "org.openemu.GameCore.ErrorDomain"
2022-06-07 15:15:15 +02:00
J-rg 6630bcc242 Add Crypto.SHA1 2022-05-23 04:58:00 +02:00
Stuart Carnie e02595b8b1 chore: Fix tests; update to new OpenEmuShaders version 2022-05-15 10:13:17 +10:00
J-rg dd35fcf09a OE[Core/System]Plugin: Improve Swift type inference for allPlugins property 2022-02-08 14:31:34 +01:00
J-rg e395a3b4e9 Cleanup unused properties in OEPlugin and subclasses 2022-02-07 23:34:29 +01:00
J-rg d580a37b9d OEPlugin: Add method to flush bundle cache 2022-02-07 14:41:34 +01:00
Stuart Carnie 6efeb2fadb fix: Remove unique name requirement for shader presets 2022-02-06 08:45:23 +11:00
Stuart Carnie 64c0eb7ba7 fix: parse floats with ± prefixes 2022-01-26 10:01:29 +11:00
Stuart Carnie af727326f9 chore: minor updates 2022-01-26 08:26:55 +11:00
Stuart Carnie 484585b821 feat: Rework preset format and refactor types 2022-01-13 07:32:05 +11:00
Stuart Carnie c8a2bd561b feat: Add immutable id to presets to permit renaming 2021-12-31 09:02:05 +11:00
Stuart Carnie 7b2979a1ff chore: Update shader APIs; tests; protocol 2021-12-29 19:48:48 +11:00
J-rg f97b2dd1eb Accessibility: Disable game layer scaling animation if ‘Reduce motion’ is enabled 2021-12-28 19:36:01 +01:00
Stuart Carnie d694afb1ff chore: New ShaderPresetData; ShaderPreset is now a singleton 2021-12-28 09:30:33 +11:00
Stuart Carnie 583b95eab9 chore: Update comments 2021-12-27 09:52:20 +11:00
Stuart Carnie 9867e47364 chore: Refactoring custom shaders in preparation for presets 2021-12-27 09:52:06 +11:00
Stuart Carnie e89f18b326 chore: Convert OEGameHelperMetalLayer to Swift 2021-12-27 09:48:01 +11:00
Stuart Carnie e159d013c7 feat: Add async / await compatible completion handler
See https://developer.apple.com/documentation/swift/calling_objective-c_apis_asynchronously
2021-10-23 08:24:13 +11:00
Stuart Carnie 8a7d6c2ec6 fix: Was not serialising ':' 2021-10-11 07:18:51 +11:00
Stuart Carnie d1d67b741a chore: Fix compiler warning 2021-10-11 07:18:34 +11:00
Stuart Carnie 575ae916ec feat: Use Ragel to handling parsing 2021-10-10 10:12:39 +11:00
Stuart Carnie 9e2b11b3a5 chore: Remove optional result and add fallback 2021-10-10 10:10:19 +11:00
Stuart Carnie aaf7962518 feat: Initial shader preset parsing using Ragel 2021-10-08 11:13:21 +11:00
Stuart Carnie e74a212103 chore: Cleaning up ShaderPreset parsing 2021-10-08 11:12:25 +11:00
Stuart Carnie 5bd12a8c95 chore: improve API 2021-10-04 17:10:56 +11:00
Stuart Carnie edbd59a3a1 chore: swiftlint cleanup, move shader presets from OpenEmu, unit tests 2021-10-02 22:40:28 +10:00
J-rg 014de746c1 OEShadersModel: Provide sorted shader name arrays 2021-09-29 18:26:24 +02:00
J-rg cbef2886f1 Use float for volume 2021-09-29 18:26:23 +02:00
Stuart Carnie 39e4378fdd chore: Better Objective C compatibility 2021-09-29 07:14:06 +10:00
Stuart Carnie 8bdcd74097 fix: Use OEContextID 2021-09-28 07:50:34 +10:00
Stuart Carnie 994c25c73a chore: Add nullability 2021-09-28 07:18:39 +10:00
J-rg f8e952c27b Port OEGameLayerView to Swift 2021-09-27 16:36:17 +02:00
J-rg 57f86ceb1e Update QuartzCoreSPI.h 2021-09-27 16:36:17 +02:00
Stuart Carnie a20eb51850 feat: Improvements to shader model 2021-09-25 09:41:23 +10:00
Stuart Carnie 750dfb1b5b chore: Migrate ShaderParamValue and ShaderParamGroupValue to Swift 2021-09-19 10:00:49 +10:00
Stuart Carnie 90e6b54be6 chore: Fix doc comment 2021-09-18 10:40:08 +10:00
Stuart Carnie 08af8ff90c feat: Allow finer control of shader effects 2021-09-18 10:39:57 +10:00
Stuart Carnie 7be20dcd38 chore: remove enableVSync property 2021-09-18 07:42:02 +10:00
C.W. Betts e67de9e02d Fix static analyzer warnings 2021-08-31 10:23:43 -06:00
Stuart Carnie 34934fbf87 feat: General improvements to OpenEmuKit
NOTE:

Replaced `dispatch_async` to `CFRunLoopPerformBlock`, as it was always
dispatching to the main queue. `dispatch_async` is not reentrant,
meaning that a nested call to dispatch and wait would block forever.
`CFRunLoopPerformBlock` allows this behaviour, to enable the synchronous
calls such as `captureOutputImage` and `captureSourceImage`
2021-06-18 09:40:45 +10:00