summaryrefslogtreecommitdiff
path: root/vcl/Package_opengl.mk
AgeCommit message (Collapse)Author
2016-11-04opengl: move shaders to its own directoryTomaž Vajngerl
Change-Id: I9ca5a97ae3ed2472257f468f6751903b458529a7 Reviewed-on: https://gerrit.libreoffice.org/30502 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2016-05-23opengl: combined shaders to reduce shader switchingTomaž Vajngerl
Combine most common shaders for non-texture drawing and texture drawing into two combined shaders. Inside the shader we switch between the code paths with if statements. Using if statements (or any other branching statements) is discouraged inside shaders but on the other hand we reduce program state changes if we have less shader changes - which is more important for us as we want to push more work to the GPU. Change-Id: I6701b93faa9b0f55dd0af6d983ce4c2de4539c70 Reviewed-on: https://gerrit.libreoffice.org/25357 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2016-02-25opengl: shader based polyline rendering - fixes tdf#97137 for OGLTomaž Vajngerl
Adds native opengl polyline rendering to draw polylines, line joins and line caps as triangle strips. The vertex shader allows for the dynamic line width by calculating the correct vertex posiitons, and the fragment shader is used for anti-aliasing. Change-Id: If7982c828cae1fae59c57194c8ac77e5ad7f1d26
2016-02-09tdf#97666 -opengl: convert the bitmap to 8bit grays using GL shaderTomaž Vajngerl
Change-Id: I4d48d29ab752814f71c697a201e70a26ae937775 Reviewed-on: https://gerrit.libreoffice.org/22223 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2015-12-31tdf#95507 - implement opengl / 50% invert method.Michael Meeks
Change-Id: I8488cb8e8074831a6f81e6c8c122462c9819d25d Reviewed-on: https://gerrit.libreoffice.org/21025 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-09-01Added support for computing 64-bit checksum of bitmap in OpenGLMarco Cecchetti
Added a C++ and a GLSL implementation of a 64-bit CRC algorithm. Changed hardcoded checksum value in ooxmlimport unit test (testN777345). Change-Id: I16bb985a14866775efda49e21fe033ff64645896
2015-08-24opengl: push mask coords to the shaders along the image coordsTomaž Vajngerl
If using the same texture to store the image and mask data (for example when using texture atlas) the mask and image (RGB) coords aren't the same anymore. With this commit we always define the mask coords separately. Change-Id: Ie33f87a6e9ab398972c6a3d5938e5f1364c82d36
2015-01-19"area" scaling for opengl that has good results for downscalingLuboš Luňák
Change-Id: I0e4ad776cbf31f9a130aedf0f9741927560b5ac1
2014-12-03vcl: Implement bitmap color replacement operation in OpenGL backendLouis-Francis Ratté-Boulianne
Change-Id: Ia86b67e92985eeb4fb2a5f6cd74c65fab2ac5566
2014-12-02vcl: Only load OpenGL shaders once for each contextLouis-Francis Ratté-Boulianne
Change-Id: Idbf9026c5e64ef41d4c913153dfddf36923ff7de
2014-11-22vcl: Draw native widgets twice on black/white background to synthesize alphaLouis-Francis Ratté-Boulianne
Change-Id: Ic4c073360070a559855732d2de41ae9085d7d51b
2014-11-22vcl: Add support for backend-dependent blending of bitmaps (mask and alpha)Louis-Francis Ratté-Boulianne
Change-Id: Iba64eb42965c86ca5655b9a105ef3f397e033ecf
2014-11-17vcl: Implement drawing of transformed bitmaps in OpenGL backendLouis-Francis Ratté-Boulianne
Change-Id: I79717a608f33050b84244e378a6e51bd3be29232
2014-11-12vcl: Add support for radial gradients in OpenGL backendLouis-Francis Ratté-Boulianne
Change-Id: Ie47fb18ae7d5286fe7559c7dffbc54b0856d4d8e
2014-11-12vcl: Add initial support for linear gradient with OpenGLLouis-Francis Ratté-Boulianne
Change-Id: Iccc12c94bfd68387dfc0161a5fde4f595edda0e1
2014-11-10vcl: Add a way to resize an image using the GPULouis-Francis Ratté-Boulianne
Change-Id: I949e13277fa176d64d7fba9a57e3ca6f3f0dd732
2014-11-10extract shaders from source codeMarkus Mohrhard
Conflicts: vcl/opengl/gdiimpl.cxx Change-Id: Ifbb55e58e0854cc491703b8ca8d8e582741a9bd9
2014-03-17Revert "Move OpenGLRender to vcl"Markus Mohrhard
This reverts commit 04b70c682e2cdc52b144961a83d05fd203de6884. The OpenGLRender is not abstract enough for vcl. Leave it in chart2. Conflicts: chart2/source/view/inc/DummyXShape.hxx chart2/source/view/main/OpenGLRender.hxx vcl/Library_vclopengl.mk Change-Id: I5392c8ee34462ff49059126ca2284d8ebe1eb379
2014-03-14Move OpenGLRender to vclZolnai Tamás
Change-Id: I6383ae3f94fc18aec92596b9d857d3fde5869dd6