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
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 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

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

Re: [Lazarus] NanoVG Graphics

2020-01-27 Thread Ryan Joseph via lazarus
> On Jan 26, 2020, at 2:13 PM, Anthony Walter via lazarus > wrote: > > What's important is that several people have ported the projects to other > languages and backends (DX11 for example). Looking at how small and self > contain it is, it would seem like a task that would not that

Re: [Lazarus] NanoVG Graphics

2020-01-27 Thread Fabio Luis Girardi via lazarus
What thinks about Anthony? Translate NanoVG sources from C to Pascal or made a library bindings for that? Em dom., 26 de jan. de 2020 às 04:14, Anthony Walter via lazarus < lazarus@lists.lazarus-ide.org> escreveu: > I am starting a rewrite of my 2D hardware accelerated Pascal graphics > library

[Lazarus] NanoVG Graphics

2020-01-25 Thread Anthony Walter via lazarus
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 2D graphics library upon OpenGL