Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2011-02-26 00:27:24
Size: 981
Editor: SheenaSmith
Comment: create page - 2/4 changeset 5189 (2/24 5397)
Revision 2 as of 2011-02-28 18:11:40
Size: 914
Editor: SheenaSmith
Comment: update content - w/ Sam; remove draft
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
||<tablewidth="100%" style="color: #FF0000;" :> DRAFT||
Line 16: Line 15:
By default SDL tries to make a best guess whether to use acceleration or not ,,for,, ^on^ each platform. By default SDL tries to make a best guess whether to use acceleration or not on each platform.

SDL_HINT_FRAMEBUFFER_ACCELERATION

A hint that specifies a variable controlling how 3D acceleration is used to accelerate the SDL 1.2 screen surface.

Values

0

disable 3D acceleration

1

enable 3D acceleration, using the default renderer

X

enable 3D acceleration, using X where X is one of the valid rendering drivers. (e.g. "direct3d", "opengl", etc.

Default

By default SDL tries to make a best guess whether to use acceleration or not on each platform.

Code Examples

You can add your code example here

Remarks

SDL can try to accelerate the screen surface returned by SDL_SetVideoMode() by using streaming textures with a 3D rendering engine. This variable controls whether and how this is done.


CategoryDefine, CategoryHints

None: SDL_HINT_FRAMEBUFFER_ACCELERATION (last edited 2013-07-29 03:11:53 by RyanGordon)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit