8e4defe4b5
fix Wunused-private-field
...
Change-Id: Ia708cc3cccd86257e08aa916d24733ca6769e723
2014-09-02 02:19:14 +02:00
ff3321cf77
replace check with GLEW variable
...
Change-Id: I818d099c70f2f886908584e67a73934dee5dbef8
2014-09-02 01:08:52 +02:00
45f9f5f4d9
use size_t instead of unsigned int for container indices
...
Change-Id: Iff2f797915f1558ea23336e273bd26e0c0edc63e
2014-09-02 01:08:52 +02:00
27fce9349b
the values are float now
...
actually OpenGL does not like double that much
Change-Id: I3267f46072194bb6b2d4705733408e3db44c8c08
2014-09-02 01:08:51 +02:00
ca82d9e720
remove that ugly underscore at the end of the method names
...
Change-Id: I3c81c9d8b89ddf18bdc5ae700b721ca71f2700bb
2014-09-02 01:08:51 +02:00
63f49714a1
basegfx -> glm in OGLTrans
...
Change-Id: I3f3002d975f3ee2732c5e132b3b67531356aad5c
2014-09-02 01:08:51 +02:00
cf97444233
use constructor initializer list
...
Change-Id: I0bb1345f05dbd835e3f7debc66a824ccf44ef88b
2014-09-02 01:08:50 +02:00
9f3171fe01
improve readability
...
Change-Id: I7a8791c661cbd3c602c0d12d228b63ffc416a96c
2014-09-02 01:08:50 +02:00
c6fd7be336
no need to make these variables public
...
Change-Id: I9b57d6811252c75186e03ed6928bd8829fa0307c
2014-09-02 01:08:50 +02:00
79090d5fb0
more OpenGL error checking in OGLTrans
...
Change-Id: I7eff84d18be92423b3d8616162bfaf5be5203a9d
2014-09-02 01:08:50 +02:00
49a788a377
add OpenGL error checking to OGLTrans
...
Change-Id: I9e511221e3da54b44935ebde22c49e5a151f6961
2014-09-02 01:08:49 +02:00
b3e74732e9
don't try to use X11 functions on OSX
...
Change-Id: Ife987833a52c7ed0b55f1003df1ee0dad2011cc0
2014-09-02 01:08:46 +02:00
d44155730a
use glew instead of directly including OpenGL headers
...
Change-Id: I7337d2d2f116f465bf6988dd9c7997b0267ca1cc
2014-09-02 01:08:46 +02:00
67232b5e73
glew is setting up that function pointer for us
...
Change-Id: I1722c1d3816e6e995e71317a9c9b1529afe9df13
2014-08-26 19:16:06 +02:00
88963dcfe7
that variable has nothing to do with glx
...
Change-Id: I202f716bcc65165e80928ccb81cec57f01bc0824
2014-08-26 19:16:06 +02:00
d72c4d4ba2
let us assume that we need to special handling for mesa anymore
...
Change-Id: I37c4db8ad7283486dd8bb62b22342f6b127f0b08
2014-08-26 19:16:05 +02:00
d409d5810c
use glew variable to check for the feature
...
Change-Id: I1e2ae37a75826d321268395d4a3c23c7ed8d7b17
2014-08-26 19:16:05 +02:00
b409ca53a5
warning C4189 local variable initialized but not referenced
...
Change-Id: I7bea7063d924318eed07a2fad4ec88ea942302a0
2014-08-13 17:48:37 +02:00
6f2472e8d1
slideshow: prewin.h/postwin.h included twice
...
Builds for me without that...
Change-Id: I6db654098ee8f93a0cad80e7534c694971aebf5d
2014-08-13 17:48:37 +02:00
3c99db4ca0
fix problems around shaders
...
Change-Id: I1577fb81cb3cf1fac3f5ba5d560d96cb83d4483d
2014-08-13 02:01:52 +02:00
b4ed7cc37e
make OGLTrans build on windows
...
We still need to fix a number of issues around pixmap to make it really useful.
Change-Id: I747d735d043d91d51809801edd9b778622b6063c
2014-08-13 02:00:08 +02:00
140b031935
we always have GLX 1.3, even on the baseline
...
Change-Id: I381aca6e09a63d21bcbdf2625c4d829f84819bf8
2014-08-13 02:00:08 +02:00
69e95b3946
remove useless OGL transition shader code
...
Change-Id: I8930aab2b4d3fd00916f12b86fa06b5e011542ac
2014-08-13 02:00:08 +02:00
886e4edf59
let us use OpenGL types for OpenGL resources
...
Change-Id: I53dbbfb2f1d721bdbb076fa7cb45801659694a14
2014-08-12 06:44:03 +02:00
d280b13b88
fix indentation
...
Change-Id: If4d3f4babf8539b5e411d0549e1c1b51c5659930
2014-08-12 06:42:34 +02:00
23c876deeb
Extract getGLVersion() method to OpenGLHelper
...
Change-Id: If3b7a6c71164f2b55defe8c28cdce69de9283175
2014-07-21 13:00:08 +02:00
8eec77cbbc
coverity#984143 Uninitialized scalar field
...
Change-Id: I23774c0e1d463284a389e8cdcad06a4915dafd06
2014-05-23 14:16:05 +01:00
4ffc795536
avoid duplication
...
Change-Id: I2de8da0ce3648657977825309d4dd9902c0f8900
2014-05-20 19:24:17 +02:00
9a076c316d
normalize member var. names
...
Change-Id: Ib6215520d51ada6f956f8400de36f61a5ff025ba
2014-05-20 15:48:51 +02:00
eccaf91ec9
use VCL's OpenGLContext for 3D transitions
...
Change-Id: I510518461eb8bc9669d0de2679c34c473f66b175
2014-05-20 15:48:51 +02:00
a49b453ad3
Clean up function declarations and some unused functions
...
Change-Id: Ia821ca4d03a467620b3ea6ea2520f0d177a5724d
2014-04-14 18:10:00 +02:00
5babf1b903
remove unnecessary scope qualifier from sal_Bool uses
...
i.e. convert "::sal_Bool" to "sal_Bool"
Change-Id: Ie5943aee4fee617bf2670655558927ed25b7e067
2014-04-03 13:54:02 +02:00
362d4f0cd4
Explicitly mark overriding destructors as "virtual"
...
It appears that the C++ standard allows overriding destructors to be marked
"override," but at least some MSVC versions complain about it, so at least make
sure such destructors are explicitly marked "virtual."
Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-04-01 19:22:54 +02:00
70cc2b191b
First batch of adding SAL_OVERRRIDE to overriding function declarations
...
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.
Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-26 16:39:26 +01:00
461ee0418a
coverity#708177 Uninitialized scalar field
...
Change-Id: I62fd8593c7c5cc0e04d54666103159a8d8932689
2014-03-22 20:52:00 +00:00
7c2e5331a7
coverity#982470 Dereference after null check
...
Change-Id: Ifa6a78eae364bd5f4adc717543dde508d7b1f445
2014-03-15 20:55:49 +00:00
5e21a413c7
cppuhelper: retrofit std::exception into overriding exception specs
...
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
36774806da
(a/A)utomaticaly -> (a/A)utomatically
...
Change-Id: Ice4327bdb8e5a14ef082f013fa513b2267f0fbf3
2014-02-25 22:00:50 +01:00
e8f8f24c84
vcl: sal_Bool -> bool
...
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
2014-02-21 12:53:51 +01:00
37a0068960
coverity#984143 Uninitialized scalar field
...
Change-Id: I2940b86ce45dfc6b7399b76c84f88c5658f4a923
2014-02-19 09:29:43 +00:00
171bde3d1e
glx 1.3 is already supported in out base line
...
Change-Id: I4304368ebb5f40cb946290a717240143f845e0c9
2014-02-12 01:01:36 +01:00
59a5ccb952
bool improvements
...
Change-Id: I89e8351001dcdda9303473f38ece3b57c0d9e72c
2014-01-17 18:45:15 +01:00
492c23afcc
Fix opengl transitions some more.
...
More fixup after a775188f6bbf3bbf8448b2b7398a1902908bb5e2 -
shuffling use of framebuffer config array to a place where it's not
yet free-ed again.
Change-Id: Icc50d08e2d42e6fbdb46de668a98d31e364f0bdc
2013-10-07 22:20:39 +02:00
7a66bd7713
Fix fdo#67908 - keep Visual around until after GL context is created.
...
Change-Id: Ie84decdccfa5bbf44c9cb05e2c2229f7384c1912
2013-08-13 11:05:01 +02:00
542b45af44
Mark as const
...
Change-Id: I0bf93f1293fb08b8b558fcac0cb496ed99ad13d9
2013-07-14 08:17:20 +09:00
a775188f6b
Fix memory leak in OGLTransitionerImpl::createWindow.
...
XFree the result of glXChooseVisual, glXGetVisualFromFBConfig and
glXGetFBConfigs when done.
Change-Id: I145c7f5f083718d983ccea4b534d4e90056eb14e
Reviewed-on: https://gerrit.libreoffice.org/4195
Reviewed-by: David Tardon <dtardon@redhat.com >
Tested-by: David Tardon <dtardon@redhat.com >
2013-06-10 04:58:56 +00:00
c32c11fbd4
MPLv2 subset improvements.
2013-06-04 17:45:42 +01:00
1946794ae0
mass removal of rtl:: prefixes for O(U)String*
...
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).
Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07 14:23:11 +02:00
a6b9173005
fdo#60148 Clean up warnings from the Clang compiler plugin
...
Change-Id: I08d755677c46c476710ecbd067ed9f7e2f54a671
loplugin: clean warnings: unused variables, incorrect indentation and log area.
Reviewed-on: https://gerrit.libreoffice.org/2544
Reviewed-by: Eike Rathke <erack@redhat.com >
Tested-by: Eike Rathke <erack@redhat.com >
2013-03-06 12:59:26 +00:00
969a8c566d
coverity#982270: fix copy&paste error
...
Change-Id: I845a858935cf00ff3b07dbfead8e827820329309
2013-03-03 09:10:10 +01:00