Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Hardware acceleration for SFML drawing?  (Read 6754 times)

0 Members and 1 Guest are viewing this topic.

kurasu1415

  • Newbie
  • *
  • Posts: 37
    • View Profile
    • Email
Hardware acceleration for SFML drawing?
« on: July 22, 2012, 04:10:48 am »
Hey guys,
Does anyone know if there is a setting somewhere that enables hardware acceleration and double buffering for SFML2 drawing? I just want to be able to make an sf::polygon and have that accelerated instead of having to do all of my 2D drawing in OpenGL.

Thanks!

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Re: Hardware acceleration for SFML drawing?
« Reply #1 on: July 22, 2012, 09:42:14 am »
SFML uses OpenGL so if your OpenGL renderer is on hardware (which is most probably true nowadays; i.e., it's not a software renderer) then SFML will automatically be hardware accelerated. You don't need to do any extra work here.
SFML / OS X developer

kurasu1415

  • Newbie
  • *
  • Posts: 37
    • View Profile
    • Email
Re: Hardware acceleration for SFML drawing?
« Reply #2 on: July 29, 2012, 11:40:18 pm »
Yeah, my video drivers in Mint Linux were not working properly. got it all fixed now. Regardless I am just going to use straight OpenGL to draw.

 

anything