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

Author Topic: Question About SFML Internals  (Read 1992 times)

0 Members and 1 Guest are viewing this topic.

chbrules

  • Newbie
  • *
  • Posts: 16
    • AOL Instant Messenger - Conrad1986
    • View Profile
Question About SFML Internals
« on: March 31, 2009, 02:38:45 pm »
By default, does SFML use software rendering? I saw on the features page that it talks about using the GPU and OGL to do rotozoom and other things.

My concern is that I'm an ex-SDL user and the software rendering with their API was horrid and slow. If I create an OGL window and use SFML, does it pass off processing to the GPU? How exactly does SFML do all that fancy stuff it does?  :lol:

Thanks!

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Question About SFML Internals
« Reply #1 on: March 31, 2009, 02:48:59 pm »
SFML just uses OpenGL for everything, there's no software rendering at all (unless your implementation of OpenGL is a software one).
Laurent Gomila - SFML developer

Imbue

  • Full Member
  • ***
  • Posts: 104
    • View Profile
Question About SFML Internals
« Reply #2 on: March 31, 2009, 09:35:06 pm »
You may want to check out Benchmark : SDL vs SFML.

chbrules

  • Newbie
  • *
  • Posts: 16
    • AOL Instant Messenger - Conrad1986
    • View Profile
Question About SFML Internals
« Reply #3 on: April 01, 2009, 01:35:06 am »
Fantastic! I've already been working on a 2.5D RPG adventure game engine with SFML for two weeks now. My inspiration is pokemon diamond/pearl for the design of the maps. I was hoping it was OGL driven so I didn't have to fiddle around blitting 2D stuff to polygon surfaces and all that craziness.

 

anything