summaryrefslogtreecommitdiff
path: root/vcl/source/window/openglwin.cxx
AgeCommit message (Collapse)Author
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: I05e89f9896170d4df3d1377549ea074f06b884a0
2015-09-08tdf#94006 - need an explicit dispose for GLContext's SystemChildWindow.Michael Meeks
Previously we would get an explicit ~OpenGLContext - and potentially leave FMR's around for other OGC users, now we treat the other users properly - we need an explicit dispose() to get Window::dispose ordering right. Change-Id: I5edcbd73399b6db3dbcfb391570f364f9ab0c70d Reviewed-on: https://gerrit.libreoffice.org/18412 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-09-08tdf#94006 - fix OpenGLContext mis-use in several places.Michael Meeks
gltf rendering, OpenGL canvas, GL transitions & GL capable (charts) Avoid GLX operations on un-initialized contexts. Change-Id: I7f523640f66ab656896181e5c865879234f6640e
2015-05-25cppcheck: noExplicitConstructorCaolán McNamara
Change-Id: I62076450ab77472bfd09b3fb9824f54b6ea1e0f7
2015-05-11convert COMMAND_ constants to scoped enumNoel Grandin
Change-Id: I88e67f89dbbab0646e8f106dfeb32c6ee1bb0b95 Reviewed-on: https://gerrit.libreoffice.org/15671 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-04-29mass rewrite Paint(Rect&) to Paint(RenderContext&, Rect&)Tomaž Vajngerl
Change-Id: Ia1667246064d11827dbd149def15e5bf08b119b8
2015-04-22Fix lifecycle issues.Michael Meeks
Change-Id: I7524ca3da7d134d94553be0e7a6db7e879984ae8
2015-04-20vcl: convert new to ::CreateMichael Meeks
Change-Id: Ifd52953086ea923fa1770892d13f32c2263aec54
2015-04-10vclwidget: improve detection of vcl::Window fieldsNoel Grandin
that need to be wrapped in VclPtr, and convert several sites Change-Id: I1fb1ed164a99642a0c1ccbf433eb14df688fa476
2015-04-10vclwidget: only call dispose() onceNoel Grandin
by using a new utility method in vcl::Window This means that we don't have to make all our dispose methods safe to call more than once. Change-Id: I2110c7de4a86c70fdc97dd8fd318c86b56865374
2015-04-09vcl: dispose of more Window sub-classes, particularly top-level windows.Michael Meeks
Change-Id: If8311e5cf3193fd1434c3af5225367ca8e91fc6d
2015-02-16boost::foo_ptr->std::foo_ptrCaolán McNamara
Change-Id: I9219619b538b6530a89f5932ac51eb3b62eb396a
2014-10-31convert COMMAND_WHEEL constants to an enumNoel Grandin
Change-Id: I413d821a984ab556bd19c52704c04de6d828f699
2014-09-23fdo#82577: Handle WindowNoel Grandin
Put the VCL Window class in the vcl namespace. Avoids clash with the X11 Window typedef. Change-Id: Ib1beb7ab4ad75562a42aeb252732a073d25eff1a
2014-09-02fix crash when creating chartMarkus Mohrhard
Change-Id: Ie6e38a0461a10cc33ff3d85cbf3b35ffab0efd59
2014-06-24new compilerplugin returnbyrefNoel Grandin
Find places where we are returning a pointer to something, where we can be returning a reference. e.g. class A { struct X x; public X* getX() { return &x; } } which can be: public X& getX() { return x; } Change-Id: I796fd23fd36a18aedf6e36bc28f8fab4f518c6c7
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-07fix WerrorMarkus Mohrhard
2014-06-07remove debug outputMarkus Mohrhard
Change-Id: I7c56adf0cd91f6474145708d91988c974e1ea854
2014-06-01fix crash if there is no OpenGLRenderer setMarkus Mohrhard
Change-Id: I6cd75aa2a9db7219b2873d0b6516ef9df4fbe33d
2014-05-28fix build errorMarkus Mohrhard
Change-Id: I550616e1f6e63ac42103756014b1aa26cee5c21f
2014-05-28try to fix mouse interaction on windowsMarkus Mohrhard
Change-Id: I8662b0c20dc719401eec3e3d2d852bb3e139a641
2014-05-26react only to left mouse clickMarkus Mohrhard
Change-Id: Ia4c2c52b8803cd36d7ed32be559ba446589377e7
2014-05-24some work on mouse scrolling and improved mouse draggingMarkus Mohrhard
Change-Id: I3265e26530183b2fc4fd7f67319f3dc124353c2e
2014-05-24Stub mouse move events propagation to 3D charts.Michael Meeks
Change-Id: If87545df4b1caeece107a20e0c00df88fb8e6fd5
2014-05-23Lsan: fix invalid memory accessMarkus Mohrhard
The chart object can be destroyed after the context. Change-Id: I5ae370638f296ea314ee11680e0a8d81a8fdbe69
2014-05-15introduce picking mode in 3D codeMarkus Mohrhard
Change-Id: Ifbe35a9b311bf79fa15bbad6b9fdfc5a472f516f
2014-05-14provide the click event to chart2Markus Mohrhard
Change-Id: I4ee1c51d6602a089483099f5700afcb03f474d5b
2014-05-13rerender after redrawing of the windowMarkus Mohrhard
Change-Id: Ia967ba08a9bd0499ae5fb0865492783834204963
2014-05-12some work into intercepting mouse events in OpenGL windowMarkus Mohrhard
Change-Id: I46dcfed7d5398d994c68ed7cfe4408f9f5719bf1
2014-05-07avoid linking against the OpenGL libs when only using the windowMarkus Mohrhard
This lets us avoid to link libsclo against all the OpenGL libraries and only link against libvcl_opengl. Only code actually using the context will need to link against the OpenGL libs. Change-Id: Ia47f4c651702a7fb8517073cda6fb113e7e26e50
2014-05-07add new window that contains OpenGL contextMarkus Mohrhard
Change-Id: I81ce3581942d03785809d728b6b54b570899bcdc