-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cutting Legacy Features for Maintainability - Do you use any of them? #280
Comments
Hi, I use 4 bit-per-pixel framebuffers and no high-level-api at all. All my drawing happens using Also I tried to use cropping area, but failed to do so (probably a mistake on my side). Instead I use the </scream> Thank you for working towards a simpler codebase, that is very helpful! |
I use 4 bit-per-pixel framebuffers and mostly the high level API except in LVGL driver since it writes directly to the framebuffer.
about those 2 I never used them at all. Also if I remember well never used that cropping area feature, only epd update giving a certain area to make a smaller rectangular update |
@schuhumi Ok, so from the perspective of drawing you're still only using the 1ppB difference mode? I think the front / back draw buffers will still be 4bpp, but for rendering I may switch to 1ppB difference buffers only. |
@martinberlin I could add the capability of supplying pre-calculated output frames instead of monochrome framebuffers, that should allow the same functionality at lower complexity on the driver side. Since it's a niche use case, I think it's ok to push that complexity to the consumer. |
@vroland I only use the difference mode where it is 1 byte per pixel: 4 bit for the "from" color, and 4 bit for the "to" color: /// A difference image with one pixel per byte.
/// The upper nibble marks the "from" color,
/// the lower nibble the "to" color.
MODE_PACKING_1PPB_DIFFERENCE = 0x100, I do not use any other mode, and I also do not use any front / back buffers. Instead I write the "to" colors into the difference buffer myself, and also update the "from" colors after Yes I saw the column mask in the branch, I'm excited for that and the speedup! :) |
I started to test the new vector experimentation branch looking forward to get that working as soon as possible |
Hi everyone,
I noticed that between supporting multiple boards, displays and chip revisions the codebase has gotten quite complex. This limits the pace at which myself and especially others can develop for epdiy. Hence, I plan to remove some legacy features to allow refactoring into a simpler, more testable architecture. This will mean breaking changes, though I'll try to keep breakage for the preserved features minimal.
TLDR: Please scream below if you're using any of the features below:
Especially with V7 and the vector instruction optimizations, there is little need for these very low-level optimizations, while they introduce a lot of complexity.
Thanks for giving feedback!
The text was updated successfully, but these errors were encountered: