8e4defe4b5
fix Wunused-private-field
...
Change-Id: Ia708cc3cccd86257e08aa916d24733ca6769e723
2014-09-02 02:19:14 +02:00
1ba10b7b30
fix build
...
Change-Id: I13c67763ec3cb940292199f3e9e0f3942446959f
2014-09-02 01:08:55 +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
3604dc4ffc
remove old OSX OGLTrans
...
Change-Id: Icdb3a5f998d69727247c3fc4803c46803f2fa199
2014-09-02 01:08:47 +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
45dfbdca6a
Fix build with boost-1.56.0.
...
Change-Id: I61686bf61ff1e0561c385492c563e4495456ca47
Signed-off-by: Thomas Klausner <wiz@NetBSD.org >
2014-08-29 10:10:15 +01: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
7e2b9fa213
Remove some useless tools/debug.hxx includes
...
Also remove the tools/solar.h included from tools/debug.hxx. The include of solar.h
header was necessary in some cases because of a macro or a typedef that was needed.
Change-Id: Ia6e15d5c2571c58c9e9138b0d0a7f08ae88053c9
Reviewed-on: https://gerrit.libreoffice.org/11075
Reviewed-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com >
Tested-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com >
2014-08-22 16:33:18 -05: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
7914112f30
nobody is using the win implementation anymore
...
Change-Id: I0cd39941353aab9bb5bad274aecc1550f583e9e5
2014-08-12 06:19:29 +02:00
aeeddd97eb
Revert also an other part of "Extract getGLVersion() method to OpenGLHelper"
...
This partly reverts commit 23c876deeb357b6306712ff0586a819176151c15.
Change-Id: I9ba7a2e8286b5fa6064c3b9e2d680fedf402f1a2
2014-07-21 14:14:40 +02:00
70df3e3e50
Partly revert "Extract getGLVersion() method to OpenGLHelper" to fix mac build
...
This partly reverts commit 23c876deeb357b6306712ff0586a819176151c15.
Change-Id: I1008c06ec7562e090627ad3860dd198d8fa89362
2014-07-21 14:08:30 +02:00
23c876deeb
Extract getGLVersion() method to OpenGLHelper
...
Change-Id: If3b7a6c71164f2b55defe8c28cdce69de9283175
2014-07-21 13:00:08 +02:00
a517898052
remove unnecessary "const &" qualifier from T* parameters
...
e.g. convert code like
foo(X * const & p)
to
foo(X * p)
since the "const &" part of it adds nothing useful.
Change-Id: Icf5f2041517259e7b6e055b75ed1e0e77c547da5
2014-07-18 14:24:19 +02:00
358d6006f1
Optimize media rendering during slideshow: save one grabFrame() call
...
'FallbackGraphic' property introduced in:
b862a216f769d10e726ad759762b5e6a412acdaf
contains the previously called grabFrame's
result, so we can use that instead of render the media
frame again (it affects glTF models too).
Change-Id: Ia93e771e92cc7630480c665dea66fbf571dfa2a0
2014-06-30 18:17:19 +02:00
3e82897353
improve the inlinesimplememberfunctions clang plugin
...
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-17 10:55:17 +02:00
0231536278
-Werror,-Wunused-parameter
...
Change-Id: Ic46e1113af5e88a859273f76f850dbb00939c621
2014-06-13 19:06:48 +02:00
fe70101856
Introduce HAVE_FEATURE_GLTF to enable/disable gltf related code
...
When it is a release build then enable it only on Windows and
Linux.
Change-Id: I7c462aeb75e6ab60eeaa0fa42ca7853a6369b742
2014-06-12 21:43:35 +02:00
184a00b962
loplugin: inlinesimplememberfunctions
...
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-06-09 10:10:13 +02:00
c2034f3993
fixincludeguards: fix include guards
...
Change-Id: Ie6e8d4272b0b1d0d2ce93bcbc2e818a9eac1a56b
Reviewed-on: https://gerrit.libreoffice.org/9629
Reviewed-by: Thomas Arnhold <thomas@arnhold.org >
Tested-by: Thomas Arnhold <thomas@arnhold.org >
2014-06-06 19:16:40 +00:00
8f0160a10d
fdo#68849: Add header guards to all include files
...
Added header guards to files in directories sc/, sd/, slideshow/, and solenv/
Change-Id: Ib4577761644fe72f5ddb3c5060e629bf94d6e6e2
Reviewed-on: https://gerrit.libreoffice.org/9583
Reviewed-by: Thomas Arnhold <thomas@arnhold.org >
Tested-by: Thomas Arnhold <thomas@arnhold.org >
2014-06-01 16:08:25 +00:00
8d40fd2e0d
slideshow: Don't assume anything about the duration.
...
Let the player decide what to do when the duration is zero, and start()/stop() was called.
Change-Id: I17027349e8d61f7b114e193a769402c04a64f3f3
2014-05-27 14:54:24 +02:00
9b791f9c31
remove unnecessary use of OUString constructor when throwing
...
Change-Id: I4a3f3f911dcfbf88696053215a2fb7a94678244c
2014-05-27 08:20:11 +02:00
8eec77cbbc
coverity#984143 Uninitialized scalar field
...
Change-Id: I23774c0e1d463284a389e8cdcad06a4915dafd06
2014-05-23 14:16:05 +01:00
e7bc3cab01
remove boilerplate in UNO Exception constructor calls
...
Now that we have default values for Exception constructor params,
remove lots of boilerplate code.
Change-Id: I620bd641eecfed38e6123873b3b94aaf47922e74
2014-05-23 15:06:00 +02: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
9199616e9d
slideshow/glTF: make sure parent window does not cover the OpenGL window
...
Change-Id: I0da3978cefeb3d145f7411cc1c83a87d981cac62
2014-05-16 19:53:34 +02:00
21a2ce0d09
slideshow\glTF: add a parent window to the OpenGL window
...
OpenGL window is a SystemChildWindow which doesn't handle
window events as a vcl Window does (call it's event
handler functions and the given event listeners), so
I added a new parent which will handle window events
and capture them from the slideshow's main window.
Change-Id: I06ac87fb85e663e52f2691c1311605b3fd7d3afa
2014-05-15 14:23:42 +02:00