Mailson Menezes
116e4f9b80
Remove annoying warning
...
Comparison between signed and unsigned values.
14 years ago
Mailson Menezes
42350c87df
Properly destruct TilesManager
14 years ago
Mailson Menezes
1bfe8610c9
Do not evict visible tiles
...
Also avoid trying to evict more tiles if the tiles manager is empty (all
tiles were previously removed)
14 years ago
Mailson Menezes
d2f236e82f
Document Tile and TilesManager
14 years ago
Mailson Menezes
d3a0fa057a
Split tiles before the request
...
The splitting was only executed after the pixmap arrived the tiles
manager. That was bad and likely to lead to an unnecessary rendering in
the case of a big tile that would be split after all.
This also fixes a bug where some tiles weren't updated.
14 years ago
Mailson Menezes
851a503e81
Move tiles manager to a private header
14 years ago
Mailson Menezes
401c3f7e5d
Add rotation support to tiles manager
14 years ago
Mailson Menezes
67c59c2c44
Fix underflow on memory cleanup in tiles manager
14 years ago
Mailson Menezes
3d630fbb2a
Remove unused tiles
14 years ago
Mailson Menezes
82510818c4
Split and merge tiles according to zoom level
...
To allow more zooming, split tiles when it reaches an arbitrary size.
14 years ago
Mailson Menezes
032f03a0e8
Track memory usage of tiles
14 years ago
Mailson Menezes
9c09eb938e
Use tiles only when it's necessary
...
In other words: don't use tiles when the page is not big enough
14 years ago
Mailson Menezes
de2ee00ff8
Improvements on tiles manager
...
- Made improvements on the code (not performance)
- Fix issue of not painting dirty tiles
14 years ago
Mailson Menezes
124da866e8
Add license header to tile manager files
14 years ago
Mailson Menezes
9f3cf45e37
Rendering with a tiles manager
...
Currently it's only available for PDFs and does not support rotation.
14 years ago