summaryrefslogtreecommitdiff
path: root/vcl/inc/opengl
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é-Boulianne1-0/+1
Change-Id: I2f8b11a3f7cb8872a1d8f6eeeae8ce3f30223496
2014-12-03Add dummy Erase to SalBitmap implementationsMatúš Kukan1-0/+1
Change-Id: I5790deb9ab5af6f8678c964af5321264d3bce733
2014-12-03vcl: Don't create new contexts for Virtual Devices on WindowsLouis-Francis Ratté-Boulianne2-2/+0
Change-Id: I561a8142f986aca89e796ce2c4a0902fae41f9e6
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é-Boulianne3-11/+73
Change-Id: Idbf9026c5e64ef41d4c913153dfddf36923ff7de
2014-12-02vcl: Consolidate size information around the GeometryProvider.Michael Meeks2-9/+5
Conflicts: vcl/inc/openglgdiimpl.hxx Change-Id: I1d764a8dba1850d2475f08e1014a085846f336c3
2014-12-02vcl: create a GeometryProvider interface.Michael Meeks1-2/+4
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 Meeks1-1/+0
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é-Boulianne6-2/+106
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-02Fix Windows build.Kohei Yoshida1-0/+2
Change-Id: I9ddd1a9bf572ffa570e23193b01176af8df6f8ed
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: Always use the same OpenGL context when drawing in a windowLouis-Francis Ratté-Boulianne2-1/+14
Change-Id: Ief0e947149c133aaa8e81973e088c4df6432bfdc
2014-12-02vcl: Draw native widgets twice on black/white background to synthesize alphaLouis-Francis Ratté-Boulianne1-1/+1
Change-Id: Ic4c073360070a559855732d2de41ae9085d7d51b
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-19Add dummy Crop to SalBitmap implementationsMatúš Kukan1-0/+1
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-18windows opengl: Provide the context to textures everywhere where we have it.Jan Holesovsky2-29/+1
Change-Id: Ib820326fdc752d0893840bad3eb7f1369469f796
2014-11-18vcl: Execute pending operations on source when copying bitmapLouis-Francis Ratté-Boulianne1-1/+2
Change-Id: I8a6a5ffe71c9e5f16533fd1f0944d4fd2a051c73
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 Meeks2-0/+2
eg. OutputDevice::DrawOutDev: mpGraphics->CopyBits( aPosAry, NULL, this, NULL ); Change-Id: I0b041bb5aa6aba573b9f589842084722481cb438
2014-11-15vcl: Improve OpenGLTexture implementation by allowing implicit sharingLouis-Francis Ratté-Boulianne2-25/+49
Conflicts: vcl/opengl/gdiimpl.cxx Change-Id: I6421265325e72023d1affe671d75488185772786
2014-11-15vcl: Replace GetPixmapFromScreen by FillPixmapFromScreenLouis-Francis Ratté-Boulianne1-1/+1
Conflicts: vcl/unx/generic/gdi/gdiimpl.cxx vcl/unx/generic/gdi/salgdi2.cxx Change-Id: I2cb960d194ee5bc38beece97e8b21cc6fa3b3fbc
2014-11-14windows opengl: Proof-of-concept text rendering.Jan Holesovsky1-0/+1
We don't have a method that would paint a texture with transparency yet. We also need to limit the size of the DIBSection exactly to what we are going to paint, no point in creating a huge bitmap that is mostly empty (but the part where is the text being drawn). Change-Id: Ice0bf325743d08e19e636be73cef6aff3cde5704
2014-11-13vcl: Add support for GPU scaling when no rendering is involvedLouis-Francis Ratté-Boulianne1-0/+28
Change-Id: Id5aa4c1e843d286026a7bcd1297670db467dcbbc
2014-11-13vcl: Use new size when scaling with filter in OpenGL backendLouis-Francis Ratté-Boulianne1-1/+1
Change-Id: Ib5d12b0e57b537bbd1798121e80cd517d9c8f751
2014-11-11vcl: Use a different FBO when rendering using a VirtualDeviceLouis-Francis Ratté-Boulianne2-1/+4
Change-Id: I8cb97a4057c06ca09adfcac8dcd3f61ac9508430
2014-11-10add code for getting device width and height on window devicesMarkus Mohrhard1-1/+3
Change-Id: Ib1b84745cd1211a5194da78d83646ade4b01e72a
2014-11-10fix windows buildMarkus Mohrhard1-0/+34
Change-Id: I4f8d4f9393b931f7593486f8e1fadee7ad35902a
2014-11-10vcl: Initial work to have native widgets rendered with OpenGLLouis-Francis Ratté-Boulianne1-0/+42
Change-Id: I8b244a5bdd12a64a65ca1bab14dfe6917a175ccf
2014-11-10vcl: Add a way to resize an image using the GPULouis-Francis Ratté-Boulianne3-11/+126
Change-Id: I949e13277fa176d64d7fba9a57e3ca6f3f0dd732
2014-11-10vcl: Allow SalBitmap implementation to do scalingLouis-Francis Ratté-Boulianne1-0/+4
Change-Id: If4431fb276c9c2629acbc95aeff2ef7c4a683d86
2014-11-10vcl: Add OpenGLSalBitmap implementationLouis-Francis Ratté-Boulianne1-0/+90
Change-Id: I0deebaedf6fe5b23f50a448eea0d5d9e99ebd391