1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-18 00:54:19 +00:00
Commit graph

120 commits

Author SHA1 Message Date
ed
6dda52b98b OpenGL: Check frame buffer completeness in OpenGLContext::copyTexture() to avoid an GL_INVALID_FRAMEBUFFER_OPERATION error 2019-07-15 16:56:22 +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
Tom Poole
cbdf5e6d21 Fixed some compiler warnings 2019-03-08 18:01:17 +00:00
ed
853ec552f1 OpenGL: Use width and height when calculating transform 2019-01-23 10:59:51 +00:00
ed
eaf0f990d4 Replaced all uses of static_cast<Type&&> with std::move 2018-11-28 17:29:20 +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
b78e63aa02 Moved Displays class out of Desktop and into its own .h/.cpp and deprecated Displays::getDisplayContaining() 2018-08-10 16:37:52 +01:00
jules
95a3f0b039 Whitespace 2018-07-03 11:51:36 +01:00
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 2018-07-03 11:51:13 +01:00
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 2018-06-26 14:06:52 +01:00
hogliux
e91def7fae OpenGL: Fixed an issue where components using OpenGL would not be restarted correctly when used in the FX docker window in Reaper 2018-05-15 12:03:20 +01:00
Tom Poole
ab863a6dc2 Replaced all usage of ScopedPointer with std::unique_ptr 2018-04-19 20:27:47 +01:00
ed
c715b069b5 OpenGL: Revert commits 515f484 and 0a15be7 and calculate scale factor using relative bounds instead 2018-01-22 14:46:02 +00:00
ed
0a15be729e OpenGL: Apply Component's transform when invalidating 2018-01-11 16:57:27 +00:00
jules
1a60fa9765 More ScopedPointer/unique_ptr compatibility work 2018-01-10 17:35:08 +00:00
ed
515f4846a5 OpenGL: Take a Component's transform into account when painting 2018-01-09 15:43:14 +00: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
jules
25fe3ee392 Some workarounds to avoid triggering the new Xcode thread checker when using openGL 2017-11-29 10:14:41 +00:00
jules
f85d706131 Some minor formatting and comment fixes 2017-11-28 17:46:15 +00:00
jules
2dc9316420 Misc ScopedPointer changes to start using reset() and get() rather than assignments and casts (part of an ongoing drift towards more std::unique_ptr compatibility) 2017-11-01 17:41:06 +00:00
hogliux
159ffb5fb9 OpenGL: Added method OpenGLContext::setTextureMagnificationFilter to change GL's texture magnification filter 2017-10-24 09:13:19 +01:00
hogliux
b9b34393d1 Improved scheduling when multiple threads are fighting for the MessageManagerLock 2017-10-19 12:55:37 +01:00
hogliux
bd0ec0ca8c Android: Fixed a rare race-condition in android OpenGL startup which could occur if the OpenGL context is destroyed before it is fully initialised 2017-09-26 16:32:41 +01:00
jules
12f9f33e91 Bit of modernisation in OpenGLContext 2017-09-25 12:19:22 +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
hogliux
4b114d89a7 OpenGL: Fixed a crash in Cubase/WaveLab when OpenGL is used in a plug-ins editor 2017-06-01 10:34:20 +01:00
hogliux
b5afccc37c Updated file headers and the README with the JUCE 5 license 2017-04-27 14:43:04 +01:00
jules
38d49a5ee7 Modernised a few RectangleList iterators 2017-04-03 16:08:07 +01:00
jules
8ed41ed14b Fixed some whitespace style and cleaned up some code using C++11 2017-03-27 13:06:42 +01:00
hogliux
327f61eacf Fixed a dead-lock which could occur if an OpenGLContext was created and immedietely deleted before it had a chance to render 2017-02-20 20:03:18 +00:00
hogliux
42305de6da Added method OpenGLContext::executeOnGLThread to help executing gl house-keeping tasks on the gl thread even when the message manager is locked 2017-02-14 20:20:32 +00:00
jules
42a956c9c6 Added a workaround for an obscure GL race condition when closing contexts 2016-04-19 16:19:10 +01:00
jules
cd37ba3aa4 Fix for openGL when a GL component is removed from its parent without detaching first. 2016-03-10 12:09:10 +00:00
jules
b355af98a1 Disabled depth-test when overlaying 2D rendering on openGL 3D content 2016-02-16 09:45:09 +00:00
jules
e1b32ff2f3 A couple of openGL3 fixes for win32 2016-02-02 10:23:04 +00:00
jules
4e6ea1dbdf Added some missing win32 GL function support needed for GL3 2016-01-29 15:12:05 +00:00
hogliux
256e66dfa3 Add workaround for OpenGL drivers which do not support glGetString(GL_SHADING_LANGUAGE_VERSION) 2016-01-26 12:46:33 +00:00
jules
02492b36b9 Lots of small whitespace tweaks. 2015-12-13 19:32:05 +00:00
jules
89ba69ab29 Android Bluetooth MIDI, pro-audio i/o and improved openGL support 2015-11-03 10:37:52 +00:00
jules
e3e812ecd6 Fixed a couple of threading issues with openGL images on OSX. 2015-08-17 19:17:51 +01:00
jules
16fa0e8ad9 Added new method OpenGLContext::getContextAttachedTo() 2015-07-28 15:01:25 +01:00
Timur Doumler
dca4d77f9d Fixed compiler warnings on Visual Studio 2015 RTM. 2015-07-23 15:57:18 +01:00
hogliux
c7b8e77031 Update copyright notice 2015-07-22 15:59:34 +01:00
jules
b6a1d5386d Added more re-binding of vertex buffers in GL rendering code, to work around people's own GL code unbinding this. 2015-06-04 16:58:42 +01:00
jules
2a15b88dc3 Fix for GL 2D rendering when used with user-code which unbinds the VAO. 2015-05-25 09:36:11 +01:00
jules
c240ca4eaf Added a method OpenGLContext::setImageCacheSize to provide explicit control over the amount of GPU space that is used for the internal image cache. 2015-03-26 18:12:07 +00:00
jules
39da2ea627 Added an internal flag JUCE_OPENGL_CREATE_JUCE_RENDER_THREAD to make non-threaded GL contexts more generically implementable. 2014-12-29 17:14:28 +00:00