More fixup after a775188f6bbf3bbf8448b2b7398a1902908bb5e2 -
shuffling use of framebuffer config array to a place where it's not
yet free-ed again.
Change-Id: Icc50d08e2d42e6fbdb46de668a98d31e364f0bdc
XFree the result of glXChooseVisual, glXGetVisualFromFBConfig and
glXGetFBConfigs when done.
Change-Id: I145c7f5f083718d983ccea4b534d4e90056eb14e
Reviewed-on: https://gerrit.libreoffice.org/4195
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).
Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
(But the OpenGL transitions aren't really usable on the Mac. At least
not when built against the 10.7 SDK.)
Change-Id: I6b65b417a40be182b7b4077b420b4bdb52fb67c4
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
Just some OSL_TRACE/SAL_INFO changes in the "unx" one. And it isn't
like the "win" one would actually compile for Windows as is anyway, as
it unconditionally uses glX stuff. So certainly it is better to have
just one copy, and if we want to make the OpenGL transitions build on
Windows then add ifdefs for Windows to it.
Change-Id: If6887e24a0fc03c7e0e77f003d08feb51c264f30
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
* canvas bitmaps created without transparency get an appropriate color
space
* implement a color space for OpenGL RGBA to use instead of
canvas::tools::getStdColorSpace(), which apparently uses VCL's
interpretation of alpha (alpha == 0xff means full transparency,
alpha == 0 full opacity).
Change-Id: I97f30533206b75132abd0bb0d290a279f15ae8a9
Lets rename the multiargument SetPosSizePixel to
setPosSizePixel drop the various using Window::SetPosSizePixel
and work towards de-virtualizing SetPosSizePixel/SetPosPixel and
SetSizePixel and doing the work in a virtual setPosSizePixel
Change-Id: I7057654168001b67becee1791e97f9e9dc01f7b8
This removes some possible code paths that IMHO only added complexity
and shaves some time off each presentation start (200--500 ms on this
machine) by avoiding one call of GLInitSlides, which creates the
textures.
Change-Id: I0f66d138f14c86c87d6046276adc36072227c859