Add opengl canvas implementation

Desktop / LibreOffice - Thorsten Behrens [suse.com] - 7 October 2013 10:33 EDT

Adds opengl canvas implementation - display-list-based, all rendering done as textured geometry. Needs shader support.

Currently compiles and works on Linux, Mac should be ~easy to add, win32 eventually.

e52f1bd Add opengl canvas implementation.
Repository.mk | 1 +
canvas/Library_oglcanvas.mk | 69 ++
canvas/Module_canvas.mk | 6 +
canvas/source/opengl/ogl_bitmapcanvashelper.cxx | 101 ++
canvas/source/opengl/ogl_bitmapcanvashelper.hxx | 103 ++
canvas/source/opengl/ogl_buffercontext.hxx | 34 +
canvas/source/opengl/ogl_canvasbitmap.cxx | 55 +
canvas/source/opengl/ogl_canvasbitmap.hxx | 78 ++
canvas/source/opengl/ogl_canvascustomsprite.cxx | 261 ++++
canvas/source/opengl/ogl_canvascustomsprite.hxx | 100 ++
canvas/source/opengl/ogl_canvasfont.cxx | 81 ++
canvas/source/opengl/ogl_canvasfont.hxx | 68 ++
canvas/source/opengl/ogl_canvashelper.cxx | 1011 ++++++++++++++++
canvas/source/opengl/ogl_canvashelper.hxx | 238 ++++
canvas/source/opengl/ogl_canvastools.cxx | 139 +++
canvas/source/opengl/ogl_canvastools.hxx | 38 +
canvas/source/opengl/ogl_spritecanvas.cxx | 195 +++
canvas/source/opengl/ogl_spritecanvas.hxx | 118 ++
canvas/source/opengl/ogl_spritedevicehelper.cxx | 1249 ++++++++++++++++++++
canvas/source/opengl/ogl_spritedevicehelper.hxx | 179 +++
canvas/source/opengl/ogl_textlayout.cxx | 215 ++++
canvas/source/opengl/ogl_textlayout.hxx | 79 ++
canvas/source/opengl/ogl_texturecache.cxx | 124 ++
canvas/source/opengl/ogl_texturecache.hxx | 64 +
canvas/source/opengl/ogl_tools.hxx | 31 +
canvas/source/opengl/oglcanvas.component | 16 +
configure.ac | 2 +-
include/sal/log-areas.dox | 2 +
.../registry/data/org/openoffice/Office/Canvas.xcu | 1 +
29 files changed, 4657 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share