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.

Use TextureView #2244

Closed
Closed

Description

@ljbade

Now that we target API level 15 and above we should switch to TextureView

The advantage is that we can treat a MapView the same as any other View. This will allow advanced layouts and may avoid bugs such as #2018 and #1894

@bleege Do we want to do this in 0.1.0 or 0.2.0?

Activity

  1. added
    Android
    on Sep 3, 2015
  2. self-assigned this
    on Sep 3, 2015
  3. added a commit that references this issue on Sep 3, 2015
    a50ca43
  4. ljbade commented on Sep 3, 2015

    @ljbade
    ContributorAuthor

    Started work on this.

  5. tobrun commented on Sep 3, 2015

    @tobrun
    Member

    Nice, looking forward seeing this working!

    Hopefully this will not be an issue:

    The main strike against TextureView is the performance of the composition step. With SurfaceView, the content is written to a separate layer that SurfaceFlinger composites, ideally with an overlay. With TextureView, the View composition is always performed with GLES, and updates to its contents may cause other View elements to redraw as well (e.g. if they're positioned on top of the TextureView)

  6. bleege commented on Sep 3, 2015

    @bleege
    Contributor

    Do we want to do this in 0.1.0 or 0.2.0?

    0.2.0. @ljbade This sounds like a good thing, but it's too late for 0.1.0.

  7. modified the milestones: android-v0.1.0, on Sep 3, 2015
  8. ljbade commented on Sep 3, 2015

    @ljbade
    ContributorAuthor

    @bleege Sure we might have to move those bugs to 0.2.0 then.

  9. added a commit that references this issue on Sep 5, 2015
    73c3af4
  10. modified the milestones: android-v0.1.0, on Sep 8, 2015
  11. 6 remaining items

  12. modified the milestones: android-v0.1.0, on Sep 8, 2015
  13. tobrun commented on Sep 9, 2015

    @tobrun
    Member

    @mb12
    Problem still exists on master so TextureView is a valid fix.

    Nice job @ljbade 👍

    device-2015-09-09-150700

  14. mb12 commented on Sep 9, 2015

    @mb12

    Great fix. This was a tough one.

  15. bleege commented on Sep 9, 2015

    @bleege
    Contributor

    Thanks for the feedback and tire kicking @tobrun @mb12 and @ljbade for making this happen. @incanus and I just discussed this and decided that we will make the time to include this now. Hopefully this will also solve #1894 too.

  16. modified the milestones: android-v0.1.0, on Sep 9, 2015
  17. bleege commented on Sep 9, 2015

    @bleege
    Contributor

    Merged.

  18. added a commit that references this issue on Sep 11, 2015
    038f2f5
  19. added 2 commits that reference this issue on Nov 6, 2015
    2202b26
    c453e7d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Androidrefactor

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions