Commit Graph

13 Commits

Author SHA1 Message Date
Sam Lantinga
f8f6e1ee96 Updated Xcode project for latest file changes 2009-09-05 20:01:35 +00:00
Sam Lantinga
59c4177896 Whoops, still need the iPhoneOS config file. :) 2009-08-02 13:51:20 +00:00
Sam Lantinga
39dbb24492 Added SDL_atomic.h, SDL_power.h, and SDL_revision.h to public API headers
Added dummy atomic source files for now
2009-08-02 13:46:34 +00:00
Sam Lantinga
83d7309416 indent 2009-05-23 22:41:08 +00:00
Sam Lantinga
f5a8296e36 Fixed iPhone demos 2009-03-17 03:56:21 +00:00
Sam Lantinga
91225b5f6f Don't check in personal files 2009-01-02 01:32:51 +00:00
Holmes Futrell
44019a0d2e Added target testdraw2 for running the test/testdraw2.c test. 2009-01-01 23:49:28 +00:00
Sam Lantinga
6d620a9d5b iPhone build compiles again (drawing routines need to be implemented) 2008-12-31 07:56:56 +00:00
Sam Lantinga
94e70de686 Date: Fri, 19 Dec 2008 20:17:35 +0100
From: Couriersud
Subject: Re: Aw: Experience using SDL1.3 in sdlmame/Proposal for api additions

> For consistency you'd probably want:
> SDL_SetRenderDrawColor(Uint8 r, Uint8 g, Uint8 b, Uint8 a);
> SDL_SetRenderDrawBlendMode(SDL_BlendMode blendMode);
> SDL_RenderLine(int x1, int y1, int x2, int y2);
> SDL_RenderFill(SDL_Rect *rect);
>
> You probably also want to add API functions query the current state.
>

I have implemented the above api for the opengl, x11, directfb and
software renderers. I have also renamed *TEXTUREBLENDMODE* constants to
BLENDMODE*. The unix build compiles. The windows renderer still needs to
be updated, but I have no windows development machine at hand. Have a
look at the x11 renderer for a sample.

Vector games now run at 90% both on opengl and directfb in comparison to
sdlmame's own opengl renderer. The same applies to raster games.

The diff also includes

a) Changed XDrawRect to XFillRect in x11 renderer
b) A number of changes to fix blending and modulation issues in the
directfb renderer.
2008-12-20 12:00:00 +00:00
Sam Lantinga
1d7c497a17 Added dummy shared object files, fixing linker errors 2008-10-18 04:03:41 +00:00
Sam Lantinga
ffeaf1e896 Added the SDL_haptic files to the project 2008-10-16 12:35:28 +00:00
Sam Lantinga
24fa5e3a47 Don't include <math.h> when HAVE_MATH_H isn't defined 2008-10-12 16:21:36 +00:00
Sam Lantinga
92c3984118 Final merge of Google Summer of Code 2008 work...
Bring SDL to iPhone and iPod Touch
by Holmes Futrell, mentored by Sam Lantinga
2008-10-04 06:46:59 +00:00