Tom Poole
9b041f3d74
Add a base clang-tidy configuration
1 year ago
reuk
28f2157912
Convert ignoreUnused to [[maybe_unused]]
2 years ago
reuk
2ae87f95f1
OpenGL: Carry out all GL rendering on a single thread
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
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
65396f986d
OpenGL: Use correct reference to glResolveMultisampleFramebufferAPPLE
3 years ago
reuk
54423f6583
OpenGL: Add GLEW-inspired dynamic function loading
4 years ago
ed
b7e28541ca
Replaced deprecated Displays methods
4 years ago
ed
d83b3f7716
iOS: Convert logical to physical bounds when resolving OpenGL multisampled framebuffers
4 years ago
ed
009d685179
Updated all license headers
4 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
a54da0b832
Fixed some more typos
5 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
hogliux
b5afccc37c
Updated file headers and the README with the JUCE 5 license
8 years ago
jules
990b7b3b09
Fix for openGL components when global scale factors are applied
8 years ago
jules
4583fa3fbf
Used the ignoreUnused() function to tidy up some old code
9 years ago
hogliux
c7b8e77031
Update copyright notice
9 years ago
jules
28123033cd
Fixed an iOS GL compile error.
10 years ago
jules
b8133ad331
Fix for GL multisampling on some iOS versions.
10 years ago
jules
6bbe61f024
Compiler warning fix in iOS build.
10 years ago
jules
56d2ae6a75
More iOS opengl version tweaking
10 years ago
jules
9dd760c86b
Another update for iOS8 openGL multisampling
10 years ago
jules
49dd0011b0
Updates for iOS GL calls in iOS8
10 years ago
jules
3b13032b8c
Updated some iOS GL calls to use newer API types and functions
10 years ago
jules
44b5f716cb
Fixes for openGL on iOS to use multisampling.
10 years ago
jules
619d475021
Fixes for building on iOS 6 SDK
11 years ago
jules
e5c556d307
Added support for GLSL v3 in iOS
11 years ago
jules
272bcbcaab
Added a method OpenGLContext::setOpenGLVersionRequired, which can be used to request a v3.2 context.
11 years ago
jules
c62da6c983
Cleaned up some pedantic warnings in the iOS build.
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
ba2dc52b34
Made use of @autoreleasepool for clang builds.
12 years ago
jules
b4b8aa939f
Fix for iOS high-DPI openGL.
12 years ago
jules
0ceeb573d8
Minor changes to avoid pedantic compiler warnings.
12 years ago
jules
2e777f8943
Fix for iOS windowing, and some CGRect clean-ups.
12 years ago
jules
5a69cc6ce2
Internal tidying-up.
13 years ago
jules
68024fb8aa
Changed OpenGLContext to take a native context handle as its sharing context.
13 years ago
jules
ffdca01800
openGL: deactivating context on shutdown.
13 years ago
jules
bd0741f9a9
Added method OpenGLContext::deactivateCurrentContext().
13 years ago
jules
7d9e06d788
Added OpenGL locking for OSX.
13 years ago
jules
4e1a9f6526
better double comparisons for var. Fix for VS2005/VS2010 RTAS exporting. Minor GL cleanups and project updates.
13 years ago
jules
0f8cc04904
GL fixes, clean-ups, docs.
13 years ago
jules
91a41ddbd8
OpenGL refactoring (stage 1)
13 years ago
jules
cd711a5c44
OpenGL refactoring. Removed a couple of minor methods from OpenGLComponent.
13 years ago