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

android-mason merge plan #595

Closed
Closed

Description

@incanus

@ljbade What are you seeing as the roadmap to get android-mason merged into master? Can you make a milestone about it, assign tickets (and create any others as necessary), and then we can track progress?

Activity

  1. added
    Android
    on Nov 12, 2014
  2. ljbade commented on Nov 12, 2014

    @ljbade
    Contributor

    @incanus sure I will start working on it. I will also point out any major changes to core lib that should probably be reviewed

  3. ljbade commented on Nov 13, 2014

    @ljbade
    Contributor

    OK here is an initial roadmap:

  4. incanus commented on Nov 13, 2014

    @incanus
    ContributorAuthor

    Make a list of major changes to core c++ code

    Consider this as a pull request — that's how we can best review, modify inline, and eventually merge.

    The list looks great — @ljbade can you create & apply a milestone for better tracking?

  5. ljbade commented on Nov 13, 2014

    @ljbade
    Contributor

    @incanus I created a milestone

  6. ljbade commented on Nov 22, 2014

    @ljbade
    Contributor

    Getting closer!

  7. ljbade commented on Nov 30, 2014

    @ljbade
    Contributor

    I think I am ready to push on merging.

    It will make it a lot easier to tackle some of my issue backlog which will also affects other platforms.

  8. ljbade commented on Nov 30, 2014

    @ljbade
    Contributor
  9. ljbade commented on Dec 1, 2014

    @ljbade
    Contributor

    @incanus figured it out, it was my bad git submodule skills - I had not merged the correct commit hash from master

  10. ljbade commented on Dec 1, 2014

    @ljbade
    Contributor

    Linux build is crashing with:

    #0  0x000000004009fd5d in ?? ()
    #1  0x00007ffff3a82acf in ?? () from /usr/lib/nvidia-331/libnvidia-glcore.so.331.38
    #2  0x00007ffff36d7094 in ?? () from /usr/lib/nvidia-331/libnvidia-glcore.so.331.38
    #3  0x0000000000481181 in mbgl::Painter::drawClippingMask (this=0x7fffffffd9a8, matrix=..., clip=...)
        at ../../src/renderer/painter_clipping.cpp:38
    #4  0x0000000000444b32 in mbgl::Source::drawClippingMasks (this=0x7fffe81725e8, painter=...) at ../../src/map/source.cpp:92
    #5  0x000000000048101a in mbgl::Painter::drawClippingMasks (this=0x7fffffffd9a8, sources=...)
        at ../../src/renderer/painter_clipping.cpp:21
    #6  0x0000000000473079 in mbgl::Painter::render (this=0x7fffffffd9a8, style=..., sources=..., state_=..., time=14093680439624)
        at ../../src/renderer/painter.cpp:222
    #7  0x000000000041c958 in mbgl::Map::render (this=0x7fffffffd5e0) at ../../src/map/map.cpp:752
    #8  0x00000000004193a5 in mbgl::Map::__lambda11::operator() (__closure=0xd70380) at ../../src/map/map.cpp:173
    #9  0x000000000041db43 in std::_Function_handler<void(), mbgl::Map::start(bool)::__lambda11>::_M_invoke(const std::_Any_data &) (
        __functor=...) at /usr/include/c++/4.8/functional:2071
    #10 0x00000000004210a9 in std::function<void ()>::operator()() const (this=0xdaf200) at /usr/include/c++/4.8/functional:2464
    #11 0x000000000041fb0a in uv::async::async_cb (a=0xdaf1a0) at ../../include/mbgl/util/uv_detail.hpp:86
    #12 0x00000000005ad1ad in uv__async_event (loop=0x92d740, w=0x92d8b0, nevents=2) at src/unix/async.c:80
    #13 0x00000000005ad35a in uv__async_io (loop=0x92d740, w=0x92d8b8, events=1) at src/unix/async.c:151
    #14 0x00000000005c0dd1 in uv__io_poll (loop=0x92d740, timeout=-1) at src/unix/linux-core.c:271
    #15 0x00000000005add63 in uv_run (loop=0x92d740, mode=UV_RUN_DEFAULT) at src/unix/core.c:317
    #16 0x0000000000419bdc in mbgl::Map::run (this=0x7fffffffd5e0) at ../../src/map/map.cpp:288
    #17 0x00000000004194a5 in mbgl::Map::__lambda13::operator() (__closure=0x0, arg=0x7fffffffd5e0) at ../../src/map/map.cpp:202
    #18 0x0000000000419532 in mbgl::Map::__lambda13::_FUN (arg=0x7fffffffd5e0) at ../../src/map/map.cpp:210
    #19 0x00000000005bf52f in uv__thread_start (ctx_v=0xdac540) at src/uv-common.c:322
    #20 0x00007ffff614f182 in start_thread (arg=0x7fffed220700) at pthread_create.c:312
    #21 0x00007ffff56fafbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
    

    What might the cause be?

    @kkaefer Where is the vertex/index buffer for glDrawArrays(GL_TRIANGLES, 0, (GLsizei)tileStencilBuffer.index()); set?

  11. kkaefer commented on Dec 1, 2014

    @kkaefer
    Member

    That one is created when initializing the Painter object:

    StaticVertexBuffer tileStencilBuffer = {
    // top left triangle
    { 0, 0 },
    { 4096, 0 },
    { 0, 4096 },
    // bottom right triangle
    { 4096, 0 },
    { 0, 4096 },
    { 4096, 4096 },
    };

  12. ljbade commented on Dec 2, 2014

    @ljbade
    Contributor

    @kkaefer Don't know why, but Linux no longer crashes. Was something fixed in master?

  13. ljbade commented on Dec 2, 2014

    @ljbade
    Contributor

    Fixed crashes and got travis tests working again. Creating a PR for review.

  14. incanus commented on Dec 17, 2014

    @incanus
    ContributorAuthor

    @ljbade How are you feeling on this? What remains to be done over in #676? It's not clear what the next actions are or what could be holding things up.

  15. mikemorris commented on Dec 17, 2014

    @mikemorris
    Contributor

    #692 is blocking currently @incanus

  16. incanus commented on Dec 17, 2014

    @incanus
    ContributorAuthor

    Cool. Are we safe to close here then and add #692 to Android-merge milestone?

  17. ljbade commented on Dec 17, 2014

    @ljbade
    Contributor

    @incanus I added all the issues that should be hit before merge to the milestones. Big ones are the crashes, rendering problems, and Travis issues.

  18. ljbade commented on Dec 18, 2014

    @ljbade
    Contributor

    Lets use the milestone now. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Androidbuild

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions