Bug 82319

Summary: use modern OpenGL for OpenGL canvas
Product: LibreOffice Reporter: Markus Mohrhard <markus.mohrhard>
Component: graphics stackAssignee: Not Assigned <libreoffice-bugs>
Status: ASSIGNED --- QA Contact:
Severity: normal    
Priority: medium CC: dtardon, libreoffice, meta_dev, thb
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard: EasyHack DifficultyInteresting SkillCpp TopicCleanup
i915 platform: i915 features:

Description Markus Mohrhard 2014-08-08 03:47:24 UTC
Currently many parts of the OpenGL canavs (implementation in canvas/source/opengl) use parts of the fixed pipeline. We should move these parts to modern OpenGL, so either 2.0+ or even 3.0+.

We are using FBos now so we are not compatible with 1.5 anyway.

You can recognize the fixed pipeline parts as they are normally between glBegin and glEnd. These should be moved to shaders. Some existing shaders are at canvas/opengl and chart2/opengl
Comment 1 Markus Mohrhard 2014-08-08 03:51:17 UTC
Make it an easy hack.

This hack can be either started now in the feature/use-ogl-context-in-canvas or after the branch has been merged in master.
Comment 2 Michael Jaumann 2014-09-15 09:09:11 UTC
He, i will start to work on this.
Comment 3 Markus Mohrhard 2014-09-15 10:33:13 UTC
See bug 82797. Please target OpenGL 2.1 for now as OpenGL 3.2 is not available on too many platforms.

I'm not sure if I mentioned it in our talk in Bern but the OpenGL canvas is incomplete and it would be one of the two open tasks to finish the work on it. Thorsten might be able to help a bit until I'm back around October, 20th.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.