827 Commits

Author SHA1 Message Date
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
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
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
a8ed9b80ef document Map events 2014-09-03 23:49:23 +02:00
Hannes Janetzek
f7a98017b1 TileCache: remove unused size field 2014-09-03 22:39:15 +02:00
Hannes Janetzek
c2a5ad4104 avoid network on main-thread exception with OkHttp 2014-08-13 23:10:14 +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
Hannes Janetzek
2995de938e update and docs for TileLoaderHooks
- add complete() method to TileLoaderHooks
- use Inlist instead of array for hooks
2014-06-19 18:31:55 +02:00
Hannes Janetzek
978b5ead44 handle LongPress in ItemizedLayer 2014-06-19 18:31:55 +02:00
Hannes Janetzek
6c830575c9 fix: LineClipper for multilinestrings 2014-06-19 18:31:55 +02:00
Hannes Janetzek
27b9294a36 fix: tile fade time
- did not check grandparent
2014-06-19 18:31:54 +02:00
Hannes Janetzek
a2abbe5197 mo' fling 2014-06-10 22:38:52 +02:00
Hannes Janetzek
3f49361e4a refactor: add api for common VertexItem use
- rename VertexItem -> VertexData
2014-06-10 22:38:52 +02:00
Hannes Janetzek
7c995534eb add Tag constructor for intern() keys 2014-06-10 22:38:52 +02:00
Hannes Janetzek
2c6a85ee6d add GeoPoint.distance()
- return double in distanceTo()
2014-06-10 22:38:51 +02:00
Hannes Janetzek
9b719d857e add RTree 2014-06-10 22:16:09 +02:00
Hannes Janetzek
e961eba9c0 rename old QuadTree -> TileIndex 2014-06-10 22:16:09 +02:00
Hannes Janetzek
b460b4ebaf add QuadTree implementing SpatialIndex
- add SpatialIndex interface
2014-06-10 22:16:09 +02:00
Hannes Janetzek
4e94a8f269 inner class should be static 2014-06-10 22:16:09 +02:00
Hannes Janetzek
6eeb21623b cleanup comments 2014-06-10 22:16:09 +02:00
Hannes Janetzek
225613ec28 cleanup: canvas Paint 2014-06-10 22:16:08 +02:00
Hannes Janetzek
7cd5084777 fix: reset TileSet serial 2014-06-10 22:16:08 +02:00
Hannes Janetzek
480d639def GLMatrix: add batch projection 2014-06-10 22:16:08 +02:00
Hannes Janetzek
9d078142aa add LineLayer setExtents to not add caps outside visible region 2014-06-10 22:16:08 +02:00