Commit Graph

1635 Commits

Author SHA1 Message Date
Caolán McNamara
924b2923b8 V801: Decreased performance
Change-Id: I9e9a00acf9503980f0c6c7cd0a20378e5ca7390d
2015-03-09 20:56:26 +00:00
Caolán McNamara
07d62eb38e V801: Decreased performance
Change-Id: I5e7b5327b542f610efb0960b8bcfad10e04025b5
2015-03-05 10:57:33 +00:00
Caolán McNamara
c622304965 V813: Decreased performance
Change-Id: Ica2563d9e8da15e19eb38246d4de54a1fcb75655
2015-03-04 00:51:57 +00:00
Stephan Bergmann
cf6d0fced8 Replace uses of deprecated gluBuild2DMipmaps
...with glGenerateMipmap (since OpenGL 3.0) or GL_GENERATE_MIPMAP (since OpenGL
1.4).  Appears to make slide transitions not worse on Linux and Mac OS X, while
actually improving them on Windows (where the transitions were rendered in just
white w/o textures), at least on the specific machines I tested on.

Change-Id: I1e4c115223521acd3f254bdbf0330a7830160a9c
2015-03-02 15:15:17 +01:00
Julien Nabet
abfee9852c Typos
Change-Id: I5e938a0b53ea7a1b020bc73634bff70913f3ebc3
2015-02-28 10:23:18 +01:00
Julien Nabet
ed4627ba2c Typo: skiped->skipped
Change-Id: I88c53ade0101cfd7735a45b2038879bd027b0314
2015-02-28 10:23:17 +01:00
Stephan Bergmann
e1d1ea2d01 Turn all-static TransitionFactory class into namespace
Change-Id: I0187cf4c1b31c5a8c930804c7d3f36c79142af3a
2015-02-12 22:18:06 +01:00
Stephan Bergmann
c807a430cd loplugin:deletedspecial
Change-Id: I78acc6b7c56e79e2e4cc071efe95bfee94d73b7a
2015-02-07 12:36:02 +01:00
Caolán McNamara
309574394b callcatcher: large newly detected unused methods post de-virtualization
i.e lots now able to be detected after...

commit b44cbb26ef
Author: Noel Grandin <noel@peralex.com>
Date:   Tue Jan 20 12:38:10 2015 +0200

    new loplugin: change virtual methods to non-virtual

    Where we can prove that the virtual method is never overriden.

    In the case of pure-virtual methods, we remove the method entirely.
    Sometimes this leads to entire methods and fields being
    eliminated.

Change-Id: I605e2fa56f7186c3d3a764f3cd30f5cf7f881f9d
2015-01-29 23:42:26 +00:00
Noel Grandin
b44cbb26ef new loplugin: change virtual methods to non-virtual
Where we can prove that the virtual method is never overriden.

In the case of pure-virtual methods, we remove the method entirely.
Sometimes this leads to entire methods and fields being
eliminated.

Change-Id: I138ef81c95f115dbd8c023a83cfc7e9d5d6d14ae
2015-01-26 08:42:28 +02:00
Stephan Bergmann
e4fd2972e4 Some more loplugin:cstylecast: slideshow
Change-Id: I5cba157aa69b979a1e821f267f0560dd16533677
2015-01-20 11:24:51 +01:00
Noel Grandin
7f8f277b94 fdo#84938: convert STREAM_ #defines to 'enum class'
Change-Id: Ibbf14c7e9a5c1883c1311d4c86f948f74f8e473e
2015-01-07 11:20:44 +02:00
Caolán McNamara
7cc8e0c302 boost::math::nextafter->std::nextafter
Change-Id: I868b3fcf367e61c40e77e64bcc153b2a2feefa0b
2015-01-06 09:17:13 +00:00
Caolán McNamara
0be5d2b2f6 boost::unordered_map->std::unordered_map
Change-Id: I82f668ef72e916d2ff11df5cda2a02653999f66f
2015-01-04 11:07:58 +00:00
Stephan Bergmann
b74e92d51f slideshow: Use appropriate OUString functions on string constants
Change-Id: I5498af3577591fa035319b72324cf70c536f8559
2014-12-18 14:12:32 +01:00
Caolán McNamara
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
Thorsten Behrens
7d68c0f5ad Slightly less verbose adaptation to boost-1.56.0
This fixes up 45dfbdca6a

Change-Id: I754fec5c94d51cbae69ad1155f57b0bb53788ba5
2014-12-05 16:17:24 +01:00
Stephan Bergmann
038683bf4c Silence Mac OS X 10.9/10.10 deprecations for now
Change-Id: Ie63ed8f6f66a7641ad872f93d76efb962333cec9
2014-11-26 18:13:08 +01:00
Stephan Bergmann
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
Michael Stahl
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
Andrea Gelmini
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
Michael Meeks
1af1ff30bd constify slideshow.
Change-Id: I548f527be4be76a2bda43dcb5ee14e4f50f3b409
2014-11-10 07:59:00 +01:00
Tor Lillqvist
8f266781a6 Bin unused include files, thanks to Andrea Gelmini
Change-Id: I848505b1d4ff03779b89a08d4aeefd6ea0ff205b
2014-11-06 13:18:35 +02:00
Andrea Gelmini
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
Eike Rathke
f84dac9b1f back out even more wrong tools::Time changes, geez..
Change-Id: I52eb3400769999d7f554c3bdb8746f65b7990388
2014-10-08 14:35:36 +02:00
Eike Rathke
04a810cee4 back out more wrong and confusing tools::Time comment changes
Apparently fc04f76336 used some sed script
to change all ...

Change-Id: Ie609bd02a2c5d70109fc6185cf4440480f29d8f5
2014-10-08 14:24:21 +02:00
Caolán McNamara
fb6d3b883b disambiguate uniform_int_distribution
Change-Id: Ifa0c1b1983d1cc7f22d55b15dee88b7f709dbcf8
2014-10-07 14:21:16 +01:00
Caolán McNamara
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
Stephan Bergmann
3ed902fe4f slideshow: std::auto_ptr -> std::unique_ptr
Change-Id: If5b81c423ec7e21f26b641b252b722d4bf467c13
2014-10-01 17:35:10 +02:00
Noel Grandin
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
Noel Grandin
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
Fridrich Štrba
d0f4081d59 Fix build with system glm by catering for explicit constructors
Change-Id: I9bb8542514aad0882935d4a347cbe452cc8fa819
2014-09-19 09:56:23 +02:00
Noel Grandin
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
Markus Mohrhard
f60bc85f6b SAL_WARN to SAL_INFO
Change-Id: I390a6d3c730bf26c87184e2d4d373692ccc98493
2014-09-03 15:09:54 +02:00
Markus Mohrhard
8e4defe4b5 fix Wunused-private-field
Change-Id: Ia708cc3cccd86257e08aa916d24733ca6769e723
2014-09-02 02:19:14 +02:00
Markus Mohrhard
1ba10b7b30 fix build
Change-Id: I13c67763ec3cb940292199f3e9e0f3942446959f
2014-09-02 01:08:55 +02:00
Markus Mohrhard
ff3321cf77 replace check with GLEW variable
Change-Id: I818d099c70f2f886908584e67a73934dee5dbef8
2014-09-02 01:08:52 +02:00
Markus Mohrhard
45f9f5f4d9 use size_t instead of unsigned int for container indices
Change-Id: Iff2f797915f1558ea23336e273bd26e0c0edc63e
2014-09-02 01:08:52 +02:00
Markus Mohrhard
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
Markus Mohrhard
ca82d9e720 remove that ugly underscore at the end of the method names
Change-Id: I3c81c9d8b89ddf18bdc5ae700b721ca71f2700bb
2014-09-02 01:08:51 +02:00
Markus Mohrhard
63f49714a1 basegfx -> glm in OGLTrans
Change-Id: I3f3002d975f3ee2732c5e132b3b67531356aad5c
2014-09-02 01:08:51 +02:00
Markus Mohrhard
cf97444233 use constructor initializer list
Change-Id: I0bb1345f05dbd835e3f7debc66a824ccf44ef88b
2014-09-02 01:08:50 +02:00
Markus Mohrhard
9f3171fe01 improve readability
Change-Id: I7a8791c661cbd3c602c0d12d228b63ffc416a96c
2014-09-02 01:08:50 +02:00
Markus Mohrhard
c6fd7be336 no need to make these variables public
Change-Id: I9b57d6811252c75186e03ed6928bd8829fa0307c
2014-09-02 01:08:50 +02:00
Markus Mohrhard
79090d5fb0 more OpenGL error checking in OGLTrans
Change-Id: I7eff84d18be92423b3d8616162bfaf5be5203a9d
2014-09-02 01:08:50 +02:00
Markus Mohrhard
49a788a377 add OpenGL error checking to OGLTrans
Change-Id: I9e511221e3da54b44935ebde22c49e5a151f6961
2014-09-02 01:08:49 +02:00
Markus Mohrhard
3604dc4ffc remove old OSX OGLTrans
Change-Id: Icdb3a5f998d69727247c3fc4803c46803f2fa199
2014-09-02 01:08:47 +02:00
Markus Mohrhard
b3e74732e9 don't try to use X11 functions on OSX
Change-Id: Ife987833a52c7ed0b55f1003df1ee0dad2011cc0
2014-09-02 01:08:46 +02:00
Markus Mohrhard
d44155730a use glew instead of directly including OpenGL headers
Change-Id: I7337d2d2f116f465bf6988dd9c7997b0267ca1cc
2014-09-02 01:08:46 +02:00
Jörg Sonnenberger
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