File: lib-misc.h

package info (click to toggle)
aranym 1.1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 25,488 kB
  • sloc: cpp: 178,117; ansic: 170,405; perl: 5,637; sh: 5,547; asm: 2,282; makefile: 1,324; objc: 218
file content (42 lines) | stat: -rw-r--r-- 1,644 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*
	OSMesa LDG linker, misc functions

	Copyright (C) 2004	Patrice Mandin

	This library is free software; you can redistribute it and/or
	modify it under the terms of the GNU Lesser General Public
	License as published by the Free Software Foundation; either
	version 2.1 of the License, or (at your option) any later version.

	This library is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
	Lesser General Public License for more details.

	You should have received a copy of the GNU Lesser General Public
	License along with this library; if not, write to the Free Software
	Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
*/

#ifndef LIB_MISC_H
#define LIB_MISC_H

/*--- Includes ---*/

/*--- Functions ---*/

void internal_glInit(gl_private *private);

const GLubyte* APIENTRY glGetString( GLenum name );
const GLubyte* APIENTRY glGetStringi( GLenum name, GLuint index );

const GLubyte* APIENTRY internal_glGetString( gl_private *private, GLenum name );
const GLubyte* APIENTRY internal_glGetStringi( gl_private *private, GLenum name, GLuint index );
void freeglGetString(gl_private *private, OSMesaContext ctx);
int err_old_nfapi(void);
int gl_exception_error(gl_private *private, GLenum exception);
void gl_fatal_error(gl_private *private, GLenum error, long except, const char *format);
void APIENTRY internal_tinyglexception_error(gl_private *private, void CALLBACK (*exception)(GLenum param));
void APIENTRY internal_tinyglswapbuffer(gl_private *private, void *buf);

#endif