1959 Commits

Author SHA1 Message Date
Hannes Janetzek
31a45b0468 add ElementLayer/RenderElement prepare()
- used to prepare for compile() when all layer data is added
2014-09-20 01:07:03 +02:00
Hannes Janetzek
990e04477c GeometryBuffer: switch to int[] indices 2014-09-20 01:07:03 +02:00
Hannes Janetzek
7be8155939 GeometryBuffer:
- add getPoint(i, point)
- addPoint(PointF)
- getPointX/Y

GeomBuffer: api
2014-09-20 01:07:03 +02:00
Hannes Janetzek
d6cf845fef PolygonLayer optimizations:
- check of polygon elements are visible
- use AreaStyle.hasAlpha() to enable blending
- GLState.testDepth()
- LineClipper: add outcode(x,y)
2014-09-20 01:07:03 +02:00
Hannes Janetzek
01830707dc MapRenderer: refactor native buffer utils 2014-09-20 01:07:02 +02:00
Hannes Janetzek
a835d44187 VertexData: docs
- remove superfluous static get()
2014-09-20 01:07:02 +02:00
Hannes Janetzek
123b0aa098 renderer: cleanups 2014-09-20 01:07:02 +02:00
Hannes Janetzek
e645696adb MapRenderer: increase shared quad vertices 2014-09-20 01:07:02 +02:00
Hannes Janetzek
e830252c85 wip: use HairLine for PolygonLayer outlines 2014-09-20 01:07:02 +02:00
Hannes Janetzek
7bf2544a83 PolygonLayer: cleanups 2014-09-20 01:07:02 +02:00
Hannes Janetzek
b69923e05d PolygonLayer: separate drawing of stencil clip region 2014-09-20 01:07:02 +02:00
Hannes Janetzek
3cd2f9ea47 add HairlineLayer 2014-09-20 01:07:02 +02:00
Hannes Janetzek
f390a903dc use common vertexItems field in ExtrusionLayer 2014-09-20 01:07:02 +02:00
Hannes Janetzek
033a0d9c9d let MeshLayer extend IndexedRenderElement 2014-09-20 01:07:02 +02:00
Hannes Janetzek
8c13a82df7 add IndexedRenderElement 2014-09-20 01:07:02 +02:00
Hannes Janetzek
59dd9425c8 refactor: move compileVertexItems() to RenderElement
- rename addPoolItems -> compileVertexItems
2014-09-20 01:07:01 +02:00
Hannes Janetzek
9f8a383ce6 gradle: update jeo repo url 2014-09-20 01:03:40 +02:00
Hannes Janetzek
530e2b7cb4 gradle: switch to my jeo repo for now 2014-09-16 13:14:46 +02:00
Hannes Janetzek
c311004bd8 use global sync for all tiles managed in TileSets
TODO should be removed together TileRenderer.getVisibleTiles()
2014-09-16 11:59:00 +02:00
Hannes Janetzek
0c245f4f6d refactor: MapTile et al
- cleanup proxy draw logic in VectorTileRenderer
- fixes upload of child proxies in TileRenderer
2014-09-16 11:59:00 +02:00
Hannes Janetzek
7779e30635 TileIndex: find the tile at z=0...
- should fix #91
2014-09-16 00:57:44 +02:00
Hannes Janetzek
707769f124 TextureItem: allow cloning uninitialized textures
- TextureRegion: use texture handle, not atlas.texture
- update SymbolLayer

- TextureAtlas: remove depth
2014-09-11 21:00:27 +02:00
Hannes Janetzek
5a0f10559d increase label Texture size 2014-09-11 21:00:27 +02:00
Hannes Janetzek
af3ee3a742 use text texture size for buffered gdx/awt image loading 2014-09-11 21:00:27 +02:00
Hannes Janetzek
52813ea29f sed 's/m\(in\|ax\)\(X\|Y\)/\L\2m\1/g' 2014-09-11 21:00:26 +02:00
Hannes Janetzek
c48c620963 BoxTree:
- return false from search() when search callback returned false
- fix removal: unlink next item
- add clearToPool()
2014-09-11 21:00:26 +02:00
Hannes Janetzek
64068730db add missing LineBuilder.fixed(bool) 2014-09-11 21:00:26 +02:00
Hannes Janetzek
95c9f47e63 refactor: hide backend Adapter handles
- static methods for backend adapters
2014-09-11 21:00:26 +02:00
Hannes Janetzek
84968d201d android: use confirmed tap gesture
- otherwise tap conflicts with double tap zoom..
2014-09-11 21:00:26 +02:00
Hannes Janetzek
6d690ff5af android: enable GLSurfaceView debug flags with GLAdapter.debug 2014-09-11 21:00:26 +02:00
Hannes Janetzek
a97b3283a0 add TileSource.Builders 2014-09-11 21:00:26 +02:00
Hannes Janetzek
67336e0c93 implement okhttp response caching
based on patch from: Baldur Gudbjornsson <baldur.gudbjornsson@gmail.com>
2014-09-11 21:00:26 +02:00
Hannes Janetzek
691a18873d HttpEngine: throw exception instead of null return in conn.read()
- convert OkHttps FileNotFound to some more useful exception
2014-09-11 21:00:25 +02:00
Hannes Janetzek
47b2a55b11 gdx: add keys for scale and tilt 2014-09-04 02:32:36 +02:00
Hannes Janetzek
243af371be switch to libgdx-jglfw desktop backend 2014-09-04 02:32:36 +02:00
Hannes Janetzek
3c281e8824 use libgdx 1.2 2014-09-04 02:32:36 +02:00
Hannes Janetzek
a849b30efe forward MapActivity stop/resume to MapView 2014-09-04 02:28:15 +02:00
Hannes Janetzek
d42302a150 update webgl map link 2014-09-04 00:07:07 +02:00
Hannes Janetzek
3aac9272ee update readme 2014-09-04 00:02:05 +02:00
Hannes Janetzek
a8ed9b80ef document Map events 2014-09-03 23:49:23 +02:00
Hannes Janetzek
2e5ff2e4a4 TileCache: close db cursor when result is empty 2014-09-03 22:39:15 +02:00
Hannes Janetzek
f7a98017b1 TileCache: remove unused size field 2014-09-03 22:39:15 +02:00
Hannes Janetzek
bb5cf608a6 cannot test OkHttp close atm 2014-08-13 23:10:14 +02:00
Hannes Janetzek
c2a5ad4104 avoid network on main-thread exception with OkHttp 2014-08-13 23:10:14 +02:00
Hannes Janetzek
2a6f6c28a0 fix travis build 2014-08-13 23:10:14 +02:00
Hannes Janetzek
4f5125cf22 update README 2014-08-13 23:10:13 +02:00
Hannes Janetzek
a81e3adae1 gradle: use android build-tools 20.0 2014-08-13 23:10:13 +02:00
Hannes Janetzek
490f0c35b1 remove vtm-android-app submodule 2014-08-13 20:37:06 +02:00
Hannes Janetzek
3d1cc6fe36 disable glBufferSubData for all Adreno 330/320
- use more specific test to work around buggy driver
2014-06-24 21:00:30 +02:00
Hannes Janetzek
51b2773ef2 get correct fade-time for proxy tiles 2014-06-24 20:59:46 +02:00