summaryrefslogtreecommitdiff
path: root/documentation/src/opengl.dox
AgeCommit message (Collapse)Author
2024-07-19Remove obsolete content in documentation of Fl_Gl_WindowManoloFLTK
see "About the documentation of OpenGL usage in FLTK" in fltk.coredev
2024-04-17Separate FLUID user documentation, screen shot automation (#936)Matthias Melcher
* CMake integration, no autotiools * alignment panel is now correctly renamed to setting panel * source view is now correctly renamed to code view * Merge FLTK FLUID docs into FLUID user manual. * Add two simple entry tutorials * Remove FLUID chapter form FLTK docs. * GitHub action to generate HTML and PDF docs and make the available as artefacts
2022-11-27macOS+OpenGL3: remove "warning: gl.h and gl3.h are both included"ManoloFLTK
2022-09-29Doc: more details about installation of GLEW.ManoloFLTK
2022-09-27Simpler code to support FLTK widgets in macOS OpenGL 3 windows.ManoloFLTK
Also, the application-level code to add widgets to a GL3 window becomes platform-independent.
2022-09-25Add cross-platform support for adding widgets to an OpenGL3-based Fl_Gl_Window.ManoloFLTK
Under non-macOS platforms, the key is to call glUseProgram(0); after having used OpenGL 3 which allows to then use OpenGL 1 and draw FLTK widgets over the OpenGL3 scene. Under macOS, this is impossible because macOS GL3 contexts are not compatible with GL1. The solution implemented here is to create an additional Fl_Gl_Window placed above and sized as the GL3-based window, to give it a non opaque, GL1-based context, and to put the FLTK widgets in that additional window.
2022-09-21Improve docs of Fl_Copy_Surface and use of OpenGL 3.ManoloFLTK
2022-07-04Documentation: add Wayland-related information for use of OpenGL 3.ManoloFLTK
2022-07-04Wayland platform.: complete support of gl_start/gl_finish.ManoloFLTK
2022-06-30Documentation: update "Using OpenGL in Normal FLTK Windows" for Wayland.ManoloFLTK
2022-03-10Begin documenting the Wayland platform, new in FLTK version 1.4ManoloFLTK
2022-02-06OpenGL implementation of all `fl_` "Drawing Fast Shapes" graphics calls (#385)Matthias Melcher
* Fix build system for unites, * Updated unittest to check OpenGL drawing. Making sure that OpenGL drawing is exactly the same as native drawing to make FLTK widget rendering look the same in GL windows. * Make OpenGL optional. * Implemented clipping in OpenGL * unites drawing fast shapes * Fixed CMake * Updating unittest. Added tests for fl_pi and fl_arc (int) Renamed tab to render complex shapes. * Improved OpenGL FLTK drawing emulation. * Fixed GTK ROUND DOWN BOX * Fixing Makefile for unittest * Correctly aligning OpenGL text. * Fixed text alignment in GL windows. Explained the "FLTK over GL " example in Cube. * Overlapping test. * Better GL graphics alignment. * Drawing the focus rect. * Adding Alpha Channel support for GL. * Added FLTK-on-GL documentation.
2020-11-08Clarify offscreen drawing documentationAlbrecht Schlosser
... and rename drawing chapters (sections + subsections) according to our documentation conventions (prefix "drawing_"). documentation/make_pdf: fix copyright year.
2020-07-06Remove $Id$ tags, update URL's, and moreAlbrecht Schlosser
- remove obsolete svn '$Id$' tags from all source files - update .fl files and generated files accordingly - replace 'http://www.fltk.org' URL's with 'https://...' - replace bug report URL 'str.php' with 'bugs.php' - remove trailing whitespace - fix other whitespace errors flagged by Git - add and/or fix missing or wrong standard headers - convert tabs to spaces in all source files The only relevant code changes are in the fluid/ folder where some .fl files and other source files were used to generate the '$Id' headers and footers.
2019-10-27Documentation: make clear that "Using OpenGL in Normal FLTK Windows" isn't ↵ManoloFLTK
useful with macOS.
2019-04-14Doxygen: rewording for more clarity.ManoloFLTK
2019-04-12Doxygen: describe better support for OpenGL on HighDPI displays.ManoloFLTK
2019-04-04Revert back to previous stateManoloFLTK
2019-04-04Update procedure for OpenGL3 support.ManoloFLTK
2018-08-21Better doc for using OpenGL version 3.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13023 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-08-20Improved documentation related to access to OpenGL 3 under X11 platform.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13022 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-02-09Replace "WIN32" with "_WIN32" or "Windows".Albrecht Schlosser
Replace compiler/preprocessor/platform macro "WIN32" with "_WIN32". Replace "WIN32" in text and documentation with "Windows". Replace "MSWindows" with "Windows". To do: README.Windows.txt (and maybe other documentation as well) needs updates. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12655 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-03-17OpenGL documentation fixes (included header files).Albrecht Schlosser
Also reformatted very long lines, removed trailing spaces. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12204 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-12-01Documentation: replace TRUE -> GL_TRUE to define glewExperimentalManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10940 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-10-27Added support for OpenGL V3 and higher.Manolo Gouy
On the X11/MSWindows platforms, this requires external installation of the GLEW library. This fixes STR#3198 and STR#3257. Added two new examples programs. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10876 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-12-20Added documentation about the new support for high resolution OpenGL graphicsManolo Gouy
on Apple retina displays. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10503 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-11Fixed "Index" link on documentation pages.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8651 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-06-27simplified old HTML anchors with name= and href= in all *.dox files.engelsman
removed "old html link" section from development.dox git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6799 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-09converted html tags to doxygen commands in opengl.doxengelsman
also corrected function signatures in opengl.dox added doxygen comments to FL/gl.h, src/gl_start.cxx, src/gl_draw.cxx git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6749 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-26converted page footer navigation bars to three-cell tables in all *.doxengelsman
also relaxed table widths in intro.dox to use 100% instead of 700 pixels to fit with doxygen header rule and new footer navigation bars git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6724 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-25removed numbering from doxygen chapters and navigation bars,engelsman
moved class/function reference pages to end of index table, swapped editor/drawing chapters in Doxybook for PDF version git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6721 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-21converted html tags to doxygen commands in documentation/src/opengl.doxengelsman
This was just the first round. A lot more work will be needed here because none of the gl_* functions are doxygenated, and there are a lot of html links to other pages to be tidied up! git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6706 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-17now renaming restoring dir src_doc src.Fabien Costantini
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6452 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-17Removing current broken history documentation/src dir.Fabien Costantini
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6451 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-14Doxygen pdf man: First version added in documentation/fltk.pdf, old doc ↵Fabien Costantini
removed, images, dox files moved to a new src directory. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6431 ea41ed52-d2ee-0310-a9c1-e6b18d33e121