reuk
90ad1877af
OpenGL: Only use vertex arrays if the GL version is greater or equal to 3
3 years ago
reuk
d64c4277b4
OpenGL: Reinstate ifdef which was removed accidentally
3 years ago
reuk
280d97eb79
OpenGL: Check at runtime whether non-power-of-two textures are supported
3 years ago
reuk
f0b515cc73
OpenGL: Fix shader compilation on Ubuntu 18.04
Previously, we were always adding a #version 150 directive to shaders
when the GLSL version was higher than 1.2, which could cause compilation
to fail on platforms with GLSL versions between 1.2 and 1.5.
3 years ago
ed
dc61bd63e7
macOS: Manually reset repaint WaitableEvent when using CVDisplayLink
3 years ago
reuk
7ac6911ccc
Windows: Fix clang/gnu compiler warnings
4 years ago
reuk
28882b788a
OpenGL: Add missing function annotations
4 years ago
reuk
31a7c62baf
Windows: Fix and suppress some analysis warnings
This fixes warnings that are emitted when building with the `-analyze`
flag enabled.
4 years ago
reuk
54423f6583
OpenGL: Add GLEW-inspired dynamic function loading
4 years ago
Tom Poole
79fbde7099
Added preliminary support for FreeBSD
4 years ago
ed
b7e28541ca
Replaced deprecated Displays methods
4 years ago
reuk
394c4fd475
Clang: Fix warnings when building with clang 10
4 years ago
ed
009d685179
Updated all license headers
4 years ago
ed
d510b73cdf
Normalised all whitespace before args in std::function
5 years ago
ed
05602341fc
OpenGL: Take global scale factor into account when setting rendering scale on Windows
5 years ago
ed
1bb38fe54a
OpenGL: Take global scale factor into account when setting rendering scale on Windows
5 years ago
ed
e1c18e6461
macOS: Render OpenGL frames on ThreadPoolJob instead of directly on the CVDisplayLink thread to avoid a deadlock
5 years ago
ed
228fc0a8cf
macOS: Disable CVDisplayLink driver when continuous repainting is false
5 years ago
ed
281ae0b067
macOS: Render OpenGL frames on ThreadPoolJob instead of directly on the CVDisplayLink thread to avoid a deadlock
5 years ago
ed
270237be9b
macOS: Disable CVDisplayLink driver when continuous repainting is false
5 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
ed
c2e3dcd8bf
Updated the documentation of some methods which now return std::unique_ptr instead of raw pointers to remove references to deleting the returned object
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
d77dae186d
Windows: Fixed an OpenGL scale issue in high-DPI plug-ins
5 years ago
ed
59a058fdc6
Fixed some warnings flagged up when enabling -Wswitch-enum, -Wswitch-default, -Wredundant-decls, and -Wimplicit-fallthrough
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
b2d8f45e14
Fixed a potential data race in OpenGLContext::CachedImage
5 years ago
ed
a54da0b832
Fixed some more typos
5 years ago
Tom Poole
26027ca9c3
macOS: Use CVDisplayLink to drive OpenGL
5 years ago
ed
558ca3e5e6
OpenGL: Update native context window position when viewport size or scale changes in OpenGLContext::CachedImage::updateViewportSize()
5 years ago
Tom Poole
d8638fdd2a
OpenGL: Fixed an issue cloning OpenGLImageType images
5 years ago
ed
6dda52b98b
OpenGL: Check frame buffer completeness in OpenGLContext::copyTexture() to avoid an GL_INVALID_FRAMEBUFFER_OPERATION error
5 years ago
Tom Poole
670f77f80c
Fixed some Android compiler warnings
6 years ago
Tom Poole
16dd26649a
Fixed some GCC compiler warnings and removed deprecated functions
6 years ago
jules
f58eacc135
Added more unique_ptr use, for functions that create LowLevelGraphicsContext or ImageType objects.
6 years ago
Tom Poole
d475b17a81
Fixed some compiler warnings
6 years ago
Tom Poole
cbdf5e6d21
Fixed some compiler warnings
6 years ago
ed
5bdd3ea8c6
OpenGL: Fixed an incorrect type in OpenGLShaderProgram::Uniform::set()
6 years ago
ed
a234721110
Added various clang-tidy modernize-* fixes
6 years ago
ed
853ec552f1
OpenGL: Use width and height when calculating transform
6 years ago
ed
eaf0f990d4
Replaced all uses of static_cast<Type&&> with std::move
6 years ago
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.
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
jules
359132ed55
More zero -> nullptr fixes
6 years ago
ed
b78e63aa02
Moved Displays class out of Desktop and into its own .h/.cpp and deprecated Displays::getDisplayContaining()
6 years ago
jules
95a3f0b039
Whitespace
6 years ago
jules
1e6bbb8da9
Added some methods to allow ReferenceCountedObjectPtrs to be constructed or copied from references as well as pointers - as well as increasing safety, this actually makes things a bit more efficient as it skips a nullptr check. Updated lots of places in the code that could take advantage of this
6 years ago
jules
49aa9c9db4
Added flag JUCE_STRICT_REFCOUNTEDPOINTER which is recommended to avoid accidental leaks when using ref-counted pointers. Enabled this flag in the demo projects, and used it to help tidy up some dubious smart-pointer use
6 years ago