summaryrefslogtreecommitdiff
path: root/canvas
AgeCommit message (Collapse)Author
2015-03-11presumably this Commit->ImplCommit is the right build fixCaolán McNamara
Change-Id: Ica4ccac97c077dd3046e42650889ba538814bf9b
2015-03-11Clean up previous commitStephan Bergmann
Change-Id: Icd4703c1541fa82bbe76f44369434a12cb397a19
2015-03-11canvas: use constructor syntax in canvas.componentChris Sherlock
Change-Id: I983307f7eeb5702c51ca2398e69c9c560c6e2435 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2015-03-11V668 no sense in testing the result of new against nullCaolán McNamara
Change-Id: I4a33bd92fc8448638a4bfe1eab7e5041a4c5cc39
2015-03-09V801: Decreased performanceCaolán McNamara
Change-Id: I9e9a00acf9503980f0c6c7cd0a20378e5ca7390d
2015-03-05Simplify o3tl::LazyUpdateStephan Bergmann
Change-Id: I7569a20877411a5ceb4a7475d82cb634eb6cb114
2015-03-05gbuild: set _WIN32_WINNT globally instead of WINVERMichael Stahl
... and remove the definitions in makefiles, except in fpicker, which defines a different value for the Vista file picker. The WINVER value is derived automatically from _WIN32_WINNT by SDK header sdkddkver.h. Change-Id: I73358a9bf5d070f71821654cae2a29335a754a21
2015-03-02Remove references to unused GLUStephan Bergmann
(after removing the one remaining use of gluErrorString in a SAL_WARN call) Change-Id: Ib94e346d73e508e69c07deafdc690e3ae0e23d4e
2015-02-18TyposJulien Nabet
Change-Id: I845a85e1aad4a0708f2b43f7d94606b4b5513ee4
2015-02-17tdf#39440 - cppcheck cleanlinessRadu Ioan
Fixed some cppcheck defects Change-Id: I25fd6aba9d76df98d20b9a1bb4c9d3c1bf6f84bb Reviewed-on: https://gerrit.libreoffice.org/14487 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-02-07loplugin:deletedspecialStephan Bergmann
Change-Id: Ibfed67bd911579caa19ca2203f60a86a4e6d637c
2015-01-26followup code removal after changing virtual methods to non-virtualNoel Grandin
This cleanups up indentation and removes dead classes. This is a followup patch to commit 272b1dd55797aacf511fb4342b0054e3697243f6 "new loplugin: change virtual methods to non-virtual" Change-Id: I1c2139589cf8cb23bb9808defe22c51039d38de1
2015-01-20Some more loplugin:cstylecast: canvasStephan Bergmann
Change-Id: I3654875c560ba4c2d88b023e3b2104c6f43bb4a0
2015-01-13svx, canvas, desktop: gb_OBJCXXFLAGS are not needed at allDouglas Mencken
Change-Id: Iea164e00262822d571f2c49665165795706a57a4 Reviewed-on: https://gerrit.libreoffice.org/13645 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-01-09override the overloading of "overload" to decrease cognitive (over-)loadMichael Stahl
Change-Id: I4d0e1de89d0bbdbea23bc5a46bf75ae0ce4e2796
2015-01-02boost::unordered_map->std::unordered_mapCaolán McNamara
you can get debug stl this way Change-Id: Ia70a3e7c7c452390e8bee34975d296c9318e4a19
2014-12-11only checked for new VirtualDeviceCaolán McNamara
Change-Id: I64d7a3c6c0894e231cb0644922675dcce0db89fa
2014-12-11stray debugging codeCaolán McNamara
Change-Id: I953389e236739c01226365c33ab777fc3972b69d
2014-12-11Resolves: fdo#87242 reuse vcl clip for cairo during animationsCaolán McNamara
Change-Id: I0a26d4c4092226732620c3852b0402ee45d4fa1d
2014-12-11Related: fdo#87242 merge duplicate clip setup codeCaolán McNamara
favoring the vclcanvas one for the places where they diverge Change-Id: I18e3d4e7659ebd4cb90c86718c1b1035671b4be3
2014-12-11Related: fdo#87242 init VirtualDevice with size of surfaceCaolán McNamara
otherwise vcl's clipping doesn't work quite right when the render text with vcl apis fallback is used. Manually forced in my case, but it should happen in practice with vertical text, so if there is a bug about vertical text not appearing in slideshows then this is part of the fix for that. Windows and Mac remain unchanged as initialized with 1, 1. If the same problem affects those platforms then they'll need to be adjusted to remember their height/widths from the ctor and those values plugged in here instead Change-Id: I2f82f0db0cf446d7db21f0a7ee4f8c15c7ebdb42
2014-12-11reduce scope of local variablesMichael Weghorn
This addresses some cppcheck warnings. Change-Id: I1122494e295af756ef3cc32717fe204505aeb9e3 Reviewed-on: https://gerrit.libreoffice.org/13335 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-10canvas: DIRECTX_VERSION macro is obsoleteMichael Stahl
It was only checked by our own code, and only DirectX 9 is supported. Change-Id: I03035f87969301624df011cb4d76c6a9532f3c99
2014-12-10canvas: remove Windows SDK #ifdefs - all supported MSVC/SDK have DirectXMichael Stahl
Change-Id: I5106593ad5472992e3607665849fb35802b6e266
2014-12-10Kill unused directx < 9 ifdeferyRiccardo Magliocchetti
Change-Id: I2cd5dd5b4f723e26802930003c68433917af782d Reviewed-on: https://gerrit.libreoffice.org/13371 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-07mpSurface->getCairo() == mpCairoCaolán McNamara
so make that clearer, and we only need to pass a Cairo context not a surface here Change-Id: If385dbd4e8a546fa18c2f93650428fe0ed0c76fc
2014-12-07cairo_restore without matching cairo_saveCaolán McNamara
Change-Id: I74496f40a532f9202e8729b8a81ef20ee86a5133
2014-12-05Slightly less verbose adaptation to boost-1.56.0Thorsten Behrens
This fixes up 45dfbdca6a9afba1a6aef21623ec025ded635a4d Change-Id: I754fec5c94d51cbae69ad1155f57b0bb53788ba5
2014-11-17sal: clean up public headers with include-what-you-useMichael Stahl
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-12Bump cairo version to 1.2.0Riccardo Magliocchetti
Requirement already fullfilled by RHEL 5 Change-Id: I2304ecac744d1b46b4329ab6d1a0b75739d5c4ea Reviewed-on: https://gerrit.libreoffice.org/12250 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-11-12Fix common typos. No automatic tools. Handmade…Andrea Gelmini
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-10fix spelling implemenation -> implementationNoel Grandin
Change-Id: I5ac499df1f4063a80a5d41f60778106a7b96940d
2014-11-10merge vcllo and vclopenglloMarkus Mohrhard
Change-Id: I419ca67dc1f87dd9ac751aa5a094fecf58136edb
2014-11-06Revert "use the new OUString::fromUtf8 method"Stephan Bergmann
This reverts commit 05050cdb23de586870bf479a9df5ced06828d498, not all places that use e.g. OStringToOUString to convert potential UTF-8 are guaranteed to fulfil the prerequisites necessary to use fromUtf8 (and some places like e.g. in codemaker are happy with the best-effort effect of OStringToOUString's OSTRING_TO_OUSTRING_CVTFLAGS).
2014-11-06use the new OUString::fromUtf8 methodNoel Grandin
Change-Id: I771004b7ccab3344a67e827e45bc34c22ffa5f77
2014-11-04Kill directx < 9 ifdeferyRiccardo Magliocchetti
Baseline is Windows XP and SP3 includes directx 9.0c Change-Id: Ib7095ebb71f297898ae8b316e3b9f18e7c052f34 Reviewed-on: https://gerrit.libreoffice.org/12246 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-11-03coverity#982921 do not leakDavid Tardon
Change-Id: I7f40b7e72caa67644b23f02fa6c2a4ccfe4f354d
2014-10-13create a macro library for implementing bit-flags typesNoel Grandin
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, changed from a macro- to a template-based solution. (Unfortunately MSVC 2012 does not support explicit conversion operators. Worked around that with explicit #ifs rather than some HAVE_EXPLICIT_CONVERSION_OPERATORS and SAL_EXPLICIT_CONVERSION_OPERATOR ainticipating we hopefully soon move to a baseline that requires unconditional support for them.) Change-Id: I4a89643b218d247e8e4a861faba458ec6dfe1396
2014-10-03loplugin: cstylecastNoel Grandin
Change-Id: Ie478d1fcfd3b64d7a2128887c216b5e0b4501ab9
2014-10-03GLSL files should go into $(LIBO_ETC_FOLDER)/openglTor Lillqvist
(And not $(LIBO_BIN_FOLDER)/opengl. Note that on Linux and Windows, LIBO_ETC_FOLDER and LIBO_BIN_FOLDER are the same, "program".) That's where getShaderFolder() in vcl/source/opengl/OpenGLHelper.cxx looks for them. Also, as they are data and not executable code, to conform to strict OS X code signing and sandboxing requirements, they definitely should not be in $(LIBO_BIN_FOLDER) Change-Id: I902e08f7a1f142697df827d50e0bda74be918eb4
2014-09-30fix windows buildNoel Grandin
after commit c9d4a2887c13a5df244022276dd79a5bef8af0ea "fdo#82577: Handle PolyPolygon" Change-Id: Iac00779e4f8d94bc93a4112f7ad6abf3db14fad5
2014-09-30fdo#82577: Handle PolyPolygonNoel Grandin
Put the TOOLS PolyPolygon class in the tools namespace. Avoids clash with the Windows PolyPolygon typedef. Change-Id: I811ecbb3d55ba4ce66e4555a8586f60fcd57fb66
2014-09-30fdo#82577: Handle RegionNoel Grandin
Put the VCL Region class in the vcl namespace. Avoids clash with the X11 Region typedef. Change-Id: I6e008111df7cf37121fbc3eaabd44a8306338291
2014-09-23fdo#82577: Handle WindowNoel Grandin
Put the VCL Window class in the vcl namespace. Avoids clash with the X11 Window typedef. Change-Id: Ib1beb7ab4ad75562a42aeb252732a073d25eff1a
2014-09-18fix windows buildNoel Grandin
after my commit 60e78fbb806bb "fdo#82577: Handle Font" Author: Noel Grandin <noel@peralex.com> Date: Tue Sep 16 10:09:58 2014 +0200 fdo#82577: Handle Font be ignored, and an empty message aborts the commit. Change-Id: Id87e9ac86b457962fa156fdb1607dfe779b8564d
2014-09-18fdo#82577: Handle FontNoel Grandin
Put the VCL Font class in the vcl namespace. Avoids clash with the X11 Font typedef. Change-Id: I1a84f7cad8b31697b9860a3418f7dff794ff6537
2014-09-02remove SAL_DEBUGs introduced earlierMarkus Mohrhard
Change-Id: I901188b5b0a3e64e2407d039dd80f89cce8cf6de
2014-09-02some temporary debug outputMarkus Mohrhard
2014-09-02add warning about bad inputMarkus Mohrhard
Change-Id: I7018813740460c79d09318770fbdcb24a24a441e
2014-09-02make the shaders compliant to GLSL 1.2Markus Mohrhard
Change-Id: Ic15760ca40d719ae333003c9bc241c813cb284fa