OpenRCT2/src/openrct2-ui/drawing
ccahiggins 76d491b9a2
Improve OpenGL Rectangle SetInstances Performance
Change to use glBufferSubData instead of glBufferData

An initial buffer size is set with glBufferData.
glBufferSubData is then used to copy to the existing buffer,
rather than creating a new one for each frame.

We keep track of the buffer size, and if instances size increases
above the buffer size, a new buffer is created with glBufferData
2022-12-08 21:14:31 +01:00
..
engines Improve OpenGL Rectangle SetInstances Performance 2022-12-08 21:14:31 +01:00
BitmapReader.cpp Replace 20XX with 2022 (#18158) 2022-10-01 08:42:14 +01:00
BitmapReader.h Replace 20XX with 2022 (#18158) 2022-10-01 08:42:14 +01:00