2000-05-12 22:18:14 +02:00
|
|
|
|
|
|
|
/* Auto-generated file... Do not edit ! */
|
|
|
|
|
|
|
|
#include "config.h"
|
2002-09-25 02:29:56 +02:00
|
|
|
#include "opengl_ext.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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %f)\n", op, value );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glAccum( op, value );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glAlphaFunc( GLenum func, GLclampf ref ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %f)\n", func, ref );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glAlphaFunc( func, ref );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
GLboolean WINAPI wine_glAreTexturesResident( GLsizei n, GLuint* textures, GLboolean* residences ) {
|
|
|
|
GLboolean ret_value;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %p, %p)\n", n, textures, residences );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
ret_value = glAreTexturesResident( n, textures, residences );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
return ret_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
|
|
|
* glArrayElement (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glArrayElement( GLint i ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", i );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glArrayElement( i );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", mode );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glBegin( mode );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d)\n", target, texture );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glBindTexture( target, texture );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glBitmap( GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, GLubyte* bitmap ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %f, %f, %f, %f, %p)\n", width, height, xorig, yorig, xmove, ymove, bitmap );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glBitmap( width, height, xorig, yorig, xmove, ymove, bitmap );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glBlendColor (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glBlendColor( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f, %f)\n", red, green, blue, alpha );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glBlendColor( red, green, blue, alpha );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glBlendEquation (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glBlendEquation( GLenum mode ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", mode );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glBlendEquation( mode );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d)\n", sfactor, dfactor );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glBlendFunc( sfactor, dfactor );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", list );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glCallList( list );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glCallLists( GLsizei n, GLenum type, GLvoid* lists ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", n, type, lists );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glCallLists( n, type, lists );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", mask );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glClear( mask );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f, %f)\n", red, green, blue, alpha );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glClearAccum( red, green, blue, alpha );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glClearColor( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f, %f)\n", red, green, blue, alpha );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glClearColor( red, green, blue, alpha );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glClearDepth( GLclampd depth ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f)\n", depth );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glClearDepth( depth );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f)\n", c );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glClearIndex( c );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", s );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glClearStencil( s );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glClipPlane( GLenum plane, GLdouble* equation ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %p)\n", plane, equation );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glClipPlane( plane, equation );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", red, green, blue );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glColor3b( red, green, blue );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glColor3bv( GLbyte* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glColor3bv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f)\n", red, green, blue );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glColor3d( red, green, blue );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glColor3dv( GLdouble* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glColor3dv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f)\n", red, green, blue );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glColor3f( red, green, blue );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glColor3fv( GLfloat* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glColor3fv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", red, green, blue );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glColor3i( red, green, blue );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glColor3iv( GLint* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glColor3iv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", red, green, blue );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glColor3s( red, green, blue );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glColor3sv( GLshort* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glColor3sv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", red, green, blue );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glColor3ub( red, green, blue );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glColor3ubv( GLubyte* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glColor3ubv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", red, green, blue );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glColor3ui( red, green, blue );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glColor3uiv( GLuint* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glColor3uiv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", red, green, blue );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glColor3us( red, green, blue );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glColor3usv( GLushort* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glColor3usv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glColor4b( red, green, blue, alpha );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glColor4bv( GLbyte* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glColor4bv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f, %f)\n", red, green, blue, alpha );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glColor4d( red, green, blue, alpha );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glColor4dv( GLdouble* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glColor4dv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f, %f)\n", red, green, blue, alpha );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glColor4f( red, green, blue, alpha );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glColor4fv( GLfloat* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glColor4fv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glColor4i( red, green, blue, alpha );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glColor4iv( GLint* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glColor4iv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glColor4s( red, green, blue, alpha );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glColor4sv( GLshort* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glColor4sv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glColor4ub( red, green, blue, alpha );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glColor4ubv( GLubyte* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glColor4ubv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glColor4ui( red, green, blue, alpha );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glColor4uiv( GLuint* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glColor4uiv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glColor4us( red, green, blue, alpha );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glColor4usv( GLushort* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glColor4usv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glColorMask( red, green, blue, alpha );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d)\n", face, mode );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glColorMaterial( face, mode );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glColorPointer( GLint size, GLenum type, GLsizei stride, GLvoid* pointer ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %p)\n", size, type, stride, pointer );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glColorPointer( size, type, stride, pointer );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glColorSubTable (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glColorSubTable( GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, GLvoid* data ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d, %d, %p)\n", target, start, count, format, type, data );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glColorSubTable( target, start, count, format, type, data );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glColorTable (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glColorTable( GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, GLvoid* table ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d, %d, %p)\n", target, internalformat, width, format, type, table );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glColorTable( target, internalformat, width, format, type, table );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glColorTableParameterfv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glColorTableParameterfv( GLenum target, GLenum pname, GLfloat* params ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glColorTableParameterfv( target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glColorTableParameteriv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glColorTableParameteriv( GLenum target, GLenum pname, GLint* params ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glColorTableParameteriv( target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glConvolutionFilter1D (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glConvolutionFilter1D( GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, GLvoid* image ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d, %d, %p)\n", target, internalformat, width, format, type, image );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glConvolutionFilter1D( target, internalformat, width, format, type, image );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glConvolutionFilter2D (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glConvolutionFilter2D( GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* image ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d, %d, %d, %p)\n", target, internalformat, width, height, format, type, image );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glConvolutionFilter2D( target, internalformat, width, height, format, type, image );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glConvolutionParameterf (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glConvolutionParameterf( GLenum target, GLenum pname, GLfloat params ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %f)\n", target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glConvolutionParameterf( target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glConvolutionParameterfv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glConvolutionParameterfv( GLenum target, GLenum pname, GLfloat* params ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glConvolutionParameterfv( target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glConvolutionParameteri (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glConvolutionParameteri( GLenum target, GLenum pname, GLint params ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glConvolutionParameteri( target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glConvolutionParameteriv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glConvolutionParameteriv( GLenum target, GLenum pname, GLint* params ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glConvolutionParameteriv( target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glCopyColorSubTable (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glCopyColorSubTable( GLenum target, GLsizei start, GLint x, GLint y, GLsizei width ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d, %d)\n", target, start, x, y, width );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glCopyColorSubTable( target, start, x, y, width );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glCopyColorTable (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glCopyColorTable( GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d, %d)\n", target, internalformat, x, y, width );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glCopyColorTable( target, internalformat, x, y, width );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glCopyConvolutionFilter1D (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glCopyConvolutionFilter1D( GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d, %d)\n", target, internalformat, x, y, width );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glCopyConvolutionFilter1D( target, internalformat, x, y, width );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glCopyConvolutionFilter2D (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glCopyConvolutionFilter2D( GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d, %d, %d)\n", target, internalformat, x, y, width, height );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glCopyConvolutionFilter2D( target, internalformat, x, y, width, height );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d, %d)\n", x, y, width, height, type );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glCopyPixels( x, y, width, height, type );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d, %d, %d, %d)\n", target, level, internalformat, x, y, width, border );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glCopyTexImage1D( target, level, internalformat, x, y, width, border );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
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 );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glCopyTexImage2D( target, level, internalformat, x, y, width, height, border );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d, %d, %d)\n", target, level, xoffset, x, y, width );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glCopyTexSubImage1D( target, level, xoffset, x, y, width );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
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 );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glCopyTexSubImage2D( target, level, xoffset, yoffset, x, y, width, height );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glCopyTexSubImage3D (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glCopyTexSubImage3D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d)\n", target, level, xoffset, yoffset, zoffset, x, y, width, height );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glCopyTexSubImage3D( target, level, xoffset, yoffset, zoffset, x, y, width, height );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", mode );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glCullFace( mode );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d)\n", list, range );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glDeleteLists( list, range );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glDeleteTextures( GLsizei n, GLuint* textures ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %p)\n", n, textures );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glDeleteTextures( n, textures );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", func );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glDepthFunc( func );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", flag );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glDepthMask( flag );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2004-03-02 21:54:17 +01:00
|
|
|
void WINAPI wine_glDepthRange( GLclampd nearParam, GLclampd farParam ) {
|
|
|
|
TRACE("(%f, %f)\n", nearParam, farParam );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2004-03-02 21:54:17 +01:00
|
|
|
glDepthRange( nearParam, farParam );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
2007-09-25 19:21:40 +02:00
|
|
|
/***********************************************************************
|
|
|
|
* glDisable (OPENGL32.@)
|
|
|
|
*/
|
|
|
|
void WINAPI wine_glDisable( GLenum cap ) {
|
|
|
|
TRACE("(%d)\n", cap );
|
|
|
|
ENTER_GL();
|
|
|
|
glDisable( cap );
|
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", array );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glDisableClientState( array );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", mode, first, count );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glDrawArrays( mode, first, count );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", mode );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glDrawBuffer( mode );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glDrawElements( GLenum mode, GLsizei count, GLenum type, GLvoid* indices ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %p)\n", mode, count, type, indices );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glDrawElements( mode, count, type, indices );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glDrawPixels( GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d, %p)\n", width, height, format, type, pixels );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glDrawPixels( width, height, format, type, pixels );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glDrawRangeElements (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glDrawRangeElements( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, GLvoid* indices ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d, %d, %p)\n", mode, start, end, count, type, indices );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glDrawRangeElements( mode, start, end, count, type, indices );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", flag );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glEdgeFlag( flag );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glEdgeFlagPointer( GLsizei stride, GLvoid* pointer ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %p)\n", stride, pointer );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glEdgeFlagPointer( stride, pointer );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glEdgeFlagv( GLboolean* flag ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", flag );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glEdgeFlagv( flag );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
2007-09-25 19:21:40 +02:00
|
|
|
/***********************************************************************
|
|
|
|
* glEnable (OPENGL32.@)
|
|
|
|
*/
|
|
|
|
void WINAPI wine_glEnable( GLenum cap ) {
|
|
|
|
TRACE("(%d)\n", cap );
|
|
|
|
ENTER_GL();
|
|
|
|
glEnable( cap );
|
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", array );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glEnableClientState( array );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("()\n");
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glEnd( );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("()\n");
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glEndList( );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f)\n", u );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glEvalCoord1d( u );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glEvalCoord1dv( GLdouble* u ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", u );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glEvalCoord1dv( u );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f)\n", u );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glEvalCoord1f( u );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glEvalCoord1fv( GLfloat* u ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", u );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glEvalCoord1fv( u );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f)\n", u, v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glEvalCoord2d( u, v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glEvalCoord2dv( GLdouble* u ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", u );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glEvalCoord2dv( u );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f)\n", u, v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glEvalCoord2f( u, v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glEvalCoord2fv( GLfloat* u ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", u );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glEvalCoord2fv( u );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", mode, i1, i2 );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glEvalMesh1( mode, i1, i2 );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d, %d)\n", mode, i1, i2, j1, j2 );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glEvalMesh2( mode, i1, i2, j1, j2 );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", i );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glEvalPoint1( i );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d)\n", i, j );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glEvalPoint2( i, j );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", size, type, buffer );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glFeedbackBuffer( size, type, buffer );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %f)\n", pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glFogf( pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glFogfv( GLenum pname, GLfloat* params ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %p)\n", pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glFogfv( pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d)\n", pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glFogi( pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glFogiv( GLenum pname, GLint* params ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %p)\n", pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glFogiv( pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", mode );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glFrontFace( mode );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f, %f, %f, %f)\n", left, right, bottom, top, zNear, zFar );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glFrustum( left, right, bottom, top, zNear, zFar );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
|
|
|
GLuint ret_value;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", range );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
ret_value = glGenLists( range );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
return ret_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
|
|
|
* 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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %p)\n", n, textures );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glGenTextures( n, textures );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %p)\n", pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glGetBooleanv( pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %p)\n", plane, equation );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glGetClipPlane( plane, equation );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glGetColorTable (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glGetColorTable( GLenum target, GLenum format, GLenum type, GLvoid* table ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %p)\n", target, format, type, table );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glGetColorTable( target, format, type, table );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glGetColorTableParameterfv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glGetColorTableParameterfv( GLenum target, GLenum pname, GLfloat* params ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glGetColorTableParameterfv( target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glGetColorTableParameteriv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glGetColorTableParameteriv( GLenum target, GLenum pname, GLint* params ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glGetColorTableParameteriv( target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glGetConvolutionFilter (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glGetConvolutionFilter( GLenum target, GLenum format, GLenum type, GLvoid* image ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %p)\n", target, format, type, image );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glGetConvolutionFilter( target, format, type, image );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glGetConvolutionParameterfv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glGetConvolutionParameterfv( GLenum target, GLenum pname, GLfloat* params ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glGetConvolutionParameterfv( target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glGetConvolutionParameteriv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glGetConvolutionParameteriv( GLenum target, GLenum pname, GLint* params ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glGetConvolutionParameteriv( target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %p)\n", pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glGetDoublev( pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2000-06-12 03:21:18 +02:00
|
|
|
GLenum ret_value;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("()\n");
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
ret_value = glGetError( );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
return ret_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
|
|
|
* 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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %p)\n", pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glGetFloatv( pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glGetHistogram (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glGetHistogram( GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid* values ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d, %p)\n", target, reset, format, type, values );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glGetHistogram( target, reset, format, type, values );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glGetHistogramParameterfv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glGetHistogramParameterfv( GLenum target, GLenum pname, GLfloat* params ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glGetHistogramParameterfv( target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glGetHistogramParameteriv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glGetHistogramParameteriv( GLenum target, GLenum pname, GLint* params ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glGetHistogramParameteriv( target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", light, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glGetLightfv( light, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", light, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glGetLightiv( light, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", target, query, v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glGetMapdv( target, query, v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", target, query, v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glGetMapfv( target, query, v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", target, query, v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glGetMapiv( target, query, v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", face, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glGetMaterialfv( face, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", face, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glGetMaterialiv( face, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glGetMinmax (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glGetMinmax( GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid* values ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d, %p)\n", target, reset, format, type, values );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glGetMinmax( target, reset, format, type, values );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glGetMinmaxParameterfv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glGetMinmaxParameterfv( GLenum target, GLenum pname, GLfloat* params ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glGetMinmaxParameterfv( target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glGetMinmaxParameteriv (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glGetMinmaxParameteriv( GLenum target, GLenum pname, GLint* params ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glGetMinmaxParameteriv( target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %p)\n", map, values );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glGetPixelMapfv( map, values );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %p)\n", map, values );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glGetPixelMapuiv( map, values );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %p)\n", map, values );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glGetPixelMapusv( map, values );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %p)\n", pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glGetPointerv( pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", mask );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glGetPolygonStipple( mask );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glGetSeparableFilter (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glGetSeparableFilter( GLenum target, GLenum format, GLenum type, GLvoid* row, GLvoid* column, GLvoid* span ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %p, %p, %p)\n", target, format, type, row, column, span );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glGetSeparableFilter( target, format, type, row, column, span );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glGetTexEnvfv( target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glGetTexEnviv( target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", coord, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glGetTexGendv( coord, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", coord, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glGetTexGenfv( coord, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", coord, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glGetTexGeniv( coord, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d, %p)\n", target, level, format, type, pixels );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glGetTexImage( target, level, format, type, pixels );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %p)\n", target, level, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glGetTexLevelParameterfv( target, level, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %p)\n", target, level, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glGetTexLevelParameteriv( target, level, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glGetTexParameterfv( target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glGetTexParameteriv( target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d)\n", target, mode );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glHint( target, mode );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glHistogram (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glHistogram( GLenum target, GLsizei width, GLenum internalformat, GLboolean sink ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d)\n", target, width, internalformat, sink );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glHistogram( target, width, internalformat, sink );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", mask );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glIndexMask( mask );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glIndexPointer( GLenum type, GLsizei stride, GLvoid* pointer ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", type, stride, pointer );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glIndexPointer( type, stride, pointer );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f)\n", c );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glIndexd( c );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glIndexdv( GLdouble* c ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", c );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glIndexdv( c );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f)\n", c );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glIndexf( c );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glIndexfv( GLfloat* c ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", c );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glIndexfv( c );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", c );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glIndexi( c );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glIndexiv( GLint* c ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", c );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glIndexiv( c );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", c );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glIndexs( c );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glIndexsv( GLshort* c ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", c );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glIndexsv( c );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", c );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glIndexub( c );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glIndexubv( GLubyte* c ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", c );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glIndexubv( c );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("()\n");
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glInitNames( );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glInterleavedArrays( GLenum format, GLsizei stride, GLvoid* pointer ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", format, stride, pointer );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glInterleavedArrays( format, stride, pointer );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
2007-09-25 19:21:40 +02:00
|
|
|
/***********************************************************************
|
|
|
|
* glIsEnabled (OPENGL32.@)
|
|
|
|
*/
|
|
|
|
GLboolean WINAPI wine_glIsEnabled( GLenum cap ) {
|
|
|
|
GLboolean ret_value;
|
|
|
|
TRACE("(%d)\n", cap );
|
|
|
|
ENTER_GL();
|
|
|
|
ret_value = glIsEnabled( cap );
|
|
|
|
LEAVE_GL();
|
|
|
|
return ret_value;
|
|
|
|
}
|
|
|
|
|
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 ) {
|
|
|
|
GLboolean ret_value;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", list );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
ret_value = glIsList( list );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
return ret_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
|
|
|
* glIsTexture (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
GLboolean WINAPI wine_glIsTexture( GLuint texture ) {
|
|
|
|
GLboolean ret_value;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", texture );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
ret_value = glIsTexture( texture );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
return ret_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
|
|
|
* 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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %f)\n", pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glLightModelf( pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glLightModelfv( GLenum pname, GLfloat* params ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %p)\n", pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glLightModelfv( pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d)\n", pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glLightModeli( pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glLightModeliv( GLenum pname, GLint* params ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %p)\n", pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glLightModeliv( pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %f)\n", light, pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glLightf( light, pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glLightfv( GLenum light, GLenum pname, GLfloat* params ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", light, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glLightfv( light, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", light, pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glLighti( light, pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glLightiv( GLenum light, GLenum pname, GLint* params ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", light, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glLightiv( light, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d)\n", factor, pattern );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glLineStipple( factor, pattern );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f)\n", width );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glLineWidth( width );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", base );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glListBase( base );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("()\n");
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glLoadIdentity( );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glLoadMatrixd( GLdouble* m ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", m );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glLoadMatrixd( m );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glLoadMatrixf( GLfloat* m ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", m );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glLoadMatrixf( m );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", name );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glLoadName( name );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", opcode );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glLogicOp( opcode );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glMap1d( GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, GLdouble* points ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %f, %f, %d, %d, %p)\n", target, u1, u2, stride, order, points );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glMap1d( target, u1, u2, stride, order, points );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glMap1f( GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, GLfloat* points ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %f, %f, %d, %d, %p)\n", target, u1, u2, stride, order, points );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glMap1f( target, u1, u2, stride, order, points );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glMap2d( GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble* points ) {
|
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 );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glMap2d( target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glMap2f( GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat* points ) {
|
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 );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glMap2f( target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %f, %f)\n", un, u1, u2 );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glMapGrid1d( un, u1, u2 );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %f, %f)\n", un, u1, u2 );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glMapGrid1f( un, u1, u2 );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %f, %f, %d, %f, %f)\n", un, u1, u2, vn, v1, v2 );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glMapGrid2d( un, u1, u2, vn, v1, v2 );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %f, %f, %d, %f, %f)\n", un, u1, u2, vn, v1, v2 );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glMapGrid2f( un, u1, u2, vn, v1, v2 );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %f)\n", face, pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glMaterialf( face, pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glMaterialfv( GLenum face, GLenum pname, GLfloat* params ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", face, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glMaterialfv( face, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", face, pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glMateriali( face, pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glMaterialiv( GLenum face, GLenum pname, GLint* params ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", face, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glMaterialiv( face, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", mode );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glMatrixMode( mode );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glMinmax (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glMinmax( GLenum target, GLenum internalformat, GLboolean sink ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", target, internalformat, sink );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glMinmax( target, internalformat, sink );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glMultMatrixd( GLdouble* m ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", m );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glMultMatrixd( m );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glMultMatrixf( GLfloat* m ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", m );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glMultMatrixf( m );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d)\n", list, mode );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glNewList( list, mode );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", nx, ny, nz );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glNormal3b( nx, ny, nz );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glNormal3bv( GLbyte* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glNormal3bv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f)\n", nx, ny, nz );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glNormal3d( nx, ny, nz );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glNormal3dv( GLdouble* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glNormal3dv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f)\n", nx, ny, nz );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glNormal3f( nx, ny, nz );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glNormal3fv( GLfloat* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glNormal3fv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", nx, ny, nz );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glNormal3i( nx, ny, nz );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glNormal3iv( GLint* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glNormal3iv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", nx, ny, nz );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glNormal3s( nx, ny, nz );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glNormal3sv( GLshort* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glNormal3sv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glNormalPointer( GLenum type, GLsizei stride, GLvoid* pointer ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", type, stride, pointer );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glNormalPointer( type, stride, pointer );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f, %f, %f, %f)\n", left, right, bottom, top, zNear, zFar );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glOrtho( left, right, bottom, top, zNear, zFar );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f)\n", token );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glPassThrough( token );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glPixelMapfv( GLenum map, GLint mapsize, GLfloat* values ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", map, mapsize, values );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glPixelMapfv( map, mapsize, values );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glPixelMapuiv( GLenum map, GLint mapsize, GLuint* values ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", map, mapsize, values );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glPixelMapuiv( map, mapsize, values );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glPixelMapusv( GLenum map, GLint mapsize, GLushort* values ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", map, mapsize, values );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glPixelMapusv( map, mapsize, values );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %f)\n", pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glPixelStoref( pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d)\n", pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glPixelStorei( pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %f)\n", pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glPixelTransferf( pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d)\n", pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glPixelTransferi( pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f)\n", xfactor, yfactor );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glPixelZoom( xfactor, yfactor );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f)\n", size );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glPointSize( size );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d)\n", face, mode );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glPolygonMode( face, mode );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f)\n", factor, units );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glPolygonOffset( factor, units );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glPolygonStipple( GLubyte* mask ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", mask );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glPolygonStipple( mask );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("()\n");
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glPopAttrib( );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("()\n");
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glPopClientAttrib( );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("()\n");
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glPopMatrix( );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("()\n");
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glPopName( );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glPrioritizeTextures( GLsizei n, GLuint* textures, GLclampf* priorities ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %p, %p)\n", n, textures, priorities );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glPrioritizeTextures( n, textures, priorities );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", mask );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glPushAttrib( mask );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", mask );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glPushClientAttrib( mask );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("()\n");
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glPushMatrix( );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", name );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glPushName( name );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f)\n", x, y );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glRasterPos2d( x, y );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glRasterPos2dv( GLdouble* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glRasterPos2dv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f)\n", x, y );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glRasterPos2f( x, y );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glRasterPos2fv( GLfloat* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glRasterPos2fv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d)\n", x, y );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glRasterPos2i( x, y );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glRasterPos2iv( GLint* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glRasterPos2iv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d)\n", x, y );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glRasterPos2s( x, y );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glRasterPos2sv( GLshort* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glRasterPos2sv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f)\n", x, y, z );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glRasterPos3d( x, y, z );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glRasterPos3dv( GLdouble* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glRasterPos3dv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f)\n", x, y, z );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glRasterPos3f( x, y, z );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glRasterPos3fv( GLfloat* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glRasterPos3fv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", x, y, z );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glRasterPos3i( x, y, z );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glRasterPos3iv( GLint* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glRasterPos3iv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", x, y, z );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glRasterPos3s( x, y, z );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glRasterPos3sv( GLshort* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glRasterPos3sv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f, %f)\n", x, y, z, w );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glRasterPos4d( x, y, z, w );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glRasterPos4dv( GLdouble* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glRasterPos4dv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f, %f)\n", x, y, z, w );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glRasterPos4f( x, y, z, w );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glRasterPos4fv( GLfloat* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glRasterPos4fv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d)\n", x, y, z, w );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glRasterPos4i( x, y, z, w );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glRasterPos4iv( GLint* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glRasterPos4iv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d)\n", x, y, z, w );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glRasterPos4s( x, y, z, w );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glRasterPos4sv( GLshort* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glRasterPos4sv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", mode );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glReadBuffer( mode );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d, %d, %d, %p)\n", x, y, width, height, format, type, pixels );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glReadPixels( x, y, width, height, format, type, pixels );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f, %f)\n", x1, y1, x2, y2 );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glRectd( x1, y1, x2, y2 );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glRectdv( GLdouble* v1, GLdouble* v2 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p, %p)\n", v1, v2 );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glRectdv( v1, v2 );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f, %f)\n", x1, y1, x2, y2 );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glRectf( x1, y1, x2, y2 );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glRectfv( GLfloat* v1, GLfloat* v2 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p, %p)\n", v1, v2 );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glRectfv( v1, v2 );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d)\n", x1, y1, x2, y2 );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glRecti( x1, y1, x2, y2 );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glRectiv( GLint* v1, GLint* v2 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p, %p)\n", v1, v2 );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glRectiv( v1, v2 );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d)\n", x1, y1, x2, y2 );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glRects( x1, y1, x2, y2 );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glRectsv( GLshort* v1, GLshort* v2 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p, %p)\n", v1, v2 );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glRectsv( v1, v2 );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
|
|
|
GLint ret_value;
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", mode );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
ret_value = glRenderMode( mode );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
return ret_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
|
|
|
* glResetHistogram (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glResetHistogram( GLenum target ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", target );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glResetHistogram( target );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glResetMinmax (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glResetMinmax( GLenum target ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", target );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glResetMinmax( target );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f, %f)\n", angle, x, y, z );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glRotated( angle, x, y, z );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f, %f)\n", angle, x, y, z );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glRotatef( angle, x, y, z );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f)\n", x, y, z );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glScaled( x, y, z );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f)\n", x, y, z );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glScalef( x, y, z );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
2007-09-25 19:21:40 +02:00
|
|
|
/***********************************************************************
|
|
|
|
* glScissor (OPENGL32.@)
|
|
|
|
*/
|
|
|
|
void WINAPI wine_glScissor( GLint x, GLint y, GLsizei width, GLsizei height ) {
|
|
|
|
TRACE("(%d, %d, %d, %d)\n", x, y, width, height );
|
|
|
|
ENTER_GL();
|
|
|
|
glScissor( x, y, width, height );
|
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %p)\n", size, buffer );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glSelectBuffer( size, buffer );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glSeparableFilter2D (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glSeparableFilter2D( GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* row, GLvoid* column ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d, %d, %d, %p, %p)\n", target, internalformat, width, height, format, type, row, column );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glSeparableFilter2D( target, internalformat, width, height, format, type, row, column );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", mode );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glShadeModel( mode );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", func, ref, mask );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glStencilFunc( func, ref, mask );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", mask );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glStencilMask( mask );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", fail, zfail, zpass );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glStencilOp( fail, zfail, zpass );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f)\n", s );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexCoord1d( s );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexCoord1dv( GLdouble* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexCoord1dv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f)\n", s );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexCoord1f( s );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexCoord1fv( GLfloat* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexCoord1fv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", s );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexCoord1i( s );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexCoord1iv( GLint* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexCoord1iv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d)\n", s );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexCoord1s( s );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexCoord1sv( GLshort* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexCoord1sv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f)\n", s, t );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexCoord2d( s, t );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexCoord2dv( GLdouble* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexCoord2dv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f)\n", s, t );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexCoord2f( s, t );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexCoord2fv( GLfloat* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexCoord2fv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d)\n", s, t );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexCoord2i( s, t );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexCoord2iv( GLint* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexCoord2iv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d)\n", s, t );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexCoord2s( s, t );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexCoord2sv( GLshort* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexCoord2sv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f)\n", s, t, r );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexCoord3d( s, t, r );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexCoord3dv( GLdouble* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexCoord3dv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f)\n", s, t, r );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexCoord3f( s, t, r );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexCoord3fv( GLfloat* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexCoord3fv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", s, t, r );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexCoord3i( s, t, r );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexCoord3iv( GLint* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexCoord3iv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", s, t, r );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexCoord3s( s, t, r );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexCoord3sv( GLshort* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexCoord3sv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f, %f)\n", s, t, r, q );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexCoord4d( s, t, r, q );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexCoord4dv( GLdouble* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexCoord4dv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f, %f)\n", s, t, r, q );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexCoord4f( s, t, r, q );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexCoord4fv( GLfloat* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexCoord4fv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d)\n", s, t, r, q );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexCoord4i( s, t, r, q );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexCoord4iv( GLint* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexCoord4iv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d)\n", s, t, r, q );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexCoord4s( s, t, r, q );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexCoord4sv( GLshort* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexCoord4sv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexCoordPointer( GLint size, GLenum type, GLsizei stride, GLvoid* pointer ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %p)\n", size, type, stride, pointer );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexCoordPointer( size, type, stride, pointer );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %f)\n", target, pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexEnvf( target, pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexEnvfv( GLenum target, GLenum pname, GLfloat* params ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexEnvfv( target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", target, pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexEnvi( target, pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexEnviv( GLenum target, GLenum pname, GLint* params ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexEnviv( target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %f)\n", coord, pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexGend( coord, pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexGendv( GLenum coord, GLenum pname, GLdouble* params ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", coord, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexGendv( coord, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %f)\n", coord, pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexGenf( coord, pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexGenfv( GLenum coord, GLenum pname, GLfloat* params ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", coord, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexGenfv( coord, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", coord, pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexGeni( coord, pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexGeniv( GLenum coord, GLenum pname, GLint* params ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", coord, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexGeniv( coord, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexImage1D( GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, GLvoid* pixels ) {
|
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 );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexImage1D( target, level, internalformat, width, border, format, type, pixels );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexImage2D( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, GLvoid* pixels ) {
|
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 );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexImage2D( target, level, internalformat, width, height, border, format, type, pixels );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexImage3D (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexImage3D( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, GLvoid* pixels ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d, %p)\n", target, level, internalformat, width, height, depth, border, format, type, pixels );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexImage3D( target, level, internalformat, width, height, depth, border, format, type, pixels );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %f)\n", target, pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexParameterf( target, pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexParameterfv( GLenum target, GLenum pname, GLfloat* params ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexParameterfv( target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", target, pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexParameteri( target, pname, param );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexParameteriv( GLenum target, GLenum pname, GLint* params ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %p)\n", target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexParameteriv( target, pname, params );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexSubImage1D( GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, GLvoid* pixels ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d, %d, %d, %p)\n", target, level, xoffset, width, format, type, pixels );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexSubImage1D( target, level, xoffset, width, format, type, pixels );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexSubImage2D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels ) {
|
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 );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexSubImage2D( target, level, xoffset, yoffset, width, height, format, type, pixels );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
2000-05-18 02:07:53 +02:00
|
|
|
/***********************************************************************
|
2001-07-11 20:56:41 +02:00
|
|
|
* glTexSubImage3D (OPENGL32.@)
|
2000-05-18 02:07:53 +02:00
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glTexSubImage3D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid* pixels ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %p)\n", target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTexSubImage3D( target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f)\n", x, y, z );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTranslated( x, y, z );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f)\n", x, y, z );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glTranslatef( x, y, z );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f)\n", x, y );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glVertex2d( x, y );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glVertex2dv( GLdouble* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glVertex2dv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f)\n", x, y );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glVertex2f( x, y );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glVertex2fv( GLfloat* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glVertex2fv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d)\n", x, y );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glVertex2i( x, y );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glVertex2iv( GLint* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glVertex2iv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d)\n", x, y );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glVertex2s( x, y );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glVertex2sv( GLshort* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glVertex2sv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f)\n", x, y, z );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glVertex3d( x, y, z );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glVertex3dv( GLdouble* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glVertex3dv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f)\n", x, y, z );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glVertex3f( x, y, z );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glVertex3fv( GLfloat* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glVertex3fv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", x, y, z );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glVertex3i( x, y, z );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glVertex3iv( GLint* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glVertex3iv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d)\n", x, y, z );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glVertex3s( x, y, z );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glVertex3sv( GLshort* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glVertex3sv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f, %f)\n", x, y, z, w );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glVertex4d( x, y, z, w );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glVertex4dv( GLdouble* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glVertex4dv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%f, %f, %f, %f)\n", x, y, z, w );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glVertex4f( x, y, z, w );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glVertex4fv( GLfloat* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glVertex4fv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d)\n", x, y, z, w );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glVertex4i( x, y, z, w );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glVertex4iv( GLint* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glVertex4iv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %d)\n", x, y, z, w );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glVertex4s( x, y, z, w );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glVertex4sv( GLshort* v ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%p)\n", v );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glVertex4sv( v );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
|
|
|
|
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
|
|
|
*/
|
2000-06-12 03:21:18 +02:00
|
|
|
void WINAPI wine_glVertexPointer( GLint size, GLenum type, GLsizei stride, GLvoid* pointer ) {
|
2001-03-04 02:05:20 +01:00
|
|
|
TRACE("(%d, %d, %d, %p)\n", size, type, stride, pointer );
|
2000-05-12 22:18:14 +02:00
|
|
|
ENTER_GL();
|
2000-06-12 03:21:18 +02:00
|
|
|
glVertexPointer( size, type, stride, pointer );
|
2000-05-12 22:18:14 +02:00
|
|
|
LEAVE_GL();
|
|
|
|
}
|
2007-09-25 19:21:40 +02:00
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* glViewport (OPENGL32.@)
|
|
|
|
*/
|
|
|
|
void WINAPI wine_glViewport( GLint x, GLint y, GLsizei width, GLsizei height ) {
|
|
|
|
TRACE("(%d, %d, %d, %d)\n", x, y, width, height );
|
|
|
|
ENTER_GL();
|
|
|
|
glViewport( x, y, width, height );
|
|
|
|
LEAVE_GL();
|
|
|
|
}
|