Replies: 1 comment
-
Yes, there is 2D batching in 4.4 and later in all rendering methods. In 4.3 and prior, it's only in OpenGL. It sounds like you've reached a case where batching does not work for some reason. Remember that nodes must share some characteristics for batching to work (e.g. they must use the same shader/material, not unique copies of it). Also, I'm not sure if batching for nine-patch rects (which StyleBoxFlat uses) is implemented in 4.x. Most GUI-heavy games use a lot of text, but not a lot of individual nine-patch rects. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Noticed visible difference in performance drawing gui-nodes between 3 and 4 branches.
Here stats after instantiating default Button into tree (Label, Panel, CheckButton, ColorRect, etc. stats are relatively same.
stats taken on:
Pop!_OS 22.04 LTS, NVIDIA GTX1060 6Gb, 570.133.07
test_draw3.zip
test_draw4.zip
Beta Was this translation helpful? Give feedback.
All reactions