Skip to content

Jiboo/Dwiinaar

Repository files navigation

Dwiinaar

Hobby comics reader with some reusable libraries/components, under the AGPLv3 lisence (see COPYING).

  • BitmapManager: Manages bitmaps for asynch loading, caching, and transparent reusing when available.
    • BitmapBin: Portable way to alloc/free bitmaps, through a claim/offer interface.
      • For version lower than 11, it will only create and recycle bitmaps.
      • For version 11 to 18, it try to reuse a previously offered bitmap with the same size/configuration.
      • For version 19 and up, it try to reuse a suitable previously offered bitmap and reconfigure it.
    • BitmapCache: LruCache of bitmaps and asynchronous decode using a threadpool.
  • MuPDF: Android bindings for MuPDF rendering API (highly experimental and just capable of rendering rects in it's current state..)
    • Proof of concept of a native (cpp) PDF rendering library.
    • There's no way to draw on Java canvases on the native side, so I serialized drawing lists generated by MuPDF using google's framebuffer, to deserialize them on the Java side and draw them on a Canvas.

About

Hobby comics reader with some reusable libraries/components.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published