1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-30 02:50:05 +00:00
Commit graph

109 commits

Author SHA1 Message Date
reuk
394c4fd475 Clang: Fix warnings when building with clang 10 2020-07-01 10:00:43 +01:00
ed
009d685179 Updated all license headers 2020-06-29 08:30:22 +01:00
ed
d510b73cdf Normalised all whitespace before args in std::function 2020-06-05 09:37:49 +01:00
Tom Poole
894e7d2bd2 Updated all license headers 2020-04-23 17:30:39 +01:00
reuk
327f817b9b Copyrights: Update commercial/gpl headers to be gpl-only 2020-04-09 15:22:56 +01:00
jules
f58eacc135 Added more unique_ptr use, for functions that create LowLevelGraphicsContext or ImageType objects. 2019-05-15 12:08:38 +01:00
jules
359132ed55 More zero -> nullptr fixes 2018-10-09 11:42:55 +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
jules
49ddaddbae Added a lambda callback to OpenGLGraphicsContextCustomShader to allow custom set-up when the shader is activated 2018-05-08 11:15:17 +01:00
jules
38295f332b Converted some old typedefs to using declarations 2018-05-03 09:59:05 +01:00
Tom Poole
ab863a6dc2 Replaced all usage of ScopedPointer with std::unique_ptr 2018-04-19 20:27:47 +01:00
jules
1a60fa9765 More ScopedPointer/unique_ptr compatibility work 2018-01-10 17:35:08 +00:00
jules
a9eafbc90f Some tidying up in AffineTransform, and added a new fromTargetPoints method 2017-12-20 12:58:20 +00:00
jules
a9bc970ff8 Made the openGL 2D renderer limit the size of its vertex buffers to avoid problems on systems with limited GPUs 2017-11-24 13:33:11 +00:00
jules
9d56e2990d Optimised the GL renderer to avoid splitting large rectangles into horizontal strips unnecessarily 2017-11-03 13:51:37 +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
jules
369d59f656 Added a template to allow the HeapBlock class to be given signed ints or other types that are not size_t for its size parameters 2017-10-11 12:10:58 +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
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
hogliux
9f3fb1c0a6 Added a compiler error if your compiler is too old and removed numerous code checks for old compilers which are now deprecated 2017-02-01 17:18:06 +00:00
hogliux
082b15969f Fix OpenGL 2D custom shader crash on newer Android devices 2016-01-28 17:04:16 +00:00
jules
2a1234b6ac Simplified some inter-module dependencies and exception-catching fallbacks 2015-12-23 11:47:18 +00:00
jules
9f7eb07ce5 OpenGL: changed image invalidation to allow non-GL threads that draw into images to correctly invalidate the GPU-cached version 2015-11-24 11:31:26 +00:00
hogliux
c7b8e77031 Update copyright notice 2015-07-22 15:59:34 +01:00
Timur Doumler
be9a2ff1bb Implemented support for Android OpenGL native ARGB pixel format. 2015-05-05 17:44:10 +01:00
Fabian Renn-Giles
ad3c04cdac Remove colour swizzle to fix inverted colour bug on Samsung phones 2015-04-06 11:23:59 +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
fd7b9a8542 Workaround for leak of openGL textures when Images are deleted without an active GL context. 2014-10-27 10:28:46 +00:00
jules
2f1ef234ce Tightened up a few places where numeric conversion warnings could happen. 2014-07-10 18:57:24 +01:00
jules
af0276b698 Refactored some openGL 2D shaders to move some interpolation from the fragment shader into varying variables. 2014-05-30 11:25:09 +01:00
jules
e449f1a8af Workarounds for a couple of MSVC quirks. 2014-03-29 13:56:16 +00:00
jules
b1b08106bf Updated OpenGLGraphicsContext to be able to use GL3 contexts. 2014-03-13 10:57:03 +00:00
jules
fa2b42a742 Android GL fixes. 2014-02-24 20:29:13 +00:00
jules
56f7676601 Refactored the OpenGLGraphicsContextCustomShader class and added a demo for it. 2014-02-24 19:03:47 +00:00
jules
6427e11ae3 New class: OpenGLGraphicsContextCustomShader, which allows custom fragment shaders to be applied to a rectangular area during a normal 2D paint routine, to achieve per-pixel effects. 2014-02-24 11:04:38 +00:00
jules
80387e8cb5 Stripped out all the old openGL fixed-function code, and hard-coded the assumption that it'll be running on hardware that's capable of running GLSL. 2014-02-23 16:23:34 +00:00
jules
7a869d6528 Made the OpenGL graphics context keep a cache of textures it has recently used for Image rendering, to avoid repeatedly moving data to the GPU. 2014-02-20 16:38:49 +00:00
jules
d20279d1db Fix to the GL 2D renderer. Also removed the smaller limit on the GL buffer sizes used in win32. 2014-01-12 16:21:03 +00:00
jules
42bff200ed Improved the vertical font hinting algorithm and removed some duplicated typeface code. 2014-01-05 19:46:13 +00:00
jules
e34b2455f0 Fix for GL positioning of untransformed images. 2013-11-18 09:48:06 +00:00
jules
b364573890 Minor GL tweak. 2013-11-02 16:16:04 +00:00
jules
a8984031ba Made sure that glyph caches are flushed along with the typeface cache. 2013-10-23 11:50:04 +01:00
jules
2786eadaf9 Removed a few pedantic warnings. 2013-08-26 14:58:23 +01:00
jules
87182ece27 OpenGL rendering fix. 2013-08-13 15:12:54 +01:00
jules
6629921a8b Removed some override specifiers due to a Clang compiler bug. 2013-07-30 21:14:57 +01:00
jules
67916bc9d0 Refactored OpenGLGraphicsContext to share a lot of code with the software renderer, and to use edgetables rather than image masks for faster clipping. 2013-07-30 17:20:58 +01:00
jules
32c98223ac Refactored some lowlevelgraphicscontext classes to remove duplicated code. 2013-07-30 09:59:03 +01:00