Thiago Marcos P. Santos
b711979e32
[android] #5254 - fix ARMv5 support
...
Backported patches fixing ARMv5 support for issue #3985 .
2016-06-06 23:31:51 +03:00
Thiago Marcos P. Santos
623b81fe0e
[core] Fill the initial changeTimes with the reference timestamp of the first frame
...
On the Javascript implementation the array is automatically filled with
zeroes which is not the same thing as `TimePoint::min()`. Here we need
to get our own "zero" which is the timestamp of the first frame.
Fixes #5109
2016-05-27 16:21:02 -05:00
Bruno de Oliveira Abinader
c6f22df8e5
[core] s/operator bool/created()/ in {GL,TexturePool}Holder
...
Prevents confusing usage of GL holder objects.
2016-05-27 10:41:34 -05:00
Bruno de Oliveira Abinader
af34481e6b
[core] Move objectStore in {GL,TexturePool}Holder::reset()
...
Fixes an issue where a moved {GL,TexturePool}Holder would use an invalid
pointer when accessing 'objectStore'.
Fixes #5136 .
2016-05-27 10:41:05 -05:00
John Firebaugh
172e645686
[core] Port "combine line-width and line-gap-width in shader"
...
a9559e911b
fcb9bcebae
2016-05-25 21:37:58 -07:00
John Firebaugh
c568a8ad77
[core] Port "separate u_opacity from u_color"
...
0d34125196
1f5afa7db0
2016-05-25 21:37:58 -07:00
John Firebaugh
45c5b2a66c
[core] Share shaders with gl-js
2016-05-25 21:37:58 -07:00
John Firebaugh
672eb61079
[core] box_shader ⇢ collision_box_shader
2016-05-25 21:37:22 -07:00
John Firebaugh
30ec1c1fed
[core] Remove unused dot shader
2016-05-25 21:37:22 -07:00
Konstantin Käfer
b4de5f472a
[core] rename TileData::State to DataAvailability and make it private
2016-05-25 21:51:25 +02:00
Konstantin Käfer
6f1477f2d4
[core] split TileData::State::obsolete into its own thing
2016-05-25 21:51:25 +02:00
Konstantin Käfer
c91e4ee1f4
[core] normalize TileData::State::obsolete handling
2016-05-25 21:51:25 +02:00
Konstantin Käfer
c52a0c65f4
[core] remove TileData::State::loaded
2016-05-25 21:51:25 +02:00
Konstantin Käfer
95dc8ff3e1
[core] remove unused TileData::hasData()
2016-05-25 21:51:25 +02:00
Konstantin Käfer
d1ea695b96
[core] remove unused TileData::State::invalid
2016-05-25 21:51:25 +02:00
Konstantin Käfer
c60fd0604a
[core] TileData::isReady() => TileData::isRenderable()
2016-05-25 21:51:25 +02:00
Konstantin Käfer
e2bcea90fc
[core] use #pragma once instead of ifdef include guards
2016-05-25 21:35:37 +02:00
Bruno de Oliveira Abinader
1769e6fcb4
[core] Move GLFW stencil clip debug to core
...
This makes the stencil clip debug available to all platforms.
Fixes #4669 .
2016-05-24 19:58:24 +03:00
Bruno de Oliveira Abinader
876bf0687a
[core] Added PixelZoom, RasterPos to GL config
2016-05-24 19:58:24 +03:00
Konstantin Käfer
7272d7c84c
[core] move *Observers to their own files
2016-05-23 18:04:31 +02:00
Konstantin Käfer
b9f23661f8
[core] move RenderItem and GlyphRange to their own headers
2016-05-23 18:04:31 +02:00
Thiago Marcos P. Santos
7b4f5b86af
[core] Restore default texture unit
...
Play nice with the GL context when we are sharing it.
2016-05-23 18:50:34 +03:00
Bruno de Oliveira Abinader
7143408f69
[core] Implement MapDebugOptions::Wireframe
...
Together with MapDebugOptions::Collision, provides "wireframe" rendering
output so all drawn objects are visible. This mode ignores the line
width, background and fill colors for better visualization.
Fixes #4359 .
2016-05-23 11:50:05 +03:00
Ansis Brammanis
4c62a5508c
[core] better symbol fading with texture lookups ( #4579 )
...
- this is simpler than predicting opacity based on current zooming speed
- this is smoother: symbols don't flicker when changing zoom speed or
when zooming in and out rapidly.
1df1466270
fix #4562
2016-05-20 12:19:56 -07:00
Bruno de Oliveira Abinader
f751d2c465
[core] Avoid NaNs in TransformState unit conversions
...
Fix cases where e.g. state has either zero width or height, causing the
unit convertion functions would return NaNs.
2016-05-20 16:18:07 +03:00
John Firebaugh
5864c8fc4c
[core] Include geometry in queryRenderedFeatures results
2016-05-18 17:29:16 -07:00
John Firebaugh
1b1df9e354
[core] Add classifyRings
2016-05-18 17:29:16 -07:00
Konstantin Käfer
c5fc7f1980
[core] use rapidjson's dtoa implementation to stringify floating point numbers
2016-05-18 12:26:51 +02:00
Konstantin Käfer
002393bdea
[core] remove MockView and View dependency in Transform
2016-05-18 12:07:21 +02:00
John Firebaugh
e66f9b2830
[core] Simplify parameters
2016-05-17 13:20:25 -07:00
John Firebaugh
3173b46418
[core] Less auto
2016-05-17 13:20:25 -07:00
John Firebaugh
3c49fdc99d
[core] Feature IDs are always integers
2016-05-17 13:20:25 -07:00
John Firebaugh
b7d395fcf6
[core] Simplify and fix query logic across the antimeridian
2016-05-17 13:20:25 -07:00
John Firebaugh
7f6944f617
[core] Fix properties of GeoJSON layers in queryRenderedFeatures
2016-05-17 13:20:25 -07:00
John Firebaugh
fbb074a089
[core] Eliminate temporary vector in Style::queryRenderedFeatures
2016-05-17 13:20:25 -07:00
John Firebaugh
db74459990
[core] Use mapbox::geometry::envelope in Source::queryRenderedFeatures
2016-05-17 13:20:25 -07:00
John Firebaugh
7e5d0ff49e
[core] Rewrite TileCoordinate in terms of geometry.hpp point
2016-05-17 13:20:25 -07:00
John Firebaugh
3e21e3887a
[core] Introduce StyleQueryParameters; push coordinate calculations into Source
2016-05-17 13:20:25 -07:00
John Firebaugh
8ec0b70722
[core] Use mapbox::geometry::box in queryRenderedFeatures
2016-05-13 09:01:32 -07:00
John Firebaugh
57fcfabd77
[core] Make mapbox::geometry::envelope usable without explicit template arguments
2016-05-13 09:01:32 -07:00
John Firebaugh
58863c3974
[core] Remove unused
2016-05-13 09:01:32 -07:00
John Firebaugh
39da776bd7
[core] Use mapbox::geometry::{box,envelope}
2016-05-13 09:01:32 -07:00
Konstantin Käfer
cd65a43855
[core] move from microsecond precision timestamp to integer second precision
2016-05-13 17:24:22 +02:00
John Firebaugh
0e7f3ada64
[core] Fix code style issues
2016-05-12 08:43:08 -07:00
John Firebaugh
5620cea82e
[core] Avoid instantiating temporary vector
2016-05-12 08:36:30 -07:00
John Firebaugh
b87fe16169
[core] CollisionBox::indexedFeature to CollisionFeature::indexedFeature
...
This eliminates the CollisionBox constructor that instantiates an "empty" IndexedSubfeature.
2016-05-12 08:36:30 -07:00
John Firebaugh
00a86ba03f
[core] Replace auto with actual types
2016-05-12 08:36:30 -07:00
John Firebaugh
e79858558d
[core] Avoid instantiating temporary vector
2016-05-12 08:36:30 -07:00
John Firebaugh
e6296479f0
[core] Code formatting
2016-05-12 08:36:30 -07:00
John Firebaugh
1a030e7c33
[core] Normalize tile coordinates in VectorTile ( #4966 )
...
Previously, vector tile coordinates were being normalized to util::EXTENT in each place they were used, and for annotation and GeoJSON sources that don't require normalization.
2016-05-11 13:54:05 -07:00