Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use more WebRender types in gfx/display_list. #19782

Merged
merged 2 commits into from Jan 18, 2018
Merged

Commits on Jan 17, 2018

  1. Use more WebRender types in gfx/display_list

    This uses floating-point (Layout) coordinates in where possible.
    Replace NormalBorder struct with WebRender equivalent.
    Remove ToPointF and ToRectF traits.
    Convert border RepeatKeyword with ToLayout.
    Add some definitions to malloc_size_of for WebRender types.
    pyfisch committed Jan 17, 2018
  2. Introduce MaxRect trait

    It is implemented for LayoutRect and Rect<Au>.
    Replaces the max_rect() function from servo_geometry.
    pyfisch committed Jan 17, 2018
You can’t perform that action at this time.