Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Rework map threading #879

Closed
wants to merge 43 commits into from
Closed

Rework map threading #879

wants to merge 43 commits into from

Commits on Feb 20, 2015

  1. Configuration menu
    Copy the full SHA
    5fdd449 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0d7c943 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d0c43e2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    27e3998 View commit details
    Browse the repository at this point in the history
  5. make Map::resize() private [skip ci]

    they can only be called by View::resize
    kkaefer authored and mikemorris committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    66094ef View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3519bef View commit details
    Browse the repository at this point in the history
  7. update variant code

    kkaefer authored and mikemorris committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    08c7615 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    479b113 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    19d5347 View commit details
    Browse the repository at this point in the history
  10. lock the StyleBucket to avoid crashing

    stopgap until we have a solution that doesn't mutate the style objects while parsing a tile
    kkaefer authored and mikemorris committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    c8610ee View commit details
    Browse the repository at this point in the history
  11. add more locking around GlyphStore and FontStack

    this is a stopgap until we have a solution that gives every worker thread their own copy
    kkaefer authored and mikemorris committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    591c6ce View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    f44a7d8 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    7cb4cac View commit details
    Browse the repository at this point in the history
  14. add isRendering() call

    kkaefer authored and mikemorris committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    2f7ef68 View commit details
    Browse the repository at this point in the history
  15. expose the Pixel type

    kkaefer authored and mikemorris committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    bc22847 View commit details
    Browse the repository at this point in the history
  16. assert that the shader program exists

    kkaefer authored and mikemorris committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    b23daff View commit details
    Browse the repository at this point in the history
  17. add missing include header

    kkaefer authored and mikemorris committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    1168eb1 View commit details
    Browse the repository at this point in the history
  18. Fail early in case there is no display

    kkaefer authored and mikemorris committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    da1a958 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    456a141 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    19d6f96 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    0a2432c View commit details
    Browse the repository at this point in the history
  22. throw when there's no style object

    kkaefer authored and mikemorris committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    1cadab2 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    b4e97ed View commit details
    Browse the repository at this point in the history
  24. use mutex instead of atomic

    kkaefer authored and mikemorris committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    2d88526 View commit details
    Browse the repository at this point in the history
  25. fix ambiguous name (gcc)

    kkaefer authored and mikemorris committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    2cb29f2 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    b59ae9f View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    74c23ff View commit details
    Browse the repository at this point in the history
  28. asyncUpdate can go away when the map is being terminated

    Do not call asyncUpdate->send() when that is the case
    kkaefer authored and mikemorris committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    70c8ebe View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    cd3eb6e View commit details
    Browse the repository at this point in the history
  30. PLATFORM is now HOST

    kkaefer authored and mikemorris committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    f1db1bb View commit details
    Browse the repository at this point in the history
  31. make rendering a critical section and wait until rendering is complet…

    …ed before returning from stop()
    kkaefer authored and mikemorris committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    15e07eb View commit details
    Browse the repository at this point in the history
  32. Add Android support

    Leith Bade authored and mikemorris committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    ca0819a View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    79c13e2 View commit details
    Browse the repository at this point in the history
  34. safe thread.join()

    mikemorris committed Feb 20, 2015
    Configuration menu
    Copy the full SHA
    bb8cedf View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2015

  1. Handle double surfaceDestroyed callbacks

    Leith Bade committed Feb 24, 2015
    Configuration menu
    Copy the full SHA
    3ad26aa View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2015

  1. 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.
    kkaefer committed Mar 4, 2015
    Configuration menu
    Copy the full SHA
    335cf4c View commit details
    Browse the repository at this point in the history
  2. don't shadow variable

    kkaefer committed Mar 4, 2015
    Configuration menu
    Copy the full SHA
    30a5f58 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    021ad1f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a0b439a View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2015

  1. prefix log output with MBGL

    [skip ci]
    kkaefer committed Mar 6, 2015
    Configuration menu
    Copy the full SHA
    1a13331 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2015

  1. Removed special cased zoom level for HiDPI

    No need to load higher-resolution vector tiles for HiDPI displays.
    
    Fixes #907.
    1ec5 authored and mikemorris committed Mar 19, 2015
    Configuration menu
    Copy the full SHA
    c5b124f View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2015

  1. Configuration menu
    Copy the full SHA
    c64f673 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2015

  1. tolerate missing sprites

    Do not try to fulfil the promise twice in case both requests to the sprite JSON and image fail. this will crash the program. Instead, we always continue with the promise, instead of throwing an exception. This allows the program to continue parsing tiles, but without an image sprite available. This means the map will render, but without the sprite images
    kkaefer authored and mikemorris committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    21ccf43 View commit details
    Browse the repository at this point in the history