1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00
Commit graph

52 commits

Author SHA1 Message Date
reuk
3d8a97c1c1
Android: Update bytecode minimum version requirements 2025-09-17 12:50:06 +01:00
reuk
c134ca5d76
OpenGL (Android): Use a simpler approach to register SurfaceHolder callbacks 2025-07-09 11:30:28 +01:00
reuk
17e13c22fc
Android: Fix scaling of bounds and input coordinates for components using a custom desktop scale factor 2025-07-09 11:28:03 +01:00
reuk
c2d52a5499
OpenGLFrameBuffer: Automatically save/restore content when the context is paused/resumed
This addresses an issue where OpenGL-backed image content could get lost
when putting and Android app into an inactive state. This happens
because the GL context gets destroyed, freeing all associated resources.

The workaround introduced here will listen for OpenGL state-change
events, and attempt to save and restore framebuffer content into main
memory, so that the content can be restored once the app is reactivated.
2025-07-09 11:24:43 +01:00
Tom Poole
94d98a2b10 Update licensing information 2024-04-16 11:39:35 +01:00
Tom Poole
4153d59e39 Formatting 2023-10-02 15:42:20 +01:00
Tom Poole
7d45d498b9 Removed some superfluous consts from definitions 2023-09-20 16:31:10 +01:00
reuk
da38c1ed2a
TextInputTarget: Improve IME support on Android 2022-12-07 13:12:02 +00:00
reuk
28f2157912
Convert ignoreUnused to [[maybe_unused]] 2022-12-01 11:41:50 +00:00
reuk
2ae87f95f1
OpenGL: Carry out all GL rendering on a single thread 2022-09-27 15:18:21 +01:00
reuk
8ec8e36f5c OpenGLContext: Swap buffers on the main thread
This change fixes an issue where opening multiple OpenGLContexts on
certain versions of macOS (observed on 10.13) could cause a deadlock.

The issue can be reproduced by:
- Attaching an OpenGL context to the AudioPluginDemo editor
- Opening multiple copies of the editor simultaneously in a plugin host.
  I tested with Live 10.

I also observed the issue in a standalone app that opened new windows
containing OpenGLContexts on a timer.
2022-08-31 17:42:48 +01:00
reuk
b80f77f8b1
Android: Allow TalkBack borders to be displayed on OpenGL views 2022-06-13 15:29:57 +01:00
Tom Poole
2ec861d99e Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00
Tom Poole
dea3fe60e4 Update copyright banners 2022-04-04 12:36:32 +01:00
reuk
abf493122f
OpenGL: Attempt to enable multisampling on Android 2021-09-22 11:04:47 +01:00
ed
b7e28541ca Replaced deprecated Displays methods 2020-10-27 12:38:59 +00:00
ed
009d685179 Updated all license headers 2020-06-29 08:30:22 +01:00
Tom Poole
6cb75d9d2c Replaced all references to ROLI with Raw Material Software and regenerated all bytecode 2020-04-23 17:30:40 +01:00
Tom Poole
894e7d2bd2 Updated all license headers 2020-04-23 17:30:39 +01:00
reuk
327f817b9b Copyrights: Update commercial/gpl headers to be gpl-only 2020-04-09 15:22:56 +01:00
Tom Poole
670f77f80c Fixed some Android compiler warnings 2019-06-06 16:50:12 +01:00
hogliux
008b7a9ab2 Re-structured the low-level Android native code
Please see the forum post "Re-structuring of JUCE’s low-level Android code" and the BREAKING-CHANGES.txt for more information.
2018-11-13 12:33:40 +00:00
jules
274bae5180 Extended the timeout on Android when trying to open a GL context 2018-08-30 17:00:59 +01:00
Lukasz Kozakiewicz
315326477d Add video playback support for Android and iOS. Update VideoComponent API to support building custom UIs. 2018-05-14 18:15:06 +01:00
ed
6894e04356 Android: Fixed an OpenGL crash that would occur due to failing to get a pointer to the native window 2017-11-30 10:11:40 +00:00
Lukasz Kozakiewicz
073921445c Android: add WebBrowserComponent implementation. 2017-11-07 19:36:10 +01:00
jules
eda613c6db Moved all "namespace juce" declarations from module headers to the individual .h and .cpp source files. This makes life a lot easier for Intellisense and other IDE autocompletion tools 2017-09-08 08:59:55 +01:00
jules
2c3c9e5d18 A bit more minor cleaning up 2017-05-23 10:03:59 +01:00
hogliux
b5afccc37c Updated file headers and the README with the JUCE 5 license 2017-04-27 14:43:04 +01:00
hogliux
6559b3e185 Fixed multiple harmless warnings in Android builds 2017-02-08 18:07:37 +00:00
jules
fb864a5cb1 Corrected some spelling mistakes in comments 2016-04-11 11:13:44 +01:00
jules
89ba69ab29 Android Bluetooth MIDI, pro-audio i/o and improved openGL support 2015-11-03 10:37:52 +00:00
hogliux
c7b8e77031 Update copyright notice 2015-07-22 15:59:34 +01:00
hogliux
2f94c8019d Implement proper android scaling support 2015-06-15 18:08:12 +01:00
Timur Doumler
be9a2ff1bb Implemented support for Android OpenGL native ARGB pixel format. 2015-05-05 17:44:10 +01:00
jules
17863a45b6 Workaround for problems on Android when the OS reuses a posix thread for the openGL thread. 2015-02-24 17:59:53 +00:00
jules
04019091a7 Fix for deletion of opengl views on newer versions of android 2015-01-19 12:21:51 -08:00
jules
272bcbcaab Added a method OpenGLContext::setOpenGLVersionRequired, which can be used to request a v3.2 context. 2014-03-11 10:24:31 +00:00
jules
30cc1ed757 Added flags for multisampling in GL, and implementation of this for iOS. 2013-07-23 17:38:25 +01:00
jules
03c2801f3f Copyright header update in all module files. juce_core modules are now ISC licensed. All other modules are GPLv2/3/AGPLv3 2013-06-13 13:17:12 +01:00
jules
25c70643e3 OpenGL linux fix, and removed some deprecated GL calls. 2013-03-28 13:13:10 +00:00
jules
6f88b7ae60 Minor clean-ups. 2013-01-03 10:29:01 +00:00
jules
0ceeb573d8 Minor changes to avoid pedantic compiler warnings. 2012-12-04 21:39:15 +00:00
jules
842d30fbfa Minor tidying-up. 2012-09-04 11:38:16 +01:00
jules
591e89cd87 Replaced the badly-named method Array::removeValue() with two new methods: removeFirstMatchingValue() and removeAllInstancesOf(). If you call the old method anywhere, you can just replace any calls with removeFirstMatchingValue(), which does the same job, but whose name makes it clear that not all instances of the value will be removed. 2012-07-07 21:09:10 +01:00
jules
68024fb8aa Changed OpenGLContext to take a native context handle as its sharing context. 2012-05-05 18:33:20 +01:00
jules
bd0741f9a9 Added method OpenGLContext::deactivateCurrentContext(). 2012-05-04 11:23:57 +01:00
jules
7d9e06d788 Added OpenGL locking for OSX. 2012-04-03 18:18:44 +01:00
jules
4e1a9f6526 better double comparisons for var. Fix for VS2005/VS2010 RTAS exporting. Minor GL cleanups and project updates. 2012-03-31 16:41:05 +01:00
jules
0f8cc04904 GL fixes, clean-ups, docs. 2012-03-30 15:28:26 +01:00