Ubuntu CI: make apt update before apt install
[llpp.git] / misc / notes / pzoom.txt
blobba109920083cb1b2659a2e182b8ba0bde1d91ff2
1 https://github.com/moosotc/llpp/issues/75
3 Looks like it's possible to make "progressive zoom" "nicer" by taking
4 already rendered tiles from the cache and scale them via GL in place
5 of not-yet-fully-rendered(by mupdf) ones, thus avoiding place holders
6 and providing more visually pleasant experience.
8 There was some proof of concept code to do that, but the
9 implementation got lost, then build system took precedence, and
10 finally - "writers block".
12 As a first step following algorithm should work:
14  If tile isn't ready find all suitable tiles (same color-space etc etc)
15  and if "scaled" version has non-empty intersection with a tile that
16  is missing draw (scaled by GL version of) that instead.
18  This, in my mind, potentially implies quite a bit of overdraw,
19  simplest solution appears to be to just use the dimensional
20  "closeness" as a Z value and enable and use depth testing when
21  rendering the cached and scaled tiles during this pass (instead of
22  some form of "painters algorithm" or something more elaborate)