summaryrefslogtreecommitdiff
path: root/slideshow
AgeCommit message (Collapse)Author
2016-01-31OSL_THIS_FUNC is a rip-off of BOOST_CURRENT_FUNCTION so we can use thatCaolán McNamara
as a direct drop in I guess Change-Id: I3add63f1459f4e659019bd6db54da2f5431958ce Reviewed-on: https://gerrit.libreoffice.org/21941 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-01-29vcl: add text alignment functions to ImplFont and FontAttributesChris Sherlock
ImplFont and FontAttributes now have GetAlignment and SetAlignment, and I have renamed Font::GetAlign to Font::GetAlignment, and Font::SetAlign to Font::SetAlignment. See commit description in 8bfccd3a71d911b6d ("vcl: Create accessor and mutator for font scaling in FontMetric") for reasoning behind patch. Unit test added to vcl/qa/cppunit/font.cxx to test text alignment. Change-Id: I6272c84fc9416c90616d957d1897eba9469fe7ba Reviewed-on: https://gerrit.libreoffice.org/21876 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-25InterfaceContainer2 with vector instead of SequenceNoel Grandin
create an InterfaceContainer2 class to replace InterfaceContainer. It uses a std::vector instead of a Sequence for the mutable listener list, which provides far better performance. Switch all our internal use-sites to the new class. Change-Id: I6b56cfa511ded2395faa22e68fab3b2f16c3cb88
2016-01-22GCC PCH says -Werror=unused-macros BOOST_SPIRIT_DEBUGMichael Stahl
... so try to blacklist that boost::spirit header, it is fortunately included only in one cxx file per library anyway. Change-Id: I95752540d33b2b20d7a185c05c4d4d15e660d956
2016-01-20slideshow: Change quads into cubes in the Vortex transitionEmmanuel Gil Peyrot
This makes Vortex require OpenGL 3.2 instead of 2.1. Change-Id: I9438a37c2cf75e58eafc807ad1abaa22acb231b1
2016-01-20slideshow: Relicense every shader of which I am the sole author to MPLEmmanuel Gil Peyrot
Change-Id: I921e52d8347f3b37030818711f979517eab690a8
2016-01-16slideshow: Add some volume to the Honeycomb hexagons, making them look betterEmmanuel Gil Peyrot
Change-Id: Ic0f62f36faccb65ab4fbc7bb5553d096a2658f96
2016-01-16slideshow: Tweak a few constants to make Glitter and Honeycomb look nicerEmmanuel Gil Peyrot
Change-Id: I5dd15f3d483caaedbf58a7ad12bf24798694524f
2016-01-14loplugin:unusedmethods unused return value in slideshowNoel Grandin
Change-Id: I1ed955a0e474a755949e80eef60c8cd19f43fd0e
2016-01-11loplugin:privatebase: Make derivation from noncopyable explicitly privateStephan Bergmann
Change-Id: Ia410950353aec0106ea82d025ed3ee89c79ca127
2016-01-05Fix typosAndrea Gelmini
Change-Id: I7c40d7eb90a5c2b5d9808683c83b664707c27cb1 Reviewed-on: https://gerrit.libreoffice.org/21128 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-01-05slideshow: Define inverse() to bring back the GLSL version to 1.20Emmanuel Gil Peyrot
Change-Id: Ib0372d6a98734724d99b979f2d01abc1ee317847
2016-01-05slideshow: Improve the Vortex transition to match PowerPoint betterEmmanuel Gil Peyrot
Change-Id: I60e0b71d41a726459baeb7e590745d6bfb58e884
2016-01-05slideshow: Improve the Ripple transition to match PowerPoint betterEmmanuel Gil Peyrot
Change-Id: I0b8a78fc6bce5cb737cc7070b1b69184c5f6991c
2016-01-05slideshow: Fix a few issues in the Glitter transitionEmmanuel Gil Peyrot
Remove an unused variable, add comments, reduce the time a tile stays black, and don’t rely on implicit casts of integers into floats. Change-Id: Ifacf49fe99818a62ad0430d86dc15c3bf51cf326
2016-01-05new loplugin rangedforcopy - use reference in range based forAndrzej Hunt
Inspired by 6e6ae9803796b120e95f6e89575e03c5fd0ed3c2 Change-Id: Ia0f264d3a6bbf076aa5080e3398683e50bc6ef01 Reviewed-on: https://gerrit.libreoffice.org/20190 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-12-24tdf#96522 - [ANIMATION] Animation Spiral in does not workNoel Grandin
blind fix for this since I cannot seem to make it work on my dev box no matter how far back I go. This seems to be a regression from commit c7e8f21a538c409abe70b90d7bba38386e90a876 "loplugin:unusedmethods" Change-Id: I99f0f0ca662a5fe246057b1bb8da3bd3d3c7bac6
2015-12-21loplugin:unusedfields in sfx2,slideshow,starmath,stocNoel Grandin
Change-Id: If3622b23c45dd3a2a4e9869452142d1f6b47919e
2015-12-18related tdf#96398 pull out more NPAPI-related codeThorsten Behrens
Fixup windows PCH plus pulling out more code now unused due to NPAPI removal. Follow-up to 4c18af27bf95b332ee2006cfc0bbf469fb1a84d4. Change-Id: I8ad42a28139ceeab0cae1f608d55beb28c159db3 Reviewed-on: https://gerrit.libreoffice.org/20783 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-12-15chmod -xTor Lillqvist
Change-Id: Ifa02bde8c84326c513df74d34077710f2e28c91e
2015-12-15Use #version 140 to get inverse()Tor Lillqvist
The Linux GLSL imlementation is very loose in its interpretation of standards, it seems. (I am not surprised.) Not so on Windows, at least with AMD drivers. The inverse() function (for float matririces) is present only starting from GLSL 1.40. Bump the #version directive accordingly. (See https://www.opengl.org/sdk/docs/man/html/inverse.xhtml) To get this to work again on OS X will be a further challenge. There a 'legacy' context only has GLSL 1.20. But the intent is to move this code in the direction of using 'core' contexts anyway. Change-Id: I572dc7cc30f90321b233fbfd857455dc01761a7c
2015-12-11loplugin:nullptrStephan Bergmann
Change-Id: Ib6f55bc0ce6c09ea523174cb630c6d7cd9808f96
2015-12-11No need for a separate <vcl/graph.h>Tor Lillqvist
Change-Id: I962544005b5d408f7c044a02eefe09b87d8a81fe
2015-12-11slideshow: windows build fixesTomaž Vajngerl
Change-Id: I9032af7583f0cf97664d2f84d5aead0cb1547c1a
2015-12-11slideshow: Improve the performances of the Glitter transitionEmmanuel Gil Peyrot
Change-Id: Iaf482b357577ff8a5511607844a69c90ea28d29f
2015-12-11slideshow: Improve the performances of the Honeycomb transitionEmmanuel Gil Peyrot
Change-Id: Iacddc7b84bf0be8bb112cba88cc7fd36f72e7ca0
2015-12-11slideshow: Don’t upload matrices to inexistent uniformsEmmanuel Gil Peyrot
Change-Id: I1572e101be0f5d9267dd48e96212689d80d1d023
2015-12-11slideshow: Use GL_CLAMP_TO_BORDER for texture wrapEmmanuel Gil Peyrot
No transition makes use of repeat, and it could lead to some artifacts when writing transitions. Change-Id: Icf6f4f0eb74c28d8c75991e717b6b4ffe9df5060
2015-12-11opengl: Add Geometry Shader support to OpenGLHelperEmmanuel Gil Peyrot
This is the ground work for some later transitions in slideshow. Change-Id: Ib200cf7fabd579256a5255b0fb5d8c4accf7d24b
2015-12-11slideshow: Remove extraneous checks for the program object.Emmanuel Gil Peyrot
Change-Id: Ice61bfbd75aafd4197584c34ef7fbed80c20c184
2015-12-11slideshow: Don’t crash when a transition fails to initialize.Emmanuel Gil Peyrot
Instead replace it with no transition at all. Change-Id: If7085e2ecd79eda80097f96bebbb2f9d11161c22
2015-12-11slideshow: Only upload vertex data on prepareEmmanuel Gil Peyrot
Change-Id: If87f441607adf2ed0aa31023352774e7372b7edb
2015-12-11slideshow: Fix what was remaining to be able to use a core contextEmmanuel Gil Peyrot
Change-Id: Ifb22c75c77d6bb5d3f144a1ed92bbcdf8d1112fd
2015-12-11slideshow: Fix lighting in the Vortex transitionEmmanuel Gil Peyrot
Change-Id: I870ef7885fe569c89bde63a70ef038c4133ffbfd
2015-12-11slideshow: Remove the last legacy uniformsEmmanuel Gil Peyrot
Change-Id: If5f7368bf53dd59e66e990e4f2c57b6ee2cba44b
2015-12-11slideshow: Upload the projection and modelview matrices as uniformsEmmanuel Gil Peyrot
Change-Id: I9d6c3ad0d2cc2f691afb2c8622471286f8a5e1c7
2015-12-11slideshow: upload the transform matrices as uniformsEmmanuel Gil Peyrot
Change-Id: I2380fc7f8462514e6c032b18b44df51fbaaccb9f
2015-12-11slideshow: Remove legacy lighting codeEmmanuel Gil Peyrot
Change-Id: Ib799244c6c3dd8d6fd21adc28e68690287caebd0
2015-12-11slideshow: Remove wrong and unused uniform uploadEmmanuel Gil Peyrot
Change-Id: I13c91af15caad888b4b56dbf92b63fdb0a97b47d
2015-12-03tdf#96083 slide transitions wrong with appearing shapesArmin Le Grand
When using appearing animations on shapes, some of the slide transitions incorrectly don't show these shapes. Same for disappearing shapes - both states are wrong during slide transition time. Fix slide bitmap generator to take final slide states into account. Change-Id: Iea0e576009a109c7f44a7a6498b0ee5b2c4791c5 Reviewed-on: https://gerrit.libreoffice.org/20199 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-11-30loplugin:unusedfieldsNoel Grandin
Change-Id: Icac4ac1a2614e72bc9ff070819533e09eeb1a864
2015-11-24fix build: "warning C4305: truncation from 'double' to 'float'"Thorsten Behrens
Change-Id: Ied01ccf789877c15080797de3723588e09fa6c7c
2015-11-24fix build "error C2065: ´M_PI´ : undeclared identifier"Thorsten Behrens
Change-Id: I0ba164cdc1c473184b953bffd7d264d1ec8733b6
2015-11-23slideshow: Fix rotations when the slide and the screen have a different ratioEmmanuel Gil Peyrot
Change-Id: Ia6dcc352531a6bf067f3e87086cb275b00f81c97
2015-11-23slideshow: Add back lighting in the SimpleTransition shadersEmmanuel Gil Peyrot
Change-Id: Iec854a8369a7a9f845f261233e46aea8097db109
2015-11-23slideshow: Fix the baseline version, we now require OpenGL 2.1Emmanuel Gil Peyrot
With ReflectionTransition requiring 3.0 instead. Change-Id: I9497dab91017d1d81a6a5a369524849ce5774694
2015-11-23slideshow: Make the Iris class private to the TransitionImpl translation unitEmmanuel Gil Peyrot
Change-Id: I9bf701a7f19d0f778b8fec7a39b762cc89b061b7
2015-11-23slideshow: Merge ShaderTransition into OGLTransitionImplEmmanuel Gil Peyrot
Change-Id: Ia585a5064362c261c137d8c4abefcfda7cb7bdd7
2015-11-23slideshow: Move Operation to its own translation unitEmmanuel Gil Peyrot
Change-Id: Ie0be68055152347e82da66cb48cf76c54b7966c0
2015-11-23loplugin:unusedfields in slideshow/Noel Grandin
Change-Id: I509dd0bdda284abb2b8abdb809bf1dec8b9632ce