Closed migeyusu closed 1 year ago
Add pbo support by conditional compilation: as you see, GL.ReadPixels is a sync method which will take a lot of CPU cycles, when window is resized to 1080p, a high cpu usage in my i7-10700.
I've test BitmapSource.Create, Buffer.MemoryCopy and WriteableBitmap.WritePixels, performance are similar.
Add pbo support by conditional compilation: as you see, GL.ReadPixels is a sync method which will take a lot of CPU cycles, when window is resized to 1080p, a high cpu usage in my i7-10700.