You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
seems like a good idea, you can do some easy batch rendereing with only changing two values, especially with my wall rendering calls blitcopymask 2000* odd times a frame.
If we pass a structure, there will be a pointer dereference for each original parameter inside the blit call. I'm curious if that will still be faster than passing in 10 arguments to the function or if the compiler can optimize the extra dereference away.
Currently, blitCopy() etc require something like 10 args, passing which is a bad idea performance-wise.
It could be replace by passing an arg struct. Instead of
It would be something like
Pros:
Cons:
The text was updated successfully, but these errors were encountered: