1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-04 03:40:07 +00:00
JUCE/modules/juce_opengl
reuk ea8b0a2d32
OpenGL: Ensure that GL views display at the correct scale on macOS 12
Previously, we were using the window's top-left position to determine
the scale to use for the OpenGLContext. However, on macOS the
backingScaleFactor of the window is not strictly related to the top-left
corner of the window, so the OpenGL view's scale could end up differing
from the backing scale factor when slowly moving a window between
displays with different backing scale factors.

On macOS, we now use the backing scale factor of the window's screen (as
maintained by AppKit), rather than trying to work out the correct
display and scale ourselves.
2021-12-01 15:44:07 +00:00
..
geometry Updated all license headers 2020-06-29 08:30:22 +01:00
native Windows: Allow OpenGL 3.3 core profile context 2021-11-30 17:07:49 +00:00
opengl OpenGL: Ensure that GL views display at the correct scale on macOS 12 2021-12-01 15:44:07 +00:00
utils Updated all license headers 2020-06-29 08:30:22 +01:00
juce_opengl.cpp OpenGL: Avoid dlsym calls for weak-linked symbols on macOS 2021-08-11 14:24:16 +01:00
juce_opengl.h Update code to use C++14 [[deprecated]] attribute 2021-09-29 16:14:00 +01:00
juce_opengl.mm Updated all license headers 2020-06-29 08:30:22 +01:00