Konstantin Käfer
382358402a
update sprite scaling test case
2015-03-26 10:56:42 +01:00
Ansis Brammanis
14e8b4bb09
support wrapped bilinear scaling
...
to get rid of seams in repeating patterns.
https://github.com/mapbox/mapbox-gl-styles/issues/50#issuecomment-86159351
2015-03-26 10:45:23 +01:00
Konstantin Käfer
48c55af5c1
fix sprites for pixel ratios that are not 1 and 2
...
- OpenGL ES 2 doesn't allow NPOT textures with wrap-around
- The Sprite object reported the map's pixelRatio, even though it loaded @2x assets
- Copying icons from the sprite into the atlas now uses bilinear scaling to scale up to the actual size
2015-03-17 12:30:40 +01:00
John Firebaugh
0c985c024b
Revert "Move atlas ownership to Style"
...
This reverts commit bffee07154 .
2015-03-13 13:05:32 -07:00
John Firebaugh
bffee07154
Move atlas ownership to Style
...
This follows gl-js and just makes sense -- whenever the style changes
the atlases should be blown away.
Refs #957
2015-03-13 10:55:47 -07:00
Konstantin Käfer
5e40f72b7c
scripts for running linux tests with docker
2015-03-13 12:06:11 +01:00
Thiago Marcos P. Santos
124b49562d
Get rid of printf and cout by using Log::*
...
Use our logging system that will route the message accordingly on
the target platform.
Fixes #613
2015-03-12 14:19:32 +02:00
Thiago Marcos P. Santos
79f3149d9d
Update the FixtureLog
...
Now the FixtureLog is an Log::Observer instead of a backend. The
observer can sniff and filter log messages, that can be used
for fail a test if it emits a warning for example.
2015-03-12 13:28:41 +02:00
John Firebaugh
a5998dc59b
Fix conditional in normalizeSourceURL
...
The existing conditional would always be false, since it
was comparing a url that begins with "mapbox://". In fact
no conditional is necessary; the secure TileJSON resource
should always be requested.
2015-03-06 18:16:58 -08:00
Minh Nguyễn
cd83c48ed3
Insert {ratio} before extension, not inside access token
...
Fixes #959 .
2015-03-06 15:33:14 -08:00
Minh Nguyễn
8804c47d27
Only add {ratio} to raster tile URLs
...
Thanks to @mb12 for the suggestion.
2015-03-06 13:51:20 -08:00
Minh Nguyễn
a3d76dad10
Ported util::mapbox tests from mapbox-gl-js
...
Left out several tests that were redundant because mapbox.cpp only looks at the passed in access token.
2015-03-06 13:51:19 -08:00
Konstantin Käfer
9781785ab7
scope Requests to an Environment object for easier cancelation
...
we are now scoping all file requests to an environment object. The FileSource implementation treats
this as an opaque pointer, but allows canceling all Requests that are associated with that pointer.
This is necessary to abort all file requests that originated from a particular Map object. Aborting
a file request is different from canceling a file request: A canceled request doesn't have its
callback called, while an aborted request will have its callback called with an error, indicating
that the environment is going to be shut down.
2015-03-06 08:21:47 -08:00
Konstantin Käfer
fb44fc81bd
make Map::resize() private
...
they can only be called by View::resize
2015-03-06 13:52:25 +01:00
Konstantin Käfer
18263436e9
add missing test fixture file
2015-02-17 11:42:55 -08:00
Konstantin Käfer
b29bce0936
add ca bundle loading back to CURL
2015-02-17 11:42:47 -08:00
Konstantin Käfer
fe0baffe0d
update uv_zip and add tests
2015-02-16 18:30:19 -08:00
Justin R. Miller
6e41664cb0
fixes #476 & #853 : pixel/meter/latlng conversion routines in core & iOS
2015-02-16 09:52:36 -08:00
Leith Bade
b693d01bc8
Merge pull request #884 from mapbox/move-buckets
...
Move to mapbox bucket
2015-02-14 23:27:10 -08:00
Leith Bade
68e5d0dc48
Move to mapbox bucket
2015-02-13 23:07:45 -08:00
Konstantin Käfer
aecef6da1a
make sure that the async handle always gets closed
2015-02-13 13:28:40 -08:00
Ansis Brammanis
919ac60983
update test suite
2015-02-11 16:27:13 -08:00
John Firebaugh
ad481f6f12
Merge pull request #821 from mapbox/pattern-functions
...
functions for everything
2015-02-10 14:41:44 -08:00
Justin R. Miller
d4d4cd4415
move iOS code from gl-cocoa to this project
2015-02-09 18:01:40 -08:00
John Firebaugh
8f4a245c40
Update test suite and style submodules to latest v7
2015-02-06 14:53:48 -08:00
Ansis Brammanis
177f441cc9
add test for parsing enum, bool, string functions.
2015-02-06 10:11:27 -08:00
Konstantin Käfer
73f7db9af2
cleanup makefiles
2015-02-04 11:54:01 +01:00
Konstantin Käfer
29baacf3a5
refactor makefile
2015-02-04 10:49:09 +01:00
Konstantin Käfer
704b3719f5
use standard DEBUG macro rather than NDEBUG
2015-02-04 10:49:07 +01:00
Konstantin Käfer
272fa8935e
make storage lib separate so we can build without storage libs
2015-02-04 10:49:07 +01:00
Konstantin Käfer
6f349a796c
execute the correct server path and use the exepath for application root rather than the cwd
2015-02-04 10:49:07 +01:00
Konstantin Käfer
4a985e09f2
asset:// URLs are local to the executable path now
2015-02-04 10:49:06 +01:00
Konstantin Käfer
92a7f73bbe
fixes for linux
2015-02-04 10:49:06 +01:00
Konstantin Käfer
032c245bfe
remove unused files
2015-02-04 10:49:06 +01:00
Konstantin Käfer
aa09aa321b
rearrange tests and make more robust
2015-02-04 10:49:06 +01:00
Konstantin Käfer
8a1fce547e
rearrange tests and add storage tests
2015-02-04 10:49:05 +01:00
Konstantin Käfer
31a0d18ca1
remove circular shared_ptr and a few other memory leaks
2015-02-04 10:49:05 +01:00
Leith Bade
42d1972732
Merge branch 'master' of github.com:mapbox/mapbox-gl-native into android-mason
...
Conflicts:
src/mbgl/renderer/painter_prerender.cpp
src/mbgl/renderer/prerendered_texture.cpp
src/mbgl/renderer/prerendered_texture.hpp
2015-01-23 11:11:04 +11:00
John Firebaugh
9495b686e7
Use v7 styles / tests
2015-01-22 12:00:26 -08:00
Leith Bade
016c2948c5
Merge branch 'master' of github.com:mapbox/mapbox-gl-native into android-mason
...
Conflicts:
src/mbgl/map/map.cpp
2015-01-18 16:33:39 +11:00
John Firebaugh
d24b73b1a6
Move class state to map
...
https://github.com/mapbox/mapbox-gl-js/pull/936
2015-01-14 17:43:44 -08:00
Leith Bade
b7cc6bfaa6
Merge branch 'master' of github.com:mapbox/mapbox-gl-native into android-mason
...
Conflicts:
src/mbgl/shader/shader.cpp
2015-01-15 11:39:50 +11:00
John Firebaugh
c6ca57045f
Merge pull request #744 from mapbox/merge-roads
...
merge adjacent roads with the same text for labeling
2015-01-14 10:12:45 -08:00
Ansis Brammanis
4fbb7d614c
port tests for mergeLines
...
js: 867b7f4be01126663df609756049515a41e700d1
2015-01-13 22:29:28 -05:00
Mike Morris
f1609ef329
include sqlite3_static_libs in linker flags
2015-01-13 14:31:50 -05:00
Leith Bade
5ed8d4544f
Merge branch 'master' of github.com:mapbox/mapbox-gl-native into android-mason
2015-01-09 09:30:52 +11:00
Konstantin Käfer
febfb7ac09
fix rendering errors
2014-12-12 12:37:55 +01:00
Mike Morris
76909d18fb
log headless test fixture names
2014-12-11 16:37:48 -05:00
Konstantin Käfer
8fd04ebc44
add missing gyp file
2014-12-08 22:35:03 +01:00
Konstantin Käfer
abafb52f37
make most headers private
2014-12-04 20:02:50 +01:00