7f8f277b94
fdo#84938: convert STREAM_ #defines to 'enum class'
...
Change-Id: Ibbf14c7e9a5c1883c1311d4c86f948f74f8e473e
2015-01-07 11:20:44 +02:00
7cc8e0c302
boost::math::nextafter->std::nextafter
...
Change-Id: I868b3fcf367e61c40e77e64bcc153b2a2feefa0b
2015-01-06 09:17:13 +00:00
0be5d2b2f6
boost::unordered_map->std::unordered_map
...
Change-Id: I82f668ef72e916d2ff11df5cda2a02653999f66f
2015-01-04 11:07:58 +00:00
b74e92d51f
slideshow: Use appropriate OUString functions on string constants
...
Change-Id: I5498af3577591fa035319b72324cf70c536f8559
2014-12-18 14:12:32 +01:00
dde94c7348
coverity#1257110 Big parameter passed by value
...
and
coverity#1186125 Big parameter passed by value
Change-Id: I6cb6863645647edf4fba114059195582679c30c4
2014-12-08 17:10:45 +00:00
7d68c0f5ad
Slightly less verbose adaptation to boost-1.56.0
...
This fixes up 45dfbdca6a9afba1a6aef21623ec025ded635a4d
Change-Id: I754fec5c94d51cbae69ad1155f57b0bb53788ba5
2014-12-05 16:17:24 +01:00
038683bf4c
Silence Mac OS X 10.9/10.10 deprecations for now
...
Change-Id: Ie63ed8f6f66a7641ad872f93d76efb962333cec9
2014-11-26 18:13:08 +01:00
34d4643168
-Werror,-Wuninitialized
...
(in DummyRenderer ctor: base class 'comphelper::OBaseMutex' is
uninitialized when used here to access 'comphelper::OBaseMutex::m_aMutex')
Change-Id: I5b151176c676a58593933b3f2e33a3e2dfdcc630
2014-11-25 10:34:30 +01:00
6a0fe37dec
sal: clean up public headers with include-what-you-use
...
Sadly cannot forward declare "struct {...} TimeValue;".
rtl/(u)?string.hxx still include sal/log.hxx but removing osl/diagnose.h
was painful enough for now...
Change-Id: Id41e17f3870c4f24c53ce7b11f2c40a3d14d1f05
2014-11-17 11:06:53 +01:00
da40cac540
Fix common typos. No automatic tools. Handmade…
...
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959
Reviewed-on: https://gerrit.libreoffice.org/12164
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
Tested-by: Noel Grandin <noelgrandin@gmail.com >
2014-11-12 11:04:11 +00:00
1af1ff30bd
constify slideshow.
...
Change-Id: I548f527be4be76a2bda43dcb5ee14e4f50f3b409
2014-11-10 07:59:00 +01:00
0c0e3e7539
Fixed typos. No automatic tools (sed, and so on).
...
Change-Id: Ia43976d84eede6f699381bc4f3daf89b95e4cb4f
Reviewed-on: https://gerrit.libreoffice.org/12150
Reviewed-by: Bryan Quigley <gquigs@gmail.com >
Reviewed-by: Michael Stahl <mstahl@redhat.com >
Tested-by: Michael Stahl <mstahl@redhat.com >
2014-10-30 17:16:02 +00:00
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