So... It's about time that I get around to libgfx.so. Mainly, the buffer part. I am looking at not reinventing the wheel with buffer copying routines, etc.. Firstly, I am looking at using the Ion routines for copying a buffer to the LCD.
How is the memory laid out? Is each byte a new col, or a new row? Does it use the LCD memory not shown?
Also, I have some serious questions on how to implement greyscale... I know that 2 buffers are used, light and dark. Is this the order that they are shown?
Code:
Also, what is the frequency that they flip? I can use any time calling any function that I want as GlassOS is fun that way (no silly im 2).
Lastly, does anyone know of a fastCopy routine that would mask these 2 buffers? (Just incase my code isn't as fast as others)
I have looked at other greyscale libraries, but they didn't explain too much on the process/specifics...
How is the memory laid out? Is each byte a new col, or a new row? Does it use the LCD memory not shown?
Also, I have some serious questions on how to implement greyscale... I know that 2 buffers are used, light and dark. Is this the order that they are shown?
Code:
--
DL
D
L
D
DL
--
Also, what is the frequency that they flip? I can use any time calling any function that I want as GlassOS is fun that way (no silly im 2).
Lastly, does anyone know of a fastCopy routine that would mask these 2 buffers? (Just incase my code isn't as fast as others)
I have looked at other greyscale libraries, but they didn't explain too much on the process/specifics...