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 brush_image for blurs, instead of 2d hardware composite. #2509

Merged
merged 2 commits into from Mar 13, 2018

Commits on Mar 13, 2018

  1. Use brush_image for blurs, instead of 2d hardware composite.

    Once this lands, we can fix drop-shadows by making use of this
    functionality, and port the other remaining uses of ps_hardware_composite
    to use brush_image. Then, ps_hardware_composite can be removed,
    and everything except 3d plane-splits will then be drawn as
    normal primitives.
    
    Incidentally, this fixes the way we handle blurs when the source
    picture is clipped by either the screen bounds or a clip-chain.
    The code will now inflate the rendered portion of the source
    render task correctly, so include enough pixels to get a correct
    blur result at the edges.
    gw3583 committed Mar 13, 2018
  2. Skip intermediate render surface when blur radius is 0.

    gw3583 committed Mar 13, 2018
You can’t perform that action at this time.