summaryrefslogtreecommitdiff
path: root/include/mbgl/platform
Commit message (Collapse)AuthorAgeFilesLines
* [core] Use NDEBUG instead of DEBUGBruno de Oliveira Abinader2016-08-051-1/+1
| | | | | CMake defines 'NDEBUG' by default for release build, so we can check if that's not defined instead of using 'DEBUG' for debug build.
* [glfw] Added 'addRandomLineAnnotations'Bruno de Oliveira Abinader2016-07-231-0/+2
|
* [core] Move set/get thread names to platform::Thiago Marcos P. Santos2016-07-161-0/+6
| | | | Android needs its own implementation.
* [core] Avoid redundant 'inline' usageBruno de Oliveira Abinader2016-06-181-5/+5
|
* [tidy/linux] modernize-use-nullptrBruno de Oliveira Abinader2016-06-141-1/+1
|
* [core] Make enum ↔ string conversion more generic-friendlyJohn Firebaugh2016-06-131-31/+0
| | | | | | Rewrite enum.hpp in such a way that parseConstant can be defined generically for all enumerated types. While there, properly validated enumerated property values.
* [tidy] Check modernize-use-overrideBruno de Oliveira Abinader2016-06-132-2/+2
| | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-use-override.html
* [core] fix pedantic warning messagesKonstantin Käfer2016-06-132-29/+2
|
* [all] Rationalize annotation APIJohn Firebaugh2016-06-011-1/+0
|
* [core] Use geometry.hpp types for shape annotationsJohn Firebaugh2016-06-011-1/+3
|
* [core] use #pragma once instead of ifdef include guardsKonstantin Käfer2016-05-258-32/+8
|
* [core] Move GLFW stencil clip debug to coreBruno de Oliveira Abinader2016-05-241-5/+0
| | | | | | This makes the stencil clip debug available to all platforms. Fixes #4669.
* [glfw] Atomic is no longer neededThiago Marcos P. Santos2016-04-281-3/+1
| | | | All View events come from the same thread.
* [core] Render from the main threadJohn Firebaugh2016-04-142-17/+7
| | | | Do not create a thread for the MapContext anymore.
* [ios, osx, linux] Remove unused "applicationRoot" functionJohn Firebaugh2016-03-311-3/+0
|
* [core] split headless_view.cpp into implementation-specific filesKonstantin Käfer2016-03-221-2/+17
| | | | also adds a EAGL implementation for iOS
* [glfw] Main loop integrationThiago Marcos P. Santos2016-03-211-0/+5
| | | | | | This new code can be used for rendering on the Main thread while it will also work for rendering on the Map thread before we make the switch. Needed by #2909.
* [core] explicitly initialize a few fields to nullKonstantin Käfer2016-03-042-2/+2
|
* [glfw] add "C" button to show stencil clip masksKonstantin Käfer2016-02-101-0/+5
|
* [core] move GL value objects from gl_config.hpp to gl_values.hppKonstantin Käfer2016-02-081-0/+1
| | | | Also removes duplicate code from gl_helper.hpp by reusing the GL values that we already have anyway.
* [core] move platform/gl.hpp to gl/gl.hppKonstantin Käfer2016-02-082-160/+1
|
* [core] use stale glyphsKonstantin Käfer2016-01-151-1/+3
| | | | Updating glyphs is still unsupported, and there's no good use case for doing so. When we're using a stale glyph PBF, and the fresh answer contains changed to that glyph, we will continue to use the old glyph.
* [core] Eliminate platform::assetRoot()John Firebaugh2016-01-131-3/+0
| | | | I regenerated assets.zip so that all file paths have an `assets/` prefix, as the Android AssetFileSource implementation asserts, and removed `TEST_DATA` from the paths.
* [tests] Rewrite resource loading testJohn Firebaugh2015-12-221-0/+6
| | | | Make it more readable and easier to debug.
* [core] allow changing the orientationKonstantin Käfer2015-12-151-0/+2
| | | | You can now change the orientation of north to be to the right, bottom, left in addition to the default of top
* [node] code review cleanupMike Morris2015-12-151-1/+1
|
* [core] add namespace comment to closing braceKonstantin Käfer2015-12-037-9/+9
|
* [glfw] No longer necessary to wait for style load to add default markerJohn Firebaugh2015-12-011-2/+0
|
* [tests] Don't use icons from the style for annotationsJohn Firebaugh2015-11-301-0/+2
|
* [core] Added MapDebugOptionsBruno de Oliveira Abinader2015-11-272-2/+4
| | | | | Map debug options are now cycled up to all debug options enabled, then back to none.
* [core] Fix image type of Map::renderStillJohn Firebaugh2015-11-251-1/+1
| | | | | | | It's a premultiplied image. This implies that we were misusing encodePNG in most cases, as we were passing premultiplied pixels which were then interpreted as unmultiplied. I changed encodePNG to accept premultipled pixels, and unpremultiply in the implementations.
* [core] Rewrite image handlingJohn Firebaugh2015-11-254-178/+1
| | | | | | * Consolidate Image and StillImage * Typecheck unassociated vs premultiplied images * Rewrite default platform image decoding implementation
* [core] Remove unusedJohn Firebaugh2015-11-233-9/+3
|
* [core] For binary image data use uint8_t, not charJohn Firebaugh2015-11-233-6/+6
|
* [core] allow changing pitch in GLFW based appsKonstantin Käfer2015-11-172-0/+2
|
* 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
|