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

Add support for Iris's new text sink API #104

Merged
merged 4 commits into from
Jun 10, 2022

Commits on Jun 7, 2022

  1. Configuration menu
    Copy the full SHA
    3093de6 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2022

  1. Clean up vertex counting

    SquidDev committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    9930bdd View commit details
    Browse the repository at this point in the history
  2. Fix rendering glitches when index buffer resizes

    When an index buffer grows beyond the 2^16 boundary, the type is
    promoted from a SHORT to an INT. However, this type is not updated in
    any of the existing DirectVertexBuffers, so we mis-interpret the index
    buffer and render garbage.
    
    To fix this, we now store the index buffer object instead (and also
    acquire it during upload), and then read the type from that (which is
    guaranteed to be always correct).
    
    This is a little more aligned to how 1.19 does things (though 1.19 does
    bind during upload rather than first draw).
    SquidDev committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    58fd6fb View commit details
    Browse the repository at this point in the history
  3. Remove debugging line

    SquidDev committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    75c4076 View commit details
    Browse the repository at this point in the history