ed
b9542ccc4c
Update code to use C++14 [[deprecated]] attribute
...
This commit removes the various compiler-specific JUCE_DEPRECATED macros and replaces them with C++14's deprecated attribute. It also removes the JUCE_CATCH_DEPRECATED_CODE_MISUSE flag as we can rely on the override specifier catching usage of these old virtual methods, and tidies up the DOXYGEN preprocessor checks as they were inconsistent across the codebase.
2021-09-29 16:14:00 +01:00
reuk
abf493122f
OpenGL: Attempt to enable multisampling on Android
2021-09-22 11:04:47 +01:00
reuk
75258a4ba6
OpenGL: Add multisampling support on Linux
2021-09-22 11:04:46 +01:00
attila
5c933d4c4e
macOS OpenGL: Use display refresh rate when rate limiting swapBuffers()
2021-09-10 17:47:00 +02:00
ed
7bc696cd28
Windows: Use Component::ScaleFactorListener in ActiveXComponent, OpenGL and video native code and remove some unnecessary JUCE_WIN_PER_MONITOR_DPI_AWARE checks
2021-09-08 11:21:41 +01:00
reuk
65396f986d
OpenGL: Use correct reference to glResolveMultisampleFramebufferAPPLE
2021-09-07 20:09:34 +01:00
reuk
7ac6911ccc
Windows: Fix clang/gnu compiler warnings
2021-06-03 17:30:44 +01:00
reuk
54423f6583
OpenGL: Add GLEW-inspired dynamic function loading
2021-05-26 11:23:49 +01:00
Tom Poole
79fbde7099
Added preliminary support for FreeBSD
2021-03-29 14:16:46 +01:00
ed
22777e5480
Linux: Remove embedded OpenGL window events from event queue when destroying
...
This fixes BadWindow errors from Expose events that may be processed after the window is destroyed.
2021-03-12 11:02:24 +00:00
ed
f6338c0f8e
Windows: Added ScopedThreadDPIAwarenessSetter for correctly setting and resetting thread DPI-awareness for methods which interact with an HWND and removed some DPI workarounds
2021-03-02 15:56:10 +00:00
reuk
a31a4dc5f7
X11: Ensure repainting still works after destorying a GL context
...
On Linux, repaints are only issued if the number of received SHM
completion events matches the number of events initiated with
`xShmPutImage`.
Previously, destroying a GL context was calling `XSync (display, True)`
which cleared the event queue. Sometimes, this would cause an 'SHM
Completion Event' to be removed from the queue. This meant that the
number of received events would never match the number of initiated
events, and repainting would stop indefinitely.
By calling `XSync (display, False)` instead, we ensure that pending
events are kept in the queue, so any pending SHM completion event will
be found as usual during the next repaint timer callback.
2021-02-18 11:46:48 +00:00
ed
088e100c1f
Narrowed the scoped of some undeclared Objective-C selector warnings
2020-12-10 12:48:42 +00:00
ed
b7e28541ca
Replaced deprecated Displays methods
2020-10-27 12:38:59 +00:00
ed
d83b3f7716
iOS: Convert logical to physical bounds when resolving OpenGL multisampled framebuffers
2020-10-20 10:00:35 +01:00
ed
a95ec7bc8f
Linux: Check parent window is still valid before unmapping/destroying embedded OpenGL window
2020-07-06 14:10:49 +01:00
ed
009d685179
Updated all license headers
2020-06-29 08:30:22 +01:00
reuk
092bc44413
MinGW: Fix windows/gcc warnings
2020-05-11 11:28:28 +01:00
reuk
4cf66d6522
Cleanup: Remove redundant inlines
2020-04-27 10:22:06 +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
ed
74ca3b44c4
Linux: Removed X11-specific code from LinuxComponentPeer
2020-04-16 12:18:49 +01:00
ed
fe61354c21
Linux: Added X11Symbols and WebKitSymbols singletons to dynamically load X11 and WebKit library functions at runtime
2020-04-16 12:18:48 +01:00
reuk
5f348c3040
Warnings: Add warning-wrangling header
2020-04-13 13:16:05 +01:00
reuk
327f817b9b
Copyrights: Update commercial/gpl headers to be gpl-only
2020-04-09 15:22:56 +01:00
Tom Poole
5e9826ecf8
Added some missing license headers
2020-03-16 14:11:06 +00:00
ed
ccbe0816d0
Changed fallthrough return value to nullptr in OpenGLContext::NativeContext::getNativeHandle() on Windows
2020-03-04 10:01:21 +00:00
ed
99a17ad3a9
Windows: Fixed an issue with OpenGL rendering scale in plug-ins
2020-03-03 18:37:35 +00:00
ed
18523101be
Windows: Refactored DPI handling in the VST wrapper and hosting code
2020-03-02 15:41:08 +00:00
ed
a54da0b832
Fixed some more typos
2020-01-07 08:53:23 +00:00
ed
6f4d212ca6
Reverted a37b918 which was causing some issues in Cubase 10
2019-09-11 16:19:17 +01:00
ed
a37b918082
Windows: Correctly set the DPI-awareness of OpenGL worker threads
2019-09-02 17:24:19 +01:00
ed
bdeaeaf368
macOS: Fixed some deprecation warnings and silenced some others for the time being
2019-06-24 15:05:17 +01:00
Tom Poole
670f77f80c
Fixed some Android compiler warnings
2019-06-06 16:50:12 +01:00
Tom Poole
16dd26649a
Fixed some GCC compiler warnings and removed deprecated functions
2019-06-04 16:48:44 +01:00
ed
c194389cb5
Fixed a linker error in 2af1de4
2019-05-13 10:28:12 +01:00
ed
2af1de45d7
Windows: Fixed a bug with DPI-aware VSTs in Steinberg hosts using the OpenGL renderer
2019-05-11 09:31:18 +01:00
ed
be589191a0
OpenGL: Added GL_POINT_SPRITE to juce_MissingGLDefinitions.h
2019-04-23 09:41:54 +01:00
Tom Poole
3c0ccda6a5
macOS: Cleaned up old 10.6 support ifdefs
2019-04-05 10:05:21 +01:00
Tom Poole
be83a08c3b
Added an assertion to check the OpenGL swap interval on MacOS
2019-02-01 13:00:08 +00:00
ed
360be3400d
Added an "app" subfolder to all of the native/java directories and updated modules/juce_core/native/java/README.txt
2019-01-30 09:55:50 +00:00
ed
7134bd0f1b
VST: Add juce_shouldDoubleScaleNativeGLWindow() method to ensure that OpenGL plug-ins running in hiDPI Cubase 10 on Windows are correctly scaled
2019-01-23 11:00:41 +00:00
ed
87cf4d2553
OpenGL: Replace ComponentPeer::ScaleFactorListener with a Timer that checks the native scale factor on Windows to correctly scale plug-ins
2019-01-23 10:59:51 +00:00
ed
ba68fb0212
Windows: Fixed an OpenGL bug in non-DPI aware windows with a global scale factor != 1.0
2018-12-03 17:15:58 +00:00
ed
f4c67f6fa7
Whitespace
2018-12-03 17:02:26 +00: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
ed
97c100b9c1
Windows: Added a workaround for non-DPI aware windows having an incorrect scale factor when using the OpenGL renderer
2018-10-15 15:54:29 +01:00
jules
359132ed55
More zero -> nullptr fixes
2018-10-09 11:42:55 +01:00
ed
190ca02e06
Windows: Ensure that the initial screen scale is correct when creating the OpenGL native context
2018-09-12 09:35:20 +01:00
jules
274bae5180
Extended the timeout on Android when trying to open a GL context
2018-08-30 17:00:59 +01:00