Re: [Lazarus] NanoVG Graphics

2020-01-28 Thread Marc Weustink via lazarus
Anthony Walter via lazarus wrote: I am starting a rewrite of my 2D hardware accelerated Pascal graphics library based on an OpenGL 3D backend, and I stumbled across an open source project called NanoVG. I am impressed with how small and self contained NanoVG is, and although I will recreated my

Re: [Lazarus] NanoVG Graphics

2020-01-28 Thread Marc Weustink via lazarus
Anthony Walter via lazarus wrote: I am starting a rewrite of my 2D hardware accelerated Pascal graphics library based on an OpenGL 3D backend, and I stumbled across an open source project called NanoVG. I am impressed with how small and self contained NanoVG is, and although I will recreated my

Re: [Lazarus] NanoVG Graphics

2020-01-28 Thread Anthony Walter via lazarus
Marc, The library does not have any code to manage creating a window, creating a valid opengl context, or handle event processing. These are things which are not exactly trivial in nature, especially in a cross platform manner. Typically for simplicity makers of OpenGL demos rely upon things like

Re: [Lazarus] NanoVG Graphics

2020-01-28 Thread Darius Blaszyk via lazarus
Hi Anthony, Have you considered GPLT for OpenGL context creation? https://github.com/daar/GLPT Rgds, Darius Verstuurd vanaf mijn iPhone > The library does not have any code to manage creating a window, creating a > valid opengl context, or handle event processing. These are things which are

Re: [Lazarus] NanoVG Graphics

2020-01-28 Thread Anthony Walter via lazarus
Darius, No I hadn't heard of GLPT before you posted the link. It looks interesting, but I was just reading up on SFML and had a few thought which are pertinent. I've been using SDL, and although it's a fairly good library, there are other libraries which offer a few more features that I'd had to i