summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-11-27use the same config file for skia build and using itLuboš Luňák
So that the setup is consistent. Change-Id: Ia113c7bf79036e3ec7585263ed70da68e461fbac
2019-11-27disable checkconfigmacros compiler check for UnpackedTarballLuboš Luňák
When building code using Skia, macros for Skia are defined in config_skia.h, and Skia uses #ifdef to check for them, but that's ok, and we neither care nor can do much about it. Change-Id: I0029f0d82b26638e0395efec06c03303333ec1e9
2019-11-27make Skia SkBitmap dumping function staticLuboš Luňák
So that it's usable also from the outside. Change-Id: I4d5184eb8a9dd452a94e5d5b7fe5ed7e329725a0
2019-11-27remove abort() from SkiaSalGraphicsImpl::invert()Luboš Luňák
This gets called during LO startup. Change-Id: I98061df91d6503100ca7edf6058d50fc529180d4
2019-11-27basic implementation of Skia text drawing on WindowsLuboš Luňák
Change-Id: If66e92aef04cd5bbeb22b8c5da65b7b9c77fed23
2019-11-27use SupportsBitmap32 also for Skia on WindowsLuboš Luňák
Change-Id: Ic40b76f152767d25c3645de2cb013c3af4ae93a4
2019-11-27refactor Windows OpenGLGlyphCache stuff to be reusable for SkiaLuboš Luňák
Basically just remove 'OpenGL' from names of most of the classes, turn them into base classes that have OpenGL subclasses that actually implement the functionality. Change-Id: Idf1f347cebc2a417bda37d6955201c775ecb0890
2019-11-27fix warningTomaž Vajngerl
Change-Id: I6f0f278bae75bb5e0cd49523b4ce6c4918092412 warning: declaration of ‘graphics’ shadows a member of ‘SkiaFlushIdle’ [-Wshadow]
2019-11-27build properly with or without Skia enabledLuboš Luňák
Change-Id: I5106f13682963b81753f79c3203d4ef7387664fe
2019-11-27disable bitmap CRC checking in SvmTest::checkBitmap(Ex)s() for SkiaLuboš Luňák
The idea itself is broken, the CRC depends on the scaling algorithm and also on the exact internal layout (and if scanlines are rounded up, the CRC also depends on random bytes). Change-Id: I800be8553c7f2afce1a4c292cd61369cde0ba6c3
2019-11-27also check rendering in SvmTest::testBitmaps()Luboš Luňák
Just like it's done in SvmTest::testBitmapExs() Change-Id: If004853aa12987eae1857c69061bdca114384942
2019-11-27initial implementation of Skia drawing on screen in WindowsLuboš Luňák
Change-Id: I1562bd2cfd1862947042bef3343aefd851a65002
2019-11-27make WinSalVirtualDevice::SetSize() always call Init() for all Impl'sLuboš Luňák
I don't see why this should be OpenGL-only. For WinSalGraphicsImpl it's a no-op anyway, and for other Impl's it may be useful to find out that they have been in fact resized. For Skia this is necessary because Init() the first time may get called with empty size. Change-Id: I4a8fa0fc633b415735d3633e89f208ab1c1f1229
2019-11-27make X11/Skia render to screen using Skia codeLuboš Luňák
Change-Id: I3056afe2ba0a15e0798d209ab9bd833c773948be
2019-11-27build also the tools/sk_app part of SkiaLuboš Luňák
That's basically code that allows intergrating the library with X11 etc. Change-Id: I3f5506ef4ecc334b4e93c4450fb1aa4c53dbfefc
2019-11-27implement skia x11 cairo text drawingLuboš Luňák
Change-Id: Id7d29980d2ea82b98e478e24b7e3189c31fa7257
2019-11-27make the X11/Skia backend finally capable of drawing on screenLuboš Luňák
Change-Id: I5c847c1036c671137ee27053691189093b1dafae
2019-11-27correct SkPaint usage when paintingLuboš Luňák
Handle SALCOLOR_NONE properly. Also avoid reusing a global SkPaint, creating a new one is as cheap as making a copy, and this way it's less error-prone. Change-Id: I12659cdc58b02f5105029b2b89d1b0c147c7a471
2019-11-27flush SkSurface's SkCanvas before getting data from itLuboš Luňák
It seems this is necessary, otherwise there may be pending operations. Change-Id: I93650bbd622d8ab8b6535a950afd2b6ac6a87db7
2019-11-27implement Skia setClipRegion()Luboš Luňák
Change-Id: I9e525936bba50b565704ee1b60d7464a7397dc80
2019-11-27better handling of bit depths in skia codeLuboš Luňák
Change-Id: Ifb3103cc3494bc55a562d4b6a16b59a044782416
2019-11-27implement skia copyBits()Luboš Luňák
Change-Id: I6706de1daaac60ce493b60af129e7a8e92c73bed
2019-11-27more SkiaSalgraphicsImpl drawingLuboš Luňák
Change-Id: Ie17e8180a07ea96eff5f98b7a59efb8f576801ff
2019-11-27Skia alpha handling improvementsLuboš Luňák
CppunitTest_vcl_bitmap_render_test now passes. Change-Id: I88863c63de84f28b5dfeeaf73d3879bc7cbba1b2
2019-11-27Skia supports 32bit bitmapsLuboš Luňák
And I'd say OpenGL does as well, but enabling this for OpenGL makes some tests fail, so let's keep this only for Skia. Change-Id: Ibbbb460cd053f4a6caa4e3a8a9c6ec52e19dcd38
2019-11-27better support for <8 bpp in SkiaSalBitmapLuboš Luňák
Change-Id: Ife79abfb9c36925405fd0b7da40f5274c0339117
2019-11-27move opengl's code for converting 1,2,4bpp to 24bppLuboš Luňák
To be reused by the Skia code. Change-Id: If3befdbd86d98a2d931c7a366c47be57a0ae6c59
2019-11-27add .cxx file for SalBitmapLuboš Luňák
And move the non-trivial virtual UpdateChecksum() there. Change-Id: I6776a51373e375e12f1ec9588a9c49410ae5124a
2019-11-27more work on SkiaSalGraphicsImpl, mainly drawBitmapLuboš Luňák
Change-Id: I153f71abe4612e2561e41ee923eb28e46cc31a98
2019-11-27initial work on Skia SalGraphicsLuboš Luňák
Change-Id: I3a86052ac1243e1dcdf63c7d003a7cd7c678faa8
2019-11-27basic functional implementation of Skia SalBmpLuboš Luňák
Not complete but can pass basic tests. Change-Id: I8e81c44554663a99cd4b262e37f4841ba0687cf1
2019-11-27initial empty Skia VCL implementationLuboš Luňák
This mostly duplicates OpenGL cases. Pretty much all implementation methods are empty. Change-Id: I333506f56dcc46c3e9405fe8194c172de17c54fd
2019-11-27move opengl vcl files to opengl/Luboš Luňák
Better to have all of them together rather than scattered. Change-Id: I1f8bbfb7018a6c28c87e4dfa2acbf4efde62894b
2019-11-27build Skia also on WindowsLuboš Luňák
Change-Id: Ic86aac42745c3241ce14235cc1b4f4adb39eba2d
2019-11-27add PCH to SkiaLuboš Luňák
Change-Id: I0aa96bec7319010ff4749e3ab5c0ceef3dc55766
2019-11-27build also OpenGL and Vulkan support in SkiaLuboš Luňák
Change-Id: I0b42dd0ef4d1e92bcde7c4b64d2fc159e8bebcb1
2019-11-27initial build of the Skia libraryLuboš Luňák
Not quite complete yet, missing e.g. Vulkan sources, and the setup is not completely correct either. Change-Id: I2283bf12f0d226ff8a34554deae5a7bd69045971
2019-11-27Remove unused BackendImpl::t_string2objectStephan Bergmann
(found by upcoming loplugin:unusedmember) Change-Id: I466a588837b476c94fb8a0ce926318629d8524dd Reviewed-on: https://gerrit.libreoffice.org/83815 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-11-27Better handling of text rotation attribute.Tamás Zolnai
We need to have a separate attribute for vertical option and for rotation option. So rotation won't be lost by setting the text direction. So I added a rotation member variable and use that as an orthogonal variable to the vertical text direction. A follow-up fix for tdf#100926. The problem was that the rotation was imported / exported correctly from/in ODP, but the text was not displayed as rotated. Change-Id: Icddc0689f06fdcd52df6dc911e02a9a948c42654 Reviewed-on: https://gerrit.libreoffice.org/83809 Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2019-11-27jsdialogs: export FillStyle command to JSONSzymon Kłos
Change-Id: I4115580bd3aad807c43fb8aaa20c898ad84cbab6 Reviewed-on: https://gerrit.libreoffice.org/83381 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/83779 Tested-by: Jenkins
2019-11-27jsdialogs: send .uno:FillStyle updates in ImpressSzymon Kłos
Change-Id: I9b266d9134678e98a5540ec3681d24b3ea43506a Reviewed-on: https://gerrit.libreoffice.org/83382 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/83778 Tested-by: Jenkins
2019-11-27jsdialogs: send .uno:FillStyle updates in CalcSzymon Kłos
Change-Id: I51682546a3c8fd4ee6d97cf8bf79d066e571addf Reviewed-on: https://gerrit.libreoffice.org/83386 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/83780 Tested-by: Jenkins
2019-11-27Remove unused return_type templateStephan Bergmann
unused since 1c2405ba44c5a146188c19e235f857ab18ea05f0 "tdf#89387 General functor and basic operations" (found by upcoming loplugin:unusedmember, which identified each of the two explicit specializations' sole member as unused) Change-Id: I275137cc70cbe4e58a728779e7e7593c5e11224b Reviewed-on: https://gerrit.libreoffice.org/83836 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-11-27Remove unused TrueColorPixelPtr specialization SetAlphaStephan Bergmann
(found by upcoming loplugin:unusedmember) Change-Id: I2f2681911893242f67188af2747e0b90090c8e22 Reviewed-on: https://gerrit.libreoffice.org/83831 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-11-27Remove unused WW8_FFN_Ver8Stephan Bergmann
unused since bb494d6bd8c5868f34bd8f9444ed3eb401145f10 "check font and list lengths" (found by upcoming loplugin:unusedmember) Change-Id: I985e8efe4892a28c78e80750cf9957fb02b00fb8 Reviewed-on: https://gerrit.libreoffice.org/83830 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-11-27Unused bitfields don't need a nameStephan Bergmann
(found by upcoming loplugin:unusedmember) Change-Id: I1ca74aa2f4758c34fc1eb25f06615c1001933a39 Reviewed-on: https://gerrit.libreoffice.org/83829 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-11-27struct GlobalNameIds doesn't need a nameStephan Bergmann
(found by upcoming loplugin:unusedmember) Change-Id: I3ee03d5c98e5f4de1891852ab07af999911d3e8a Reviewed-on: https://gerrit.libreoffice.org/83828 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-11-27Turn StateTransition::Options into scoped enumStephan Bergmann
(the enum type itself was identified as unused by upcoming loplugin:unusedmember and is put into use this way) Change-Id: Ic63931d17b512d675a0182cb9045aad5d0e9e835 Reviewed-on: https://gerrit.libreoffice.org/83824 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-11-27Remove unused Dispatch::ActionStephan Bergmann
(found by upcoming loplugin:unusedmember) Change-Id: I2e4b78b209b4d1a11f50519b06a1a9b0a154ccf0 Reviewed-on: https://gerrit.libreoffice.org/83820 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-11-27Remove unused RecentlyUsedPageCaches::value_typeStephan Bergmann
(found by upcoming loplugin:unusedmember) Change-Id: Ib0d6afbafcc210fbf839b64c370743071c51f5b4 Reviewed-on: https://gerrit.libreoffice.org/83819 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>