summaryrefslogtreecommitdiff
path: root/include/mbgl/platform
Commit message (Collapse)AuthorAgeFilesLines
* VAO and extension tracking code.Adam Hunter2015-10-061-0/+32
|
* Added GL logging utilityAdam Hunter2015-09-291-0/+40
|
* Merge branch 'master' into nodeJohn Firebaugh2015-08-311-0/+1
|\
| * iOS perspective gesture supportJason Wray2015-08-261-0/+1
| | | | | | | | | | | | Drag two fingers upward to tilt the map. Implements #2116
* | View::swap -> View::beforeRender View::afterRenderMike Morris2015-08-252-2/+6
|/ | | | | To be able to resize the framebuffer on the map thread in HeadlessView.
* add benchmark mode that shows the real frame time rather than the vsync timeKonstantin Käfer2015-08-111-2/+8
|
* add MBGL_USE_GLES2 defineKonstantin Käfer2015-08-042-2/+2
|
* add ability to add random custom markers to test appKonstantin Käfer2015-07-081-0/+4
|
* Make pixelRatio constant across a Map object lifetimeKonstantin Käfer2015-07-082-16/+19
| | | | also moves framebuffer size out of TransformState into its own object
* drive map rendering from main threadKonstantin Käfer2015-06-262-2/+7
|
* Support shape annotations on GLFWViewThiago Marcos P. Santos2015-06-181-0/+8
| | | | | | Add different random triangles count by using the keys 7, 8, 9 or 0. Q will clear all the annotations. W will remove one annotation.
* Namespaced reachability notification constantMinh Nguyễn2015-06-121-1/+1
| | | Fixes #1717.
* press 1 through 6 to add 10^(n-1) points in the current viewportKonstantin Käfer2015-06-091-0/+6
| | | | (only works correctly when rotated to north, but this is a just a debug functionality anyway)
* Remove references to ResourceLoaderThiago Marcos P. Santos2015-06-021-2/+2
| | | | ResourceLoader got merged with Style.
* Replace mbgl::util::make_unique<> with std::make_unique<>Konstantin Käfer2015-05-262-2/+1
|
* prefix Reachability with "MGL" to avoid linking conflicts and app store ↵Konstantin Käfer2015-05-261-4/+4
| | | | rejections
* update Reachability with latest versionKonstantin Käfer2015-05-261-25/+8
|
* Add callback for error notifications on renderStill()Thiago Marcos P. Santos2015-05-221-0/+2
| | | | | | | | | The callback will be called when any of the resources requested from the network failed to load. There is not recovery implemented yet, so the closest thing to reseting the Map object and reloading all the resources would be setting a new style.
* Extensible GL extension supportJohn Firebaugh2015-05-131-123/+24
|
* Remove unused GL feature flagsJohn Firebaugh2015-05-131-8/+0
| | | | These were used only for prerendered textures, which were removed.
* Fix Linux GCC Debug buildThiago Marcos P. Santos2015-05-081-1/+1
| | | | | Compiler was complaining about shadowed variable after macro expansion.
* change the window title to indicate the current styleKonstantin Käfer2015-05-071-0/+2
|
* Make all GLFWView attributes privateThiago Marcos P. Santos2015-05-071-5/+6
|
* Add style change functionality to the Linux test appThiago Marcos P. Santos2015-05-071-2/+8
| | | | | | | Makes the life of people using Linux as development environment way easier. Just press 's' to cycle through 3 different styles.
* lower thread priority of worker threadsKonstantin Käfer2015-05-041-0/+3
|
* add gl::groups back for easier debugging in XcodeKonstantin Käfer2015-05-041-1/+1
|
* fix compile with clang-3.6Dane Springmeyer2015-05-012-4/+2
|
* Resize view from map threadJohn Firebaugh2015-04-281-2/+1
|
* Remove Map::start/stopJohn Firebaugh2015-04-281-1/+1
| | | | | | Both Android and iOS now use pause/resume. The map thread is always running, and be able to receive messages. When paused, it will just refuse to render.
* Following kkaefer's view changesJohn Firebaugh2015-04-281-7/+1
|
* Move run() to MapContextJohn Firebaugh2015-04-281-0/+1
|
* move most private Map code to MapContextKonstantin Käfer2015-04-282-2/+2
|
* align static render mode and still image render modeKonstantin Käfer2015-04-171-11/+28
| | | | | - static rendering now also runs in a separate thread; you have to start it with map.start(Map::Mode::Static) and join the thread with map.stop() before destructing the Map object - map.renderStill() takes a callback with will be invoked on the *map* thread, so you'll have to figure out your own method of dispatching back to the main thread.
* Remove some uv.hpp includesJohn Firebaugh2015-04-091-2/+0
|
* make sqlite storage more resilient to sporadic errorsKonstantin Käfer2015-04-071-1/+3
| | | | | | | | - catch SQLite exceptions and report them - failed statements are ignored, we're really just caching here, so if it fails we're handling it gracefully elsewhere - handle cases where the database file goes away after we opened it - handle cases where the schema wasn't created after the database file was opened successfully - add tests
* closes #1082, refs #756: user dot on map in iOSJustin R. Miller2015-03-251-0/+5
|
* Log the Environment ID and the Thread nameThiago Marcos P. Santos2015-03-181-1/+1
| | | | | | | | | | | | | | | | | | | To make it easier to debug, add the Environment ID and the Thread name to the log messages. For instance log messages from the TileParser will look like: [WARNING] {0}{TileWorker_15/18653/9486}[ParseTile]: some relevant warning message | | | | | | | +-> Component | | +--------------------> Thread name | +----------------------------------> Environment ID +------------------------------------------> Severity level Log messages that are not inside an Environment::Scope will work normally and will look like: [WARNING] [JNI]: some relevant warning message Fixes #882.
* fix sprites for pixel ratios that are not 1 and 2Konstantin Käfer2015-03-171-2/+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
* Merge pull request #972 from mapbox/log_cleanupThiago Marcos P. Santos2015-03-124-84/+21
|\ | | | | Refactoring of the log system
| * Update the FixtureLogThiago Marcos P. Santos2015-03-121-0/+12
| | | | | | | | | | | | 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.
| * Make the logging system staticThiago Marcos P. Santos2015-03-124-81/+10
| | | | | | | | | | | | | | No initialization is needed anymore and we can use the logging functions safely at any point of the code (threading is not handled though, so you might get multiplexed messages if you log from two threads simultaneously).
| * Simplify the logging mechanismThiago Marcos P. Santos2015-03-123-10/+6
| | | | | | | | | | | | | | | | | | Move the implementation of the more specialized methods to the base class and let the platform implement only the most generic method that takes all the possible arguments. These specialized methods will then map to the generic implementation that must be provided by the platforms we support.
* | fixes black flicker on rotating the deviceKonstantin Käfer2015-03-122-14/+10
|/ | | | | | | | | | | | fixes #838 instead of rendering ad libitum on the map thread, we are now driving rendering from the UI thread on iOS via the map.renderSync() function. There are still white bars during the rotation, but the general content of the view is kept visible. - upgrades GLFW to 3.1 - removes swapped/needsSwap in favor of a more explicit scheme - View#invalidate() now replaces View#swap() and is called whenever the View needs to trigger a rerender. GLFW and Android to this right away, while iOS goes back to the main thread and does the Map redrawing as part of the GLKView update - sets all iOS deployment targets to 7.0 - disables SQLite3 version check, since the library version changed on iOS 8.2
* use a reinterpret_cast to return the correct typeKonstantin Käfer2015-03-061-1/+1
|
* guard against concurrent OpenGL extension loadingKonstantin Käfer2015-03-061-0/+2
|
* make Map::resize() privateKonstantin Käfer2015-03-061-5/+5
| | | | they can only be called by View::resize
* forward declare GLX typedefs to limit conflicts from glx.hMike Morris2015-02-102-4/+5
|
* refactor makefileKonstantin Käfer2015-02-041-0/+3
|
* make ios compileKonstantin Käfer2015-02-041-4/+2
|
* fixes for linuxKonstantin Käfer2015-02-041-0/+1
|