Commit Graph

16 Commits

Author SHA1 Message Date
Tor Lillqvist
b51d0ec93d Make the OpenGL transition code buildable for Windows
Whether it works at run-time is another question;)

Use the same source files as for X11, with relevant conditional
coding.

The Windows OpenGL import library corresponds to OpenGL 1.2, so we
can't directly use APIs from OpenGL 1.3 or newer. (Even if they as
such are present in the "Mesa" headers we use.) So look up also
glActivetexture() dynamically.

Change-Id: I2280e2ad7e190356e9409cc28142fa9fc33e078b
2013-01-10 23:53:41 +02:00
Marcos Paulo de Souza
3d623f3933 Remove some unused functions
Change-Id: I618de5d34d891b1b183cca12b71aff4128b2f92e
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/1517
Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br>
Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2012-12-31 10:23:16 +00:00
Julien Nabet
a1ff0ec108 Fix 'Primitive::operator=' should return 'Primitive &
I applied the same for Windows part, hope there won't be any building pb

Change-Id: Id62c8c5f60e7a525d82c36ced944b71cc5c28b78
2012-12-27 20:36:21 +01:00
Stephan Bergmann
4689f1c4cf -Werror,-Wunused-function
Change-Id: Ida1f703b4552d891f8fe3defd373ec45697ae5b5
2012-12-06 15:04:09 +01:00
David Tardon
60f6c7578b fix first run of shader-using 3D transitions
The slideshow engine emits viewChanged() immediately after the
transition has been initialized. Because the ShaderTransition data were
not fully reset in finishTransition_, no transition texture would be
generated on the re-initialization in viewChanged(), thus there would be
no transition on the first slide.

Change-Id: I04fef9a6c09537995d83889be2fe15569a1ddc2c
2012-11-28 12:14:20 +01:00
Julien Nabet
db4aab0e11 Remove some newly tagged unused methods
Change-Id: Ie55dfd19f223df62c091ffc4fdf28789b308a1c7
2012-11-23 22:39:04 +01:00
David Tardon
d6ce23bbf2 refactor OpenGL transition creation
Change-Id: I1f2de591906f3560cc60d1323e8dcfb66448f4eb
2012-11-22 10:47:15 +01:00
David Tardon
67955bfb2a fix indentation
Change-Id: I9b077cbbeac37c0eaac1365a8793cbc3f33f8b3e
2012-08-17 14:42:53 +02:00
David Tardon
d5286b6462 WaE: deleting object of abstract class type with non-virtual destructor 2012-01-15 20:27:26 +01:00
Caolán McNamara
0f12f8b23b add mode lines to new files 2011-02-14 09:28:38 +00:00
Thomas Arnhold
510d903016 cppcheck: remove unused variable lt. 2011-01-28 22:26:23 +01:00
Thomas Arnhold
37806a5199 Remove old RCS lines. 2011-01-21 14:49:25 +01:00
Kohei Yoshida
74b49ef3af Accidental commit? We don't wanna comment these out for no reason. 2010-12-12 14:18:33 -05:00
Gert Faller
c3773ef054 cleaning of __EXPORT define 2010-12-11 19:19:18 +01:00
Kayo Hamid
c8f58bc85e some caretaker code cleanup in impress 2010-12-06 10:43:55 +00:00
Norbert Thiebaud
0a86184eed Make --with-opengl work on MacOS
Now that --with-opengl is enabled by default, merge the patch
dev300/transogl-crossplatform.diff.
2010-12-03 05:16:06 -06:00