Sam Lantinga
da46bc3be3
Added function SDL_RenderSetClipRect()
2011-02-07 20:06:26 -08:00
Sam Lantinga
886171e4ad
Prefer the OpenGL ES 2.0 context when it's available, make it possible to create an OpenGL 2.0 context on iPhoneOS
2011-02-06 10:22:25 -08:00
Sam Lantinga
ae2ce1d91e
Added an OpenGL ES 2.0 renderer, contributed by itsnotabigtruck
...
This compiles, but it untested.
2011-02-06 00:00:13 -08:00
Sam Lantinga
b31aaaaad7
Updated the DirectFB support, from Couriersud
...
attached is a working directfb driver diff which works with the current
changes. There are a number of changes around it as well, e.g.
configure.in.
The directfb renderdriver right now still depends on a some "includes"
from src/video/directfb. That's why it is not yet moved to the new
render folder.
2011-02-05 16:07:10 -08:00
Sam Lantinga
a5bfac214f
Making the API simpler, removed the writepixels interface
2011-02-03 00:22:18 -08:00
Sam Lantinga
405d4ed7e4
Made it possible to create a texture of any format, even if not supported by the renderer.
...
This allows me to reduce the set of formats supported by the renderers to the most optimal set, for a nice speed boost.
2011-02-03 00:19:40 -08:00
Sam Lantinga
8bf50cc83c
Moved the rendering code out to a separate directory in the hope that it can someday be completely decoupled from the rest of the library and be expanded to an awesome 2D on 3D library.
2011-02-02 14:34:54 -08:00