View Single Post
  #3   (View Single Post)  
Old 26th December 2017
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

Are you sure your graphics hardware is the limiting factor?

On my elderly Thinkpad X220 with Intel HD 3000 graphics, I'm able to sustain an SDL2 framerate greater than 60fps, as tested with this tutorial.

(I needed to install sdl2-image and sdl2-ttf, and build with $ g++ -w -L/usr/local/lib/ -lSDL2 -lSDL2_image -lSDL2_ttf -L/usr/X11R6/lib -I/usr/local/include/SDL2 -o test 24_calculating_frame_rate.cpp)

Edited to add: oh, yes, you have a 6-core Haswell processor, NVIDIA graphics, and you're using VESA, which limits your framerate.

Last edited by jggimi; 26th December 2017 at 01:03 PM.
Reply With Quote