Anthony Nicholls
05d5c94990
Native: Rename all native files for improved consistency
2 years ago
reuk
2ae87f95f1
OpenGL: Carry out all GL rendering on a single thread
2 years ago
reuk
18aaa86761
OpenGL: Reduce error checking in Release builds
2 years ago
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.
2 years ago
reuk
b27af5def9
OpenGL: Tidying
2 years ago
reuk
02b5ab748a
OpenGL: Add support for a few more OpenGL profiles
- 4.1 and 4.3 contexts can now be requested
- The requested context version is no longer ignored on Linux
- Debugging contexts are now enabled in Debug builds with GL 4.3
- Fixes a bug where glEnable(GL_TEXTURE_2D) was called in core profiles
2 years ago
Tom Poole
2ec861d99e
Update licensing banners to JUCE 7
3 years ago
Tom Poole
dea3fe60e4
Update copyright banners
3 years ago
reuk
e367393a99
OpenGL: Use a core profile when OpenGL 3.2 is requested on Windows
This mirrors the behaviour on macOS.
3 years ago
ed
b620bf1d43
Windows: Use compatibility profile when creating 3.2 context to allow deprecated function use
3 years ago
ed
e52582a561
Windows: Create OpenGL 3.2 context when specified (not 3.3)
3 years ago
ed
2224bb9760
Windows: Recreate OpenGL context if pixel format changes
3 years ago
ed
4471efd1c5
Windows: Allow OpenGL 3.3 core profile context
3 years ago
ed
7bc696cd28
Windows: Use Component::ScaleFactorListener in ActiveXComponent, OpenGL and video native code and remove some unnecessary JUCE_WIN_PER_MONITOR_DPI_AWARE checks
3 years ago
reuk
7ac6911ccc
Windows: Fix clang/gnu compiler warnings
4 years ago
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
4 years ago
ed
009d685179
Updated all license headers
4 years ago
reuk
092bc44413
MinGW: Fix windows/gcc warnings
5 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
reuk
327f817b9b
Copyrights: Update commercial/gpl headers to be gpl-only
5 years ago
ed
ccbe0816d0
Changed fallthrough return value to nullptr in OpenGLContext::NativeContext::getNativeHandle() on Windows
5 years ago
ed
99a17ad3a9
Windows: Fixed an issue with OpenGL rendering scale in plug-ins
5 years ago
ed
18523101be
Windows: Refactored DPI handling in the VST wrapper and hosting code
5 years ago
ed
6f4d212ca6
Reverted a37b918
which was causing some issues in Cubase 10
5 years ago
ed
a37b918082
Windows: Correctly set the DPI-awareness of OpenGL worker threads
5 years ago
ed
c194389cb5
Fixed a linker error in 2af1de4
6 years ago
ed
2af1de45d7
Windows: Fixed a bug with DPI-aware VSTs in Steinberg hosts using the OpenGL renderer
6 years ago
ed
7134bd0f1b
VST: Add juce_shouldDoubleScaleNativeGLWindow() method to ensure that OpenGL plug-ins running in hiDPI Cubase 10 on Windows are correctly scaled
6 years ago
ed
87cf4d2553
OpenGL: Replace ComponentPeer::ScaleFactorListener with a Timer that checks the native scale factor on Windows to correctly scale plug-ins
6 years ago
ed
ba68fb0212
Windows: Fixed an OpenGL bug in non-DPI aware windows with a global scale factor != 1.0
6 years ago
ed
97c100b9c1
Windows: Added a workaround for non-DPI aware windows having an incorrect scale factor when using the OpenGL renderer
6 years ago
ed
190ca02e06
Windows: Ensure that the initial screen scale is correct when creating the OpenGL native context
6 years ago
ed
68fe75742f
Add support for DPI aware applications on Windows
6 years ago
Tom Poole
ab863a6dc2
Replaced all usage of ScopedPointer with std::unique_ptr
7 years ago
Tom Poole
4229dc0a4f
Made a lot of ScopedPointer usage conform to the std::unique_ptr interface
7 years ago
ed
6894e04356
Android: Fixed an OpenGL crash that would occur due to failing to get a pointer to the native window
7 years ago
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
7 years ago
jules
2c3c9e5d18
A bit more minor cleaning up
8 years ago
hogliux
b5afccc37c
Updated file headers and the README with the JUCE 5 license
8 years ago
hogliux
c7b8e77031
Update copyright notice
9 years ago
jules
da8e3c53b6
Fix for win32 openGL repaints when continuous rendering is turned off.
10 years ago
jules
272bcbcaab
Added a method OpenGLContext::setOpenGLVersionRequired, which can be used to request a v3.2 context.
11 years ago
jules
e7e2abbb5c
Avoided an unnecessary call in win32 openGL that may have been causing problems with some Nvidea drivers.
11 years ago
jules
1b9a60e52c
Added a templated type to the RectangleList class. If you've used this class and these changes cause syntax errors, all you need to do to your code is to replace "RectangleList" with "RectangleList<int>" and everything will work as it did before.
11 years ago
jules
30cc1ed757
Added flags for multisampling in GL, and implementation of this for iOS.
11 years ago
jules
03c2801f3f
Copyright header update in all module files. juce_core modules are now ISC licensed. All other modules are GPLv2/3/AGPLv3
12 years ago
jules
25c70643e3
OpenGL linux fix, and removed some deprecated GL calls.
12 years ago
jules
0ceeb573d8
Minor changes to avoid pedantic compiler warnings.
12 years ago
jules
d77418efed
openGL: added acceleration flags in win32.
13 years ago