allegro_flare icon indicating copy to clipboard operation
allegro_flare copied to clipboard

Investigate improving performance of the rendering pipeline

Open MarkOates opened this issue 9 years ago • 2 comments

Currently, each named object in a Model3D is drawn individually with a single call. Aligning the data structures so that all similar objects (having the same texture, using the same shader, etc.) are all drawn in a single call will most likely massively improve the performance capabilities of the rendering pipeline.

Doing this will require some investigation, profiling, and experimentation.

MarkOates avatar Jun 09 '16 04:06 MarkOates

Inefficiency:

  • Model3D contains a vector of vectors in named_object. Might not be the best memory allocation.

MarkOates avatar Jul 03 '16 19:07 MarkOates

There is also an issue on Windows that is causing rendering at nearly half the framerate of the mac. There could be some redundant screen flipping or backbuffer clearing or something.

MarkOates avatar Jul 19 '22 19:07 MarkOates