Skip to content

Conversation

jere8184
Copy link

@jere8184 jere8184 commented Oct 15, 2024

WIP

heinezen and others added 30 commits September 8, 2024 01:29
Change recommended entrypoint for Windows build
Update syntax of GlUniformBuffer to match that of GlUniformInput SFTtech#1683
correction of a few grammatical errors and typos
Co-authored-by: Christoph Heine <6852422+heinezen@users.noreply.github.com>
Co-authored-by: Christoph Heine <6852422+heinezen@users.noreply.github.com>
Fix tex unit assignment to `std::optional` type
@jere8184 jere8184 changed the title Precompute portal node graphs [#1674](https://github.com/SFTtech/openage/issues/1674) Precompute portal node graphs [1674](https://github.com/SFTtech/openage/issues/1674) Nov 6, 2024
@jere8184 jere8184 changed the title Precompute portal node graphs [1674](https://github.com/SFTtech/openage/issues/1674) Precompute portal node graphs (https://github.com/SFTtech/openage/issues/1674) Nov 6, 2024
@jere8184 jere8184 changed the title Precompute portal node graphs (https://github.com/SFTtech/openage/issues/1674) Precompute portal node graphs Nov 6, 2024
@jere8184 jere8184 requested a review from heinezen November 6, 2024 14:01
@jere8184
Copy link
Author

jere8184 commented Nov 6, 2024

I've observed a 17% increase in speed, with my current changes.

@heinezen
Copy link
Owner

heinezen commented Nov 6, 2024

I'm going to take another look.

Copy link
Owner

@heinezen heinezen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few minor points, but it already looks pretty refined.

@jere8184 jere8184 requested a review from heinezen November 10, 2024 18:53
Copy link
Owner

@heinezen heinezen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Final change requests I hope :D

@jere8184
Copy link
Author

jere8184 commented Nov 15, 2024

I'm now seeing a performance decrease. I've messed around with valgrind and from a quick glance I think the map look ups are causing this. :/.

edit: I've got a plan.

@jere8184
Copy link
Author

@heinezen feel free to take a look, pretty decent performance increase observed :)

@jere8184 jere8184 requested a review from heinezen November 16, 2024 16:41
@heinezen
Copy link
Owner

Nice, I think this should be ready now :) We can always improve the code later.

I have just a few requests before merging:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants