fs2open.github.com icon indicating copy to clipboard operation
fs2open.github.com copied to clipboard

Improve graphics API to reduce return values

Open asarium opened this issue 5 years ago • 0 comments

This is an effort to clean up the graphics API a bit and reduce return values that are not really needed.

The reason behind this is to reduce the amount of synchronization points necessary when implementing a threaded rendering backend. The easy way to do threading is to just dispatch graphics calls to a separate thread. However, if there are return values involved, there needs to be synchronizations which defeats the point of multi-threading.

asarium avatar Jan 17 '21 16:01 asarium