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

VideoCommon: Account for pixel quads in bounding box calculation #9736

Merged
merged 2 commits into from May 22, 2021

Commits on May 22, 2021

  1. VideoCommon: Split BBox* functions into common and backend implementa…

    …tion variants
    
    This will allow for some aspects of bounding box to be handled in
    VideoCommon instead of individual backends.
    Techjar committed May 22, 2021
    Configuration menu
    Copy the full SHA
    0f17990 View commit details
    Browse the repository at this point in the history
  2. VideoCommon: Account for pixel quads in bounding box calculation

    The GC/Wii GPU rasterizes in 2x2 pixel groups, so bounding box values
    will be rounded to the extents of these groups, rather than the exact
    pixel. To account for this, we'll round the top/left down to even and
    the bottom/right up to odd. I have verified that the values resulting
    from this change exactly match a real Wii.
    Techjar committed May 22, 2021
    Configuration menu
    Copy the full SHA
    be6b000 View commit details
    Browse the repository at this point in the history