FBG – Lightweight C Linux framebuffer graphics with parallelism
1–10 of 50 posts
Re: FBG – Lightweight C Linux framebuffer graphics with parallelism
#2I am asking this because everywhere in the README.md and even the source code itself uses "parralel", so this typo seems to be proposital. The author is either using a uncommon way to write the word parallel, is not a native speaker or there is some other reason.
Re: FBG – Lightweight C Linux framebuffer graphics with parallelism
#3Re: FBG – Lightweight C Linux framebuffer graphics with parallelism
#4Is "parralel" a real word in English? I think the author meant "parallel"? I am asking this because everywhere in the README.md and even the source code itself uses "parralel", so this typo seems to be proposital. The author is either using a uncommon way to write the word parallel, is not a native speaker or there is some other reason.
#define FBG_PARRALEL
For it to work, and for some people this typo will be infuriating or distracting. I recommend the author to fix this typo.Re: FBG – Lightweight C Linux framebuffer graphics with parallelism
#5Is "parralel" a real word in English? I think the author meant "parallel"? I am asking this because everywhere in the README.md and even the source code itself uses "parralel", so this typo seems to be proposital. The author is either using a uncommon way to write the word parallel, is not a native speaker or there is some other reason.
BTW, the project itself seems interesting. However it may be strange for someone to use this library because you need, for example, to do a: #define FBG_PARRALEL For it to work, and for some people this typo will be infuriating or distracting. I recommend the author to fix this typo.
Re: FBG – Lightweight C Linux framebuffer graphics with parallelism
#6Is "parralel" a real word in English? I think the author meant "parallel"? I am asking this because everywhere in the README.md and even the source code itself uses "parralel", so this typo seems to be proposital. The author is either using a uncommon way to write the word parallel, is not a native speaker or there is some other reason.
Thank you!
Re: FBG – Lightweight C Linux framebuffer graphics with parallelism
#7Is "parralel" a real word in English? I think the author meant "parallel"? I am asking this because everywhere in the README.md and even the source code itself uses "parralel", so this typo seems to be proposital. The author is either using a uncommon way to write the word parallel, is not a native speaker or there is some other reason.
BTW, the project itself seems interesting. However it may be strange for someone to use this library because you need, for example, to do a: #define FBG_PARRALEL For it to work, and for some people this typo will be infuriating or distracting. I recommend the author to fix this typo.
Re: FBG – Lightweight C Linux framebuffer graphics with parallelism
#8https://github.com/grz0zrg/fbg/blob/master/src/fbgraphics.c#...
> memcpy(fbg->buffer, fbg->disp_buffer, fbg->size);
So they don't flip buffers, and don't even use video memory for them, they just copy data from buffer in main memory into a memory-mapped framebuffer. This must be slow. Also it doesn't check for vblank and therefore doesn't protect from tearing, but the description says they have "double buffering".
As a side note, I remember that framebuffer was very slow on a computer I had. Without proprietary video card driver both Windows and Linux had troubles even scrolling a window, it was very laggy. Why was unaccelerated VGA (or VESA?) mode so slow, I wonder?
Re: FBG – Lightweight C Linux framebuffer graphics with parallelism
#9It looks very ineffective. For example, in fbg_draw() they have this code: https://github.com/grz0zrg/fbg/blob/master/src/fbgraphics.c#... > memcpy(fbg->buffer, fbg->disp_buffer, fbg->size); So they don't flip buffers, and don't even use video memory for them, they just copy data from buffer in main memory into a memory-mapped framebuffer. This must be slow. Also it doesn't check for vblank and therefore doesn't prot…
And this isn't something you'd code a game with, but you'd be surprised at how high modern memory bandwidth is.
Re: FBG – Lightweight C Linux framebuffer graphics with parallelism
#10Earlier quoted context omitted.
BTW, the project itself seems interesting. However it may be strange for someone to use this library because you need, for example, to do a: #define FBG_PARRALEL For it to work, and for some people this typo will be infuriating or distracting. I recommend the author to fix this typo.
Someone forgot to enable ML spell check for linter. With big data trained model, linter should be able to catch this.