forked from electronicarts/CnC_Generals_Zero_Hour
-
Notifications
You must be signed in to change notification settings - Fork 178
perf(gui): implement batched UI rendering #2514
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
Open
githubawn
wants to merge
21
commits into
TheSuperHackers:main
Choose a base branch
from
githubawn:perf/gui-batch
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
3c67c93
perf(gui): Implement batched GUI rendering for improved performance
githubawn dd7e822
centralized logic into setup2DRenderState
githubawn bfd6c1e
prevent some possible state leakage
githubawn f02e944
fix batch execution order and texture lifetime bug
githubawn b40f7bd
initialize m_batchNeedsInit in constructor
githubawn 6d17889
defer Release_Ref until after m_2DRender->Render():
githubawn f52030a
resolve texture leak
githubawn b4ddceb
move off screen clipping after the null check
githubawn 2497ea1
fix order call in draw_image_additive
githubawn aaaff88
remove unneeded DRAW_IMAGE
githubawn 6d28a51
properly initialize m_batchNeedsInit in constructor
githubawn 8ddb66e
fix DRAW_IMAGE_GRAYSCALE to explicitly call Enable_Alpha(TRUE)
githubawn b280e5b
optimize m_textRendererHotKey
githubawn 93132b4
optimize m_textRendererHotKey
githubawn 683fb14
Merge branch 'perf/gui-batch' of https://github.com/githubawn/General…
githubawn 0efede5
add missing curly bracket
githubawn 53badb9
simplify onflush
githubawn 5d9405a
Move HUD batching from GameWindowManager to W3DInGameUI::draw()
githubawn 13fc763
replicated to generals
githubawn 667d24d
implement review feedback
githubawn 8bec215
fix generals replication
githubawn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.