Skip to content

Outline drawing doesn't work in headless tests #4601

Closed

Description

@kkaefer

While investigating #4600, I discovered that drawing polygon outlines (antialiasing) isn't working correctly in headless tests. It does, however, work correctly when rendering in the browser.

Cf.:

JS headless:

unknown

Native headless:

unknown-1

This example is zoomed-fill/default from our render tests. Other examples in the render tests include tms/tms, extent/1024-fill, and any other tests that render fill polygons.

Activity

  1. kkaefer commented on Apr 18, 2017

    @kkaefer
    MemberAuthor

    See mapbox/mapbox-gl-native#6927 (comment) for a possible cause.

  2. jfirebaugh commented on Apr 18, 2017

    @jfirebaugh
    Contributor

    I think I saw it wasn't working 100% in the browser either -- it looked like glLineWidth didn't support any values other than 1.

    http://webglstats.com/webgl/parameter/ALIASED_LINE_WIDTH_RANGE

  3. ansis commented on May 8, 2017

    @ansis
    Contributor

    ref #2080

    I think I saw it wasn't working 100% in the browser either

    Since I think ANGLE doesn't support anything > 1 I think it's broken on windows in firefox and chrome.

  4. jfirebaugh commented on Oct 27, 2017

    @jfirebaugh
    Contributor

    Duplicate of #2080.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions