https://github.com/asivery/epfb-re
https://github.com/asivery/epfb-re
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/asivery/epfb-re
- Owner: asivery
- Created: 2025-02-24T23:33:50.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-02-25T19:39:29.000Z (over 1 year ago)
- Last Synced: 2025-02-25T20:34:20.173Z (over 1 year ago)
- Language: C++
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.TXT
Awesome Lists containing this project
README
This repository contains the current state of my work on reverse engineering the libqgsepaper library provided in the rMPP toolchain.
Right now the rM2 is not supported.
The library exposes the `epframebuffer.so` file which you can include in your project.
You can then use the following functions
- EPFramebuffer::createControlledInstance() - returns an instance of EPFramebuffer.
- EPFramebuffer.getAuxFramebuffer() - returns the QImage* to the auxilary buffer (the one you can write your images to)
- EPFramebuffer.swapBuffers(QRect changedRegion, EPContentType epct, EPScreenMode type, QFlags flags) - swaps the buffers (and updates the screen)
Please link against libepfb.so *first* (see `make.sh`), otherwise this program won't work.
The framebuffer should automatically clean up all its resources, when the app terminates (it uses atexit() hooks).