summaryrefslogtreecommitdiff
path: root/vcl/inc/opengl
AgeCommit message (Collapse)Author
2015-01-27make it possible to easily have variants of glsl programsLuboš Luňák
Now it's possible to add a preamble to the compiled program, so there can be just one program with #ifdef's inside and the small variants can be selected using #define in the preamble instead of having several almost identical programs. Change-Id: I6c5112313b91b6269ebdecdfc896e0f96209ea2b
2015-01-21callcatcher: update unused codeCaolán McNamara
Change-Id: I225cbb3a4a66a8f20bec91c4770ad78e72b663b1
2015-01-19"area" scaling for opengl that has good results for downscalingLuboš Luňák
Change-Id: I0e4ad776cbf31f9a130aedf0f9741927560b5ac1
2015-01-02boost::unordered_map->std::unordered_mapCaolán McNamara
you can get debug stl this way Change-Id: Ia70a3e7c7c452390e8bee34975d296c9318e4a19
2014-12-11vcl: Don't keep a reference to the texture in the FBO objectLouis-Francis Ratté-Boulianne
Change-Id: I240d2b44e77d28af3cd5952b6d666a1709c4c54a
2014-12-11vcl: Re-use a framebuffer of the same size when possibleLouis-Francis Ratté-Boulianne
Conflicts: include/vcl/opengl/OpenGLContext.hxx Change-Id: Id9c7932976ce9d9282776c20d93d9cca4d290056
2014-12-11vcl: Add BitmapInfoAccess for bitmaps' metadata accessLouis-Francis Ratté-Boulianne
Change-Id: Iec9f8c7d8f7cded0aef9e017373e44387dc0b05c
2014-12-03vcl: Implement bitmap color replacement operation in OpenGL backendLouis-Francis Ratté-Boulianne
Change-Id: Ia86b67e92985eeb4fb2a5f6cd74c65fab2ac5566
2014-12-03vcl: Add dummy Replace to SalBitmap implementationsLouis-Francis Ratté-Boulianne
Change-Id: I2f8b11a3f7cb8872a1d8f6eeeae8ce3f30223496
2014-12-03Add dummy Erase to SalBitmap implementationsMatúš Kukan
Change-Id: I5790deb9ab5af6f8678c964af5321264d3bce733
2014-12-03vcl: Don't create new contexts for Virtual Devices on WindowsLouis-Francis Ratté-Boulianne
Change-Id: I561a8142f986aca89e796ce2c4a0902fae41f9e6
2014-12-02Missing includeStephan Bergmann
Change-Id: I4df2b0bb114b8a375d3557c8e33487af737957f4
2014-12-02WaE: private field 'mnAttribIndex' is not usedTor Lillqvist
Change-Id: I939e184f6706fc0135f6906f0c183e5166aba5bb
2014-12-02vcl: Only load OpenGL shaders once for each contextLouis-Francis Ratté-Boulianne
Change-Id: Idbf9026c5e64ef41d4c913153dfddf36923ff7de
2014-12-02vcl: Consolidate size information around the GeometryProvider.Michael Meeks
Conflicts: vcl/inc/openglgdiimpl.hxx Change-Id: I1d764a8dba1850d2475f08e1014a085846f336c3
2014-12-02vcl: create a GeometryProvider interface.Michael Meeks
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 Meeks
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é-Boulianne
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-01Fix Windows build.Kohei Yoshida
Change-Id: I9ddd1a9bf572ffa570e23193b01176af8df6f8ed
2014-11-30whitelist some driversMarkus Mohrhard
Especially the ones from our developer machines as they are better tested than anything else. Change-Id: Id6ff6bcae314c03453d82ee4e64aaef1bd5ed84a
2014-11-30windows opengl: We should actually use Init() from OpenGLSalGraphicsImpl.Jan Holesovsky
Change-Id: I524883b0f0bbce9a8b6f893771f144feeee49934
2014-11-28error C2061: syntax error : identifier 'uint64_t'Miklos Vajna
Change-Id: I78af18a1df98920a235c22c2f1875f0ac43a8e27
2014-11-28error C2039: 'vector' : is not a member of 'std'Miklos Vajna
Change-Id: I4a6d7a384daf00eb8841ea742187e38eafe98e8b
2014-11-27connect all pieces for OpenGL windows blacklist, part 3Markus Mohrhard
Change-Id: Iaaafe7da8e717f7b127ab5806773a5a5d75b82d5
2014-11-27port blacklist from mozilla code to LibreOffice, part2Markus Mohrhard
Change-Id: Ia5810aa5f9e1e169b5f0217f6f176a253dc1439d
2014-11-27implement windows OpenGL blacklist, first stepMarkus Mohrhard
Change-Id: I408b76855693c64473dba3bb3fa94374fff01fae
2014-11-22vcl: Always use the same OpenGL context when drawing in a windowLouis-Francis Ratté-Boulianne
Change-Id: Ief0e947149c133aaa8e81973e088c4df6432bfdc
2014-11-22vcl: Draw native widgets twice on black/white background to synthesize alphaLouis-Francis Ratté-Boulianne
Change-Id: Ic4c073360070a559855732d2de41ae9085d7d51b
2014-11-20WaE: overriding virtual function declaration not marked 'override'Tor Lillqvist
Change-Id: Ieb8da224e02a9c8e19eabb4c5bcbd81120900245
2014-11-20include the unx part for getting OpenGL driver & device informationMarkus Mohrhard
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úš Kukan
Change-Id: Ib402395f5523a980c9ca098dcd2d8e1ecbbfa7c0
2014-11-18vcl: since we share Bitmaps across all GLContexts simplify lifecycle.Michael Meeks
~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 Holesovsky
Change-Id: Ib820326fdc752d0893840bad3eb7f1369469f796
2014-11-18vcl: Execute pending operations on source when copying bitmapLouis-Francis Ratté-Boulianne
Change-Id: I8a6a5ffe71c9e5f16533fd1f0944d4fd2a051c73
2014-11-17vcl: always use the default windows' GL Context for now to create bitmaps.Michael Meeks
Change-Id: Ie20b10656788113709b0b0720d3cae2653639d78
2014-11-17vcl: copyBits should operate on mrParent if no context supplied.Michael Meeks
eg. OutputDevice::DrawOutDev: mpGraphics->CopyBits( aPosAry, NULL, this, NULL ); Change-Id: I0b041bb5aa6aba573b9f589842084722481cb438
2014-11-15vcl: Improve OpenGLTexture implementation by allowing implicit sharingLouis-Francis Ratté-Boulianne
Conflicts: vcl/opengl/gdiimpl.cxx Change-Id: I6421265325e72023d1affe671d75488185772786
2014-11-15vcl: Replace GetPixmapFromScreen by FillPixmapFromScreenLouis-Francis Ratté-Boulianne
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 Holesovsky
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é-Boulianne
Change-Id: Id5aa4c1e843d286026a7bcd1297670db467dcbbc
2014-11-13vcl: Use new size when scaling with filter in OpenGL backendLouis-Francis Ratté-Boulianne
Change-Id: Ib5d12b0e57b537bbd1798121e80cd517d9c8f751
2014-11-11vcl: Use a different FBO when rendering using a VirtualDeviceLouis-Francis Ratté-Boulianne
Change-Id: I8cb97a4057c06ca09adfcac8dcd3f61ac9508430
2014-11-10add code for getting device width and height on window devicesMarkus Mohrhard
Change-Id: Ib1b84745cd1211a5194da78d83646ade4b01e72a
2014-11-10fix windows buildMarkus Mohrhard
Change-Id: I4f8d4f9393b931f7593486f8e1fadee7ad35902a
2014-11-10vcl: Initial work to have native widgets rendered with OpenGLLouis-Francis Ratté-Boulianne
Change-Id: I8b244a5bdd12a64a65ca1bab14dfe6917a175ccf
2014-11-10vcl: Add a way to resize an image using the GPULouis-Francis Ratté-Boulianne
Change-Id: I949e13277fa176d64d7fba9a57e3ca6f3f0dd732
2014-11-10vcl: Allow SalBitmap implementation to do scalingLouis-Francis Ratté-Boulianne
Change-Id: If4431fb276c9c2629acbc95aeff2ef7c4a683d86
2014-11-10vcl: Add OpenGLSalBitmap implementationLouis-Francis Ratté-Boulianne
Change-Id: I0deebaedf6fe5b23f50a448eea0d5d9e99ebd391