summaryrefslogtreecommitdiff
path: root/vcl/inc
AgeCommit message (Collapse)AuthorFilesLines
2014-12-04Missing includeStephan Bergmann1-0/+4
Change-Id: I4df2b0bb114b8a375d3557c8e33487af737957f4
2014-12-03vcl: Implement bitmap color replacement operation in OpenGL backendLouis-Francis Ratté-Boulianne1-0/+2
Change-Id: Ia86b67e92985eeb4fb2a5f6cd74c65fab2ac5566
2014-12-03vcl: Add dummy Replace to SalBitmap implementationsLouis-Francis Ratté-Boulianne7-1/+9
Change-Id: I2f8b11a3f7cb8872a1d8f6eeeae8ce3f30223496
2014-12-03Add dummy Erase to SalBitmap implementationsMatúš Kukan7-0/+8
Change-Id: I5790deb9ab5af6f8678c964af5321264d3bce733
2014-12-03vcl: Don't create new contexts for Virtual Devices on WindowsLouis-Francis Ratté-Boulianne3-5/+3
Change-Id: I561a8142f986aca89e796ce2c4a0902fae41f9e6
2014-12-03Revert "use boost::shared_ptr instead of manual ref counting"Markus Mohrhard1-3/+1
This reverts commit 8eeb02dcc1a4bc99b083b1a591b4a70003a1604f. Conflicts: include/vcl/opengl/OpenGLContext.hxx vcl/inc/openglgdiimpl.hxx vcl/opengl/gdiimpl.cxx Change-Id: I85cc7a46876ffba5ab861f6dd83b07da466b212b
2014-12-02whitelist some driversMarkus Mohrhard1-1/+3
Especially the ones from our developer machines as they are better tested than anything else. Change-Id: Id6ff6bcae314c03453d82ee4e64aaef1bd5ed84a
2014-12-02connect all pieces for OpenGL windows blacklist, part 3Markus Mohrhard1-1/+2
Change-Id: Iaaafe7da8e717f7b127ab5806773a5a5d75b82d5
2014-12-02port blacklist from mozilla code to LibreOffice, part2Markus Mohrhard1-1/+65
Change-Id: Ia5810aa5f9e1e169b5f0217f6f176a253dc1439d
2014-12-02WaE: private field 'mnAttribIndex' is not usedTor Lillqvist1-1/+0
Change-Id: I939e184f6706fc0135f6906f0c183e5166aba5bb
2014-12-02vcl: Only load OpenGL shaders once for each contextLouis-Francis Ratté-Boulianne4-71/+80
Change-Id: Idbf9026c5e64ef41d4c913153dfddf36923ff7de
2014-12-02vcl: Consolidate size information around the GeometryProvider.Michael Meeks5-14/+17
Conflicts: vcl/inc/openglgdiimpl.hxx Change-Id: I1d764a8dba1850d2475f08e1014a085846f336c3
2014-12-02vcl: create a GeometryProvider interface.Michael Meeks7-5/+43
Implemented by both SalFrame and SalVirtualDevice, to help us to un-tangle code that needs to operate on resources associated with both of these without special cases. Change-Id: If681a002647e20c57186577fe039d4ac85bba872
2014-12-02vcl: remove SalVirtualDevice::GetWidthMichael Meeks6-9/+1
It is presumed that #i59315# is fixed already, and that this is no longer necessary. Change-Id: Ifb2f6550fac2481c4fec269b38d6e806753cb53e
2014-12-02vcl: Use the current OpenGL context for VirtualDevice and Bitmap if possibleLouis-Francis Ratté-Boulianne10-22/+122
Conflicts: include/vcl/opengl/OpenGLContext.hxx vcl/inc/openglgdiimpl.hxx vcl/opengl/gdiimpl.cxx vcl/opengl/x11/gdiimpl.cxx vcl/source/opengl/OpenGLContext.cxx Change-Id: I17f6ce66fb8b5bc027d35b4016ae56c24ee0a738
2014-12-02coverity#1255909 Uninitialized scalar fieldCaolán McNamara1-2/+0
Change-Id: I162199233c9d3feb03e7ab33b777174b2a03035a Reviewed-on: https://gerrit.libreoffice.org/13104 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-12-02Fix Windows build.Kohei Yoshida1-0/+2
Change-Id: I9ddd1a9bf572ffa570e23193b01176af8df6f8ed
2014-12-02use boost::shared_ptr instead of manual ref countingMarkus Mohrhard1-1/+3
Change-Id: I3c2ed9b5641202ff965c3a0c833c8201b2b1548b
2014-12-02windows opengl: We should actually use Init() from OpenGLSalGraphicsImpl.Jan Holesovsky1-2/+0
Change-Id: I524883b0f0bbce9a8b6f893771f144feeee49934
2014-12-02implement windows OpenGL blacklist, first stepMarkus Mohrhard1-0/+121
Change-Id: I408b76855693c64473dba3bb3fa94374fff01fae
2014-12-02vcl: Improve precision and performance of clipping when region is a RegionBandLouis-Francis Ratté-Boulianne1-0/+2
Change-Id: I7a481ba86d03b0eb8f4b456e38cfa89b6cbc209d
2014-12-02vcl: Track the GL context's clip region and update before drawing when neededLouis-Francis Ratté-Boulianne1-0/+2
Change-Id: Ibec92851dc87f6696ee55a8db10fe160cd97d09c
2014-12-02vcl: Move the painting fence to the OpenGL contextLouis-Francis Ratté-Boulianne1-2/+0
Change-Id: I462e68a1ad7a56fafe57504959cf169a70665f81
2014-12-02vcl: Always use the same OpenGL context when drawing in a windowLouis-Francis Ratté-Boulianne7-6/+38
Change-Id: Ief0e947149c133aaa8e81973e088c4df6432bfdc
2014-12-02vcl: Use old method for pixmap painting for GTK widgets without OpenGLLouis-Francis Ratté-Boulianne1-0/+1
Change-Id: Ie6078308f7a7f70683a7f963b15857b5dac753b0
2014-12-02vcl: Draw native widgets twice on black/white background to synthesize alphaLouis-Francis Ratté-Boulianne5-5/+20
Change-Id: Ic4c073360070a559855732d2de41ae9085d7d51b
2014-12-02vcl: Actually returns the number of rectangles for the RegionBandLouis-Francis Ratté-Boulianne1-1/+1
Change-Id: I6be30b28fa608855919890dc47145ef5a3648021
2014-12-02vcl: Add support for backend-dependent blending of bitmaps (mask and alpha)Louis-Francis Ratté-Boulianne8-0/+86
Change-Id: Iba64eb42965c86ca5655b9a105ef3f397e033ecf
2014-11-20windows opengl: Implement the native theming with OpenGL.libreoffice-4-4-branch-pointJan Holesovsky1-4/+13
Change-Id: If8eb5cef228f4eb28e16de3e3135742282403cdc
2014-11-20windows opengl: Introduce OpenGLCompatibleDC.Jan Holesovsky1-1/+34
This is to abstract the compatible DC creation and usage, to be reused in the native theme rendering. Change-Id: Id34bba4aeea7f46fc2aa42f292f0a525d753b8d7
2014-11-20WaE: overriding virtual function declaration not marked 'override'Tor Lillqvist1-1/+1
Change-Id: Ieb8da224e02a9c8e19eabb4c5bcbd81120900245
2014-11-20include the unx part for getting OpenGL driver & device informationMarkus Mohrhard2-0/+74
desktop/unx/source/glxtest.cxx is taken directly from the Mozilla project. THe whole concept is taken from Mozilla and is based on starting an early process that creates an OpenGL context. This prevents crashing drivers to crash Libreoffice. We read the information from the pipe as soon as we create the first vcl Window. In that place we then decide if the device/driver combination is blacklisted. Change-Id: I2624d4ce06d503281a4459cf3174f57cf1f7b733
2014-11-19coverity#1254674 Unchecked dynamic_castCaolán McNamara1-1/+1
Change-Id: Iae62353e42947324beca8d036fcd1c20346d0d29
2014-11-19ImpGraphic::ImplReadEmbedded: bSwap is false; remove dead codeMatúš Kukan1-1/+1
Change-Id: Ie5b6b593e178d3752ebf7421af8aee4b50f75819
2014-11-19Add dummy Crop to SalBitmap implementationsMatúš Kukan7-1/+7
Change-Id: Ib402395f5523a980c9ca098dcd2d8e1ecbbfa7c0
2014-11-18vcl: since we share Bitmaps across all GLContexts simplify lifecycle.Michael Meeks1-2/+2
~X11SalVirtualDevice() was destroying X resources referred to by OpenGLSalBitmap's mpContext, which were subsequently accessed by Bitmap::AcquireReadAccess on the floating Bitmap. Better to use the default window's GLContext for all bitmap operations. Change-Id: I9009980e791cff1a1f36d626592d72c7a32efd39
2014-11-18vcl: remove old GetOpenGLContext method.Michael Meeks1-5/+0
Change-Id: I1959b2e4aabdee92472fed31905fea44b989230d
2014-11-18windows opengl: Provide the context to textures everywhere where we have it.Jan Holesovsky4-30/+6
Change-Id: Ib820326fdc752d0893840bad3eb7f1369469f796
2014-11-18vcl: Execute pending operations on source when copying bitmapLouis-Francis Ratté-Boulianne1-1/+2
Change-Id: I8a6a5ffe71c9e5f16533fd1f0944d4fd2a051c73
2014-11-18More iwyu suggested headers removalRiccardo Magliocchetti1-2/+0
Signed-off-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com> Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, undid one remove that was detrimental to loplugin:unreffun Change-Id: I18d8252084d828f94ef7a954e1dbfb45743d7970
2014-11-18windows: Improve logging.Jan Holesovsky1-1/+1
Change-Id: I15e6d240b3c94af07e9b39cc16efb581869729f2
2014-11-18pch: jpeg's headers conflict with INT32 typedef when in pch.Jan Holesovsky1-2/+8
Change-Id: I02b8fa22c11895d00e29d93b25397af676e3edae
2014-11-17vcl: Implement drawing of transformed bitmaps in OpenGL backendLouis-Francis Ratté-Boulianne1-0/+14
Change-Id: I79717a608f33050b84244e378a6e51bd3be29232
2014-11-17vcl: always use the default windows' GL Context for now to create bitmaps.Michael Meeks1-0/+2
Change-Id: Ie20b10656788113709b0b0720d3cae2653639d78
2014-11-17vcl: copyBits should operate on mrParent if no context supplied.Michael Meeks3-1/+3
eg. OutputDevice::DrawOutDev: mpGraphics->CopyBits( aPosAry, NULL, this, NULL ); Change-Id: I0b041bb5aa6aba573b9f589842084722481cb438
2014-11-17loplugin:unreffunStephan Bergmann1-0/+25
Change-Id: I27ce8fc805f8b3fa127fb919a9c571de1aeef589
2014-11-15vcldemo: dump and render all icons from images.zip when zoomed in.Michael Meeks1-3/+5
Change-Id: I89f37b8a1ed70334a3485bc3ca06d04cfe6d0827
2014-11-15vcldemo: much improved icon rendering tests.Michael Meeks1-0/+1
Change-Id: I853bc0a0957cf0db629a0a5f1ced67bc069d8403
2014-11-15blind fix for OSXMarkus Mohrhard1-0/+2
Change-Id: I7050057e5fa6da5bb5517713f6cbbfa60e47984b
2014-11-15let us make the virtual explicitMarkus Mohrhard1-1/+1
Change-Id: Iaa4f2ecb54d57c9badc27ec8c13033eba5be7fed