FS2_Open
Open source remastering of the Freespace 2 engine
gropenglbmpman.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) Volition, Inc. 1999. All rights reserved.
3  *
4  * All source code herein is the property of Volition, Inc. You may not sell
5  * or otherwise commercially exploit the source or things you created based on the
6  * source.
7  *
8 */
9 
10 
11 
12 #ifndef _OGL_BMPMAN_H
13 #define _OGL_BMPMAN_H
14 
15 #include "bmpman/bmpman.h"
16 #include "globalincs/pstypes.h"
17 
18 
19 // anything API specific to freeing bm data
20 void gr_opengl_bm_free_data(int n, bool release);
21 
22 // API specifics for creating a user bitmap
23 void gr_opengl_bm_create(int n);
24 
25 // API specific init instructions
26 void gr_opengl_bm_init(int n);
27 
28 // specific instructions for setting up the start of a page-in session
30 
31 bool gr_opengl_bm_data(int n, bitmap* bm);
32 
33 void gr_opengl_bm_save_render_target(int slot);
34 int gr_opengl_bm_make_render_target(int n, int *width, int *height, ubyte *bpp, int *mm_lvl, int flags);
36 
37 #endif // _OGL_BMPMAN_H
void gr_opengl_bm_free_data(int n, bool release)
bool gr_opengl_bm_data(int n, bitmap *bm)
void gr_opengl_bm_init(int n)
GLint GLsizei width
Definition: Gl.h:1505
GLenum GLuint GLint GLenum face
Definition: Glext.h:6586
void gr_opengl_bm_create(int n)
Definition: bmpman.h:101
void gr_opengl_bm_save_render_target(int slot)
void gr_opengl_bm_page_in_start()
GLclampd n
Definition: Glext.h:7286
unsigned char ubyte
Definition: pstypes.h:62
GLbitfield flags
Definition: Glext.h:6722
GLint GLsizei GLsizei height
Definition: Gl.h:1505
int gr_opengl_bm_set_render_target(int n, int face)
int gr_opengl_bm_make_render_target(int n, int *width, int *height, ubyte *bpp, int *mm_lvl, int flags)