Commit Graph

68 Commits

Author SHA1 Message Date
Bad Sector
79c9bba8b6 LCL-GTK1: Fix OpenGL control compilation and functionality
Some changes over the years broke Gtk1 compatibility with the TOpenGLControl control.
This change fixes the code so that it compiles and works under Gtk1.
2023-11-30 00:58:36 +02:00
Željan Rikalo
eec91b3a05 Qt6: fixed building for Qt6 2022-11-19 21:21:09 +01:00
juha
6813e28eef LazUtils: Move math helper functions from LCLProc to LazUtilities. Deprecate LCLProc versions.
git-svn-id: trunk@64197 -
2020-12-12 11:41:07 +00:00
juha
4b779ac15b OpenGlContext: Register WS class, needed for new optimized TLCLComponent.NewInstance. Issue #37407, patch from BrunoK.
git-svn-id: trunk@63636 -
2020-07-23 19:45:33 +00:00
mattias
4aca3ea229 opengl: fixed perms
git-svn-id: trunk@63025 -
2020-04-19 21:14:10 +00:00
juha
a896e7f941 LCL-GTK3: Implement OpenGL Control. Issue #36448, patch from Ryan Joseph.
git-svn-id: trunk@62412 -
2019-12-18 18:25:47 +00:00
mattias
11e60c45bc openglcontrol: fixed double free, issue #35335, from Denis Golovan
git-svn-id: trunk@60866 -
2019-04-07 17:43:03 +00:00
zeljko
fdf9177fb1 Qt5: make opengl compileable under qt5 widgetset
git-svn-id: trunk@59253 -
2018-10-05 12:36:55 +00:00
juha
2ee72166e4 LCL-GTK2: Prevent flickering in TOpenGLControl. Turn DoubleBuffered off. Issue #33864, patch from accorp.
git-svn-id: trunk@59111 -
2018-09-21 09:13:12 +00:00
ondrej
7a929f1561 OpenGL: fix DoubleBuffered compilation
git-svn-id: trunk@58113 -
2018-06-04 08:44:15 +00:00
juha
712e063538 OpenGLContext: Make TOpenGLControl renderable by a thread. Issue #32116, patch from Pascal Riekenberg.
git-svn-id: trunk@55559 -
2017-07-22 07:22:30 +00:00
sekelsenmat
85a49e41f2 opengl: Patch from bug #32026, add possibility to render at design time
git-svn-id: trunk@55392 -
2017-06-26 05:25:43 +00:00
sekelsenmat
5dfbda640a opengl: Adds support to Option ocoMacRetinaMode, to support higher quality in retina displays
git-svn-id: trunk@55354 -
2017-06-15 21:01:28 +00:00
mattias
d030686434 openglcontrol: enabled gtk2 for freebsd
git-svn-id: trunk@54168 -
2017-02-16 13:05:38 +00:00
sekelsenmat
febc687143 carbon: Fixes crash in IDE with OpenGL, see bug #30440
git-svn-id: trunk@52779 -
2016-08-03 05:54:02 +00:00
mattias
83ae0c9b59 opengl: debug extension for win32, patch #28736 from Denis Golovan
git-svn-id: trunk@49876 -
2015-09-27 14:11:28 +00:00
mattias
a0b6593d68 opengl: added DebugContext, patch #28671
git-svn-id: trunk@49828 -
2015-09-15 12:47:22 +00:00
mattias
925e68088e opengl: cocoa: started using NSOpenGLView
git-svn-id: trunk@49681 -
2015-08-16 13:44:25 +00:00
mattias
e5f6bc622c opengl: started cocoa cgl
git-svn-id: trunk@49640 -
2015-08-11 09:45:24 +00:00
mattias
b9f9f1e3a1 opengl: started cocoa
git-svn-id: trunk@49614 -
2015-08-08 08:26:18 +00:00
mattias
662330fe6f openglcontrol: allow using in QT Lazarus IDE
git-svn-id: trunk@46933 -
2014-11-21 12:07:25 +00:00
paul
9adc15ef1d opengl: use FPC resources for component images
git-svn-id: trunk@43093 -
2013-10-05 04:16:12 +00:00
juha
0709051eff OpenGLControl: Implement release context method. Issue #24925, patch from Anton Kavalenka
git-svn-id: trunk@42582 -
2013-09-04 00:22:36 +00:00
juha
ecd140c985 Improve license headers in sources, part 2. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41389 -
2013-05-25 09:22:25 +00:00
mattias
56cdd910fe openglcontrol: added properties to select the opengl version
git-svn-id: trunk@40536 -
2013-03-12 10:10:51 +00:00
mattias
ee92fdee19 openglcontrol: red,green,blue bits for windows
git-svn-id: trunk@40252 -
2013-02-10 14:32:30 +00:00
mattias
aaca1d064d openglcontrol: red,green,bluebits for carbon
git-svn-id: trunk@40231 -
2013-02-09 21:31:10 +00:00
mattias
8df919c874 openglcontrol: changed default DepthBits to 24
git-svn-id: trunk@40230 -
2013-02-09 20:54:42 +00:00
mattias
14423ccd1a openglcontrol: added Red,Green,Blue bits for target gtk
git-svn-id: trunk@40229 -
2013-02-09 20:54:14 +00:00
mattias
80ee800f90 openglcontrol: wgl: stencil, auxbuffers
git-svn-id: trunk@37569 -
2012-06-07 16:25:19 +00:00
juha
1554267fdf Opengl: Add alpha, depth and stencil size properties to TOpenGLControl. Issue #22170, patch from Michalis Kamburelis
git-svn-id: trunk@37480 -
2012-06-02 12:11:32 +00:00
mattias
7c542c1efe openglcontrol: added property Multisampling, wgl: fixed wglGetExtensionsStringARB
git-svn-id: trunk@37277 -
2012-05-14 18:05:36 +00:00
mattias
754a140188 comment
git-svn-id: trunk@36359 -
2012-03-26 20:20:14 +00:00
mattias
229d01038d openglcontrol: published OnDragDrop, OnDragOver
git-svn-id: trunk@34875 -
2012-01-22 20:17:50 +00:00
mattias
2b41bfa21b openglcontrol: undid the workaround for buggy TCanvas.Rectangle function, bug #17682
git-svn-id: trunk@27851 -
2010-10-25 10:43:06 +00:00
mattias
b18d3e0541 openglcontrol: fixed calling ancestor Create/DestroyHandle, bug #16984
git-svn-id: trunk@26779 -
2010-07-22 11:46:57 +00:00
mattias
7357336b35 openglcontrol: fixed DestroyHandle, bug #16957
git-svn-id: trunk@26701 -
2010-07-16 21:37:42 +00:00
mattias
089aba0265 openglcontrol: fixed designtime CreateHandle, bug #16922
git-svn-id: trunk@26647 -
2010-07-14 15:34:12 +00:00
mattias
a7ff4e3662 openglcontrol: fixed widgetset hierarchy
git-svn-id: trunk@26524 -
2010-07-08 11:36:17 +00:00
mattias
7088a19867 openglcontrol: started clipping for carbon
git-svn-id: trunk@26522 -
2010-07-08 11:04:46 +00:00
mattias
16d6ef75b8 opengl: started opengl for glx
git-svn-id: trunk@26042 -
2010-06-11 13:43:41 +00:00
mattias
28b6033334 openglconttrol: published OnMakeCurrent
git-svn-id: trunk@22149 -
2009-10-13 17:50:22 +00:00
mattias
dc0c82f3e3 openglcontrol: fixed visibility
git-svn-id: trunk@21092 -
2009-08-03 19:00:06 +00:00
mattias
65291945c8 opengl: improved error messages for non supported widgetsets
git-svn-id: trunk@20588 -
2009-06-12 06:21:14 +00:00
mattias
b46c4051e3 codetools: fixed closing with variable nodes, bug #10640
git-svn-id: trunk@19633 -
2009-04-26 13:25:24 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
mattias
9525beef2a openglcontrol: fixed restoring canvas.handle at designtime
git-svn-id: trunk@14343 -
2008-03-01 12:59:04 +00:00
paul
53648747fc fix design time drawing of openglcontext (at least under win32)
git-svn-id: trunk@14342 -
2008-03-01 12:53:07 +00:00
mattias
6ed82a2a82 openglcontrol: gtk2: changed note to full support
git-svn-id: trunk@14330 -
2008-02-29 19:42:00 +00:00
mattias
09528b2873 openglcontrol: gtk2: send WMSize messages after every gtk resize. For some unknown reason the opengl context is resized in several steps
git-svn-id: trunk@13870 -
2008-01-24 22:23:20 +00:00