f84dac9b1f
back out even more wrong tools::Time changes, geez..
...
Change-Id: I52eb3400769999d7f554c3bdb8746f65b7990388
2014-10-08 14:35:36 +02:00
04a810cee4
back out more wrong and confusing tools::Time comment changes
...
Apparently fc04f76336fdf8c96e35382cdeb497e2f939705c used some sed script
to change all ...
Change-Id: Ie609bd02a2c5d70109fc6185cf4440480f29d8f5
2014-10-08 14:24:21 +02:00
8f436d3de7
use comphelper::rng::uniform_*_distribution everywhere
...
and automatically seed from time on first use
coverity#1242393 Don't call rand
coverity#1242404 Don't call rand
coverity#1242410 Don't call rand and additionally allow 0xFF as a value
coverity#1242409 Don't call rand
coverity#1242399 Don't call rand
coverity#1242372 Don't call rand
coverity#1242377 Don't call rand
coverity#1242378 Don't call rand
coverity#1242379 Don't call rand
coverity#1242382 Don't call rand
coverity#1242383 Don't call rand
coverity#1242402 Don't call rand
coverity#1242397 Don't call rand
coverity#1242390 Don't call rand
coverity#1242389 Don't call rand
coverity#1242388 Don't call rand
coverity#1242386 Don't call rand
coverity#1242384 Don't call rand
coverity#1242394 Don't call rand
Change-Id: I241feab9cb370e091fd6ccaba2af941eb95bc7cf
2014-10-06 14:13:27 +01:00
3ed902fe4f
slideshow: std::auto_ptr -> std::unique_ptr
...
Change-Id: If5b81c423ec7e21f26b641b252b722d4bf467c13
2014-10-01 17:35:10 +02:00
fc04f76336
fdo#82577: Handle Time
...
Put the TOOLS Time class in the tools namespace. Avoids clash with the X11
Time typedef.
Change-Id: Iac57d5aef35e81ace1ee0d5e6d76cb278f8ad866
Reviewed-on: https://gerrit.libreoffice.org/11684
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
Tested-by: Noel Grandin <noelgrandin@gmail.com >
2014-10-01 07:34:23 +00:00
827c46e7d7
fdo#82577: Handle Window
...
Put the VCL Window class in the vcl namespace. Avoids clash with the X11
Window typedef.
Change-Id: Ib1beb7ab4ad75562a42aeb252732a073d25eff1a
2014-09-23 14:11:39 +03:00
d0f4081d59
Fix build with system glm by catering for explicit constructors
...
Change-Id: I9bb8542514aad0882935d4a347cbe452cc8fa819
2014-09-19 09:56:23 +02:00
60e78fbb80
fdo#82577: Handle Font
...
Put the VCL Font class in the vcl namespace. Avoids clash with the X11
Font typedef.
Change-Id: I1a84f7cad8b31697b9860a3418f7dff794ff6537
2014-09-18 08:54:37 +02:00
f60bc85f6b
SAL_WARN to SAL_INFO
...
Change-Id: I390a6d3c730bf26c87184e2d4d373692ccc98493
2014-09-03 15:09:54 +02:00
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
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