annotate src/video/win32/SDL_gdirender.h @ 1735:8dd28c4ef746 SDL-1.3

SDL_Rect now uses int for position and size. Added a few more rectangle functions. Added a dirty rectangle list implementation.
author Sam Lantinga <slouken@libsdl.org>
date Mon, 10 Jul 2006 07:34:50 +0000
parents e70477157db9
children 99210400e8b9
rev   line source
1730
e70477157db9 Starting support for Direct3D render driver.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1 /*
e70477157db9 Starting support for Direct3D render driver.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
2 SDL - Simple DirectMedia Layer
e70477157db9 Starting support for Direct3D render driver.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
3 Copyright (C) 1997-2006 Sam Lantinga
e70477157db9 Starting support for Direct3D render driver.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
4
e70477157db9 Starting support for Direct3D render driver.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
5 This library is free software; you can redistribute it and/or
e70477157db9 Starting support for Direct3D render driver.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
6 modify it under the terms of the GNU Lesser General Public
e70477157db9 Starting support for Direct3D render driver.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
7 License as published by the Free Software Foundation; either
e70477157db9 Starting support for Direct3D render driver.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
8 version 2.1 of the License, or (at your option) any later version.
e70477157db9 Starting support for Direct3D render driver.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
9
e70477157db9 Starting support for Direct3D render driver.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
10 This library is distributed in the hope that it will be useful,
e70477157db9 Starting support for Direct3D render driver.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
e70477157db9 Starting support for Direct3D render driver.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
e70477157db9 Starting support for Direct3D render driver.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
13 Lesser General Public License for more details.
e70477157db9 Starting support for Direct3D render driver.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
14
e70477157db9 Starting support for Direct3D render driver.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
15 You should have received a copy of the GNU Lesser General Public
e70477157db9 Starting support for Direct3D render driver.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
16 License along with this library; if not, write to the Free Software
e70477157db9 Starting support for Direct3D render driver.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
e70477157db9 Starting support for Direct3D render driver.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
18
e70477157db9 Starting support for Direct3D render driver.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
19 Sam Lantinga
e70477157db9 Starting support for Direct3D render driver.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
20 slouken@libsdl.org
e70477157db9 Starting support for Direct3D render driver.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
21 */
e70477157db9 Starting support for Direct3D render driver.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
22 #include "SDL_config.h"
e70477157db9 Starting support for Direct3D render driver.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
23
e70477157db9 Starting support for Direct3D render driver.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
24 /* SDL surface based renderer implementation */
e70477157db9 Starting support for Direct3D render driver.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
25
e70477157db9 Starting support for Direct3D render driver.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
26 #if SDL_VIDEO_RENDER_GDI
e70477157db9 Starting support for Direct3D render driver.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
27 extern void GDI_AddRenderDriver(_THIS);
e70477157db9 Starting support for Direct3D render driver.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
28 #endif
e70477157db9 Starting support for Direct3D render driver.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
29
e70477157db9 Starting support for Direct3D render driver.
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
30 /* vi: set ts=4 sw=4 expandtab: */