2000-05-12 22:18:14 +02:00
|
|
|
|
|
|
|
/* Auto-generated file... Do not edit ! */
|
|
|
|
|
|
|
|
#include "config.h"
|
2012-07-16 23:34:45 +02:00
|
|
|
#include <stdarg.h>
|
2002-09-25 02:29:56 +02:00
|
|
|
#include "opengl_ext.h"
|
2012-07-16 23:34:45 +02:00
|
|
|
#include "winternl.h"
|
|
|
|
#include "wine/wgl_driver.h"
|
2002-03-10 00:29:33 +01:00
|
|
|
#include "wine/debug.h"
|
2000-05-12 22:18:14 +02:00
|
|
|
|
2002-03-10 00:29:33 +01:00
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(opengl);
|
2001-03-04 02:05:20 +01:00
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glAccum (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glAccum( GLenum op, GLfloat value ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %f)\n", op, value );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glAccum( op, value );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glAlphaFunc (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-06-08 08:18:21 +02:00
|
|
|
void WINAPI wine_glAlphaFunc( GLenum func, GLfloat ref ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %f)\n", func, ref );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glAlphaFunc( func, ref );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glAreTexturesResident (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
GLboolean WINAPI wine_glAreTexturesResident( GLsizei n, const GLuint* textures, GLboolean* residences ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %p, %p)\n", n, textures, residences );
|
2012-07-16 23:39:31 +02:00
|
|
|
return funcs->gl.p_glAreTexturesResident( n, textures, residences );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glArrayElement (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glArrayElement( GLint i ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", i );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glArrayElement( i );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glBegin (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glBegin( GLenum mode ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", mode );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glBegin( mode );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glBindTexture (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glBindTexture( GLenum target, GLuint texture ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d)\n", target, texture );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glBindTexture( target, texture );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glBitmap (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glBitmap( GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte* bitmap ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %f, %f, %f, %f, %p)\n", width, height, xorig, yorig, xmove, ymove, bitmap );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glBitmap( width, height, xorig, yorig, xmove, ymove, bitmap );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glBlendFunc (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glBlendFunc( GLenum sfactor, GLenum dfactor ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d)\n", sfactor, dfactor );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glBlendFunc( sfactor, dfactor );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glCallList (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glCallList( GLuint list ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", list );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glCallList( list );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glCallLists (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glCallLists( GLsizei n, GLenum type, const GLvoid* lists ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", n, type, lists );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glCallLists( n, type, lists );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glClear (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glClear( GLbitfield mask ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", mask );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glClear( mask );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glClearAccum (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f, %f)\n", red, green, blue, alpha );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glClearAccum( red, green, blue, alpha );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glClearColor (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-06-08 08:18:21 +02:00
|
|
|
void WINAPI wine_glClearColor( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f, %f)\n", red, green, blue, alpha );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glClearColor( red, green, blue, alpha );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glClearDepth (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-06-08 08:18:21 +02:00
|
|
|
void WINAPI wine_glClearDepth( GLdouble depth ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f)\n", depth );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glClearDepth( depth );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glClearIndex (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glClearIndex( GLfloat c ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f)\n", c );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glClearIndex( c );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glClearStencil (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glClearStencil( GLint s ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", s );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glClearStencil( s );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glClipPlane (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glClipPlane( GLenum plane, const GLdouble* equation ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %p)\n", plane, equation );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glClipPlane( plane, equation );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glColor3b (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glColor3b( GLbyte red, GLbyte green, GLbyte blue ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", red, green, blue );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glColor3b( red, green, blue );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glColor3bv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glColor3bv( const GLbyte* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glColor3bv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glColor3d (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glColor3d( GLdouble red, GLdouble green, GLdouble blue ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f)\n", red, green, blue );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glColor3d( red, green, blue );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glColor3dv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glColor3dv( const GLdouble* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glColor3dv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glColor3f (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glColor3f( GLfloat red, GLfloat green, GLfloat blue ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f)\n", red, green, blue );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glColor3f( red, green, blue );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glColor3fv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glColor3fv( const GLfloat* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glColor3fv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glColor3i (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glColor3i( GLint red, GLint green, GLint blue ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", red, green, blue );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glColor3i( red, green, blue );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glColor3iv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glColor3iv( const GLint* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glColor3iv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glColor3s (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glColor3s( GLshort red, GLshort green, GLshort blue ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", red, green, blue );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glColor3s( red, green, blue );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glColor3sv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glColor3sv( const GLshort* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glColor3sv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glColor3ub (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glColor3ub( GLubyte red, GLubyte green, GLubyte blue ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", red, green, blue );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glColor3ub( red, green, blue );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glColor3ubv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glColor3ubv( const GLubyte* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glColor3ubv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glColor3ui (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glColor3ui( GLuint red, GLuint green, GLuint blue ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", red, green, blue );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glColor3ui( red, green, blue );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glColor3uiv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glColor3uiv( const GLuint* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glColor3uiv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glColor3us (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glColor3us( GLushort red, GLushort green, GLushort blue ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", red, green, blue );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glColor3us( red, green, blue );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glColor3usv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glColor3usv( const GLushort* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glColor3usv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glColor4b (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glColor4b( GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glColor4b( red, green, blue, alpha );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glColor4bv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glColor4bv( const GLbyte* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glColor4bv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glColor4d (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glColor4d( GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f, %f)\n", red, green, blue, alpha );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glColor4d( red, green, blue, alpha );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glColor4dv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glColor4dv( const GLdouble* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glColor4dv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glColor4f (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glColor4f( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f, %f)\n", red, green, blue, alpha );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glColor4f( red, green, blue, alpha );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glColor4fv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glColor4fv( const GLfloat* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glColor4fv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glColor4i (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glColor4i( GLint red, GLint green, GLint blue, GLint alpha ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glColor4i( red, green, blue, alpha );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glColor4iv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glColor4iv( const GLint* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glColor4iv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glColor4s (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glColor4s( GLshort red, GLshort green, GLshort blue, GLshort alpha ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glColor4s( red, green, blue, alpha );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glColor4sv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glColor4sv( const GLshort* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glColor4sv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glColor4ub (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glColor4ub( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glColor4ub( red, green, blue, alpha );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glColor4ubv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glColor4ubv( const GLubyte* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glColor4ubv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glColor4ui (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glColor4ui( GLuint red, GLuint green, GLuint blue, GLuint alpha ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glColor4ui( red, green, blue, alpha );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glColor4uiv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glColor4uiv( const GLuint* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glColor4uiv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glColor4us (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glColor4us( GLushort red, GLushort green, GLushort blue, GLushort alpha ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glColor4us( red, green, blue, alpha );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glColor4usv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glColor4usv( const GLushort* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glColor4usv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glColorMask (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glColorMask( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glColorMask( red, green, blue, alpha );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glColorMaterial (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glColorMaterial( GLenum face, GLenum mode ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d)\n", face, mode );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glColorMaterial( face, mode );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glColorPointer (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glColorPointer( GLint size, GLenum type, GLsizei stride, const GLvoid* pointer ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %p)\n", size, type, stride, pointer );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glColorPointer( size, type, stride, pointer );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glCopyPixels (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glCopyPixels( GLint x, GLint y, GLsizei width, GLsizei height, GLenum type ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d, %d)\n", x, y, width, height, type );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glCopyPixels( x, y, width, height, type );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glCopyTexImage1D (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glCopyTexImage1D( GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d, %d, %d, %d)\n", target, level, internalformat, x, y, width, border );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glCopyTexImage1D( target, level, internalformat, x, y, width, border );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glCopyTexImage2D (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glCopyTexImage2D( GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d, %d, %d, %d, %d)\n", target, level, internalformat, x, y, width, height, border );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glCopyTexImage2D( target, level, internalformat, x, y, width, height, border );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glCopyTexSubImage1D (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glCopyTexSubImage1D( GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d, %d, %d)\n", target, level, xoffset, x, y, width );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glCopyTexSubImage1D( target, level, xoffset, x, y, width );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glCopyTexSubImage2D (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glCopyTexSubImage2D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d, %d, %d, %d, %d)\n", target, level, xoffset, yoffset, x, y, width, height );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glCopyTexSubImage2D( target, level, xoffset, yoffset, x, y, width, height );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glCullFace (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glCullFace( GLenum mode ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", mode );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glCullFace( mode );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glDeleteLists (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glDeleteLists( GLuint list, GLsizei range ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d)\n", list, range );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glDeleteLists( list, range );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glDeleteTextures (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glDeleteTextures( GLsizei n, const GLuint* textures ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %p)\n", n, textures );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glDeleteTextures( n, textures );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glDepthFunc (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glDepthFunc( GLenum func ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", func );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glDepthFunc( func );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glDepthMask (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glDepthMask( GLboolean flag ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", flag );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glDepthMask( flag );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glDepthRange (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-06-08 08:18:21 +02:00
|
|
|
void WINAPI wine_glDepthRange( GLdouble nearParam, GLdouble farParam ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2004-03-02 21:54:17 +01:00
|
|
|
TRACE("(%f, %f)\n", nearParam, farParam );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glDepthRange( nearParam, farParam );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2007-09-25 19:21:40 +02:00
|
|
|
/***********************************************************************
|
|
|
|
* glDisable (OPENGL32.@)
|
|
|
|
*/
|
|
|
|
void WINAPI wine_glDisable( GLenum cap ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2007-09-25 19:21:40 +02:00
|
|
|
TRACE("(%d)\n", cap );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glDisable( cap );
|
2007-09-25 19:21:40 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glDisableClientState (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glDisableClientState( GLenum array ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", array );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glDisableClientState( array );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glDrawArrays (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glDrawArrays( GLenum mode, GLint first, GLsizei count ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", mode, first, count );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glDrawArrays( mode, first, count );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glDrawBuffer (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glDrawBuffer( GLenum mode ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", mode );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glDrawBuffer( mode );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glDrawElements (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glDrawElements( GLenum mode, GLsizei count, GLenum type, const GLvoid* indices ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %p)\n", mode, count, type, indices );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glDrawElements( mode, count, type, indices );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glDrawPixels (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glDrawPixels( GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d, %p)\n", width, height, format, type, pixels );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glDrawPixels( width, height, format, type, pixels );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glEdgeFlag (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glEdgeFlag( GLboolean flag ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", flag );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glEdgeFlag( flag );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glEdgeFlagPointer (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glEdgeFlagPointer( GLsizei stride, const GLvoid* pointer ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %p)\n", stride, pointer );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glEdgeFlagPointer( stride, pointer );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glEdgeFlagv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glEdgeFlagv( const GLboolean* flag ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", flag );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glEdgeFlagv( flag );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2007-09-25 19:21:40 +02:00
|
|
|
/***********************************************************************
|
|
|
|
* glEnable (OPENGL32.@)
|
|
|
|
*/
|
|
|
|
void WINAPI wine_glEnable( GLenum cap ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2007-09-25 19:21:40 +02:00
|
|
|
TRACE("(%d)\n", cap );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glEnable( cap );
|
2007-09-25 19:21:40 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glEnableClientState (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glEnableClientState( GLenum array ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", array );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glEnableClientState( array );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glEnd (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2005-06-27 11:46:35 +02:00
|
|
|
void WINAPI wine_glEnd( void ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("()\n");
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glEnd( );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glEndList (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2005-06-27 11:46:35 +02:00
|
|
|
void WINAPI wine_glEndList( void ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("()\n");
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glEndList( );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glEvalCoord1d (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glEvalCoord1d( GLdouble u ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f)\n", u );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glEvalCoord1d( u );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glEvalCoord1dv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glEvalCoord1dv( const GLdouble* u ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", u );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glEvalCoord1dv( u );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glEvalCoord1f (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glEvalCoord1f( GLfloat u ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f)\n", u );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glEvalCoord1f( u );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glEvalCoord1fv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glEvalCoord1fv( const GLfloat* u ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", u );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glEvalCoord1fv( u );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glEvalCoord2d (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glEvalCoord2d( GLdouble u, GLdouble v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f)\n", u, v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glEvalCoord2d( u, v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glEvalCoord2dv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glEvalCoord2dv( const GLdouble* u ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", u );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glEvalCoord2dv( u );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glEvalCoord2f (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glEvalCoord2f( GLfloat u, GLfloat v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f)\n", u, v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glEvalCoord2f( u, v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glEvalCoord2fv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glEvalCoord2fv( const GLfloat* u ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", u );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glEvalCoord2fv( u );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glEvalMesh1 (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glEvalMesh1( GLenum mode, GLint i1, GLint i2 ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", mode, i1, i2 );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glEvalMesh1( mode, i1, i2 );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glEvalMesh2 (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glEvalMesh2( GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2 ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d, %d)\n", mode, i1, i2, j1, j2 );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glEvalMesh2( mode, i1, i2, j1, j2 );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glEvalPoint1 (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glEvalPoint1( GLint i ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", i );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glEvalPoint1( i );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glEvalPoint2 (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glEvalPoint2( GLint i, GLint j ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d)\n", i, j );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glEvalPoint2( i, j );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glFeedbackBuffer (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glFeedbackBuffer( GLsizei size, GLenum type, GLfloat* buffer ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", size, type, buffer );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glFeedbackBuffer( size, type, buffer );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2012-07-16 23:56:55 +02:00
|
|
|
/***********************************************************************
|
|
|
|
* glFinish (OPENGL32.@)
|
|
|
|
*/
|
|
|
|
void WINAPI wine_glFinish( void ) {
|
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
|
|
|
TRACE("()\n");
|
|
|
|
funcs->gl.p_glFinish( );
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* glFlush (OPENGL32.@)
|
|
|
|
*/
|
|
|
|
void WINAPI wine_glFlush( void ) {
|
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
|
|
|
TRACE("()\n");
|
|
|
|
funcs->gl.p_glFlush( );
|
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glFogf (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glFogf( GLenum pname, GLfloat param ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %f)\n", pname, param );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glFogf( pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glFogfv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glFogfv( GLenum pname, const GLfloat* params ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %p)\n", pname, params );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glFogfv( pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glFogi (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glFogi( GLenum pname, GLint param ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d)\n", pname, param );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glFogi( pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glFogiv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glFogiv( GLenum pname, const GLint* params ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %p)\n", pname, params );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glFogiv( pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glFrontFace (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glFrontFace( GLenum mode ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", mode );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glFrontFace( mode );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glFrustum (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glFrustum( GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f, %f, %f, %f)\n", left, right, bottom, top, zNear, zFar );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glFrustum( left, right, bottom, top, zNear, zFar );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glGenLists (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
GLuint WINAPI wine_glGenLists( GLsizei range ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", range );
|
2012-07-16 23:39:31 +02:00
|
|
|
return funcs->gl.p_glGenLists( range );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glGenTextures (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glGenTextures( GLsizei n, GLuint* textures ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %p)\n", n, textures );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glGenTextures( n, textures );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glGetBooleanv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glGetBooleanv( GLenum pname, GLboolean* params ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %p)\n", pname, params );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glGetBooleanv( pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glGetClipPlane (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glGetClipPlane( GLenum plane, GLdouble* equation ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %p)\n", plane, equation );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glGetClipPlane( plane, equation );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glGetDoublev (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glGetDoublev( GLenum pname, GLdouble* params ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %p)\n", pname, params );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glGetDoublev( pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glGetError (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2005-06-27 11:46:35 +02:00
|
|
|
GLenum WINAPI wine_glGetError( void ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("()\n");
|
2012-07-16 23:39:31 +02:00
|
|
|
return funcs->gl.p_glGetError( );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glGetFloatv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glGetFloatv( GLenum pname, GLfloat* params ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %p)\n", pname, params );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glGetFloatv( pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2012-07-16 23:56:55 +02:00
|
|
|
/***********************************************************************
|
|
|
|
* glGetIntegerv (OPENGL32.@)
|
|
|
|
*/
|
|
|
|
void WINAPI wine_glGetIntegerv( GLenum pname, GLint* params ) {
|
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
|
|
|
TRACE("(%d, %p)\n", pname, params );
|
|
|
|
funcs->gl.p_glGetIntegerv( pname, params );
|
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glGetLightfv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glGetLightfv( GLenum light, GLenum pname, GLfloat* params ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", light, pname, params );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glGetLightfv( light, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glGetLightiv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glGetLightiv( GLenum light, GLenum pname, GLint* params ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", light, pname, params );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glGetLightiv( light, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glGetMapdv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glGetMapdv( GLenum target, GLenum query, GLdouble* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", target, query, v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glGetMapdv( target, query, v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glGetMapfv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glGetMapfv( GLenum target, GLenum query, GLfloat* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", target, query, v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glGetMapfv( target, query, v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glGetMapiv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glGetMapiv( GLenum target, GLenum query, GLint* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", target, query, v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glGetMapiv( target, query, v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glGetMaterialfv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glGetMaterialfv( GLenum face, GLenum pname, GLfloat* params ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", face, pname, params );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glGetMaterialfv( face, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glGetMaterialiv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glGetMaterialiv( GLenum face, GLenum pname, GLint* params ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", face, pname, params );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glGetMaterialiv( face, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glGetPixelMapfv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glGetPixelMapfv( GLenum map, GLfloat* values ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %p)\n", map, values );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glGetPixelMapfv( map, values );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glGetPixelMapuiv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glGetPixelMapuiv( GLenum map, GLuint* values ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %p)\n", map, values );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glGetPixelMapuiv( map, values );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glGetPixelMapusv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glGetPixelMapusv( GLenum map, GLushort* values ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %p)\n", map, values );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glGetPixelMapusv( map, values );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glGetPointerv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glGetPointerv( GLenum pname, GLvoid** params ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %p)\n", pname, params );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glGetPointerv( pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glGetPolygonStipple (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glGetPolygonStipple( GLubyte* mask ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", mask );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glGetPolygonStipple( mask );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glGetTexEnvfv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glGetTexEnvfv( GLenum target, GLenum pname, GLfloat* params ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", target, pname, params );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glGetTexEnvfv( target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glGetTexEnviv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glGetTexEnviv( GLenum target, GLenum pname, GLint* params ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", target, pname, params );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glGetTexEnviv( target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glGetTexGendv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glGetTexGendv( GLenum coord, GLenum pname, GLdouble* params ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", coord, pname, params );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glGetTexGendv( coord, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glGetTexGenfv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glGetTexGenfv( GLenum coord, GLenum pname, GLfloat* params ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", coord, pname, params );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glGetTexGenfv( coord, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glGetTexGeniv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glGetTexGeniv( GLenum coord, GLenum pname, GLint* params ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", coord, pname, params );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glGetTexGeniv( coord, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glGetTexImage (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glGetTexImage( GLenum target, GLint level, GLenum format, GLenum type, GLvoid* pixels ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d, %p)\n", target, level, format, type, pixels );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glGetTexImage( target, level, format, type, pixels );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glGetTexLevelParameterfv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glGetTexLevelParameterfv( GLenum target, GLint level, GLenum pname, GLfloat* params ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %p)\n", target, level, pname, params );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glGetTexLevelParameterfv( target, level, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glGetTexLevelParameteriv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glGetTexLevelParameteriv( GLenum target, GLint level, GLenum pname, GLint* params ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %p)\n", target, level, pname, params );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glGetTexLevelParameteriv( target, level, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glGetTexParameterfv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glGetTexParameterfv( GLenum target, GLenum pname, GLfloat* params ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", target, pname, params );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glGetTexParameterfv( target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glGetTexParameteriv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glGetTexParameteriv( GLenum target, GLenum pname, GLint* params ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", target, pname, params );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glGetTexParameteriv( target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glHint (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glHint( GLenum target, GLenum mode ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d)\n", target, mode );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glHint( target, mode );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glIndexMask (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glIndexMask( GLuint mask ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", mask );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glIndexMask( mask );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glIndexPointer (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glIndexPointer( GLenum type, GLsizei stride, const GLvoid* pointer ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", type, stride, pointer );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glIndexPointer( type, stride, pointer );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glIndexd (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glIndexd( GLdouble c ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f)\n", c );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glIndexd( c );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glIndexdv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glIndexdv( const GLdouble* c ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", c );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glIndexdv( c );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glIndexf (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glIndexf( GLfloat c ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f)\n", c );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glIndexf( c );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glIndexfv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glIndexfv( const GLfloat* c ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", c );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glIndexfv( c );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glIndexi (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glIndexi( GLint c ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", c );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glIndexi( c );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glIndexiv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glIndexiv( const GLint* c ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", c );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glIndexiv( c );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glIndexs (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glIndexs( GLshort c ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", c );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glIndexs( c );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glIndexsv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glIndexsv( const GLshort* c ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", c );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glIndexsv( c );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glIndexub (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glIndexub( GLubyte c ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", c );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glIndexub( c );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glIndexubv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glIndexubv( const GLubyte* c ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", c );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glIndexubv( c );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glInitNames (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2005-06-27 11:46:35 +02:00
|
|
|
void WINAPI wine_glInitNames( void ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("()\n");
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glInitNames( );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glInterleavedArrays (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glInterleavedArrays( GLenum format, GLsizei stride, const GLvoid* pointer ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", format, stride, pointer );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glInterleavedArrays( format, stride, pointer );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2007-09-25 19:21:40 +02:00
|
|
|
/***********************************************************************
|
|
|
|
* glIsEnabled (OPENGL32.@)
|
|
|
|
*/
|
|
|
|
GLboolean WINAPI wine_glIsEnabled( GLenum cap ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2007-09-25 19:21:40 +02:00
|
|
|
TRACE("(%d)\n", cap );
|
2012-07-16 23:39:31 +02:00
|
|
|
return funcs->gl.p_glIsEnabled( cap );
|
2007-09-25 19:21:40 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glIsList (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
GLboolean WINAPI wine_glIsList( GLuint list ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", list );
|
2012-07-16 23:39:31 +02:00
|
|
|
return funcs->gl.p_glIsList( list );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glIsTexture (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
GLboolean WINAPI wine_glIsTexture( GLuint texture ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", texture );
|
2012-07-16 23:39:31 +02:00
|
|
|
return funcs->gl.p_glIsTexture( texture );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glLightModelf (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glLightModelf( GLenum pname, GLfloat param ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %f)\n", pname, param );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glLightModelf( pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glLightModelfv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glLightModelfv( GLenum pname, const GLfloat* params ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %p)\n", pname, params );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glLightModelfv( pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glLightModeli (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glLightModeli( GLenum pname, GLint param ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d)\n", pname, param );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glLightModeli( pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glLightModeliv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glLightModeliv( GLenum pname, const GLint* params ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %p)\n", pname, params );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glLightModeliv( pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glLightf (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glLightf( GLenum light, GLenum pname, GLfloat param ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %f)\n", light, pname, param );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glLightf( light, pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glLightfv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glLightfv( GLenum light, GLenum pname, const GLfloat* params ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", light, pname, params );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glLightfv( light, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glLighti (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glLighti( GLenum light, GLenum pname, GLint param ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", light, pname, param );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glLighti( light, pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glLightiv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glLightiv( GLenum light, GLenum pname, const GLint* params ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", light, pname, params );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glLightiv( light, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glLineStipple (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glLineStipple( GLint factor, GLushort pattern ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d)\n", factor, pattern );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glLineStipple( factor, pattern );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glLineWidth (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glLineWidth( GLfloat width ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f)\n", width );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glLineWidth( width );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glListBase (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glListBase( GLuint base ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", base );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glListBase( base );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glLoadIdentity (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2005-06-27 11:46:35 +02:00
|
|
|
void WINAPI wine_glLoadIdentity( void ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("()\n");
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glLoadIdentity( );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glLoadMatrixd (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glLoadMatrixd( const GLdouble* m ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", m );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glLoadMatrixd( m );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glLoadMatrixf (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glLoadMatrixf( const GLfloat* m ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", m );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glLoadMatrixf( m );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glLoadName (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glLoadName( GLuint name ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", name );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glLoadName( name );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glLogicOp (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glLogicOp( GLenum opcode ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", opcode );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glLogicOp( opcode );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glMap1d (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glMap1d( GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble* points ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %f, %f, %d, %d, %p)\n", target, u1, u2, stride, order, points );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glMap1d( target, u1, u2, stride, order, points );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glMap1f (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glMap1f( GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat* points ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %f, %f, %d, %d, %p)\n", target, u1, u2, stride, order, points );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glMap1f( target, u1, u2, stride, order, points );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glMap2d (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glMap2d( GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble* points ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %f, %f, %d, %d, %f, %f, %d, %d, %p)\n", target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glMap2d( target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glMap2f (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glMap2f( GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat* points ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %f, %f, %d, %d, %f, %f, %d, %d, %p)\n", target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glMap2f( target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glMapGrid1d (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glMapGrid1d( GLint un, GLdouble u1, GLdouble u2 ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %f, %f)\n", un, u1, u2 );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glMapGrid1d( un, u1, u2 );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glMapGrid1f (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glMapGrid1f( GLint un, GLfloat u1, GLfloat u2 ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %f, %f)\n", un, u1, u2 );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glMapGrid1f( un, u1, u2 );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glMapGrid2d (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glMapGrid2d( GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2 ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %f, %f, %d, %f, %f)\n", un, u1, u2, vn, v1, v2 );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glMapGrid2d( un, u1, u2, vn, v1, v2 );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glMapGrid2f (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glMapGrid2f( GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2 ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %f, %f, %d, %f, %f)\n", un, u1, u2, vn, v1, v2 );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glMapGrid2f( un, u1, u2, vn, v1, v2 );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glMaterialf (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glMaterialf( GLenum face, GLenum pname, GLfloat param ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %f)\n", face, pname, param );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glMaterialf( face, pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glMaterialfv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glMaterialfv( GLenum face, GLenum pname, const GLfloat* params ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", face, pname, params );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glMaterialfv( face, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glMateriali (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glMateriali( GLenum face, GLenum pname, GLint param ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", face, pname, param );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glMateriali( face, pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glMaterialiv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glMaterialiv( GLenum face, GLenum pname, const GLint* params ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", face, pname, params );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glMaterialiv( face, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glMatrixMode (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glMatrixMode( GLenum mode ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", mode );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glMatrixMode( mode );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glMultMatrixd (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glMultMatrixd( const GLdouble* m ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", m );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glMultMatrixd( m );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glMultMatrixf (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glMultMatrixf( const GLfloat* m ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", m );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glMultMatrixf( m );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glNewList (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glNewList( GLuint list, GLenum mode ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d)\n", list, mode );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glNewList( list, mode );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glNormal3b (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glNormal3b( GLbyte nx, GLbyte ny, GLbyte nz ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", nx, ny, nz );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glNormal3b( nx, ny, nz );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glNormal3bv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glNormal3bv( const GLbyte* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glNormal3bv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glNormal3d (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glNormal3d( GLdouble nx, GLdouble ny, GLdouble nz ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f)\n", nx, ny, nz );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glNormal3d( nx, ny, nz );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glNormal3dv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glNormal3dv( const GLdouble* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glNormal3dv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glNormal3f (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glNormal3f( GLfloat nx, GLfloat ny, GLfloat nz ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f)\n", nx, ny, nz );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glNormal3f( nx, ny, nz );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glNormal3fv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glNormal3fv( const GLfloat* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glNormal3fv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glNormal3i (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glNormal3i( GLint nx, GLint ny, GLint nz ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", nx, ny, nz );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glNormal3i( nx, ny, nz );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glNormal3iv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glNormal3iv( const GLint* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glNormal3iv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glNormal3s (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glNormal3s( GLshort nx, GLshort ny, GLshort nz ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", nx, ny, nz );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glNormal3s( nx, ny, nz );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glNormal3sv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glNormal3sv( const GLshort* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glNormal3sv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glNormalPointer (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glNormalPointer( GLenum type, GLsizei stride, const GLvoid* pointer ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", type, stride, pointer );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glNormalPointer( type, stride, pointer );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glOrtho (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glOrtho( GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f, %f, %f, %f)\n", left, right, bottom, top, zNear, zFar );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glOrtho( left, right, bottom, top, zNear, zFar );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glPassThrough (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glPassThrough( GLfloat token ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f)\n", token );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glPassThrough( token );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glPixelMapfv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glPixelMapfv( GLenum map, GLint mapsize, const GLfloat* values ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", map, mapsize, values );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glPixelMapfv( map, mapsize, values );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glPixelMapuiv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glPixelMapuiv( GLenum map, GLint mapsize, const GLuint* values ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", map, mapsize, values );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glPixelMapuiv( map, mapsize, values );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glPixelMapusv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glPixelMapusv( GLenum map, GLint mapsize, const GLushort* values ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", map, mapsize, values );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glPixelMapusv( map, mapsize, values );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glPixelStoref (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glPixelStoref( GLenum pname, GLfloat param ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %f)\n", pname, param );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glPixelStoref( pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glPixelStorei (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glPixelStorei( GLenum pname, GLint param ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d)\n", pname, param );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glPixelStorei( pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glPixelTransferf (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glPixelTransferf( GLenum pname, GLfloat param ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %f)\n", pname, param );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glPixelTransferf( pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glPixelTransferi (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glPixelTransferi( GLenum pname, GLint param ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d)\n", pname, param );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glPixelTransferi( pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glPixelZoom (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glPixelZoom( GLfloat xfactor, GLfloat yfactor ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f)\n", xfactor, yfactor );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glPixelZoom( xfactor, yfactor );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glPointSize (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glPointSize( GLfloat size ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f)\n", size );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glPointSize( size );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glPolygonMode (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glPolygonMode( GLenum face, GLenum mode ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d)\n", face, mode );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glPolygonMode( face, mode );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glPolygonOffset (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glPolygonOffset( GLfloat factor, GLfloat units ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f)\n", factor, units );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glPolygonOffset( factor, units );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glPolygonStipple (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glPolygonStipple( const GLubyte* mask ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", mask );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glPolygonStipple( mask );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glPopAttrib (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2005-06-27 11:46:35 +02:00
|
|
|
void WINAPI wine_glPopAttrib( void ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("()\n");
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glPopAttrib( );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glPopClientAttrib (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2005-06-27 11:46:35 +02:00
|
|
|
void WINAPI wine_glPopClientAttrib( void ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("()\n");
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glPopClientAttrib( );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glPopMatrix (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2005-06-27 11:46:35 +02:00
|
|
|
void WINAPI wine_glPopMatrix( void ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("()\n");
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glPopMatrix( );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glPopName (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2005-06-27 11:46:35 +02:00
|
|
|
void WINAPI wine_glPopName( void ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("()\n");
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glPopName( );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glPrioritizeTextures (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glPrioritizeTextures( GLsizei n, const GLuint* textures, const GLfloat* priorities ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %p, %p)\n", n, textures, priorities );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glPrioritizeTextures( n, textures, priorities );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glPushAttrib (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glPushAttrib( GLbitfield mask ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", mask );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glPushAttrib( mask );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glPushClientAttrib (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glPushClientAttrib( GLbitfield mask ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", mask );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glPushClientAttrib( mask );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glPushMatrix (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2005-06-27 11:46:35 +02:00
|
|
|
void WINAPI wine_glPushMatrix( void ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("()\n");
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glPushMatrix( );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glPushName (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glPushName( GLuint name ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", name );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glPushName( name );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glRasterPos2d (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glRasterPos2d( GLdouble x, GLdouble y ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f)\n", x, y );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glRasterPos2d( x, y );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glRasterPos2dv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glRasterPos2dv( const GLdouble* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glRasterPos2dv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glRasterPos2f (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glRasterPos2f( GLfloat x, GLfloat y ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f)\n", x, y );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glRasterPos2f( x, y );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glRasterPos2fv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glRasterPos2fv( const GLfloat* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glRasterPos2fv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glRasterPos2i (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glRasterPos2i( GLint x, GLint y ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d)\n", x, y );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glRasterPos2i( x, y );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glRasterPos2iv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glRasterPos2iv( const GLint* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glRasterPos2iv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glRasterPos2s (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glRasterPos2s( GLshort x, GLshort y ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d)\n", x, y );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glRasterPos2s( x, y );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glRasterPos2sv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glRasterPos2sv( const GLshort* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glRasterPos2sv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glRasterPos3d (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glRasterPos3d( GLdouble x, GLdouble y, GLdouble z ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f)\n", x, y, z );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glRasterPos3d( x, y, z );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glRasterPos3dv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glRasterPos3dv( const GLdouble* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glRasterPos3dv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glRasterPos3f (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glRasterPos3f( GLfloat x, GLfloat y, GLfloat z ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f)\n", x, y, z );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glRasterPos3f( x, y, z );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glRasterPos3fv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glRasterPos3fv( const GLfloat* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glRasterPos3fv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glRasterPos3i (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glRasterPos3i( GLint x, GLint y, GLint z ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", x, y, z );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glRasterPos3i( x, y, z );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glRasterPos3iv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glRasterPos3iv( const GLint* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glRasterPos3iv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glRasterPos3s (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glRasterPos3s( GLshort x, GLshort y, GLshort z ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", x, y, z );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glRasterPos3s( x, y, z );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glRasterPos3sv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glRasterPos3sv( const GLshort* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glRasterPos3sv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glRasterPos4d (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glRasterPos4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f, %f)\n", x, y, z, w );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glRasterPos4d( x, y, z, w );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glRasterPos4dv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glRasterPos4dv( const GLdouble* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glRasterPos4dv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glRasterPos4f (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glRasterPos4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f, %f)\n", x, y, z, w );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glRasterPos4f( x, y, z, w );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glRasterPos4fv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glRasterPos4fv( const GLfloat* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glRasterPos4fv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glRasterPos4i (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glRasterPos4i( GLint x, GLint y, GLint z, GLint w ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d)\n", x, y, z, w );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glRasterPos4i( x, y, z, w );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glRasterPos4iv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glRasterPos4iv( const GLint* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glRasterPos4iv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glRasterPos4s (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glRasterPos4s( GLshort x, GLshort y, GLshort z, GLshort w ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d)\n", x, y, z, w );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glRasterPos4s( x, y, z, w );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glRasterPos4sv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glRasterPos4sv( const GLshort* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glRasterPos4sv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glReadBuffer (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glReadBuffer( GLenum mode ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", mode );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glReadBuffer( mode );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glReadPixels (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glReadPixels( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d, %d, %d, %p)\n", x, y, width, height, format, type, pixels );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glReadPixels( x, y, width, height, format, type, pixels );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glRectd (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glRectd( GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2 ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f, %f)\n", x1, y1, x2, y2 );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glRectd( x1, y1, x2, y2 );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glRectdv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glRectdv( const GLdouble* v1, const GLdouble* v2 ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p, %p)\n", v1, v2 );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glRectdv( v1, v2 );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glRectf (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glRectf( GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2 ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f, %f)\n", x1, y1, x2, y2 );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glRectf( x1, y1, x2, y2 );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glRectfv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glRectfv( const GLfloat* v1, const GLfloat* v2 ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p, %p)\n", v1, v2 );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glRectfv( v1, v2 );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glRecti (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glRecti( GLint x1, GLint y1, GLint x2, GLint y2 ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d)\n", x1, y1, x2, y2 );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glRecti( x1, y1, x2, y2 );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glRectiv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glRectiv( const GLint* v1, const GLint* v2 ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p, %p)\n", v1, v2 );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glRectiv( v1, v2 );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glRects (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glRects( GLshort x1, GLshort y1, GLshort x2, GLshort y2 ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d)\n", x1, y1, x2, y2 );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glRects( x1, y1, x2, y2 );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glRectsv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glRectsv( const GLshort* v1, const GLshort* v2 ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p, %p)\n", v1, v2 );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glRectsv( v1, v2 );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glRenderMode (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
GLint WINAPI wine_glRenderMode( GLenum mode ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", mode );
|
2012-07-16 23:39:31 +02:00
|
|
|
return funcs->gl.p_glRenderMode( mode );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glRotated (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glRotated( GLdouble angle, GLdouble x, GLdouble y, GLdouble z ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f, %f)\n", angle, x, y, z );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glRotated( angle, x, y, z );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glRotatef (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glRotatef( GLfloat angle, GLfloat x, GLfloat y, GLfloat z ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f, %f)\n", angle, x, y, z );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glRotatef( angle, x, y, z );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glScaled (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glScaled( GLdouble x, GLdouble y, GLdouble z ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f)\n", x, y, z );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glScaled( x, y, z );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glScalef (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glScalef( GLfloat x, GLfloat y, GLfloat z ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f)\n", x, y, z );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glScalef( x, y, z );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2007-09-25 19:21:40 +02:00
|
|
|
/***********************************************************************
|
|
|
|
* glScissor (OPENGL32.@)
|
|
|
|
*/
|
|
|
|
void WINAPI wine_glScissor( GLint x, GLint y, GLsizei width, GLsizei height ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2007-09-25 19:21:40 +02:00
|
|
|
TRACE("(%d, %d, %d, %d)\n", x, y, width, height );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glScissor( x, y, width, height );
|
2007-09-25 19:21:40 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glSelectBuffer (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glSelectBuffer( GLsizei size, GLuint* buffer ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %p)\n", size, buffer );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glSelectBuffer( size, buffer );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glShadeModel (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glShadeModel( GLenum mode ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", mode );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glShadeModel( mode );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glStencilFunc (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glStencilFunc( GLenum func, GLint ref, GLuint mask ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", func, ref, mask );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glStencilFunc( func, ref, mask );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glStencilMask (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glStencilMask( GLuint mask ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", mask );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glStencilMask( mask );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glStencilOp (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glStencilOp( GLenum fail, GLenum zfail, GLenum zpass ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", fail, zfail, zpass );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glStencilOp( fail, zfail, zpass );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexCoord1d (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexCoord1d( GLdouble s ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f)\n", s );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexCoord1d( s );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexCoord1dv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glTexCoord1dv( const GLdouble* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexCoord1dv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexCoord1f (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexCoord1f( GLfloat s ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f)\n", s );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexCoord1f( s );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexCoord1fv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glTexCoord1fv( const GLfloat* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexCoord1fv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexCoord1i (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexCoord1i( GLint s ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", s );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexCoord1i( s );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexCoord1iv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glTexCoord1iv( const GLint* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexCoord1iv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexCoord1s (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexCoord1s( GLshort s ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", s );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexCoord1s( s );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexCoord1sv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glTexCoord1sv( const GLshort* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexCoord1sv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexCoord2d (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexCoord2d( GLdouble s, GLdouble t ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f)\n", s, t );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexCoord2d( s, t );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexCoord2dv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glTexCoord2dv( const GLdouble* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexCoord2dv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexCoord2f (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexCoord2f( GLfloat s, GLfloat t ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f)\n", s, t );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexCoord2f( s, t );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexCoord2fv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glTexCoord2fv( const GLfloat* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexCoord2fv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexCoord2i (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexCoord2i( GLint s, GLint t ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d)\n", s, t );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexCoord2i( s, t );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexCoord2iv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glTexCoord2iv( const GLint* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexCoord2iv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexCoord2s (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexCoord2s( GLshort s, GLshort t ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d)\n", s, t );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexCoord2s( s, t );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexCoord2sv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glTexCoord2sv( const GLshort* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexCoord2sv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexCoord3d (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexCoord3d( GLdouble s, GLdouble t, GLdouble r ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f)\n", s, t, r );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexCoord3d( s, t, r );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexCoord3dv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glTexCoord3dv( const GLdouble* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexCoord3dv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexCoord3f (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexCoord3f( GLfloat s, GLfloat t, GLfloat r ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f)\n", s, t, r );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexCoord3f( s, t, r );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexCoord3fv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glTexCoord3fv( const GLfloat* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexCoord3fv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexCoord3i (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexCoord3i( GLint s, GLint t, GLint r ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", s, t, r );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexCoord3i( s, t, r );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexCoord3iv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glTexCoord3iv( const GLint* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexCoord3iv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexCoord3s (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexCoord3s( GLshort s, GLshort t, GLshort r ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", s, t, r );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexCoord3s( s, t, r );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexCoord3sv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glTexCoord3sv( const GLshort* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexCoord3sv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexCoord4d (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexCoord4d( GLdouble s, GLdouble t, GLdouble r, GLdouble q ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f, %f)\n", s, t, r, q );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexCoord4d( s, t, r, q );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexCoord4dv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glTexCoord4dv( const GLdouble* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexCoord4dv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexCoord4f (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexCoord4f( GLfloat s, GLfloat t, GLfloat r, GLfloat q ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f, %f)\n", s, t, r, q );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexCoord4f( s, t, r, q );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexCoord4fv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glTexCoord4fv( const GLfloat* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexCoord4fv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexCoord4i (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexCoord4i( GLint s, GLint t, GLint r, GLint q ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d)\n", s, t, r, q );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexCoord4i( s, t, r, q );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexCoord4iv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glTexCoord4iv( const GLint* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexCoord4iv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexCoord4s (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexCoord4s( GLshort s, GLshort t, GLshort r, GLshort q ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d)\n", s, t, r, q );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexCoord4s( s, t, r, q );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexCoord4sv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glTexCoord4sv( const GLshort* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexCoord4sv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexCoordPointer (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glTexCoordPointer( GLint size, GLenum type, GLsizei stride, const GLvoid* pointer ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %p)\n", size, type, stride, pointer );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexCoordPointer( size, type, stride, pointer );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexEnvf (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexEnvf( GLenum target, GLenum pname, GLfloat param ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %f)\n", target, pname, param );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexEnvf( target, pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexEnvfv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glTexEnvfv( GLenum target, GLenum pname, const GLfloat* params ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", target, pname, params );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexEnvfv( target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexEnvi (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexEnvi( GLenum target, GLenum pname, GLint param ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", target, pname, param );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexEnvi( target, pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexEnviv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glTexEnviv( GLenum target, GLenum pname, const GLint* params ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", target, pname, params );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexEnviv( target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexGend (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexGend( GLenum coord, GLenum pname, GLdouble param ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %f)\n", coord, pname, param );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexGend( coord, pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexGendv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glTexGendv( GLenum coord, GLenum pname, const GLdouble* params ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", coord, pname, params );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexGendv( coord, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexGenf (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexGenf( GLenum coord, GLenum pname, GLfloat param ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %f)\n", coord, pname, param );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexGenf( coord, pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexGenfv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glTexGenfv( GLenum coord, GLenum pname, const GLfloat* params ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", coord, pname, params );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexGenfv( coord, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexGeni (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexGeni( GLenum coord, GLenum pname, GLint param ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", coord, pname, param );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexGeni( coord, pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexGeniv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glTexGeniv( GLenum coord, GLenum pname, const GLint* params ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", coord, pname, params );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexGeniv( coord, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexImage1D (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glTexImage1D( GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid* pixels ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d, %d, %d, %d, %p)\n", target, level, internalformat, width, border, format, type, pixels );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexImage1D( target, level, internalformat, width, border, format, type, pixels );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexImage2D (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glTexImage2D( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %p)\n", target, level, internalformat, width, height, border, format, type, pixels );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexImage2D( target, level, internalformat, width, height, border, format, type, pixels );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexParameterf (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexParameterf( GLenum target, GLenum pname, GLfloat param ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %f)\n", target, pname, param );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexParameterf( target, pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexParameterfv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glTexParameterfv( GLenum target, GLenum pname, const GLfloat* params ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", target, pname, params );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexParameterfv( target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexParameteri (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexParameteri( GLenum target, GLenum pname, GLint param ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", target, pname, param );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexParameteri( target, pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexParameteriv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glTexParameteriv( GLenum target, GLenum pname, const GLint* params ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", target, pname, params );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexParameteriv( target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexSubImage1D (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glTexSubImage1D( GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid* pixels ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d, %d, %d, %p)\n", target, level, xoffset, width, format, type, pixels );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexSubImage1D( target, level, xoffset, width, format, type, pixels );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexSubImage2D (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glTexSubImage2D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %p)\n", target, level, xoffset, yoffset, width, height, format, type, pixels );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTexSubImage2D( target, level, xoffset, yoffset, width, height, format, type, pixels );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTranslated (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTranslated( GLdouble x, GLdouble y, GLdouble z ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f)\n", x, y, z );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTranslated( x, y, z );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTranslatef (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTranslatef( GLfloat x, GLfloat y, GLfloat z ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f)\n", x, y, z );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glTranslatef( x, y, z );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glVertex2d (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glVertex2d( GLdouble x, GLdouble y ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f)\n", x, y );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glVertex2d( x, y );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glVertex2dv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glVertex2dv( const GLdouble* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glVertex2dv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glVertex2f (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glVertex2f( GLfloat x, GLfloat y ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f)\n", x, y );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glVertex2f( x, y );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glVertex2fv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glVertex2fv( const GLfloat* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glVertex2fv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glVertex2i (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glVertex2i( GLint x, GLint y ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d)\n", x, y );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glVertex2i( x, y );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glVertex2iv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glVertex2iv( const GLint* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glVertex2iv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glVertex2s (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glVertex2s( GLshort x, GLshort y ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d)\n", x, y );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glVertex2s( x, y );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glVertex2sv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glVertex2sv( const GLshort* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glVertex2sv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glVertex3d (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glVertex3d( GLdouble x, GLdouble y, GLdouble z ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f)\n", x, y, z );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glVertex3d( x, y, z );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glVertex3dv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glVertex3dv( const GLdouble* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glVertex3dv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glVertex3f (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glVertex3f( GLfloat x, GLfloat y, GLfloat z ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f)\n", x, y, z );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glVertex3f( x, y, z );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glVertex3fv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glVertex3fv( const GLfloat* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glVertex3fv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glVertex3i (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glVertex3i( GLint x, GLint y, GLint z ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", x, y, z );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glVertex3i( x, y, z );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glVertex3iv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glVertex3iv( const GLint* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glVertex3iv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glVertex3s (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glVertex3s( GLshort x, GLshort y, GLshort z ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", x, y, z );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glVertex3s( x, y, z );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glVertex3sv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glVertex3sv( const GLshort* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glVertex3sv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glVertex4d (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glVertex4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f, %f)\n", x, y, z, w );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glVertex4d( x, y, z, w );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glVertex4dv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glVertex4dv( const GLdouble* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glVertex4dv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glVertex4f (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glVertex4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f, %f)\n", x, y, z, w );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glVertex4f( x, y, z, w );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glVertex4fv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glVertex4fv( const GLfloat* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glVertex4fv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glVertex4i (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glVertex4i( GLint x, GLint y, GLint z, GLint w ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d)\n", x, y, z, w );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glVertex4i( x, y, z, w );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glVertex4iv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glVertex4iv( const GLint* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glVertex4iv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glVertex4s (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glVertex4s( GLshort x, GLshort y, GLshort z, GLshort w ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d)\n", x, y, z, w );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glVertex4s( x, y, z, w );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glVertex4sv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glVertex4sv( const GLshort* v ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glVertex4sv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glVertexPointer (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2012-07-19 22:17:14 +02:00
|
|
|
void WINAPI wine_glVertexPointer( GLint size, GLenum type, GLsizei stride, const GLvoid* pointer ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %p)\n", size, type, stride, pointer );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glVertexPointer( size, type, stride, pointer );
|
2000-05-12 22:18:14 +02:00
|
|
|
}
|
2007-09-25 19:21:40 +02:00
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* glViewport (OPENGL32.@)
|
|
|
|
*/
|
|
|
|
void WINAPI wine_glViewport( GLint x, GLint y, GLsizei width, GLsizei height ) {
|
2012-07-16 23:39:31 +02:00
|
|
|
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
|
2007-09-25 19:21:40 +02:00
|
|
|
TRACE("(%d, %d, %d, %d)\n", x, y, width, height );
|
2012-07-16 23:39:31 +02:00
|
|
|
funcs->gl.p_glViewport( x, y, width, height );
|
2007-09-25 19:21:40 +02:00
|
|
|
}
|
2012-07-18 23:58:41 +02:00
|
|
|
static BOOL null_wglCopyContext( struct wgl_context * src, struct wgl_context * dst, UINT mask ) { return 0; }
|
|
|
|
static struct wgl_context * null_wglCreateContext( HDC hdc ) { return 0; }
|
|
|
|
static void null_wglDeleteContext( struct wgl_context * context ) { }
|
|
|
|
static INT null_wglGetPixelFormat( HDC hdc ) { return 0; }
|
|
|
|
static PROC null_wglGetProcAddress( LPCSTR name ) { return 0; }
|
|
|
|
static BOOL null_wglMakeCurrent( HDC hdc, struct wgl_context * context ) { return 0; }
|
|
|
|
static BOOL null_wglShareLists( struct wgl_context * org, struct wgl_context * dst ) { return 0; }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glAccum( GLenum op, GLfloat value ) { }
|
|
|
|
static void null_glAlphaFunc( GLenum func, GLfloat ref ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static GLboolean null_glAreTexturesResident( GLsizei n, const GLuint* textures, GLboolean* residences ) { return 0; }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glArrayElement( GLint i ) { }
|
|
|
|
static void null_glBegin( GLenum mode ) { }
|
|
|
|
static void null_glBindTexture( GLenum target, GLuint texture ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glBitmap( GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte* bitmap ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glBlendFunc( GLenum sfactor, GLenum dfactor ) { }
|
|
|
|
static void null_glCallList( GLuint list ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glCallLists( GLsizei n, GLenum type, const GLvoid* lists ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glClear( GLbitfield mask ) { }
|
|
|
|
static void null_glClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) { }
|
|
|
|
static void null_glClearColor( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) { }
|
|
|
|
static void null_glClearDepth( GLdouble depth ) { }
|
|
|
|
static void null_glClearIndex( GLfloat c ) { }
|
|
|
|
static void null_glClearStencil( GLint s ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glClipPlane( GLenum plane, const GLdouble* equation ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glColor3b( GLbyte red, GLbyte green, GLbyte blue ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glColor3bv( const GLbyte* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glColor3d( GLdouble red, GLdouble green, GLdouble blue ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glColor3dv( const GLdouble* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glColor3f( GLfloat red, GLfloat green, GLfloat blue ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glColor3fv( const GLfloat* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glColor3i( GLint red, GLint green, GLint blue ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glColor3iv( const GLint* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glColor3s( GLshort red, GLshort green, GLshort blue ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glColor3sv( const GLshort* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glColor3ub( GLubyte red, GLubyte green, GLubyte blue ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glColor3ubv( const GLubyte* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glColor3ui( GLuint red, GLuint green, GLuint blue ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glColor3uiv( const GLuint* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glColor3us( GLushort red, GLushort green, GLushort blue ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glColor3usv( const GLushort* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glColor4b( GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glColor4bv( const GLbyte* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glColor4d( GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glColor4dv( const GLdouble* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glColor4f( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glColor4fv( const GLfloat* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glColor4i( GLint red, GLint green, GLint blue, GLint alpha ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glColor4iv( const GLint* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glColor4s( GLshort red, GLshort green, GLshort blue, GLshort alpha ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glColor4sv( const GLshort* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glColor4ub( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glColor4ubv( const GLubyte* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glColor4ui( GLuint red, GLuint green, GLuint blue, GLuint alpha ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glColor4uiv( const GLuint* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glColor4us( GLushort red, GLushort green, GLushort blue, GLushort alpha ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glColor4usv( const GLushort* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glColorMask( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha ) { }
|
|
|
|
static void null_glColorMaterial( GLenum face, GLenum mode ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glColorPointer( GLint size, GLenum type, GLsizei stride, const GLvoid* pointer ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glCopyPixels( GLint x, GLint y, GLsizei width, GLsizei height, GLenum type ) { }
|
|
|
|
static void null_glCopyTexImage1D( GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border ) { }
|
|
|
|
static void null_glCopyTexImage2D( GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border ) { }
|
|
|
|
static void null_glCopyTexSubImage1D( GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width ) { }
|
|
|
|
static void null_glCopyTexSubImage2D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height ) { }
|
|
|
|
static void null_glCullFace( GLenum mode ) { }
|
|
|
|
static void null_glDeleteLists( GLuint list, GLsizei range ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glDeleteTextures( GLsizei n, const GLuint* textures ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glDepthFunc( GLenum func ) { }
|
|
|
|
static void null_glDepthMask( GLboolean flag ) { }
|
|
|
|
static void null_glDepthRange( GLdouble nearParam, GLdouble farParam ) { }
|
|
|
|
static void null_glDisable( GLenum cap ) { }
|
|
|
|
static void null_glDisableClientState( GLenum array ) { }
|
|
|
|
static void null_glDrawArrays( GLenum mode, GLint first, GLsizei count ) { }
|
|
|
|
static void null_glDrawBuffer( GLenum mode ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glDrawElements( GLenum mode, GLsizei count, GLenum type, const GLvoid* indices ) { }
|
|
|
|
static void null_glDrawPixels( GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glEdgeFlag( GLboolean flag ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glEdgeFlagPointer( GLsizei stride, const GLvoid* pointer ) { }
|
|
|
|
static void null_glEdgeFlagv( const GLboolean* flag ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glEnable( GLenum cap ) { }
|
|
|
|
static void null_glEnableClientState( GLenum array ) { }
|
|
|
|
static void null_glEnd( void ) { }
|
|
|
|
static void null_glEndList( void ) { }
|
|
|
|
static void null_glEvalCoord1d( GLdouble u ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glEvalCoord1dv( const GLdouble* u ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glEvalCoord1f( GLfloat u ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glEvalCoord1fv( const GLfloat* u ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glEvalCoord2d( GLdouble u, GLdouble v ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glEvalCoord2dv( const GLdouble* u ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glEvalCoord2f( GLfloat u, GLfloat v ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glEvalCoord2fv( const GLfloat* u ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glEvalMesh1( GLenum mode, GLint i1, GLint i2 ) { }
|
|
|
|
static void null_glEvalMesh2( GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2 ) { }
|
|
|
|
static void null_glEvalPoint1( GLint i ) { }
|
|
|
|
static void null_glEvalPoint2( GLint i, GLint j ) { }
|
|
|
|
static void null_glFeedbackBuffer( GLsizei size, GLenum type, GLfloat* buffer ) { }
|
|
|
|
static void null_glFinish( void ) { }
|
|
|
|
static void null_glFlush( void ) { }
|
|
|
|
static void null_glFogf( GLenum pname, GLfloat param ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glFogfv( GLenum pname, const GLfloat* params ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glFogi( GLenum pname, GLint param ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glFogiv( GLenum pname, const GLint* params ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glFrontFace( GLenum mode ) { }
|
|
|
|
static void null_glFrustum( GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar ) { }
|
|
|
|
static GLuint null_glGenLists( GLsizei range ) { return 0; }
|
|
|
|
static void null_glGenTextures( GLsizei n, GLuint* textures ) { }
|
|
|
|
static void null_glGetBooleanv( GLenum pname, GLboolean* params ) { }
|
|
|
|
static void null_glGetClipPlane( GLenum plane, GLdouble* equation ) { }
|
|
|
|
static void null_glGetDoublev( GLenum pname, GLdouble* params ) { }
|
|
|
|
static GLenum null_glGetError( void ) { return GL_INVALID_OPERATION; }
|
|
|
|
static void null_glGetFloatv( GLenum pname, GLfloat* params ) { }
|
|
|
|
static void null_glGetIntegerv( GLenum pname, GLint* params ) { }
|
|
|
|
static void null_glGetLightfv( GLenum light, GLenum pname, GLfloat* params ) { }
|
|
|
|
static void null_glGetLightiv( GLenum light, GLenum pname, GLint* params ) { }
|
|
|
|
static void null_glGetMapdv( GLenum target, GLenum query, GLdouble* v ) { }
|
|
|
|
static void null_glGetMapfv( GLenum target, GLenum query, GLfloat* v ) { }
|
|
|
|
static void null_glGetMapiv( GLenum target, GLenum query, GLint* v ) { }
|
|
|
|
static void null_glGetMaterialfv( GLenum face, GLenum pname, GLfloat* params ) { }
|
|
|
|
static void null_glGetMaterialiv( GLenum face, GLenum pname, GLint* params ) { }
|
|
|
|
static void null_glGetPixelMapfv( GLenum map, GLfloat* values ) { }
|
|
|
|
static void null_glGetPixelMapuiv( GLenum map, GLuint* values ) { }
|
|
|
|
static void null_glGetPixelMapusv( GLenum map, GLushort* values ) { }
|
|
|
|
static void null_glGetPointerv( GLenum pname, GLvoid** params ) { }
|
|
|
|
static void null_glGetPolygonStipple( GLubyte* mask ) { }
|
|
|
|
static const GLubyte * null_glGetString( GLenum name ) { return 0; }
|
|
|
|
static void null_glGetTexEnvfv( GLenum target, GLenum pname, GLfloat* params ) { }
|
|
|
|
static void null_glGetTexEnviv( GLenum target, GLenum pname, GLint* params ) { }
|
|
|
|
static void null_glGetTexGendv( GLenum coord, GLenum pname, GLdouble* params ) { }
|
|
|
|
static void null_glGetTexGenfv( GLenum coord, GLenum pname, GLfloat* params ) { }
|
|
|
|
static void null_glGetTexGeniv( GLenum coord, GLenum pname, GLint* params ) { }
|
|
|
|
static void null_glGetTexImage( GLenum target, GLint level, GLenum format, GLenum type, GLvoid* pixels ) { }
|
|
|
|
static void null_glGetTexLevelParameterfv( GLenum target, GLint level, GLenum pname, GLfloat* params ) { }
|
|
|
|
static void null_glGetTexLevelParameteriv( GLenum target, GLint level, GLenum pname, GLint* params ) { }
|
|
|
|
static void null_glGetTexParameterfv( GLenum target, GLenum pname, GLfloat* params ) { }
|
|
|
|
static void null_glGetTexParameteriv( GLenum target, GLenum pname, GLint* params ) { }
|
|
|
|
static void null_glHint( GLenum target, GLenum mode ) { }
|
|
|
|
static void null_glIndexMask( GLuint mask ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glIndexPointer( GLenum type, GLsizei stride, const GLvoid* pointer ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glIndexd( GLdouble c ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glIndexdv( const GLdouble* c ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glIndexf( GLfloat c ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glIndexfv( const GLfloat* c ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glIndexi( GLint c ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glIndexiv( const GLint* c ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glIndexs( GLshort c ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glIndexsv( const GLshort* c ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glIndexub( GLubyte c ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glIndexubv( const GLubyte* c ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glInitNames( void ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glInterleavedArrays( GLenum format, GLsizei stride, const GLvoid* pointer ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static GLboolean null_glIsEnabled( GLenum cap ) { return 0; }
|
|
|
|
static GLboolean null_glIsList( GLuint list ) { return 0; }
|
|
|
|
static GLboolean null_glIsTexture( GLuint texture ) { return 0; }
|
|
|
|
static void null_glLightModelf( GLenum pname, GLfloat param ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glLightModelfv( GLenum pname, const GLfloat* params ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glLightModeli( GLenum pname, GLint param ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glLightModeliv( GLenum pname, const GLint* params ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glLightf( GLenum light, GLenum pname, GLfloat param ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glLightfv( GLenum light, GLenum pname, const GLfloat* params ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glLighti( GLenum light, GLenum pname, GLint param ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glLightiv( GLenum light, GLenum pname, const GLint* params ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glLineStipple( GLint factor, GLushort pattern ) { }
|
|
|
|
static void null_glLineWidth( GLfloat width ) { }
|
|
|
|
static void null_glListBase( GLuint base ) { }
|
|
|
|
static void null_glLoadIdentity( void ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glLoadMatrixd( const GLdouble* m ) { }
|
|
|
|
static void null_glLoadMatrixf( const GLfloat* m ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glLoadName( GLuint name ) { }
|
|
|
|
static void null_glLogicOp( GLenum opcode ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glMap1d( GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble* points ) { }
|
|
|
|
static void null_glMap1f( GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat* points ) { }
|
|
|
|
static void null_glMap2d( GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble* points ) { }
|
|
|
|
static void null_glMap2f( GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat* points ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glMapGrid1d( GLint un, GLdouble u1, GLdouble u2 ) { }
|
|
|
|
static void null_glMapGrid1f( GLint un, GLfloat u1, GLfloat u2 ) { }
|
|
|
|
static void null_glMapGrid2d( GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2 ) { }
|
|
|
|
static void null_glMapGrid2f( GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2 ) { }
|
|
|
|
static void null_glMaterialf( GLenum face, GLenum pname, GLfloat param ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glMaterialfv( GLenum face, GLenum pname, const GLfloat* params ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glMateriali( GLenum face, GLenum pname, GLint param ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glMaterialiv( GLenum face, GLenum pname, const GLint* params ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glMatrixMode( GLenum mode ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glMultMatrixd( const GLdouble* m ) { }
|
|
|
|
static void null_glMultMatrixf( const GLfloat* m ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glNewList( GLuint list, GLenum mode ) { }
|
|
|
|
static void null_glNormal3b( GLbyte nx, GLbyte ny, GLbyte nz ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glNormal3bv( const GLbyte* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glNormal3d( GLdouble nx, GLdouble ny, GLdouble nz ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glNormal3dv( const GLdouble* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glNormal3f( GLfloat nx, GLfloat ny, GLfloat nz ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glNormal3fv( const GLfloat* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glNormal3i( GLint nx, GLint ny, GLint nz ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glNormal3iv( const GLint* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glNormal3s( GLshort nx, GLshort ny, GLshort nz ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glNormal3sv( const GLshort* v ) { }
|
|
|
|
static void null_glNormalPointer( GLenum type, GLsizei stride, const GLvoid* pointer ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glOrtho( GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar ) { }
|
|
|
|
static void null_glPassThrough( GLfloat token ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glPixelMapfv( GLenum map, GLint mapsize, const GLfloat* values ) { }
|
|
|
|
static void null_glPixelMapuiv( GLenum map, GLint mapsize, const GLuint* values ) { }
|
|
|
|
static void null_glPixelMapusv( GLenum map, GLint mapsize, const GLushort* values ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glPixelStoref( GLenum pname, GLfloat param ) { }
|
|
|
|
static void null_glPixelStorei( GLenum pname, GLint param ) { }
|
|
|
|
static void null_glPixelTransferf( GLenum pname, GLfloat param ) { }
|
|
|
|
static void null_glPixelTransferi( GLenum pname, GLint param ) { }
|
|
|
|
static void null_glPixelZoom( GLfloat xfactor, GLfloat yfactor ) { }
|
|
|
|
static void null_glPointSize( GLfloat size ) { }
|
|
|
|
static void null_glPolygonMode( GLenum face, GLenum mode ) { }
|
|
|
|
static void null_glPolygonOffset( GLfloat factor, GLfloat units ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glPolygonStipple( const GLubyte* mask ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glPopAttrib( void ) { }
|
|
|
|
static void null_glPopClientAttrib( void ) { }
|
|
|
|
static void null_glPopMatrix( void ) { }
|
|
|
|
static void null_glPopName( void ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glPrioritizeTextures( GLsizei n, const GLuint* textures, const GLfloat* priorities ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glPushAttrib( GLbitfield mask ) { }
|
|
|
|
static void null_glPushClientAttrib( GLbitfield mask ) { }
|
|
|
|
static void null_glPushMatrix( void ) { }
|
|
|
|
static void null_glPushName( GLuint name ) { }
|
|
|
|
static void null_glRasterPos2d( GLdouble x, GLdouble y ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glRasterPos2dv( const GLdouble* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glRasterPos2f( GLfloat x, GLfloat y ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glRasterPos2fv( const GLfloat* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glRasterPos2i( GLint x, GLint y ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glRasterPos2iv( const GLint* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glRasterPos2s( GLshort x, GLshort y ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glRasterPos2sv( const GLshort* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glRasterPos3d( GLdouble x, GLdouble y, GLdouble z ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glRasterPos3dv( const GLdouble* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glRasterPos3f( GLfloat x, GLfloat y, GLfloat z ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glRasterPos3fv( const GLfloat* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glRasterPos3i( GLint x, GLint y, GLint z ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glRasterPos3iv( const GLint* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glRasterPos3s( GLshort x, GLshort y, GLshort z ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glRasterPos3sv( const GLshort* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glRasterPos4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glRasterPos4dv( const GLdouble* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glRasterPos4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glRasterPos4fv( const GLfloat* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glRasterPos4i( GLint x, GLint y, GLint z, GLint w ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glRasterPos4iv( const GLint* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glRasterPos4s( GLshort x, GLshort y, GLshort z, GLshort w ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glRasterPos4sv( const GLshort* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glReadBuffer( GLenum mode ) { }
|
|
|
|
static void null_glReadPixels( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels ) { }
|
|
|
|
static void null_glRectd( GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2 ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glRectdv( const GLdouble* v1, const GLdouble* v2 ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glRectf( GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2 ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glRectfv( const GLfloat* v1, const GLfloat* v2 ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glRecti( GLint x1, GLint y1, GLint x2, GLint y2 ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glRectiv( const GLint* v1, const GLint* v2 ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glRects( GLshort x1, GLshort y1, GLshort x2, GLshort y2 ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glRectsv( const GLshort* v1, const GLshort* v2 ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static GLint null_glRenderMode( GLenum mode ) { return 0; }
|
|
|
|
static void null_glRotated( GLdouble angle, GLdouble x, GLdouble y, GLdouble z ) { }
|
|
|
|
static void null_glRotatef( GLfloat angle, GLfloat x, GLfloat y, GLfloat z ) { }
|
|
|
|
static void null_glScaled( GLdouble x, GLdouble y, GLdouble z ) { }
|
|
|
|
static void null_glScalef( GLfloat x, GLfloat y, GLfloat z ) { }
|
|
|
|
static void null_glScissor( GLint x, GLint y, GLsizei width, GLsizei height ) { }
|
|
|
|
static void null_glSelectBuffer( GLsizei size, GLuint* buffer ) { }
|
|
|
|
static void null_glShadeModel( GLenum mode ) { }
|
|
|
|
static void null_glStencilFunc( GLenum func, GLint ref, GLuint mask ) { }
|
|
|
|
static void null_glStencilMask( GLuint mask ) { }
|
|
|
|
static void null_glStencilOp( GLenum fail, GLenum zfail, GLenum zpass ) { }
|
|
|
|
static void null_glTexCoord1d( GLdouble s ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glTexCoord1dv( const GLdouble* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glTexCoord1f( GLfloat s ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glTexCoord1fv( const GLfloat* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glTexCoord1i( GLint s ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glTexCoord1iv( const GLint* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glTexCoord1s( GLshort s ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glTexCoord1sv( const GLshort* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glTexCoord2d( GLdouble s, GLdouble t ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glTexCoord2dv( const GLdouble* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glTexCoord2f( GLfloat s, GLfloat t ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glTexCoord2fv( const GLfloat* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glTexCoord2i( GLint s, GLint t ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glTexCoord2iv( const GLint* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glTexCoord2s( GLshort s, GLshort t ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glTexCoord2sv( const GLshort* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glTexCoord3d( GLdouble s, GLdouble t, GLdouble r ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glTexCoord3dv( const GLdouble* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glTexCoord3f( GLfloat s, GLfloat t, GLfloat r ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glTexCoord3fv( const GLfloat* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glTexCoord3i( GLint s, GLint t, GLint r ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glTexCoord3iv( const GLint* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glTexCoord3s( GLshort s, GLshort t, GLshort r ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glTexCoord3sv( const GLshort* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glTexCoord4d( GLdouble s, GLdouble t, GLdouble r, GLdouble q ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glTexCoord4dv( const GLdouble* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glTexCoord4f( GLfloat s, GLfloat t, GLfloat r, GLfloat q ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glTexCoord4fv( const GLfloat* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glTexCoord4i( GLint s, GLint t, GLint r, GLint q ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glTexCoord4iv( const GLint* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glTexCoord4s( GLshort s, GLshort t, GLshort r, GLshort q ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glTexCoord4sv( const GLshort* v ) { }
|
|
|
|
static void null_glTexCoordPointer( GLint size, GLenum type, GLsizei stride, const GLvoid* pointer ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glTexEnvf( GLenum target, GLenum pname, GLfloat param ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glTexEnvfv( GLenum target, GLenum pname, const GLfloat* params ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glTexEnvi( GLenum target, GLenum pname, GLint param ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glTexEnviv( GLenum target, GLenum pname, const GLint* params ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glTexGend( GLenum coord, GLenum pname, GLdouble param ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glTexGendv( GLenum coord, GLenum pname, const GLdouble* params ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glTexGenf( GLenum coord, GLenum pname, GLfloat param ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glTexGenfv( GLenum coord, GLenum pname, const GLfloat* params ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glTexGeni( GLenum coord, GLenum pname, GLint param ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glTexGeniv( GLenum coord, GLenum pname, const GLint* params ) { }
|
|
|
|
static void null_glTexImage1D( GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid* pixels ) { }
|
|
|
|
static void null_glTexImage2D( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glTexParameterf( GLenum target, GLenum pname, GLfloat param ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glTexParameterfv( GLenum target, GLenum pname, const GLfloat* params ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glTexParameteri( GLenum target, GLenum pname, GLint param ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glTexParameteriv( GLenum target, GLenum pname, const GLint* params ) { }
|
|
|
|
static void null_glTexSubImage1D( GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid* pixels ) { }
|
|
|
|
static void null_glTexSubImage2D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glTranslated( GLdouble x, GLdouble y, GLdouble z ) { }
|
|
|
|
static void null_glTranslatef( GLfloat x, GLfloat y, GLfloat z ) { }
|
|
|
|
static void null_glVertex2d( GLdouble x, GLdouble y ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glVertex2dv( const GLdouble* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glVertex2f( GLfloat x, GLfloat y ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glVertex2fv( const GLfloat* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glVertex2i( GLint x, GLint y ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glVertex2iv( const GLint* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glVertex2s( GLshort x, GLshort y ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glVertex2sv( const GLshort* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glVertex3d( GLdouble x, GLdouble y, GLdouble z ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glVertex3dv( const GLdouble* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glVertex3f( GLfloat x, GLfloat y, GLfloat z ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glVertex3fv( const GLfloat* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glVertex3i( GLint x, GLint y, GLint z ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glVertex3iv( const GLint* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glVertex3s( GLshort x, GLshort y, GLshort z ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glVertex3sv( const GLshort* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glVertex4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glVertex4dv( const GLdouble* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glVertex4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glVertex4fv( const GLfloat* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glVertex4i( GLint x, GLint y, GLint z, GLint w ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glVertex4iv( const GLint* v ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glVertex4s( GLshort x, GLshort y, GLshort z, GLshort w ) { }
|
2012-07-19 22:17:14 +02:00
|
|
|
static void null_glVertex4sv( const GLshort* v ) { }
|
|
|
|
static void null_glVertexPointer( GLint size, GLenum type, GLsizei stride, const GLvoid* pointer ) { }
|
2012-07-16 23:34:45 +02:00
|
|
|
static void null_glViewport( GLint x, GLint y, GLsizei width, GLsizei height ) { }
|
|
|
|
|
2012-07-18 23:58:41 +02:00
|
|
|
struct opengl_funcs null_opengl_funcs =
|
|
|
|
{
|
|
|
|
{
|
|
|
|
null_wglCopyContext,
|
|
|
|
null_wglCreateContext,
|
|
|
|
null_wglDeleteContext,
|
|
|
|
null_wglGetPixelFormat,
|
|
|
|
null_wglGetProcAddress,
|
|
|
|
null_wglMakeCurrent,
|
|
|
|
null_wglShareLists,
|
|
|
|
},
|
2012-07-16 23:34:45 +02:00
|
|
|
#define USE_GL_FUNC(name) null_##name,
|
2012-07-18 23:58:41 +02:00
|
|
|
{ ALL_WGL_FUNCS }
|
2012-07-16 23:34:45 +02:00
|
|
|
#undef USE_GL_FUNC
|
2012-07-18 23:58:41 +02:00
|
|
|
};
|