summaryrefslogtreecommitdiff
path: root/platform/default/glfw_view.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [build] move GLFW-related files to platform/glfwKonstantin Käfer2016-11-221-629/+0
|
* [linux] Implement EGL headless backendTiago Vignatti2016-11-171-0/+2
| | | | | | | | | | | | | | | | | | Original author: Tiago Vignatti <tvignatti@gmail.com> Calling X11 window system is superfluous for headless rendering. This patch implements EGL platform using GBM, which is slightly more simple than the GLX path when using X11. In principle there are no big advantages in terms of performance etc. My motivation behind this was to get in touch with the code and the project. For testing I'm using: $ unset DISPLAY && ./build/linux-x86_64/Debug/mbgl-test v2: rebased patch against the new cmake changes; walk through render node to find a valid one; remove EGLSurface completely cause windows are not needed here.
* [core] correctly set the framebuffer size on retina screensKonstantin Käfer2016-11-011-0/+2
| | | | Also asserts in Debug mode that the internal state and the OpenGL state are identical
* [core] change std::array<uint16_t, 2> to mbgl::SizeKonstantin Käfer2016-10-271-12/+9
|
* [core] move gl::Context to Backend and refactor ViewKonstantin Käfer2016-10-251-9/+22
|
* [core] separate Backend from View for headless renderingKonstantin Käfer2016-10-251-0/+4
|
* [glfw] Added queryPointAnnotations shortcutBruno de Oliveira Abinader2016-10-251-1/+5
|
* [glfw] add map change callback methods to glfw_viewIvo van Dongen2016-10-201-0/+10
|
* [core] move OpenGL extension loading to their own headersKonstantin Käfer2016-09-291-0/+1
|
* [core] move GL value accessors to gl::value namespaceKonstantin Käfer2016-09-271-9/+10
|
* [glfw] Separate transition options accessors from class APIBruno de Oliveira Abinader2016-09-131-2/+3
|
* [core] add ability show visualize the depth buffer to the GLFW and macOS appKonstantin Käfer2016-08-191-0/+13
|
* [glfw] Added 'addRandomLineAnnotations'Bruno de Oliveira Abinader2016-07-231-5/+26
|
* [tidy] Check modernize-use-nullptrBruno de Oliveira Abinader2016-06-131-2/+2
| | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-use-nullptr.html
* [core] Rationalize naming for style-related codeJohn Firebaugh2016-06-021-2/+2
|
* [all] Rationalize annotation APIJohn Firebaugh2016-06-011-32/+8
|
* [core] Use geometry.hpp types for shape annotationsJohn Firebaugh2016-06-011-12/+11
|
* [core] Move GLFW stencil clip debug to coreBruno de Oliveira Abinader2016-05-241-51/+0
| | | | | | This makes the stencil clip debug available to all platforms. Fixes #4669.
* [core] Added Viewport modeBruno de Oliveira Abinader2016-05-111-0/+1
| | | | | | Satisfies embedding platforms that requires the viewport coordinate systems to be set according to its standards e.g. viewport mirrored vertically.
* [glfw] Atomic is no longer neededThiago Marcos P. Santos2016-04-281-4/+3
| | | | All View events come from the same thread.
* [glfw] Workaround for OS X (#4666)Bruno de Oliveira Abinader2016-04-151-0/+4
|
* [core] Render from the main threadJohn Firebaugh2016-04-141-21/+12
| | | | Do not create a thread for the MapContext anymore.
* [glfw] Fix random point generationBruno de Oliveira Abinader2016-04-011-7/+3
|
* [glfw] Main loop integrationThiago Marcos P. Santos2016-03-211-3/+14
| | | | | | 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] Added user-defined transition properties when modifying classesBruno de Oliveira Abinader2016-03-181-3/+4
|
* [linux] Added world tour to GLFW test appBruno de Oliveira Abinader2016-03-141-0/+22
|
* [core] Harden Transform anchor & padding usageBruno de Oliveira Abinader2016-03-131-3/+3
| | | | | Use optional values for anchor & padding in Map and Transform functions instead of NaNs. Added unit tests to stress some edge cases.
* [core] PrecisionPoint is now ScreenCoordinateBruno de Oliveira Abinader2016-03-011-2/+2
|
* [glfw] add "C" button to show stencil clip masksKonstantin Käfer2016-02-101-0/+52
|
* [core] move GL value objects from gl_config.hpp to gl_values.hppKonstantin Käfer2016-02-081-8/+9
| | | | Also removes duplicate code from gl_helper.hpp by reusing the GL values that we already have anyway.
* [core] move util/gl_helper.hpp to gl/gl_helper.hppKonstantin Käfer2016-02-081-1/+1
|
* [core] move platform/gl.hpp to gl/gl.hppKonstantin Käfer2016-02-081-1/+1
|
* Cleanup std::chrono usageBruno de Oliveira Abinader2016-01-251-3/+4
| | | | Use mbgl::Duration and mbgl::{,Milli}Seconds whenever possible.
* [core][ios][osx][android] make SpriteImage accept PremultipliedImageAnsis Brammanis2016-01-191-3/+3
| | | | | | | | | | | | the SpriteImage constructor signature changes from SpriteImage( uint16_t width, uint16_t height, float pixelRatio, std::string&& data, bool sdf = false); to SpriteImage(PremultipliedImage&&, float pixelRatio, bool sdf = false)
* [glfw] Fix panning directionThiago Marcos P. Santos2016-01-191-1/+1
| | | | Follow-up of the transform refactoring
* [core, ios, osx, android, glfw] Flipped origin of Map::latLngForPixel(), ↵Minh Nguyễn2016-01-181-7/+6
| | | | | | | | Map::pixelForLatLng() Map and Transform methods assume an origin at the top-left corner of the view, like iOS, Android, and GLFW but unlike OS X. Transform is responsible for flipping coordinates between the top-left origin of Map and the bottom-left origin of TransformState. Fixes #3574.
* [osx] Use framebuffer width/height in GLFW portBruno de Oliveira Abinader2015-12-181-1/+1
| | | | | | Framebuffer width/height takes pixel ration in consideration. Part of #3294.
* [glfw] Set viewport size from the Map threadThiago Marcos P. Santos2015-12-161-5/+5
| | | | | | | Setting the viewport size from the main thread has no affect on Linux and thus, the map doesn't scale. We now set the viewport size on the beforeRender() hook that gets called from the Map thread.
* [core] allow changing the orientationKonstantin Käfer2015-12-151-0/+14
| | | | You can now change the orientation of north to be to the right, bottom, left in addition to the default of top
* [core] viewport is handled by embedding applicationsKonstantin Käfer2015-12-101-0/+4
|
* [core] add namespace comment to closing braceKonstantin Käfer2015-12-031-2/+2
|
* [core] Map::setSprite ⇢ Map::addAnnotationIconJohn Firebaugh2015-12-011-2/+2
| | | | Fixes #3084
* [glfw] No longer necessary to wait for style load to add default markerJohn Firebaugh2015-12-011-7/+1
|
* [tests] Don't use icons from the style for annotationsJohn Firebaugh2015-11-301-1/+8
|
* [core] Collision debug is now MapDebugOptions::CollisionBruno de Oliveira Abinader2015-11-271-4/+0
|
* [core] Added MapDebugOptionsBruno de Oliveira Abinader2015-11-271-2/+2
| | | | | Map debug options are now cycled up to all debug options enabled, then back to none.
* fixes #3054: move desktop test app keybindings output to startup logJustin R. Miller2015-11-171-0/+25
|
* [core] allow changing pitch in GLFW based appsKonstantin Käfer2015-11-171-0/+8
|
* [core] Reorganize sprite related filesJohn Firebaugh2015-11-121-1/+1
|
* [core] Use PrecisionPoint in zoom and angle functionsBruno de Oliveira Abinader2015-11-111-4/+4
|