[Lazarus] Fast GUI

Reimar Grabowski reimgrab at web.de
Mon Nov 30 13:54:15 CET 2015


On Mon, 30 Nov 2015 13:34:41 +0100
Martin Schreiber <mse00000 at gmail.com> wrote:

> OpenGL is not well-suited to 
> support 2D GUIs IMO.
Depends a lot on what kind of GUI you need.
Blenders GUI for example gains a lot IMHO by being implemented in OpenGL but users of blender are also more likely to have good graphics cards.

> Because of the many different versions and 
> implementations, all with different extensions, limitations and bugs, working 
> with OpenGL is a difficult task.
That's true but something like 2.0 or 3.2 can most likely nowadays be reasonably targeted. If you go 1.2 it should work everywhere.
On phones you can offen use the current version as people upgrade their phones often.
Often more problematic are different driver versions and their bugs.
If you want to really handle all versions it gets really cumbersome as you have to implement different render paths as the most optimal path differs greatly between OpenGL (major) versions.
Hopefully things get better with Vulkan.

R.




More information about the Lazarus mailing list