|
|
On 5/19/21 1:34 PM Albrecht Schlosser wrote:
On 5/17/21 9:54 AM Manolo wrote:
Please vote about having the Windows FLTK platform draw oblique lines,
curves and all complex shapes in antialiased form. The result of this
change is
visible in the attached snapshot where left elements show the current
products
and right elements show the effect of the proposed changes, both
under Windows 10.
The code for that is in branch GDI+soft of
https://github.com/ManoloFLTK/fltk
I can test the performance issues in a Virtualbox VM and, if
necessary, on the same (dual boot) machine in a native Windows boot.
I tested on both the VM and the bare-metal Win10 system and I can
confirm severe performance issues with the new 'gdi+soft' branch.
Anti-aliased line drawing comes with a price.
However, I believe that there may be many applications that don't suffer
from this performance penalty and thus my vote is
+1 on integration of the new 'gdi+soft' branch
Should 'gdi+' be the default?
I'm not sure, but I suggest to make it the default for 1.4.x development
so it can easily be tested and will be the default in snapshots that
users may test. I agree with Greg (IIRC) that this will be a good way to
get feedback from users.
Depending on the feedback (or no feedback) we may reconsider the default
(GDI or GDI+) before we release FLTK 1.4.
I'd also like to see an option to switch drivers (GDI <-> GDI+)
dynamically so users can maybe switch back to pure old GDI in
time-critical drawing paths (somebody mentioned this, IIRC). This option
might already exist (internally) but I don't know if there's an API to
be easily applied. If so, it should be documented.
Last but not least: Many thanks to Manolo for developing this great
improvement!
--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/7e9e351a-1b91-8a22-a8bd-d10134177bfc%40online.de.
[ Direct Link to Message ] | |
|
| |