Commit Graph

22 Commits

Author SHA1 Message Date
565bc3a5d0 Replace all uses of devicePixelRatio with devicePixelRatioF 2022-01-14 19:22:50 +01:00
35fa03549b Use fully qualified names 2021-10-19 00:00:08 +02:00
c1d3fb0778 Proper use of range for 2021-10-19 00:00:07 +02:00
5aa02a19bb clang-format 2021-10-18 21:56:52 +02:00
21c3bda5d4 YACReaderFlowGL: initialize data member texture pointers
Moving the initialization of defaultTexture out of the member
initializer list gets rid of a GCC's -Wreorder warning.

Initialize other texture pointers to improve safety and consistency.
2021-03-09 21:32:23 +01:00
81b4d25b5c Remove unneeded QtOpenGL dependency
Qt OpenGL in Qt5 is a deprecated module that is discouraged for
new code usage. We have been including this module in our builds
despite not relying on its functionality for a long time now -
probably an oversight from porting to the newer functions.

Time to remove it.

IMPORTANT INFORMATION: In Qt6, a lot of functionality that was
provided by Qt GUI was moved into the 'new' Qt6 Qt OpenGL module.
Thus, even if it makes perfectly sense to remove it for Qt5 builds
we will likely have to restore it for Qt6 builds at a later time.
2021-03-09 18:26:01 +01:00
802e0d32ce Fix trying to scale images on null images 2020-09-03 18:00:29 +02:00
fb2684292b Fix code formatting. 2019-08-24 14:37:25 +02:00
bcba08d344 OpenGL CoverFlow: Restore antialiasing
We previously had to disable antialiasing because z-buffer
picking did not work with multisampling enabled. Now we
have raytracing, so we can restore it.
2019-08-24 14:37:25 +02:00
622978b2bd OpenGL coverflow: Replace z-buffer picking with raytracing. 2019-08-24 14:37:25 +02:00
98a6ef5698 Initialize pointer and use less restrictive condition in destructor 2019-06-02 09:37:40 +02:00
5db5fb7e0c Fix crash when closing YACReader with an empty go to flow gl 2019-06-02 09:28:54 +02:00
c06e8c0fc6 Fix YACReaderPageFlowGL texture destruction 2019-06-01 16:13:29 +02:00
e3ec56aa43 Format code using clang-format 2019-05-30 19:46:37 +02:00
caca3191f9 Flow: Remove glu dependency 2019-05-06 07:38:33 +02:00
d9d93c6481 gl flow: clean up includes 2019-05-05 11:17:45 +02:00
b2f44a939e fix misleading indentation of YACReaderFlowGL::remove 2019-04-01 11:25:16 +02:00
f87e113f89 fix misleading indentation of YACReaderFlowGL::setCurrentIndex 2019-04-01 11:25:16 +02:00
472e9f9832 reorder initialization of YACReaderFlowGL 2019-04-01 11:25:16 +02:00
d5a11fb16b Add .gitattributes rules for text and binary handling 2018-07-30 15:04:04 +02:00
2a136e3ea3 Merge - 9.0.0 release 2018-02-18 10:35:24 +01:00
f2a356fc70 Update russian translation. Need to subtract and to bring the terminology to a common denominator 2018-01-08 16:32:56 +00:00