- 07 Dec, 2020 2 commits
-
-
Oliver Behnke authored
* If enabled it causes this annoying system alert sound to be played each time BOINC spawned our app via its screensaver!
-
Oliver Behnke authored
* Avoids changing the mode from the default to the disired state * Doesn't trigger powerd on macOS (no issue, just optimizing)
-
- 02 Dec, 2020 2 commits
-
-
Oliver Behnke authored
* Turns out that the initial window resize (via --fullscreen) still caused a mouse move event after the existing check * The event only gets triggered if the mouse pointer is in the lower left display area (where the initial window "appears" before resizing) * The event itself never indicates a real move (via xrel/yrel), so that should make the check reliable now!
-
Oliver Behnke authored
-
- 27 Nov, 2020 3 commits
-
-
Oliver Behnke authored
-
Oliver Behnke authored
-
Oliver Behnke authored
-
- 26 Nov, 2020 2 commits
-
-
Oliver Behnke authored
* Sometimes window events are received prematurely (probably caused by the initial window resizing) * Ignore window events until the window is actually visible
-
Oliver Behnke authored
* Required to support macOS 10.13+ * Our graphics app acts as a Mach RPC server that passes IOSurfaces to registered clients * The BOINC screensaver acts as a Mach RPC server, rendering the IOSurface received * Patching the BOINC build to include the required files (missing in non-Xcode build) * Added MacIOSurfaceManager that sets up the Mach RPC server and controls the IOSurface textures * Integrated the MacIOSurfaceManager into our WindowManager * Note: we need to watch for upstream changes to macglutfix.m to retain compatibility References: * https://github.com/BOINC/boinc/pull/2149 * https://github.com/BOINC/boinc/blob/master/api/macglutfix.m * https://developer.apple.com/library/archive/samplecode/MultiGPUIOSurface/Introduction/Intro.html
-
- 25 Nov, 2020 2 commits
-
-
Oliver Behnke authored
-
Oliver Behnke authored
-
- 20 Nov, 2020 4 commits
-
-
Oliver Behnke authored
* The layout now scales with the display's pixel density (DPI) * Refreshed the layout to make it more readable * The DPI used to design the reference layout must always be kept in sync with AbstractGraphicsEngine::DESIGN_DPI * Tested on macOS 10.15.7 across all scaling factors
-
Oliver Behnke authored
-
Oliver Behnke authored
-
Oliver Behnke authored
-
- 19 Nov, 2020 5 commits
-
-
Oliver Behnke authored
-
Oliver Behnke authored
* BOINC passes IOSurfaces via Mach RPC as of 10.13 * This hopefully enables compatibility with it, according to Apple: https://developer.apple.com/library/archive/samplecode/MultiGPUIOSurface/Introduction/Intro.html * Older macOS version can still use the old 32 bit builds
-
Oliver Behnke authored
* SDL broke macOS < 10.10 support here: https://hg.libsdl.org/SDL/rev/25c5f567de44 * Even Apple has it wrong (vvailability vs. examples): https://developer.apple.com/documentation/foundation/nsoperatingsystemversion * Regression in 1340b7b9
-
Oliver Behnke authored
* Switching from obsolete configure option to API call * Since SDL 2.0.2 screensavers are disabled by default! * https://wiki.libsdl.org/SDL_IsScreenSaverEnabled
-
Oliver Behnke authored
-
- 09 Nov, 2020 1 commit
-
-
Bernd Machenschalk authored
Link libstdc++ statically (avoid dependency) See merge request !3
-
- 06 Nov, 2020 1 commit
-
-
Oliver Behnke authored
* -static-libstdc++ isn't effective despite g++ driver * Provide full path to static libary instead
-
- 05 Nov, 2020 1 commit
-
-
Oliver Behnke authored
-
- 21 Sep, 2020 1 commit
-
-
Oliver Behnke authored
* Not sure these are needed anymore * Having them lead to double-include issues I couldn't resolve * Works just fine without it * Newer SDKs should be fine as long as we keep the desired deployment target
-
- 18 Sep, 2020 2 commits
-
-
Oliver Behnke authored
-
Oliver Behnke authored
-
- 06 Mar, 2020 1 commit
-
-
Bernd Machenschalk authored
Move macOS build to 64 bit See merge request !1
-
- 05 Mar, 2020 7 commits
-
-
Oliver Behnke authored
-
Oliver Behnke authored
-
Oliver Behnke authored
-
Oliver Behnke authored
-
Oliver Behnke authored
-
Oliver Behnke authored
-
Oliver Behnke authored
-
- 04 Mar, 2020 6 commits
-
-
Oliver Behnke authored
-
Oliver Behnke authored
-
Oliver Behnke authored
* Previously used FYI only * Defaults are better than explicit values
-
Oliver Behnke authored
-
Oliver Behnke authored
-
Oliver Behnke authored
-