Johannes Hofmann
e2f7171031
search: Find OSM ways in a second pass
search::par_search_blocking: Remember node ids for matching ways and
return the positions of these nodes in a second pass over the file.
il y a 7 ans
Johannes Hofmann
e115c2acd1
search: Extract function for parallel blob iteration
il y a 7 ans
Johannes Hofmann
247770609a
Fix window title with restored session
il y a 7 ans
Johannes Hofmann
bfa801d2e3
Add option to store and restore last session
il y a 7 ans
Johannes Hofmann
c64b1bf28e
Fix clippy warnings
il y a 7 ans
Johannes Hofmann
2f257afb43
Add config key pbf_file
il y a 7 ans
Johannes Hofmann
2120e9b16f
Speed up searching
* Decode/search in parallel
* Start decoding the first Blob as soon as possible
* Update multiple markers at once
il y a 7 ans
Johannes Hofmann
fc394f3d20
Add coord::LatLon
il y a 7 ans
Johannes Hofmann
13d366fc1d
Extract code into tile_layer module
il y a 7 ans
Johannes Hofmann
ec1da095e8
Update dependencies
il y a 7 ans
Johannes Hofmann
3ffbe5011c
search_pbf: Update closure can change control flow
il y a 7 ans
Johannes Hofmann
ea610bdeaa
travis: Add Rust beta channel
il y a 7 ans
Johannes Hofmann
5f47684dc4
Extract code into marker_layer module
il y a 7 ans
Johannes Hofmann
b12e7885ed
Add search module
il y a 7 ans
Johannes Hofmann
2f5db2e7ad
Fix marker visibility calculation
il y a 7 ans
Johannes Hofmann
bea18cc290
Add some jobs to .appveyor.yml
il y a 7 ans
Johannes Hofmann
f478fc1e07
Search Nodes in addition to DenseNodes
il y a 7 ans
Johannes Hofmann
0f30790da8
Search PBF files and display matches as markers
Use the parameters -s and --pbf for this.
il y a 7 ans
Johannes Hofmann
c430500e69
Support drawing markers
il y a 7 ans
Johannes Hofmann
5891c0de46
Cache enabled vertex attributes, store params
* Cache the enabled vertex attributes in `Context`
* The vertex attribute parameters (offset, stride, ...) are not cached,
yet
* Store parameters as `VertexAttribParams` in `Program`
il y a 7 ans
Johannes Hofmann
43ecb10350
context: Cache active buffer
This reduces calls to glUseBuffer.
il y a 7 ans
Johannes Hofmann
4962639d01
context: Cache active program
This would reduce the calls to glUseProgram if there actually was more
than one program.
il y a 7 ans
Johannes Hofmann
c7f1518897
Cache active texture unit, assign unit to texture
Each Texture is bound to a unique texture unit (glBindTexture is called
only once). Context keeps track of the current active texture unit and
reduces the number of glActiveTexture calls to a minimum.
il y a 7 ans
Johannes Hofmann
d52ac36ff6
Fix clippy warning
il y a 7 ans
Johannes Hofmann
38d1cf35e5
Restructure OpenGL context sharing
Program, Buffer, Texture... structs no longer store a reference to a
Context. Now it has to be passed explicitly to all methods that mutate
the OpenGL state. This enables caching the state and removing redundant
calls to gl* functions.
il y a 7 ans
Johannes Hofmann
78bcd3a363
config: Improve logging
il y a 7 ans
Johannes Hofmann
a215b897bb
main: Simplify event handling
and only call glViewport once per frame when resizing.
il y a 7 ans
Johannes Hofmann
43e33e7072
Use directories crate instead of xdg
This should improve platform independence.
il y a 7 ans
Johannes Hofmann
18111f53e8
map_view: Fix zoom calculation for pixel snapping
il y a 7 ans
Johannes Hofmann
5f0777c521
url_template: Small doc fixes
il y a 7 ans
Johannes Hofmann
02f1f9c9d6
Add .appveyor.yml
il y a 7 ans
Johannes Hofmann
19e28a35d8
Don't call glClear when map fills the whole screen
il y a 7 ans
Johannes Hofmann
d2da35fd1c
Only snap to pixel grid if zoom has integral value
il y a 7 ans
Johannes Hofmann
639c9f945f
Add module url_template
il y a 7 ans
Johannes Hofmann
b26ef4c333
Use Display trait for more readable error messages
il y a 7 ans
Johannes Hofmann
abb562f412
map_view_gl: Specify min and max zoom level
il y a 7 ans
Johannes Hofmann
ff177a2d40
Advance in integer zoom levels with step zoom
il y a 7 ans
Johannes Hofmann
fcbad65155
Fix clippy warnings
il y a 7 ans
Johannes Hofmann
fb8dc48b3b
travis: Pin Rust 1.24 as minimum supported version
il y a 7 ans
Johannes Hofmann
f5bef94f35
Update glutin (to 0.16) and other dependencies
il y a 7 ans
Johannes Hofmann
56ad75b327
Update glutin (to 0.15), image (to 0.19) & others
il y a 7 ans
Johannes Hofmann
8eb2c1c3c2
Move tile sources configuration to separate file
il y a 7 ans
Johannes Hofmann
fbdabc2c72
Update glutin (to 0.14) and other dependencies
il y a 7 ans
Johannes Hofmann
ebd1439bc0
Update glutin (to 0.13) and other dependencies
il y a 7 ans
Johannes Hofmann
201e63197c
Merge command line arguments and `Config`
il y a 7 ans
Johannes Hofmann
e4e11e76cd
Move glClear call out of the critical path
il y a 7 ans
Johannes Hofmann
9c4535e568
Move clap to new module: args.rs
il y a 7 ans
Johannes Hofmann
a6c0ea8561
Use Display trait for printing errors
...instead of using the `description` method.
il y a 7 ans
Johannes Hofmann
980ce573f1
Document map_view.rs
il y a 7 ans
Johannes Hofmann
5f2d077f41
Switch from servo-glutin to glutin, update dependencies
il y a 7 ans