kosenko / ui

Boost.UI library
266 stars 18 forks source link

OpenGL support #15

Open nickreserved opened 4 years ago

nickreserved commented 4 years ago

It would be very nice, if you support OpenGL canvas widget.

A number of comments: Keep up the good work! I like native widgets. Better find 2-3 co-programmers. One man show has small probability to lead to success story.

Xeverous commented 4 years ago

I don't think OpenGL + native widgets is a good combo. If you want canvas, that basically means you might aswell want to have custom widgets. Libraries like elements might suit you more then. Boost UI is mostly a modern C++ wrapper around wxWidgets so I don't think you will get significantly more functionality than the underlying library.

kosenko commented 4 years ago

Nice idea. OpenGL can draw 2D graphics faster (using GPU) and it supports 3D graphics. wxWidgets supports OpenGL. Elements is a Cairo based library with small widgets subset that doesn't support native widgets, but it also supports modern C++. Both Elements and Boost.UI canvases inspired by HTML5 Canvas API.