src/video/windows/SDL_windowsframebuffer.h
author Sam Lantinga <slouken@libsdl.org>
Fri, 04 Feb 2011 12:29:58 -0800
changeset 5175 9b2e99ebd099
child 5262 b530ef003506
permissions -rwxr-xr-x
Added the Windows framebuffer implementation.
This actually ends up being faster than Direct3D with a dynamic texture. (???)
slouken@5175
     1
/*
slouken@5175
     2
    SDL - Simple DirectMedia Layer
slouken@5175
     3
    Copyright (C) 1997-2010 Sam Lantinga
slouken@5175
     4
slouken@5175
     5
    This library is free software; you can redistribute it and/or
slouken@5175
     6
    modify it under the terms of the GNU Lesser General Public
slouken@5175
     7
    License as published by the Free Software Foundation; either
slouken@5175
     8
    version 2.1 of the License, or (at your option) any later version.
slouken@5175
     9
slouken@5175
    10
    This library is distributed in the hope that it will be useful,
slouken@5175
    11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
slouken@5175
    12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
slouken@5175
    13
    Lesser General Public License for more details.
slouken@5175
    14
slouken@5175
    15
    You should have received a copy of the GNU Lesser General Public
slouken@5175
    16
    License along with this library; if not, write to the Free Software
slouken@5175
    17
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
slouken@5175
    18
slouken@5175
    19
    Sam Lantinga
slouken@5175
    20
    slouken@libsdl.org
slouken@5175
    21
*/
slouken@5175
    22
#include "SDL_config.h"
slouken@5175
    23
slouken@5175
    24
extern int WIN_CreateWindowFramebuffer(_THIS, SDL_Window * window, Uint32 * format, void ** pixels, int *pitch);
slouken@5175
    25
extern int WIN_UpdateWindowFramebuffer(_THIS, SDL_Window * window, int numrects, SDL_Rect * rects);
slouken@5175
    26
extern void WIN_DestroyWindowFramebuffer(_THIS, SDL_Window * window);
slouken@5175
    27
slouken@5175
    28
/* vi: set ts=4 sw=4 expandtab: */