blob: 8374a869c385d3c9225b1cfde161499695647a2c [file] [log] [blame]
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001
2/* Auto-generated file... Do not edit ! */
3
4#include "config.h"
Alexandre Julliard2c40e292002-09-25 00:29:56 +00005#include "opengl_ext.h"
Alexandre Julliard0799c1a2002-03-09 23:29:33 +00006#include "wine/debug.h"
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00007
Alexandre Julliard0799c1a2002-03-09 23:29:33 +00008WINE_DEFAULT_DEBUG_CHANNEL(opengl);
Lionel Ulmer15a4a772001-03-04 01:05:20 +00009
Patrik Stridvallc654c7e2000-05-18 00:07:53 +000010/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +000011 * glAccum (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +000012 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +000013void WINAPI wine_glAccum( GLenum op, GLfloat value ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +000014 TRACE("(%d, %f)\n", op, value );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +000015 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +000016 glAccum( op, value );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +000017 LEAVE_GL();
18}
19
Patrik Stridvallc654c7e2000-05-18 00:07:53 +000020/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +000021 * glAlphaFunc (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +000022 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +000023void WINAPI wine_glAlphaFunc( GLenum func, GLclampf ref ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +000024 TRACE("(%d, %f)\n", func, ref );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +000025 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +000026 glAlphaFunc( func, ref );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +000027 LEAVE_GL();
28}
29
Patrik Stridvallc654c7e2000-05-18 00:07:53 +000030/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +000031 * glAreTexturesResident (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +000032 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +000033GLboolean WINAPI wine_glAreTexturesResident( GLsizei n, GLuint* textures, GLboolean* residences ) {
34 GLboolean ret_value;
Lionel Ulmer15a4a772001-03-04 01:05:20 +000035 TRACE("(%d, %p, %p)\n", n, textures, residences );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +000036 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +000037 ret_value = glAreTexturesResident( n, textures, residences );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +000038 LEAVE_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +000039 return ret_value;
Lionel Ulmerbedf40b2000-05-12 20:18:14 +000040}
41
Patrik Stridvallc654c7e2000-05-18 00:07:53 +000042/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +000043 * glArrayElement (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +000044 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +000045void WINAPI wine_glArrayElement( GLint i ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +000046 TRACE("(%d)\n", i );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +000047 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +000048 glArrayElement( i );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +000049 LEAVE_GL();
50}
51
Patrik Stridvallc654c7e2000-05-18 00:07:53 +000052/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +000053 * glBegin (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +000054 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +000055void WINAPI wine_glBegin( GLenum mode ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +000056 TRACE("(%d)\n", mode );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +000057 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +000058 glBegin( mode );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +000059 LEAVE_GL();
60}
61
Patrik Stridvallc654c7e2000-05-18 00:07:53 +000062/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +000063 * glBindTexture (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +000064 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +000065void WINAPI wine_glBindTexture( GLenum target, GLuint texture ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +000066 TRACE("(%d, %d)\n", target, texture );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +000067 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +000068 glBindTexture( target, texture );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +000069 LEAVE_GL();
70}
71
Patrik Stridvallc654c7e2000-05-18 00:07:53 +000072/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +000073 * glBitmap (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +000074 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +000075void WINAPI wine_glBitmap( GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, GLubyte* bitmap ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +000076 TRACE("(%d, %d, %f, %f, %f, %f, %p)\n", width, height, xorig, yorig, xmove, ymove, bitmap );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +000077 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +000078 glBitmap( width, height, xorig, yorig, xmove, ymove, bitmap );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +000079 LEAVE_GL();
80}
81
Patrik Stridvallc654c7e2000-05-18 00:07:53 +000082/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +000083 * glBlendColor (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +000084 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +000085void WINAPI wine_glBlendColor( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +000086 TRACE("(%f, %f, %f, %f)\n", red, green, blue, alpha );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +000087 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +000088 glBlendColor( red, green, blue, alpha );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +000089 LEAVE_GL();
90}
91
Patrik Stridvallc654c7e2000-05-18 00:07:53 +000092/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +000093 * glBlendEquation (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +000094 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +000095void WINAPI wine_glBlendEquation( GLenum mode ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +000096 TRACE("(%d)\n", mode );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +000097 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +000098 glBlendEquation( mode );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +000099 LEAVE_GL();
100}
101
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000102/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000103 * glBlendFunc (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000104 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000105void WINAPI wine_glBlendFunc( GLenum sfactor, GLenum dfactor ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000106 TRACE("(%d, %d)\n", sfactor, dfactor );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000107 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000108 glBlendFunc( sfactor, dfactor );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000109 LEAVE_GL();
110}
111
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000112/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000113 * glCallList (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000114 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000115void WINAPI wine_glCallList( GLuint list ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000116 TRACE("(%d)\n", list );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000117 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000118 glCallList( list );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000119 LEAVE_GL();
120}
121
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000122/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000123 * glCallLists (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000124 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000125void WINAPI wine_glCallLists( GLsizei n, GLenum type, GLvoid* lists ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000126 TRACE("(%d, %d, %p)\n", n, type, lists );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000127 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000128 glCallLists( n, type, lists );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000129 LEAVE_GL();
130}
131
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000132/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000133 * glClear (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000134 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000135void WINAPI wine_glClear( GLbitfield mask ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000136 TRACE("(%d)\n", mask );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000137 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000138 glClear( mask );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000139 LEAVE_GL();
140}
141
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000142/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000143 * glClearAccum (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000144 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000145void WINAPI wine_glClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000146 TRACE("(%f, %f, %f, %f)\n", red, green, blue, alpha );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000147 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000148 glClearAccum( red, green, blue, alpha );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000149 LEAVE_GL();
150}
151
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000152/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000153 * glClearColor (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000154 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000155void WINAPI wine_glClearColor( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000156 TRACE("(%f, %f, %f, %f)\n", red, green, blue, alpha );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000157 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000158 glClearColor( red, green, blue, alpha );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000159 LEAVE_GL();
160}
161
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000162/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000163 * glClearDepth (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000164 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000165void WINAPI wine_glClearDepth( GLclampd depth ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000166 TRACE("(%f)\n", depth );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000167 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000168 glClearDepth( depth );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000169 LEAVE_GL();
170}
171
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000172/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000173 * glClearIndex (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000174 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000175void WINAPI wine_glClearIndex( GLfloat c ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000176 TRACE("(%f)\n", c );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000177 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000178 glClearIndex( c );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000179 LEAVE_GL();
180}
181
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000182/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000183 * glClearStencil (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000184 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000185void WINAPI wine_glClearStencil( GLint s ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000186 TRACE("(%d)\n", s );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000187 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000188 glClearStencil( s );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000189 LEAVE_GL();
190}
191
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000192/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000193 * glClipPlane (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000194 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000195void WINAPI wine_glClipPlane( GLenum plane, GLdouble* equation ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000196 TRACE("(%d, %p)\n", plane, equation );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000197 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000198 glClipPlane( plane, equation );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000199 LEAVE_GL();
200}
201
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000202/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000203 * glColor3b (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000204 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000205void WINAPI wine_glColor3b( GLbyte red, GLbyte green, GLbyte blue ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000206 TRACE("(%d, %d, %d)\n", red, green, blue );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000207 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000208 glColor3b( red, green, blue );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000209 LEAVE_GL();
210}
211
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000212/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000213 * glColor3bv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000214 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000215void WINAPI wine_glColor3bv( GLbyte* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000216 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000217 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000218 glColor3bv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000219 LEAVE_GL();
220}
221
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000222/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000223 * glColor3d (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000224 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000225void WINAPI wine_glColor3d( GLdouble red, GLdouble green, GLdouble blue ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000226 TRACE("(%f, %f, %f)\n", red, green, blue );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000227 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000228 glColor3d( red, green, blue );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000229 LEAVE_GL();
230}
231
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000232/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000233 * glColor3dv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000234 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000235void WINAPI wine_glColor3dv( GLdouble* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000236 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000237 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000238 glColor3dv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000239 LEAVE_GL();
240}
241
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000242/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000243 * glColor3f (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000244 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000245void WINAPI wine_glColor3f( GLfloat red, GLfloat green, GLfloat blue ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000246 TRACE("(%f, %f, %f)\n", red, green, blue );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000247 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000248 glColor3f( red, green, blue );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000249 LEAVE_GL();
250}
251
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000252/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000253 * glColor3fv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000254 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000255void WINAPI wine_glColor3fv( GLfloat* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000256 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000257 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000258 glColor3fv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000259 LEAVE_GL();
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000260}
261
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000262/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000263 * glColor3i (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000264 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000265void WINAPI wine_glColor3i( GLint red, GLint green, GLint blue ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000266 TRACE("(%d, %d, %d)\n", red, green, blue );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000267 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000268 glColor3i( red, green, blue );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000269 LEAVE_GL();
270}
271
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000272/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000273 * glColor3iv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000274 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000275void WINAPI wine_glColor3iv( GLint* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000276 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000277 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000278 glColor3iv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000279 LEAVE_GL();
280}
281
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000282/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000283 * glColor3s (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000284 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000285void WINAPI wine_glColor3s( GLshort red, GLshort green, GLshort blue ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000286 TRACE("(%d, %d, %d)\n", red, green, blue );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000287 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000288 glColor3s( red, green, blue );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000289 LEAVE_GL();
290}
291
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000292/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000293 * glColor3sv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000294 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000295void WINAPI wine_glColor3sv( GLshort* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000296 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000297 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000298 glColor3sv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000299 LEAVE_GL();
300}
301
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000302/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000303 * glColor3ub (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000304 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000305void WINAPI wine_glColor3ub( GLubyte red, GLubyte green, GLubyte blue ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000306 TRACE("(%d, %d, %d)\n", red, green, blue );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000307 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000308 glColor3ub( red, green, blue );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000309 LEAVE_GL();
310}
311
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000312/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000313 * glColor3ubv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000314 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000315void WINAPI wine_glColor3ubv( GLubyte* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000316 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000317 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000318 glColor3ubv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000319 LEAVE_GL();
320}
321
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000322/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000323 * glColor3ui (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000324 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000325void WINAPI wine_glColor3ui( GLuint red, GLuint green, GLuint blue ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000326 TRACE("(%d, %d, %d)\n", red, green, blue );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000327 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000328 glColor3ui( red, green, blue );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000329 LEAVE_GL();
330}
331
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000332/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000333 * glColor3uiv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000334 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000335void WINAPI wine_glColor3uiv( GLuint* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000336 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000337 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000338 glColor3uiv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000339 LEAVE_GL();
340}
341
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000342/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000343 * glColor3us (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000344 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000345void WINAPI wine_glColor3us( GLushort red, GLushort green, GLushort blue ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000346 TRACE("(%d, %d, %d)\n", red, green, blue );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000347 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000348 glColor3us( red, green, blue );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000349 LEAVE_GL();
350}
351
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000352/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000353 * glColor3usv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000354 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000355void WINAPI wine_glColor3usv( GLushort* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000356 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000357 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000358 glColor3usv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000359 LEAVE_GL();
360}
361
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000362/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000363 * glColor4b (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000364 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000365void WINAPI wine_glColor4b( GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000366 TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000367 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000368 glColor4b( red, green, blue, alpha );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000369 LEAVE_GL();
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000370}
371
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000372/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000373 * glColor4bv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000374 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000375void WINAPI wine_glColor4bv( GLbyte* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000376 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000377 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000378 glColor4bv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000379 LEAVE_GL();
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000380}
381
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000382/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000383 * glColor4d (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000384 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000385void WINAPI wine_glColor4d( GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000386 TRACE("(%f, %f, %f, %f)\n", red, green, blue, alpha );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000387 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000388 glColor4d( red, green, blue, alpha );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000389 LEAVE_GL();
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000390}
391
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000392/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000393 * glColor4dv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000394 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000395void WINAPI wine_glColor4dv( GLdouble* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000396 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000397 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000398 glColor4dv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000399 LEAVE_GL();
400}
401
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000402/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000403 * glColor4f (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000404 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000405void WINAPI wine_glColor4f( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000406 TRACE("(%f, %f, %f, %f)\n", red, green, blue, alpha );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000407 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000408 glColor4f( red, green, blue, alpha );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000409 LEAVE_GL();
410}
411
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000412/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000413 * glColor4fv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000414 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000415void WINAPI wine_glColor4fv( GLfloat* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000416 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000417 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000418 glColor4fv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000419 LEAVE_GL();
420}
421
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000422/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000423 * glColor4i (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000424 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000425void WINAPI wine_glColor4i( GLint red, GLint green, GLint blue, GLint alpha ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000426 TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000427 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000428 glColor4i( red, green, blue, alpha );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000429 LEAVE_GL();
430}
431
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000432/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000433 * glColor4iv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000434 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000435void WINAPI wine_glColor4iv( GLint* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000436 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000437 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000438 glColor4iv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000439 LEAVE_GL();
440}
441
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000442/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000443 * glColor4s (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000444 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000445void WINAPI wine_glColor4s( GLshort red, GLshort green, GLshort blue, GLshort alpha ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000446 TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000447 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000448 glColor4s( red, green, blue, alpha );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000449 LEAVE_GL();
450}
451
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000452/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000453 * glColor4sv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000454 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000455void WINAPI wine_glColor4sv( GLshort* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000456 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000457 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000458 glColor4sv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000459 LEAVE_GL();
460}
461
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000462/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000463 * glColor4ub (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000464 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000465void WINAPI wine_glColor4ub( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000466 TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000467 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000468 glColor4ub( red, green, blue, alpha );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000469 LEAVE_GL();
470}
471
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000472/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000473 * glColor4ubv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000474 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000475void WINAPI wine_glColor4ubv( GLubyte* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000476 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000477 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000478 glColor4ubv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000479 LEAVE_GL();
480}
481
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000482/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000483 * glColor4ui (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000484 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000485void WINAPI wine_glColor4ui( GLuint red, GLuint green, GLuint blue, GLuint alpha ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000486 TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000487 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000488 glColor4ui( red, green, blue, alpha );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000489 LEAVE_GL();
490}
491
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000492/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000493 * glColor4uiv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000494 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000495void WINAPI wine_glColor4uiv( GLuint* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000496 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000497 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000498 glColor4uiv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000499 LEAVE_GL();
500}
501
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000502/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000503 * glColor4us (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000504 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000505void WINAPI wine_glColor4us( GLushort red, GLushort green, GLushort blue, GLushort alpha ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000506 TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000507 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000508 glColor4us( red, green, blue, alpha );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000509 LEAVE_GL();
510}
511
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000512/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000513 * glColor4usv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000514 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000515void WINAPI wine_glColor4usv( GLushort* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000516 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000517 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000518 glColor4usv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000519 LEAVE_GL();
520}
521
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000522/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000523 * glColorMask (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000524 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000525void WINAPI wine_glColorMask( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000526 TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000527 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000528 glColorMask( red, green, blue, alpha );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000529 LEAVE_GL();
530}
531
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000532/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000533 * glColorMaterial (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000534 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000535void WINAPI wine_glColorMaterial( GLenum face, GLenum mode ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000536 TRACE("(%d, %d)\n", face, mode );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000537 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000538 glColorMaterial( face, mode );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000539 LEAVE_GL();
540}
541
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000542/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000543 * glColorPointer (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000544 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000545void WINAPI wine_glColorPointer( GLint size, GLenum type, GLsizei stride, GLvoid* pointer ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000546 TRACE("(%d, %d, %d, %p)\n", size, type, stride, pointer );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000547 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000548 glColorPointer( size, type, stride, pointer );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000549 LEAVE_GL();
550}
551
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000552/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000553 * glColorSubTable (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000554 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000555void WINAPI wine_glColorSubTable( GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, GLvoid* data ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000556 TRACE("(%d, %d, %d, %d, %d, %p)\n", target, start, count, format, type, data );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000557 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000558 glColorSubTable( target, start, count, format, type, data );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000559 LEAVE_GL();
560}
561
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000562/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000563 * glColorTable (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000564 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000565void WINAPI wine_glColorTable( GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, GLvoid* table ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000566 TRACE("(%d, %d, %d, %d, %d, %p)\n", target, internalformat, width, format, type, table );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000567 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000568 glColorTable( target, internalformat, width, format, type, table );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000569 LEAVE_GL();
570}
571
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000572/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000573 * glColorTableParameterfv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000574 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000575void WINAPI wine_glColorTableParameterfv( GLenum target, GLenum pname, GLfloat* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000576 TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000577 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000578 glColorTableParameterfv( target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000579 LEAVE_GL();
580}
581
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000582/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000583 * glColorTableParameteriv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000584 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000585void WINAPI wine_glColorTableParameteriv( GLenum target, GLenum pname, GLint* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000586 TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000587 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000588 glColorTableParameteriv( target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000589 LEAVE_GL();
590}
591
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000592/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000593 * glConvolutionFilter1D (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000594 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000595void WINAPI wine_glConvolutionFilter1D( GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, GLvoid* image ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000596 TRACE("(%d, %d, %d, %d, %d, %p)\n", target, internalformat, width, format, type, image );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000597 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000598 glConvolutionFilter1D( target, internalformat, width, format, type, image );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000599 LEAVE_GL();
600}
601
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000602/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000603 * glConvolutionFilter2D (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000604 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000605void WINAPI wine_glConvolutionFilter2D( GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* image ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000606 TRACE("(%d, %d, %d, %d, %d, %d, %p)\n", target, internalformat, width, height, format, type, image );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000607 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000608 glConvolutionFilter2D( target, internalformat, width, height, format, type, image );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000609 LEAVE_GL();
610}
611
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000612/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000613 * glConvolutionParameterf (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000614 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000615void WINAPI wine_glConvolutionParameterf( GLenum target, GLenum pname, GLfloat params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000616 TRACE("(%d, %d, %f)\n", target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000617 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000618 glConvolutionParameterf( target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000619 LEAVE_GL();
620}
621
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000622/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000623 * glConvolutionParameterfv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000624 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000625void WINAPI wine_glConvolutionParameterfv( GLenum target, GLenum pname, GLfloat* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000626 TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000627 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000628 glConvolutionParameterfv( target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000629 LEAVE_GL();
630}
631
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000632/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000633 * glConvolutionParameteri (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000634 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000635void WINAPI wine_glConvolutionParameteri( GLenum target, GLenum pname, GLint params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000636 TRACE("(%d, %d, %d)\n", target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000637 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000638 glConvolutionParameteri( target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000639 LEAVE_GL();
640}
641
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000642/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000643 * glConvolutionParameteriv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000644 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000645void WINAPI wine_glConvolutionParameteriv( GLenum target, GLenum pname, GLint* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000646 TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000647 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000648 glConvolutionParameteriv( target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000649 LEAVE_GL();
650}
651
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000652/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000653 * glCopyColorSubTable (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000654 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000655void WINAPI wine_glCopyColorSubTable( GLenum target, GLsizei start, GLint x, GLint y, GLsizei width ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000656 TRACE("(%d, %d, %d, %d, %d)\n", target, start, x, y, width );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000657 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000658 glCopyColorSubTable( target, start, x, y, width );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000659 LEAVE_GL();
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000660}
661
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000662/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000663 * glCopyColorTable (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000664 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000665void WINAPI wine_glCopyColorTable( GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000666 TRACE("(%d, %d, %d, %d, %d)\n", target, internalformat, x, y, width );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000667 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000668 glCopyColorTable( target, internalformat, x, y, width );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000669 LEAVE_GL();
670}
671
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000672/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000673 * glCopyConvolutionFilter1D (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000674 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000675void WINAPI wine_glCopyConvolutionFilter1D( GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000676 TRACE("(%d, %d, %d, %d, %d)\n", target, internalformat, x, y, width );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000677 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000678 glCopyConvolutionFilter1D( target, internalformat, x, y, width );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000679 LEAVE_GL();
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000680}
681
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000682/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000683 * glCopyConvolutionFilter2D (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000684 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000685void WINAPI wine_glCopyConvolutionFilter2D( GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000686 TRACE("(%d, %d, %d, %d, %d, %d)\n", target, internalformat, x, y, width, height );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000687 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000688 glCopyConvolutionFilter2D( target, internalformat, x, y, width, height );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000689 LEAVE_GL();
690}
691
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000692/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000693 * glCopyPixels (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000694 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000695void WINAPI wine_glCopyPixels( GLint x, GLint y, GLsizei width, GLsizei height, GLenum type ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000696 TRACE("(%d, %d, %d, %d, %d)\n", x, y, width, height, type );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000697 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000698 glCopyPixels( x, y, width, height, type );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000699 LEAVE_GL();
700}
701
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000702/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000703 * glCopyTexImage1D (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000704 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000705void WINAPI wine_glCopyTexImage1D( GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000706 TRACE("(%d, %d, %d, %d, %d, %d, %d)\n", target, level, internalformat, x, y, width, border );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000707 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000708 glCopyTexImage1D( target, level, internalformat, x, y, width, border );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000709 LEAVE_GL();
710}
711
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000712/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000713 * glCopyTexImage2D (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000714 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000715void WINAPI wine_glCopyTexImage2D( GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000716 TRACE("(%d, %d, %d, %d, %d, %d, %d, %d)\n", target, level, internalformat, x, y, width, height, border );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000717 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000718 glCopyTexImage2D( target, level, internalformat, x, y, width, height, border );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000719 LEAVE_GL();
720}
721
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000722/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000723 * glCopyTexSubImage1D (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000724 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000725void WINAPI wine_glCopyTexSubImage1D( GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000726 TRACE("(%d, %d, %d, %d, %d, %d)\n", target, level, xoffset, x, y, width );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000727 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000728 glCopyTexSubImage1D( target, level, xoffset, x, y, width );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000729 LEAVE_GL();
730}
731
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000732/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000733 * glCopyTexSubImage2D (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000734 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000735void WINAPI wine_glCopyTexSubImage2D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000736 TRACE("(%d, %d, %d, %d, %d, %d, %d, %d)\n", target, level, xoffset, yoffset, x, y, width, height );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000737 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000738 glCopyTexSubImage2D( target, level, xoffset, yoffset, x, y, width, height );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000739 LEAVE_GL();
740}
741
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000742/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000743 * glCopyTexSubImage3D (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000744 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000745void WINAPI wine_glCopyTexSubImage3D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000746 TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d)\n", target, level, xoffset, yoffset, zoffset, x, y, width, height );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000747 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000748 glCopyTexSubImage3D( target, level, xoffset, yoffset, zoffset, x, y, width, height );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000749 LEAVE_GL();
750}
751
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000752/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000753 * glCullFace (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000754 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000755void WINAPI wine_glCullFace( GLenum mode ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000756 TRACE("(%d)\n", mode );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000757 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000758 glCullFace( mode );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000759 LEAVE_GL();
760}
761
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000762/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000763 * glDeleteLists (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000764 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000765void WINAPI wine_glDeleteLists( GLuint list, GLsizei range ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000766 TRACE("(%d, %d)\n", list, range );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000767 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000768 glDeleteLists( list, range );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000769 LEAVE_GL();
770}
771
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000772/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000773 * glDeleteTextures (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000774 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000775void WINAPI wine_glDeleteTextures( GLsizei n, GLuint* textures ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000776 TRACE("(%d, %p)\n", n, textures );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000777 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000778 glDeleteTextures( n, textures );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000779 LEAVE_GL();
780}
781
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000782/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000783 * glDepthFunc (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000784 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000785void WINAPI wine_glDepthFunc( GLenum func ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000786 TRACE("(%d)\n", func );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000787 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000788 glDepthFunc( func );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000789 LEAVE_GL();
790}
791
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000792/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000793 * glDepthMask (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000794 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000795void WINAPI wine_glDepthMask( GLboolean flag ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000796 TRACE("(%d)\n", flag );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000797 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000798 glDepthMask( flag );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000799 LEAVE_GL();
800}
801
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000802/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000803 * glDepthRange (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000804 */
Lionel Ulmer0e999e32004-03-02 20:54:17 +0000805void WINAPI wine_glDepthRange( GLclampd nearParam, GLclampd farParam ) {
806 TRACE("(%f, %f)\n", nearParam, farParam );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000807 ENTER_GL();
Lionel Ulmer0e999e32004-03-02 20:54:17 +0000808 glDepthRange( nearParam, farParam );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000809 LEAVE_GL();
810}
811
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000812/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000813 * glDisable (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000814 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000815void WINAPI wine_glDisable( GLenum cap ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000816 TRACE("(%d)\n", cap );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000817 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000818 glDisable( cap );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000819 LEAVE_GL();
820}
821
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000822/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000823 * glDisableClientState (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000824 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000825void WINAPI wine_glDisableClientState( GLenum array ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000826 TRACE("(%d)\n", array );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000827 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000828 glDisableClientState( array );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000829 LEAVE_GL();
830}
831
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000832/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000833 * glDrawArrays (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000834 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000835void WINAPI wine_glDrawArrays( GLenum mode, GLint first, GLsizei count ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000836 TRACE("(%d, %d, %d)\n", mode, first, count );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000837 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000838 glDrawArrays( mode, first, count );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000839 LEAVE_GL();
840}
841
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000842/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000843 * glDrawBuffer (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000844 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000845void WINAPI wine_glDrawBuffer( GLenum mode ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000846 TRACE("(%d)\n", mode );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000847 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000848 glDrawBuffer( mode );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000849 LEAVE_GL();
850}
851
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000852/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000853 * glDrawElements (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000854 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000855void WINAPI wine_glDrawElements( GLenum mode, GLsizei count, GLenum type, GLvoid* indices ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000856 TRACE("(%d, %d, %d, %p)\n", mode, count, type, indices );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000857 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000858 glDrawElements( mode, count, type, indices );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000859 LEAVE_GL();
860}
861
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000862/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000863 * glDrawPixels (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000864 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000865void WINAPI wine_glDrawPixels( GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000866 TRACE("(%d, %d, %d, %d, %p)\n", width, height, format, type, pixels );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000867 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000868 glDrawPixels( width, height, format, type, pixels );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000869 LEAVE_GL();
870}
871
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000872/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000873 * glDrawRangeElements (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000874 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000875void WINAPI wine_glDrawRangeElements( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, GLvoid* indices ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000876 TRACE("(%d, %d, %d, %d, %d, %p)\n", mode, start, end, count, type, indices );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000877 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000878 glDrawRangeElements( mode, start, end, count, type, indices );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000879 LEAVE_GL();
880}
881
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000882/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000883 * glEdgeFlag (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000884 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000885void WINAPI wine_glEdgeFlag( GLboolean flag ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000886 TRACE("(%d)\n", flag );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000887 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000888 glEdgeFlag( flag );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000889 LEAVE_GL();
890}
891
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000892/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000893 * glEdgeFlagPointer (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000894 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000895void WINAPI wine_glEdgeFlagPointer( GLsizei stride, GLvoid* pointer ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000896 TRACE("(%d, %p)\n", stride, pointer );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000897 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000898 glEdgeFlagPointer( stride, pointer );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000899 LEAVE_GL();
900}
901
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000902/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000903 * glEdgeFlagv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000904 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000905void WINAPI wine_glEdgeFlagv( GLboolean* flag ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000906 TRACE("(%p)\n", flag );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000907 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000908 glEdgeFlagv( flag );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000909 LEAVE_GL();
910}
911
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000912/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000913 * glEnable (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000914 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000915void WINAPI wine_glEnable( GLenum cap ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000916 TRACE("(%d)\n", cap );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000917 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000918 glEnable( cap );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000919 LEAVE_GL();
920}
921
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000922/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000923 * glEnableClientState (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000924 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000925void WINAPI wine_glEnableClientState( GLenum array ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000926 TRACE("(%d)\n", array );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000927 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000928 glEnableClientState( array );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000929 LEAVE_GL();
930}
931
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000932/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000933 * glEnd (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000934 */
Eric Pouech25106582005-06-27 09:46:35 +0000935void WINAPI wine_glEnd( void ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000936 TRACE("()\n");
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000937 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000938 glEnd( );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000939 LEAVE_GL();
940}
941
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000942/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000943 * glEndList (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000944 */
Eric Pouech25106582005-06-27 09:46:35 +0000945void WINAPI wine_glEndList( void ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000946 TRACE("()\n");
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000947 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000948 glEndList( );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000949 LEAVE_GL();
950}
951
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000952/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000953 * glEvalCoord1d (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000954 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000955void WINAPI wine_glEvalCoord1d( GLdouble u ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000956 TRACE("(%f)\n", u );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000957 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000958 glEvalCoord1d( u );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000959 LEAVE_GL();
960}
961
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000962/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000963 * glEvalCoord1dv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000964 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000965void WINAPI wine_glEvalCoord1dv( GLdouble* u ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000966 TRACE("(%p)\n", u );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000967 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000968 glEvalCoord1dv( u );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000969 LEAVE_GL();
970}
971
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000972/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000973 * glEvalCoord1f (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000974 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000975void WINAPI wine_glEvalCoord1f( GLfloat u ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000976 TRACE("(%f)\n", u );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000977 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000978 glEvalCoord1f( u );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000979 LEAVE_GL();
980}
981
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000982/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000983 * glEvalCoord1fv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000984 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000985void WINAPI wine_glEvalCoord1fv( GLfloat* u ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000986 TRACE("(%p)\n", u );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000987 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000988 glEvalCoord1fv( u );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000989 LEAVE_GL();
990}
991
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000992/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +0000993 * glEvalCoord2d (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +0000994 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000995void WINAPI wine_glEvalCoord2d( GLdouble u, GLdouble v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +0000996 TRACE("(%f, %f)\n", u, v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000997 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +0000998 glEvalCoord2d( u, v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +0000999 LEAVE_GL();
1000}
1001
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001002/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001003 * glEvalCoord2dv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001004 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001005void WINAPI wine_glEvalCoord2dv( GLdouble* u ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001006 TRACE("(%p)\n", u );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001007 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001008 glEvalCoord2dv( u );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001009 LEAVE_GL();
1010}
1011
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001012/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001013 * glEvalCoord2f (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001014 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001015void WINAPI wine_glEvalCoord2f( GLfloat u, GLfloat v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001016 TRACE("(%f, %f)\n", u, v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001017 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001018 glEvalCoord2f( u, v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001019 LEAVE_GL();
1020}
1021
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001022/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001023 * glEvalCoord2fv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001024 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001025void WINAPI wine_glEvalCoord2fv( GLfloat* u ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001026 TRACE("(%p)\n", u );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001027 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001028 glEvalCoord2fv( u );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001029 LEAVE_GL();
1030}
1031
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001032/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001033 * glEvalMesh1 (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001034 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001035void WINAPI wine_glEvalMesh1( GLenum mode, GLint i1, GLint i2 ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001036 TRACE("(%d, %d, %d)\n", mode, i1, i2 );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001037 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001038 glEvalMesh1( mode, i1, i2 );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001039 LEAVE_GL();
1040}
1041
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001042/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001043 * glEvalMesh2 (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001044 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001045void WINAPI wine_glEvalMesh2( GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2 ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001046 TRACE("(%d, %d, %d, %d, %d)\n", mode, i1, i2, j1, j2 );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001047 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001048 glEvalMesh2( mode, i1, i2, j1, j2 );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001049 LEAVE_GL();
1050}
1051
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001052/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001053 * glEvalPoint1 (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001054 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001055void WINAPI wine_glEvalPoint1( GLint i ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001056 TRACE("(%d)\n", i );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001057 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001058 glEvalPoint1( i );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001059 LEAVE_GL();
1060}
1061
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001062/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001063 * glEvalPoint2 (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001064 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001065void WINAPI wine_glEvalPoint2( GLint i, GLint j ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001066 TRACE("(%d, %d)\n", i, j );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001067 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001068 glEvalPoint2( i, j );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001069 LEAVE_GL();
1070}
1071
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001072/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001073 * glFeedbackBuffer (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001074 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001075void WINAPI wine_glFeedbackBuffer( GLsizei size, GLenum type, GLfloat* buffer ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001076 TRACE("(%d, %d, %p)\n", size, type, buffer );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001077 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001078 glFeedbackBuffer( size, type, buffer );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001079 LEAVE_GL();
1080}
1081
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001082/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001083 * glFinish (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001084 */
Eric Pouech25106582005-06-27 09:46:35 +00001085void WINAPI wine_glFinish( void ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001086 TRACE("()\n");
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001087 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001088 glFinish( );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001089 LEAVE_GL();
1090}
1091
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001092/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001093 * glFlush (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001094 */
Eric Pouech25106582005-06-27 09:46:35 +00001095void WINAPI wine_glFlush( void ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001096 TRACE("()\n");
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001097 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001098 glFlush( );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001099 LEAVE_GL();
1100}
1101
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001102/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001103 * glFogf (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001104 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001105void WINAPI wine_glFogf( GLenum pname, GLfloat param ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001106 TRACE("(%d, %f)\n", pname, param );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001107 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001108 glFogf( pname, param );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001109 LEAVE_GL();
1110}
1111
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001112/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001113 * glFogfv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001114 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001115void WINAPI wine_glFogfv( GLenum pname, GLfloat* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001116 TRACE("(%d, %p)\n", pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001117 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001118 glFogfv( pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001119 LEAVE_GL();
1120}
1121
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001122/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001123 * glFogi (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001124 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001125void WINAPI wine_glFogi( GLenum pname, GLint param ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001126 TRACE("(%d, %d)\n", pname, param );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001127 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001128 glFogi( pname, param );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001129 LEAVE_GL();
1130}
1131
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001132/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001133 * glFogiv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001134 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001135void WINAPI wine_glFogiv( GLenum pname, GLint* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001136 TRACE("(%d, %p)\n", pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001137 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001138 glFogiv( pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001139 LEAVE_GL();
1140}
1141
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001142/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001143 * glFrontFace (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001144 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001145void WINAPI wine_glFrontFace( GLenum mode ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001146 TRACE("(%d)\n", mode );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001147 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001148 glFrontFace( mode );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001149 LEAVE_GL();
1150}
1151
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001152/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001153 * glFrustum (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001154 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001155void WINAPI wine_glFrustum( GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001156 TRACE("(%f, %f, %f, %f, %f, %f)\n", left, right, bottom, top, zNear, zFar );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001157 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001158 glFrustum( left, right, bottom, top, zNear, zFar );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001159 LEAVE_GL();
1160}
1161
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001162/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001163 * glGenLists (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001164 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001165GLuint WINAPI wine_glGenLists( GLsizei range ) {
1166 GLuint ret_value;
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001167 TRACE("(%d)\n", range );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001168 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001169 ret_value = glGenLists( range );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001170 LEAVE_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001171 return ret_value;
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001172}
1173
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001174/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001175 * glGenTextures (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001176 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001177void WINAPI wine_glGenTextures( GLsizei n, GLuint* textures ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001178 TRACE("(%d, %p)\n", n, textures );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001179 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001180 glGenTextures( n, textures );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001181 LEAVE_GL();
1182}
1183
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001184/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001185 * glGetBooleanv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001186 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001187void WINAPI wine_glGetBooleanv( GLenum pname, GLboolean* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001188 TRACE("(%d, %p)\n", pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001189 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001190 glGetBooleanv( pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001191 LEAVE_GL();
1192}
1193
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001194/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001195 * glGetClipPlane (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001196 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001197void WINAPI wine_glGetClipPlane( GLenum plane, GLdouble* equation ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001198 TRACE("(%d, %p)\n", plane, equation );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001199 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001200 glGetClipPlane( plane, equation );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001201 LEAVE_GL();
1202}
1203
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001204/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001205 * glGetColorTable (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001206 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001207void WINAPI wine_glGetColorTable( GLenum target, GLenum format, GLenum type, GLvoid* table ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001208 TRACE("(%d, %d, %d, %p)\n", target, format, type, table );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001209 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001210 glGetColorTable( target, format, type, table );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001211 LEAVE_GL();
1212}
1213
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001214/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001215 * glGetColorTableParameterfv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001216 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001217void WINAPI wine_glGetColorTableParameterfv( GLenum target, GLenum pname, GLfloat* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001218 TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001219 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001220 glGetColorTableParameterfv( target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001221 LEAVE_GL();
1222}
1223
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001224/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001225 * glGetColorTableParameteriv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001226 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001227void WINAPI wine_glGetColorTableParameteriv( GLenum target, GLenum pname, GLint* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001228 TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001229 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001230 glGetColorTableParameteriv( target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001231 LEAVE_GL();
1232}
1233
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001234/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001235 * glGetConvolutionFilter (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001236 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001237void WINAPI wine_glGetConvolutionFilter( GLenum target, GLenum format, GLenum type, GLvoid* image ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001238 TRACE("(%d, %d, %d, %p)\n", target, format, type, image );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001239 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001240 glGetConvolutionFilter( target, format, type, image );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001241 LEAVE_GL();
1242}
1243
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001244/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001245 * glGetConvolutionParameterfv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001246 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001247void WINAPI wine_glGetConvolutionParameterfv( GLenum target, GLenum pname, GLfloat* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001248 TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001249 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001250 glGetConvolutionParameterfv( target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001251 LEAVE_GL();
1252}
1253
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001254/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001255 * glGetConvolutionParameteriv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001256 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001257void WINAPI wine_glGetConvolutionParameteriv( GLenum target, GLenum pname, GLint* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001258 TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001259 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001260 glGetConvolutionParameteriv( target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001261 LEAVE_GL();
1262}
1263
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001264/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001265 * glGetDoublev (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001266 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001267void WINAPI wine_glGetDoublev( GLenum pname, GLdouble* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001268 TRACE("(%d, %p)\n", pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001269 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001270 glGetDoublev( pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001271 LEAVE_GL();
1272}
1273
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001274/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001275 * glGetError (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001276 */
Eric Pouech25106582005-06-27 09:46:35 +00001277GLenum WINAPI wine_glGetError( void ) {
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001278 GLenum ret_value;
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001279 TRACE("()\n");
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001280 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001281 ret_value = glGetError( );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001282 LEAVE_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001283 return ret_value;
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001284}
1285
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001286/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001287 * glGetFloatv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001288 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001289void WINAPI wine_glGetFloatv( GLenum pname, GLfloat* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001290 TRACE("(%d, %p)\n", pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001291 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001292 glGetFloatv( pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001293 LEAVE_GL();
1294}
1295
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001296/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001297 * glGetHistogram (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001298 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001299void WINAPI wine_glGetHistogram( GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid* values ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001300 TRACE("(%d, %d, %d, %d, %p)\n", target, reset, format, type, values );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001301 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001302 glGetHistogram( target, reset, format, type, values );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001303 LEAVE_GL();
1304}
1305
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001306/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001307 * glGetHistogramParameterfv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001308 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001309void WINAPI wine_glGetHistogramParameterfv( GLenum target, GLenum pname, GLfloat* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001310 TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001311 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001312 glGetHistogramParameterfv( target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001313 LEAVE_GL();
1314}
1315
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001316/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001317 * glGetHistogramParameteriv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001318 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001319void WINAPI wine_glGetHistogramParameteriv( GLenum target, GLenum pname, GLint* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001320 TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001321 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001322 glGetHistogramParameteriv( target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001323 LEAVE_GL();
1324}
1325
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001326/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001327 * glGetIntegerv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001328 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001329void WINAPI wine_glGetIntegerv( GLenum pname, GLint* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001330 TRACE("(%d, %p)\n", pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001331 ENTER_GL();
Raphael Junqueira7ed830b2005-11-11 10:52:14 +00001332 internal_glGetIntegerv( pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001333 LEAVE_GL();
1334}
1335
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001336/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001337 * glGetLightfv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001338 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001339void WINAPI wine_glGetLightfv( GLenum light, GLenum pname, GLfloat* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001340 TRACE("(%d, %d, %p)\n", light, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001341 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001342 glGetLightfv( light, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001343 LEAVE_GL();
1344}
1345
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001346/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001347 * glGetLightiv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001348 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001349void WINAPI wine_glGetLightiv( GLenum light, GLenum pname, GLint* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001350 TRACE("(%d, %d, %p)\n", light, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001351 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001352 glGetLightiv( light, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001353 LEAVE_GL();
1354}
1355
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001356/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001357 * glGetMapdv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001358 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001359void WINAPI wine_glGetMapdv( GLenum target, GLenum query, GLdouble* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001360 TRACE("(%d, %d, %p)\n", target, query, v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001361 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001362 glGetMapdv( target, query, v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001363 LEAVE_GL();
1364}
1365
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001366/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001367 * glGetMapfv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001368 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001369void WINAPI wine_glGetMapfv( GLenum target, GLenum query, GLfloat* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001370 TRACE("(%d, %d, %p)\n", target, query, v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001371 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001372 glGetMapfv( target, query, v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001373 LEAVE_GL();
1374}
1375
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001376/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001377 * glGetMapiv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001378 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001379void WINAPI wine_glGetMapiv( GLenum target, GLenum query, GLint* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001380 TRACE("(%d, %d, %p)\n", target, query, v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001381 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001382 glGetMapiv( target, query, v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001383 LEAVE_GL();
1384}
1385
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001386/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001387 * glGetMaterialfv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001388 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001389void WINAPI wine_glGetMaterialfv( GLenum face, GLenum pname, GLfloat* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001390 TRACE("(%d, %d, %p)\n", face, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001391 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001392 glGetMaterialfv( face, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001393 LEAVE_GL();
1394}
1395
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001396/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001397 * glGetMaterialiv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001398 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001399void WINAPI wine_glGetMaterialiv( GLenum face, GLenum pname, GLint* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001400 TRACE("(%d, %d, %p)\n", face, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001401 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001402 glGetMaterialiv( face, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001403 LEAVE_GL();
1404}
1405
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001406/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001407 * glGetMinmax (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001408 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001409void WINAPI wine_glGetMinmax( GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid* values ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001410 TRACE("(%d, %d, %d, %d, %p)\n", target, reset, format, type, values );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001411 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001412 glGetMinmax( target, reset, format, type, values );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001413 LEAVE_GL();
1414}
1415
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001416/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001417 * glGetMinmaxParameterfv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001418 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001419void WINAPI wine_glGetMinmaxParameterfv( GLenum target, GLenum pname, GLfloat* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001420 TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001421 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001422 glGetMinmaxParameterfv( target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001423 LEAVE_GL();
1424}
1425
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001426/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001427 * glGetMinmaxParameteriv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001428 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001429void WINAPI wine_glGetMinmaxParameteriv( GLenum target, GLenum pname, GLint* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001430 TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001431 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001432 glGetMinmaxParameteriv( target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001433 LEAVE_GL();
1434}
1435
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001436/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001437 * glGetPixelMapfv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001438 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001439void WINAPI wine_glGetPixelMapfv( GLenum map, GLfloat* values ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001440 TRACE("(%d, %p)\n", map, values );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001441 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001442 glGetPixelMapfv( map, values );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001443 LEAVE_GL();
1444}
1445
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001446/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001447 * glGetPixelMapuiv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001448 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001449void WINAPI wine_glGetPixelMapuiv( GLenum map, GLuint* values ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001450 TRACE("(%d, %p)\n", map, values );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001451 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001452 glGetPixelMapuiv( map, values );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001453 LEAVE_GL();
1454}
1455
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001456/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001457 * glGetPixelMapusv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001458 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001459void WINAPI wine_glGetPixelMapusv( GLenum map, GLushort* values ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001460 TRACE("(%d, %p)\n", map, values );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001461 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001462 glGetPixelMapusv( map, values );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001463 LEAVE_GL();
1464}
1465
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001466/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001467 * glGetPointerv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001468 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001469void WINAPI wine_glGetPointerv( GLenum pname, GLvoid** params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001470 TRACE("(%d, %p)\n", pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001471 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001472 glGetPointerv( pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001473 LEAVE_GL();
1474}
1475
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001476/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001477 * glGetPolygonStipple (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001478 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001479void WINAPI wine_glGetPolygonStipple( GLubyte* mask ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001480 TRACE("(%p)\n", mask );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001481 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001482 glGetPolygonStipple( mask );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001483 LEAVE_GL();
1484}
1485
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001486/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001487 * glGetSeparableFilter (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001488 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001489void WINAPI wine_glGetSeparableFilter( GLenum target, GLenum format, GLenum type, GLvoid* row, GLvoid* column, GLvoid* span ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001490 TRACE("(%d, %d, %d, %p, %p, %p)\n", target, format, type, row, column, span );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001491 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001492 glGetSeparableFilter( target, format, type, row, column, span );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001493 LEAVE_GL();
1494}
1495
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001496/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001497 * glGetString (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001498 */
Lionel Ulmer334aacd2003-06-20 21:29:28 +00001499const GLubyte * WINAPI wine_glGetString( GLenum name ) {
1500 const GLubyte * ret_value;
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001501 TRACE("(%d)\n", name );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001502 ENTER_GL();
Raphael Junqueira44cfc892005-04-28 18:31:15 +00001503 ret_value = internal_glGetString( name );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001504 LEAVE_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001505 return ret_value;
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001506}
1507
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001508/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001509 * glGetTexEnvfv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001510 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001511void WINAPI wine_glGetTexEnvfv( GLenum target, GLenum pname, GLfloat* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001512 TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001513 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001514 glGetTexEnvfv( target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001515 LEAVE_GL();
1516}
1517
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001518/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001519 * glGetTexEnviv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001520 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001521void WINAPI wine_glGetTexEnviv( GLenum target, GLenum pname, GLint* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001522 TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001523 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001524 glGetTexEnviv( target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001525 LEAVE_GL();
1526}
1527
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001528/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001529 * glGetTexGendv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001530 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001531void WINAPI wine_glGetTexGendv( GLenum coord, GLenum pname, GLdouble* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001532 TRACE("(%d, %d, %p)\n", coord, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001533 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001534 glGetTexGendv( coord, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001535 LEAVE_GL();
1536}
1537
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001538/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001539 * glGetTexGenfv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001540 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001541void WINAPI wine_glGetTexGenfv( GLenum coord, GLenum pname, GLfloat* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001542 TRACE("(%d, %d, %p)\n", coord, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001543 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001544 glGetTexGenfv( coord, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001545 LEAVE_GL();
1546}
1547
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001548/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001549 * glGetTexGeniv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001550 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001551void WINAPI wine_glGetTexGeniv( GLenum coord, GLenum pname, GLint* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001552 TRACE("(%d, %d, %p)\n", coord, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001553 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001554 glGetTexGeniv( coord, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001555 LEAVE_GL();
1556}
1557
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001558/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001559 * glGetTexImage (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001560 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001561void WINAPI wine_glGetTexImage( GLenum target, GLint level, GLenum format, GLenum type, GLvoid* pixels ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001562 TRACE("(%d, %d, %d, %d, %p)\n", target, level, format, type, pixels );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001563 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001564 glGetTexImage( target, level, format, type, pixels );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001565 LEAVE_GL();
1566}
1567
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001568/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001569 * glGetTexLevelParameterfv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001570 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001571void WINAPI wine_glGetTexLevelParameterfv( GLenum target, GLint level, GLenum pname, GLfloat* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001572 TRACE("(%d, %d, %d, %p)\n", target, level, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001573 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001574 glGetTexLevelParameterfv( target, level, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001575 LEAVE_GL();
1576}
1577
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001578/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001579 * glGetTexLevelParameteriv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001580 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001581void WINAPI wine_glGetTexLevelParameteriv( GLenum target, GLint level, GLenum pname, GLint* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001582 TRACE("(%d, %d, %d, %p)\n", target, level, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001583 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001584 glGetTexLevelParameteriv( target, level, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001585 LEAVE_GL();
1586}
1587
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001588/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001589 * glGetTexParameterfv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001590 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001591void WINAPI wine_glGetTexParameterfv( GLenum target, GLenum pname, GLfloat* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001592 TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001593 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001594 glGetTexParameterfv( target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001595 LEAVE_GL();
1596}
1597
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001598/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001599 * glGetTexParameteriv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001600 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001601void WINAPI wine_glGetTexParameteriv( GLenum target, GLenum pname, GLint* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001602 TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001603 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001604 glGetTexParameteriv( target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001605 LEAVE_GL();
1606}
1607
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001608/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001609 * glHint (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001610 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001611void WINAPI wine_glHint( GLenum target, GLenum mode ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001612 TRACE("(%d, %d)\n", target, mode );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001613 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001614 glHint( target, mode );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001615 LEAVE_GL();
1616}
1617
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001618/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001619 * glHistogram (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001620 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001621void WINAPI wine_glHistogram( GLenum target, GLsizei width, GLenum internalformat, GLboolean sink ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001622 TRACE("(%d, %d, %d, %d)\n", target, width, internalformat, sink );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001623 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001624 glHistogram( target, width, internalformat, sink );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001625 LEAVE_GL();
1626}
1627
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001628/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001629 * glIndexMask (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001630 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001631void WINAPI wine_glIndexMask( GLuint mask ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001632 TRACE("(%d)\n", mask );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001633 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001634 glIndexMask( mask );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001635 LEAVE_GL();
1636}
1637
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001638/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001639 * glIndexPointer (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001640 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001641void WINAPI wine_glIndexPointer( GLenum type, GLsizei stride, GLvoid* pointer ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001642 TRACE("(%d, %d, %p)\n", type, stride, pointer );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001643 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001644 glIndexPointer( type, stride, pointer );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001645 LEAVE_GL();
1646}
1647
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001648/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001649 * glIndexd (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001650 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001651void WINAPI wine_glIndexd( GLdouble c ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001652 TRACE("(%f)\n", c );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001653 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001654 glIndexd( c );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001655 LEAVE_GL();
1656}
1657
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001658/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001659 * glIndexdv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001660 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001661void WINAPI wine_glIndexdv( GLdouble* c ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001662 TRACE("(%p)\n", c );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001663 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001664 glIndexdv( c );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001665 LEAVE_GL();
1666}
1667
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001668/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001669 * glIndexf (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001670 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001671void WINAPI wine_glIndexf( GLfloat c ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001672 TRACE("(%f)\n", c );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001673 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001674 glIndexf( c );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001675 LEAVE_GL();
1676}
1677
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001678/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001679 * glIndexfv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001680 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001681void WINAPI wine_glIndexfv( GLfloat* c ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001682 TRACE("(%p)\n", c );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001683 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001684 glIndexfv( c );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001685 LEAVE_GL();
1686}
1687
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001688/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001689 * glIndexi (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001690 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001691void WINAPI wine_glIndexi( GLint c ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001692 TRACE("(%d)\n", c );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001693 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001694 glIndexi( c );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001695 LEAVE_GL();
1696}
1697
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001698/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001699 * glIndexiv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001700 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001701void WINAPI wine_glIndexiv( GLint* c ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001702 TRACE("(%p)\n", c );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001703 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001704 glIndexiv( c );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001705 LEAVE_GL();
1706}
1707
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001708/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001709 * glIndexs (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001710 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001711void WINAPI wine_glIndexs( GLshort c ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001712 TRACE("(%d)\n", c );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001713 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001714 glIndexs( c );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001715 LEAVE_GL();
1716}
1717
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001718/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001719 * glIndexsv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001720 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001721void WINAPI wine_glIndexsv( GLshort* c ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001722 TRACE("(%p)\n", c );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001723 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001724 glIndexsv( c );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001725 LEAVE_GL();
1726}
1727
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001728/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001729 * glIndexub (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001730 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001731void WINAPI wine_glIndexub( GLubyte c ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001732 TRACE("(%d)\n", c );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001733 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001734 glIndexub( c );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001735 LEAVE_GL();
1736}
1737
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001738/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001739 * glIndexubv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001740 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001741void WINAPI wine_glIndexubv( GLubyte* c ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001742 TRACE("(%p)\n", c );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001743 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001744 glIndexubv( c );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001745 LEAVE_GL();
1746}
1747
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001748/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001749 * glInitNames (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001750 */
Eric Pouech25106582005-06-27 09:46:35 +00001751void WINAPI wine_glInitNames( void ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001752 TRACE("()\n");
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001753 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001754 glInitNames( );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001755 LEAVE_GL();
1756}
1757
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001758/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001759 * glInterleavedArrays (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001760 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001761void WINAPI wine_glInterleavedArrays( GLenum format, GLsizei stride, GLvoid* pointer ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001762 TRACE("(%d, %d, %p)\n", format, stride, pointer );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001763 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001764 glInterleavedArrays( format, stride, pointer );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001765 LEAVE_GL();
1766}
1767
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001768/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001769 * glIsEnabled (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001770 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001771GLboolean WINAPI wine_glIsEnabled( GLenum cap ) {
1772 GLboolean ret_value;
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001773 TRACE("(%d)\n", cap );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001774 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001775 ret_value = glIsEnabled( cap );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001776 LEAVE_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001777 return ret_value;
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001778}
1779
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001780/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001781 * glIsList (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001782 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001783GLboolean WINAPI wine_glIsList( GLuint list ) {
1784 GLboolean ret_value;
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001785 TRACE("(%d)\n", list );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001786 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001787 ret_value = glIsList( list );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001788 LEAVE_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001789 return ret_value;
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001790}
1791
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001792/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001793 * glIsTexture (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001794 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001795GLboolean WINAPI wine_glIsTexture( GLuint texture ) {
1796 GLboolean ret_value;
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001797 TRACE("(%d)\n", texture );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001798 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001799 ret_value = glIsTexture( texture );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001800 LEAVE_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001801 return ret_value;
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001802}
1803
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001804/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001805 * glLightModelf (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001806 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001807void WINAPI wine_glLightModelf( GLenum pname, GLfloat param ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001808 TRACE("(%d, %f)\n", pname, param );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001809 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001810 glLightModelf( pname, param );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001811 LEAVE_GL();
1812}
1813
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001814/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001815 * glLightModelfv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001816 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001817void WINAPI wine_glLightModelfv( GLenum pname, GLfloat* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001818 TRACE("(%d, %p)\n", pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001819 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001820 glLightModelfv( pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001821 LEAVE_GL();
1822}
1823
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001824/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001825 * glLightModeli (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001826 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001827void WINAPI wine_glLightModeli( GLenum pname, GLint param ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001828 TRACE("(%d, %d)\n", pname, param );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001829 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001830 glLightModeli( pname, param );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001831 LEAVE_GL();
1832}
1833
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001834/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001835 * glLightModeliv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001836 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001837void WINAPI wine_glLightModeliv( GLenum pname, GLint* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001838 TRACE("(%d, %p)\n", pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001839 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001840 glLightModeliv( pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001841 LEAVE_GL();
1842}
1843
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001844/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001845 * glLightf (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001846 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001847void WINAPI wine_glLightf( GLenum light, GLenum pname, GLfloat param ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001848 TRACE("(%d, %d, %f)\n", light, pname, param );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001849 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001850 glLightf( light, pname, param );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001851 LEAVE_GL();
1852}
1853
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001854/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001855 * glLightfv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001856 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001857void WINAPI wine_glLightfv( GLenum light, GLenum pname, GLfloat* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001858 TRACE("(%d, %d, %p)\n", light, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001859 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001860 glLightfv( light, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001861 LEAVE_GL();
1862}
1863
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001864/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001865 * glLighti (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001866 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001867void WINAPI wine_glLighti( GLenum light, GLenum pname, GLint param ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001868 TRACE("(%d, %d, %d)\n", light, pname, param );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001869 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001870 glLighti( light, pname, param );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001871 LEAVE_GL();
1872}
1873
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001874/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001875 * glLightiv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001876 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001877void WINAPI wine_glLightiv( GLenum light, GLenum pname, GLint* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001878 TRACE("(%d, %d, %p)\n", light, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001879 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001880 glLightiv( light, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001881 LEAVE_GL();
1882}
1883
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001884/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001885 * glLineStipple (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001886 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001887void WINAPI wine_glLineStipple( GLint factor, GLushort pattern ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001888 TRACE("(%d, %d)\n", factor, pattern );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001889 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001890 glLineStipple( factor, pattern );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001891 LEAVE_GL();
1892}
1893
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001894/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001895 * glLineWidth (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001896 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001897void WINAPI wine_glLineWidth( GLfloat width ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001898 TRACE("(%f)\n", width );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001899 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001900 glLineWidth( width );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001901 LEAVE_GL();
1902}
1903
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001904/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001905 * glListBase (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001906 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001907void WINAPI wine_glListBase( GLuint base ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001908 TRACE("(%d)\n", base );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001909 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001910 glListBase( base );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001911 LEAVE_GL();
1912}
1913
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001914/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001915 * glLoadIdentity (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001916 */
Eric Pouech25106582005-06-27 09:46:35 +00001917void WINAPI wine_glLoadIdentity( void ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001918 TRACE("()\n");
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001919 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001920 glLoadIdentity( );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001921 LEAVE_GL();
1922}
1923
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001924/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001925 * glLoadMatrixd (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001926 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001927void WINAPI wine_glLoadMatrixd( GLdouble* m ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001928 TRACE("(%p)\n", m );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001929 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001930 glLoadMatrixd( m );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001931 LEAVE_GL();
1932}
1933
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001934/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001935 * glLoadMatrixf (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001936 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001937void WINAPI wine_glLoadMatrixf( GLfloat* m ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001938 TRACE("(%p)\n", m );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001939 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001940 glLoadMatrixf( m );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001941 LEAVE_GL();
1942}
1943
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001944/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001945 * glLoadName (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001946 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001947void WINAPI wine_glLoadName( GLuint name ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001948 TRACE("(%d)\n", name );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001949 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001950 glLoadName( name );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001951 LEAVE_GL();
1952}
1953
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001954/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001955 * glLogicOp (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001956 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001957void WINAPI wine_glLogicOp( GLenum opcode ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001958 TRACE("(%d)\n", opcode );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001959 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001960 glLogicOp( opcode );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001961 LEAVE_GL();
1962}
1963
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001964/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001965 * glMap1d (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001966 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001967void WINAPI wine_glMap1d( GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, GLdouble* points ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001968 TRACE("(%d, %f, %f, %d, %d, %p)\n", target, u1, u2, stride, order, points );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001969 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001970 glMap1d( target, u1, u2, stride, order, points );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001971 LEAVE_GL();
1972}
1973
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001974/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001975 * glMap1f (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001976 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001977void WINAPI wine_glMap1f( GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, GLfloat* points ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001978 TRACE("(%d, %f, %f, %d, %d, %p)\n", target, u1, u2, stride, order, points );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001979 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001980 glMap1f( target, u1, u2, stride, order, points );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001981 LEAVE_GL();
1982}
1983
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001984/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001985 * glMap2d (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001986 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001987void WINAPI wine_glMap2d( GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble* points ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001988 TRACE("(%d, %f, %f, %d, %d, %f, %f, %d, %d, %p)\n", target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001989 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001990 glMap2d( target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001991 LEAVE_GL();
1992}
1993
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001994/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00001995 * glMap2f (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00001996 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00001997void WINAPI wine_glMap2f( GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat* points ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00001998 TRACE("(%d, %f, %f, %d, %d, %f, %f, %d, %d, %p)\n", target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00001999 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002000 glMap2f( target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002001 LEAVE_GL();
2002}
2003
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002004/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002005 * glMapGrid1d (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002006 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002007void WINAPI wine_glMapGrid1d( GLint un, GLdouble u1, GLdouble u2 ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002008 TRACE("(%d, %f, %f)\n", un, u1, u2 );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002009 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002010 glMapGrid1d( un, u1, u2 );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002011 LEAVE_GL();
2012}
2013
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002014/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002015 * glMapGrid1f (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002016 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002017void WINAPI wine_glMapGrid1f( GLint un, GLfloat u1, GLfloat u2 ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002018 TRACE("(%d, %f, %f)\n", un, u1, u2 );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002019 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002020 glMapGrid1f( un, u1, u2 );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002021 LEAVE_GL();
2022}
2023
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002024/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002025 * glMapGrid2d (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002026 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002027void WINAPI wine_glMapGrid2d( GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2 ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002028 TRACE("(%d, %f, %f, %d, %f, %f)\n", un, u1, u2, vn, v1, v2 );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002029 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002030 glMapGrid2d( un, u1, u2, vn, v1, v2 );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002031 LEAVE_GL();
2032}
2033
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002034/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002035 * glMapGrid2f (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002036 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002037void WINAPI wine_glMapGrid2f( GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2 ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002038 TRACE("(%d, %f, %f, %d, %f, %f)\n", un, u1, u2, vn, v1, v2 );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002039 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002040 glMapGrid2f( un, u1, u2, vn, v1, v2 );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002041 LEAVE_GL();
2042}
2043
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002044/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002045 * glMaterialf (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002046 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002047void WINAPI wine_glMaterialf( GLenum face, GLenum pname, GLfloat param ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002048 TRACE("(%d, %d, %f)\n", face, pname, param );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002049 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002050 glMaterialf( face, pname, param );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002051 LEAVE_GL();
2052}
2053
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002054/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002055 * glMaterialfv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002056 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002057void WINAPI wine_glMaterialfv( GLenum face, GLenum pname, GLfloat* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002058 TRACE("(%d, %d, %p)\n", face, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002059 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002060 glMaterialfv( face, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002061 LEAVE_GL();
2062}
2063
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002064/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002065 * glMateriali (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002066 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002067void WINAPI wine_glMateriali( GLenum face, GLenum pname, GLint param ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002068 TRACE("(%d, %d, %d)\n", face, pname, param );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002069 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002070 glMateriali( face, pname, param );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002071 LEAVE_GL();
2072}
2073
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002074/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002075 * glMaterialiv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002076 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002077void WINAPI wine_glMaterialiv( GLenum face, GLenum pname, GLint* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002078 TRACE("(%d, %d, %p)\n", face, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002079 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002080 glMaterialiv( face, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002081 LEAVE_GL();
2082}
2083
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002084/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002085 * glMatrixMode (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002086 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002087void WINAPI wine_glMatrixMode( GLenum mode ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002088 TRACE("(%d)\n", mode );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002089 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002090 glMatrixMode( mode );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002091 LEAVE_GL();
2092}
2093
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002094/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002095 * glMinmax (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002096 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002097void WINAPI wine_glMinmax( GLenum target, GLenum internalformat, GLboolean sink ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002098 TRACE("(%d, %d, %d)\n", target, internalformat, sink );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002099 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002100 glMinmax( target, internalformat, sink );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002101 LEAVE_GL();
2102}
2103
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002104/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002105 * glMultMatrixd (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002106 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002107void WINAPI wine_glMultMatrixd( GLdouble* m ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002108 TRACE("(%p)\n", m );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002109 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002110 glMultMatrixd( m );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002111 LEAVE_GL();
2112}
2113
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002114/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002115 * glMultMatrixf (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002116 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002117void WINAPI wine_glMultMatrixf( GLfloat* m ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002118 TRACE("(%p)\n", m );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002119 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002120 glMultMatrixf( m );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002121 LEAVE_GL();
2122}
2123
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002124/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002125 * glNewList (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002126 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002127void WINAPI wine_glNewList( GLuint list, GLenum mode ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002128 TRACE("(%d, %d)\n", list, mode );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002129 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002130 glNewList( list, mode );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002131 LEAVE_GL();
2132}
2133
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002134/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002135 * glNormal3b (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002136 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002137void WINAPI wine_glNormal3b( GLbyte nx, GLbyte ny, GLbyte nz ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002138 TRACE("(%d, %d, %d)\n", nx, ny, nz );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002139 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002140 glNormal3b( nx, ny, nz );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002141 LEAVE_GL();
2142}
2143
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002144/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002145 * glNormal3bv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002146 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002147void WINAPI wine_glNormal3bv( GLbyte* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002148 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002149 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002150 glNormal3bv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002151 LEAVE_GL();
2152}
2153
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002154/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002155 * glNormal3d (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002156 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002157void WINAPI wine_glNormal3d( GLdouble nx, GLdouble ny, GLdouble nz ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002158 TRACE("(%f, %f, %f)\n", nx, ny, nz );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002159 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002160 glNormal3d( nx, ny, nz );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002161 LEAVE_GL();
2162}
2163
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002164/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002165 * glNormal3dv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002166 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002167void WINAPI wine_glNormal3dv( GLdouble* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002168 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002169 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002170 glNormal3dv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002171 LEAVE_GL();
2172}
2173
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002174/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002175 * glNormal3f (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002176 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002177void WINAPI wine_glNormal3f( GLfloat nx, GLfloat ny, GLfloat nz ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002178 TRACE("(%f, %f, %f)\n", nx, ny, nz );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002179 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002180 glNormal3f( nx, ny, nz );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002181 LEAVE_GL();
2182}
2183
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002184/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002185 * glNormal3fv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002186 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002187void WINAPI wine_glNormal3fv( GLfloat* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002188 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002189 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002190 glNormal3fv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002191 LEAVE_GL();
2192}
2193
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002194/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002195 * glNormal3i (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002196 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002197void WINAPI wine_glNormal3i( GLint nx, GLint ny, GLint nz ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002198 TRACE("(%d, %d, %d)\n", nx, ny, nz );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002199 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002200 glNormal3i( nx, ny, nz );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002201 LEAVE_GL();
2202}
2203
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002204/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002205 * glNormal3iv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002206 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002207void WINAPI wine_glNormal3iv( GLint* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002208 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002209 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002210 glNormal3iv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002211 LEAVE_GL();
2212}
2213
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002214/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002215 * glNormal3s (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002216 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002217void WINAPI wine_glNormal3s( GLshort nx, GLshort ny, GLshort nz ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002218 TRACE("(%d, %d, %d)\n", nx, ny, nz );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002219 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002220 glNormal3s( nx, ny, nz );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002221 LEAVE_GL();
2222}
2223
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002224/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002225 * glNormal3sv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002226 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002227void WINAPI wine_glNormal3sv( GLshort* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002228 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002229 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002230 glNormal3sv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002231 LEAVE_GL();
2232}
2233
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002234/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002235 * glNormalPointer (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002236 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002237void WINAPI wine_glNormalPointer( GLenum type, GLsizei stride, GLvoid* pointer ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002238 TRACE("(%d, %d, %p)\n", type, stride, pointer );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002239 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002240 glNormalPointer( type, stride, pointer );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002241 LEAVE_GL();
2242}
2243
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002244/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002245 * glOrtho (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002246 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002247void WINAPI wine_glOrtho( GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002248 TRACE("(%f, %f, %f, %f, %f, %f)\n", left, right, bottom, top, zNear, zFar );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002249 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002250 glOrtho( left, right, bottom, top, zNear, zFar );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002251 LEAVE_GL();
2252}
2253
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002254/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002255 * glPassThrough (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002256 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002257void WINAPI wine_glPassThrough( GLfloat token ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002258 TRACE("(%f)\n", token );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002259 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002260 glPassThrough( token );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002261 LEAVE_GL();
2262}
2263
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002264/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002265 * glPixelMapfv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002266 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002267void WINAPI wine_glPixelMapfv( GLenum map, GLint mapsize, GLfloat* values ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002268 TRACE("(%d, %d, %p)\n", map, mapsize, values );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002269 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002270 glPixelMapfv( map, mapsize, values );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002271 LEAVE_GL();
2272}
2273
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002274/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002275 * glPixelMapuiv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002276 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002277void WINAPI wine_glPixelMapuiv( GLenum map, GLint mapsize, GLuint* values ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002278 TRACE("(%d, %d, %p)\n", map, mapsize, values );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002279 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002280 glPixelMapuiv( map, mapsize, values );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002281 LEAVE_GL();
2282}
2283
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002284/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002285 * glPixelMapusv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002286 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002287void WINAPI wine_glPixelMapusv( GLenum map, GLint mapsize, GLushort* values ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002288 TRACE("(%d, %d, %p)\n", map, mapsize, values );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002289 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002290 glPixelMapusv( map, mapsize, values );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002291 LEAVE_GL();
2292}
2293
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002294/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002295 * glPixelStoref (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002296 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002297void WINAPI wine_glPixelStoref( GLenum pname, GLfloat param ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002298 TRACE("(%d, %f)\n", pname, param );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002299 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002300 glPixelStoref( pname, param );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002301 LEAVE_GL();
2302}
2303
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002304/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002305 * glPixelStorei (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002306 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002307void WINAPI wine_glPixelStorei( GLenum pname, GLint param ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002308 TRACE("(%d, %d)\n", pname, param );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002309 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002310 glPixelStorei( pname, param );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002311 LEAVE_GL();
2312}
2313
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002314/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002315 * glPixelTransferf (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002316 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002317void WINAPI wine_glPixelTransferf( GLenum pname, GLfloat param ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002318 TRACE("(%d, %f)\n", pname, param );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002319 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002320 glPixelTransferf( pname, param );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002321 LEAVE_GL();
2322}
2323
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002324/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002325 * glPixelTransferi (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002326 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002327void WINAPI wine_glPixelTransferi( GLenum pname, GLint param ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002328 TRACE("(%d, %d)\n", pname, param );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002329 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002330 glPixelTransferi( pname, param );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002331 LEAVE_GL();
2332}
2333
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002334/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002335 * glPixelZoom (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002336 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002337void WINAPI wine_glPixelZoom( GLfloat xfactor, GLfloat yfactor ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002338 TRACE("(%f, %f)\n", xfactor, yfactor );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002339 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002340 glPixelZoom( xfactor, yfactor );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002341 LEAVE_GL();
2342}
2343
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002344/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002345 * glPointSize (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002346 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002347void WINAPI wine_glPointSize( GLfloat size ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002348 TRACE("(%f)\n", size );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002349 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002350 glPointSize( size );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002351 LEAVE_GL();
2352}
2353
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002354/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002355 * glPolygonMode (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002356 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002357void WINAPI wine_glPolygonMode( GLenum face, GLenum mode ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002358 TRACE("(%d, %d)\n", face, mode );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002359 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002360 glPolygonMode( face, mode );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002361 LEAVE_GL();
2362}
2363
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002364/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002365 * glPolygonOffset (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002366 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002367void WINAPI wine_glPolygonOffset( GLfloat factor, GLfloat units ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002368 TRACE("(%f, %f)\n", factor, units );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002369 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002370 glPolygonOffset( factor, units );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002371 LEAVE_GL();
2372}
2373
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002374/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002375 * glPolygonStipple (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002376 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002377void WINAPI wine_glPolygonStipple( GLubyte* mask ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002378 TRACE("(%p)\n", mask );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002379 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002380 glPolygonStipple( mask );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002381 LEAVE_GL();
2382}
2383
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002384/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002385 * glPopAttrib (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002386 */
Eric Pouech25106582005-06-27 09:46:35 +00002387void WINAPI wine_glPopAttrib( void ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002388 TRACE("()\n");
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002389 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002390 glPopAttrib( );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002391 LEAVE_GL();
2392}
2393
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002394/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002395 * glPopClientAttrib (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002396 */
Eric Pouech25106582005-06-27 09:46:35 +00002397void WINAPI wine_glPopClientAttrib( void ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002398 TRACE("()\n");
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002399 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002400 glPopClientAttrib( );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002401 LEAVE_GL();
2402}
2403
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002404/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002405 * glPopMatrix (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002406 */
Eric Pouech25106582005-06-27 09:46:35 +00002407void WINAPI wine_glPopMatrix( void ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002408 TRACE("()\n");
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002409 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002410 glPopMatrix( );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002411 LEAVE_GL();
2412}
2413
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002414/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002415 * glPopName (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002416 */
Eric Pouech25106582005-06-27 09:46:35 +00002417void WINAPI wine_glPopName( void ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002418 TRACE("()\n");
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002419 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002420 glPopName( );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002421 LEAVE_GL();
2422}
2423
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002424/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002425 * glPrioritizeTextures (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002426 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002427void WINAPI wine_glPrioritizeTextures( GLsizei n, GLuint* textures, GLclampf* priorities ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002428 TRACE("(%d, %p, %p)\n", n, textures, priorities );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002429 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002430 glPrioritizeTextures( n, textures, priorities );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002431 LEAVE_GL();
2432}
2433
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002434/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002435 * glPushAttrib (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002436 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002437void WINAPI wine_glPushAttrib( GLbitfield mask ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002438 TRACE("(%d)\n", mask );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002439 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002440 glPushAttrib( mask );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002441 LEAVE_GL();
2442}
2443
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002444/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002445 * glPushClientAttrib (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002446 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002447void WINAPI wine_glPushClientAttrib( GLbitfield mask ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002448 TRACE("(%d)\n", mask );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002449 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002450 glPushClientAttrib( mask );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002451 LEAVE_GL();
2452}
2453
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002454/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002455 * glPushMatrix (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002456 */
Eric Pouech25106582005-06-27 09:46:35 +00002457void WINAPI wine_glPushMatrix( void ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002458 TRACE("()\n");
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002459 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002460 glPushMatrix( );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002461 LEAVE_GL();
2462}
2463
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002464/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002465 * glPushName (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002466 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002467void WINAPI wine_glPushName( GLuint name ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002468 TRACE("(%d)\n", name );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002469 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002470 glPushName( name );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002471 LEAVE_GL();
2472}
2473
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002474/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002475 * glRasterPos2d (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002476 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002477void WINAPI wine_glRasterPos2d( GLdouble x, GLdouble y ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002478 TRACE("(%f, %f)\n", x, y );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002479 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002480 glRasterPos2d( x, y );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002481 LEAVE_GL();
2482}
2483
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002484/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002485 * glRasterPos2dv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002486 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002487void WINAPI wine_glRasterPos2dv( GLdouble* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002488 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002489 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002490 glRasterPos2dv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002491 LEAVE_GL();
2492}
2493
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002494/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002495 * glRasterPos2f (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002496 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002497void WINAPI wine_glRasterPos2f( GLfloat x, GLfloat y ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002498 TRACE("(%f, %f)\n", x, y );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002499 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002500 glRasterPos2f( x, y );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002501 LEAVE_GL();
2502}
2503
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002504/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002505 * glRasterPos2fv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002506 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002507void WINAPI wine_glRasterPos2fv( GLfloat* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002508 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002509 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002510 glRasterPos2fv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002511 LEAVE_GL();
2512}
2513
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002514/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002515 * glRasterPos2i (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002516 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002517void WINAPI wine_glRasterPos2i( GLint x, GLint y ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002518 TRACE("(%d, %d)\n", x, y );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002519 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002520 glRasterPos2i( x, y );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002521 LEAVE_GL();
2522}
2523
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002524/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002525 * glRasterPos2iv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002526 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002527void WINAPI wine_glRasterPos2iv( GLint* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002528 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002529 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002530 glRasterPos2iv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002531 LEAVE_GL();
2532}
2533
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002534/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002535 * glRasterPos2s (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002536 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002537void WINAPI wine_glRasterPos2s( GLshort x, GLshort y ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002538 TRACE("(%d, %d)\n", x, y );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002539 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002540 glRasterPos2s( x, y );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002541 LEAVE_GL();
2542}
2543
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002544/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002545 * glRasterPos2sv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002546 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002547void WINAPI wine_glRasterPos2sv( GLshort* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002548 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002549 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002550 glRasterPos2sv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002551 LEAVE_GL();
2552}
2553
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002554/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002555 * glRasterPos3d (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002556 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002557void WINAPI wine_glRasterPos3d( GLdouble x, GLdouble y, GLdouble z ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002558 TRACE("(%f, %f, %f)\n", x, y, z );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002559 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002560 glRasterPos3d( x, y, z );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002561 LEAVE_GL();
2562}
2563
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002564/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002565 * glRasterPos3dv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002566 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002567void WINAPI wine_glRasterPos3dv( GLdouble* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002568 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002569 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002570 glRasterPos3dv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002571 LEAVE_GL();
2572}
2573
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002574/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002575 * glRasterPos3f (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002576 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002577void WINAPI wine_glRasterPos3f( GLfloat x, GLfloat y, GLfloat z ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002578 TRACE("(%f, %f, %f)\n", x, y, z );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002579 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002580 glRasterPos3f( x, y, z );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002581 LEAVE_GL();
2582}
2583
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002584/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002585 * glRasterPos3fv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002586 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002587void WINAPI wine_glRasterPos3fv( GLfloat* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002588 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002589 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002590 glRasterPos3fv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002591 LEAVE_GL();
2592}
2593
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002594/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002595 * glRasterPos3i (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002596 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002597void WINAPI wine_glRasterPos3i( GLint x, GLint y, GLint z ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002598 TRACE("(%d, %d, %d)\n", x, y, z );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002599 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002600 glRasterPos3i( x, y, z );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002601 LEAVE_GL();
2602}
2603
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002604/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002605 * glRasterPos3iv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002606 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002607void WINAPI wine_glRasterPos3iv( GLint* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002608 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002609 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002610 glRasterPos3iv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002611 LEAVE_GL();
2612}
2613
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002614/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002615 * glRasterPos3s (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002616 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002617void WINAPI wine_glRasterPos3s( GLshort x, GLshort y, GLshort z ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002618 TRACE("(%d, %d, %d)\n", x, y, z );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002619 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002620 glRasterPos3s( x, y, z );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002621 LEAVE_GL();
2622}
2623
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002624/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002625 * glRasterPos3sv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002626 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002627void WINAPI wine_glRasterPos3sv( GLshort* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002628 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002629 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002630 glRasterPos3sv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002631 LEAVE_GL();
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002632}
2633
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002634/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002635 * glRasterPos4d (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002636 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002637void WINAPI wine_glRasterPos4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002638 TRACE("(%f, %f, %f, %f)\n", x, y, z, w );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002639 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002640 glRasterPos4d( x, y, z, w );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002641 LEAVE_GL();
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002642}
2643
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002644/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002645 * glRasterPos4dv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002646 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002647void WINAPI wine_glRasterPos4dv( GLdouble* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002648 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002649 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002650 glRasterPos4dv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002651 LEAVE_GL();
2652}
2653
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002654/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002655 * glRasterPos4f (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002656 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002657void WINAPI wine_glRasterPos4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002658 TRACE("(%f, %f, %f, %f)\n", x, y, z, w );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002659 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002660 glRasterPos4f( x, y, z, w );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002661 LEAVE_GL();
2662}
2663
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002664/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002665 * glRasterPos4fv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002666 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002667void WINAPI wine_glRasterPos4fv( GLfloat* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002668 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002669 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002670 glRasterPos4fv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002671 LEAVE_GL();
2672}
2673
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002674/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002675 * glRasterPos4i (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002676 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002677void WINAPI wine_glRasterPos4i( GLint x, GLint y, GLint z, GLint w ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002678 TRACE("(%d, %d, %d, %d)\n", x, y, z, w );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002679 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002680 glRasterPos4i( x, y, z, w );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002681 LEAVE_GL();
2682}
2683
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002684/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002685 * glRasterPos4iv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002686 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002687void WINAPI wine_glRasterPos4iv( GLint* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002688 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002689 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002690 glRasterPos4iv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002691 LEAVE_GL();
2692}
2693
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002694/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002695 * glRasterPos4s (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002696 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002697void WINAPI wine_glRasterPos4s( GLshort x, GLshort y, GLshort z, GLshort w ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002698 TRACE("(%d, %d, %d, %d)\n", x, y, z, w );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002699 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002700 glRasterPos4s( x, y, z, w );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002701 LEAVE_GL();
2702}
2703
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002704/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002705 * glRasterPos4sv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002706 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002707void WINAPI wine_glRasterPos4sv( GLshort* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002708 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002709 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002710 glRasterPos4sv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002711 LEAVE_GL();
2712}
2713
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002714/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002715 * glReadBuffer (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002716 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002717void WINAPI wine_glReadBuffer( GLenum mode ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002718 TRACE("(%d)\n", mode );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002719 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002720 glReadBuffer( mode );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002721 LEAVE_GL();
2722}
2723
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002724/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002725 * glReadPixels (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002726 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002727void WINAPI wine_glReadPixels( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002728 TRACE("(%d, %d, %d, %d, %d, %d, %p)\n", x, y, width, height, format, type, pixels );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002729 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002730 glReadPixels( x, y, width, height, format, type, pixels );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002731 LEAVE_GL();
2732}
2733
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002734/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002735 * glRectd (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002736 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002737void WINAPI wine_glRectd( GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2 ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002738 TRACE("(%f, %f, %f, %f)\n", x1, y1, x2, y2 );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002739 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002740 glRectd( x1, y1, x2, y2 );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002741 LEAVE_GL();
2742}
2743
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002744/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002745 * glRectdv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002746 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002747void WINAPI wine_glRectdv( GLdouble* v1, GLdouble* v2 ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002748 TRACE("(%p, %p)\n", v1, v2 );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002749 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002750 glRectdv( v1, v2 );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002751 LEAVE_GL();
2752}
2753
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002754/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002755 * glRectf (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002756 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002757void WINAPI wine_glRectf( GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2 ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002758 TRACE("(%f, %f, %f, %f)\n", x1, y1, x2, y2 );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002759 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002760 glRectf( x1, y1, x2, y2 );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002761 LEAVE_GL();
2762}
2763
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002764/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002765 * glRectfv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002766 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002767void WINAPI wine_glRectfv( GLfloat* v1, GLfloat* v2 ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002768 TRACE("(%p, %p)\n", v1, v2 );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002769 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002770 glRectfv( v1, v2 );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002771 LEAVE_GL();
2772}
2773
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002774/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002775 * glRecti (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002776 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002777void WINAPI wine_glRecti( GLint x1, GLint y1, GLint x2, GLint y2 ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002778 TRACE("(%d, %d, %d, %d)\n", x1, y1, x2, y2 );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002779 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002780 glRecti( x1, y1, x2, y2 );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002781 LEAVE_GL();
2782}
2783
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002784/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002785 * glRectiv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002786 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002787void WINAPI wine_glRectiv( GLint* v1, GLint* v2 ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002788 TRACE("(%p, %p)\n", v1, v2 );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002789 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002790 glRectiv( v1, v2 );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002791 LEAVE_GL();
2792}
2793
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002794/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002795 * glRects (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002796 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002797void WINAPI wine_glRects( GLshort x1, GLshort y1, GLshort x2, GLshort y2 ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002798 TRACE("(%d, %d, %d, %d)\n", x1, y1, x2, y2 );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002799 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002800 glRects( x1, y1, x2, y2 );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002801 LEAVE_GL();
2802}
2803
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002804/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002805 * glRectsv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002806 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002807void WINAPI wine_glRectsv( GLshort* v1, GLshort* v2 ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002808 TRACE("(%p, %p)\n", v1, v2 );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002809 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002810 glRectsv( v1, v2 );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002811 LEAVE_GL();
2812}
2813
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002814/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002815 * glRenderMode (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002816 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002817GLint WINAPI wine_glRenderMode( GLenum mode ) {
2818 GLint ret_value;
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002819 TRACE("(%d)\n", mode );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002820 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002821 ret_value = glRenderMode( mode );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002822 LEAVE_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002823 return ret_value;
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002824}
2825
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002826/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002827 * glResetHistogram (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002828 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002829void WINAPI wine_glResetHistogram( GLenum target ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002830 TRACE("(%d)\n", target );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002831 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002832 glResetHistogram( target );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002833 LEAVE_GL();
2834}
2835
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002836/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002837 * glResetMinmax (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002838 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002839void WINAPI wine_glResetMinmax( GLenum target ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002840 TRACE("(%d)\n", target );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002841 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002842 glResetMinmax( target );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002843 LEAVE_GL();
2844}
2845
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002846/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002847 * glRotated (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002848 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002849void WINAPI wine_glRotated( GLdouble angle, GLdouble x, GLdouble y, GLdouble z ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002850 TRACE("(%f, %f, %f, %f)\n", angle, x, y, z );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002851 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002852 glRotated( angle, x, y, z );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002853 LEAVE_GL();
2854}
2855
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002856/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002857 * glRotatef (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002858 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002859void WINAPI wine_glRotatef( GLfloat angle, GLfloat x, GLfloat y, GLfloat z ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002860 TRACE("(%f, %f, %f, %f)\n", angle, x, y, z );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002861 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002862 glRotatef( angle, x, y, z );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002863 LEAVE_GL();
2864}
2865
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002866/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002867 * glScaled (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002868 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002869void WINAPI wine_glScaled( GLdouble x, GLdouble y, GLdouble z ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002870 TRACE("(%f, %f, %f)\n", x, y, z );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002871 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002872 glScaled( x, y, z );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002873 LEAVE_GL();
2874}
2875
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002876/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002877 * glScalef (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002878 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002879void WINAPI wine_glScalef( GLfloat x, GLfloat y, GLfloat z ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002880 TRACE("(%f, %f, %f)\n", x, y, z );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002881 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002882 glScalef( x, y, z );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002883 LEAVE_GL();
2884}
2885
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002886/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002887 * glScissor (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002888 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002889void WINAPI wine_glScissor( GLint x, GLint y, GLsizei width, GLsizei height ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002890 TRACE("(%d, %d, %d, %d)\n", x, y, width, height );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002891 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002892 glScissor( x, y, width, height );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002893 LEAVE_GL();
2894}
2895
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002896/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002897 * glSelectBuffer (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002898 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002899void WINAPI wine_glSelectBuffer( GLsizei size, GLuint* buffer ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002900 TRACE("(%d, %p)\n", size, buffer );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002901 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002902 glSelectBuffer( size, buffer );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002903 LEAVE_GL();
2904}
2905
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002906/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002907 * glSeparableFilter2D (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002908 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002909void WINAPI wine_glSeparableFilter2D( GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* row, GLvoid* column ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002910 TRACE("(%d, %d, %d, %d, %d, %d, %p, %p)\n", target, internalformat, width, height, format, type, row, column );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002911 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002912 glSeparableFilter2D( target, internalformat, width, height, format, type, row, column );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002913 LEAVE_GL();
2914}
2915
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002916/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002917 * glShadeModel (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002918 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002919void WINAPI wine_glShadeModel( GLenum mode ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002920 TRACE("(%d)\n", mode );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002921 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002922 glShadeModel( mode );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002923 LEAVE_GL();
2924}
2925
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002926/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002927 * glStencilFunc (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002928 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002929void WINAPI wine_glStencilFunc( GLenum func, GLint ref, GLuint mask ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002930 TRACE("(%d, %d, %d)\n", func, ref, mask );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002931 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002932 glStencilFunc( func, ref, mask );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002933 LEAVE_GL();
2934}
2935
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002936/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002937 * glStencilMask (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002938 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002939void WINAPI wine_glStencilMask( GLuint mask ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002940 TRACE("(%d)\n", mask );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002941 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002942 glStencilMask( mask );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002943 LEAVE_GL();
2944}
2945
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002946/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002947 * glStencilOp (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002948 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002949void WINAPI wine_glStencilOp( GLenum fail, GLenum zfail, GLenum zpass ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002950 TRACE("(%d, %d, %d)\n", fail, zfail, zpass );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002951 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002952 glStencilOp( fail, zfail, zpass );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002953 LEAVE_GL();
2954}
2955
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002956/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002957 * glTexCoord1d (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002958 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002959void WINAPI wine_glTexCoord1d( GLdouble s ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002960 TRACE("(%f)\n", s );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002961 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002962 glTexCoord1d( s );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002963 LEAVE_GL();
2964}
2965
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002966/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002967 * glTexCoord1dv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002968 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002969void WINAPI wine_glTexCoord1dv( GLdouble* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002970 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002971 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002972 glTexCoord1dv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002973 LEAVE_GL();
2974}
2975
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002976/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002977 * glTexCoord1f (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002978 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002979void WINAPI wine_glTexCoord1f( GLfloat s ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002980 TRACE("(%f)\n", s );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002981 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002982 glTexCoord1f( s );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002983 LEAVE_GL();
2984}
2985
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002986/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002987 * glTexCoord1fv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002988 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002989void WINAPI wine_glTexCoord1fv( GLfloat* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00002990 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002991 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002992 glTexCoord1fv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00002993 LEAVE_GL();
2994}
2995
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002996/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00002997 * glTexCoord1i (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00002998 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00002999void WINAPI wine_glTexCoord1i( GLint s ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003000 TRACE("(%d)\n", s );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003001 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003002 glTexCoord1i( s );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003003 LEAVE_GL();
3004}
3005
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003006/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003007 * glTexCoord1iv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003008 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003009void WINAPI wine_glTexCoord1iv( GLint* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003010 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003011 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003012 glTexCoord1iv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003013 LEAVE_GL();
3014}
3015
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003016/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003017 * glTexCoord1s (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003018 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003019void WINAPI wine_glTexCoord1s( GLshort s ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003020 TRACE("(%d)\n", s );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003021 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003022 glTexCoord1s( s );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003023 LEAVE_GL();
3024}
3025
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003026/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003027 * glTexCoord1sv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003028 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003029void WINAPI wine_glTexCoord1sv( GLshort* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003030 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003031 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003032 glTexCoord1sv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003033 LEAVE_GL();
3034}
3035
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003036/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003037 * glTexCoord2d (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003038 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003039void WINAPI wine_glTexCoord2d( GLdouble s, GLdouble t ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003040 TRACE("(%f, %f)\n", s, t );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003041 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003042 glTexCoord2d( s, t );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003043 LEAVE_GL();
3044}
3045
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003046/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003047 * glTexCoord2dv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003048 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003049void WINAPI wine_glTexCoord2dv( GLdouble* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003050 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003051 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003052 glTexCoord2dv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003053 LEAVE_GL();
3054}
3055
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003056/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003057 * glTexCoord2f (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003058 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003059void WINAPI wine_glTexCoord2f( GLfloat s, GLfloat t ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003060 TRACE("(%f, %f)\n", s, t );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003061 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003062 glTexCoord2f( s, t );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003063 LEAVE_GL();
3064}
3065
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003066/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003067 * glTexCoord2fv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003068 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003069void WINAPI wine_glTexCoord2fv( GLfloat* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003070 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003071 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003072 glTexCoord2fv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003073 LEAVE_GL();
3074}
3075
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003076/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003077 * glTexCoord2i (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003078 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003079void WINAPI wine_glTexCoord2i( GLint s, GLint t ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003080 TRACE("(%d, %d)\n", s, t );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003081 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003082 glTexCoord2i( s, t );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003083 LEAVE_GL();
3084}
3085
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003086/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003087 * glTexCoord2iv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003088 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003089void WINAPI wine_glTexCoord2iv( GLint* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003090 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003091 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003092 glTexCoord2iv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003093 LEAVE_GL();
3094}
3095
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003096/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003097 * glTexCoord2s (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003098 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003099void WINAPI wine_glTexCoord2s( GLshort s, GLshort t ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003100 TRACE("(%d, %d)\n", s, t );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003101 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003102 glTexCoord2s( s, t );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003103 LEAVE_GL();
3104}
3105
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003106/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003107 * glTexCoord2sv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003108 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003109void WINAPI wine_glTexCoord2sv( GLshort* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003110 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003111 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003112 glTexCoord2sv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003113 LEAVE_GL();
3114}
3115
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003116/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003117 * glTexCoord3d (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003118 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003119void WINAPI wine_glTexCoord3d( GLdouble s, GLdouble t, GLdouble r ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003120 TRACE("(%f, %f, %f)\n", s, t, r );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003121 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003122 glTexCoord3d( s, t, r );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003123 LEAVE_GL();
3124}
3125
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003126/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003127 * glTexCoord3dv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003128 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003129void WINAPI wine_glTexCoord3dv( GLdouble* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003130 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003131 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003132 glTexCoord3dv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003133 LEAVE_GL();
3134}
3135
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003136/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003137 * glTexCoord3f (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003138 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003139void WINAPI wine_glTexCoord3f( GLfloat s, GLfloat t, GLfloat r ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003140 TRACE("(%f, %f, %f)\n", s, t, r );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003141 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003142 glTexCoord3f( s, t, r );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003143 LEAVE_GL();
3144}
3145
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003146/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003147 * glTexCoord3fv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003148 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003149void WINAPI wine_glTexCoord3fv( GLfloat* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003150 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003151 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003152 glTexCoord3fv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003153 LEAVE_GL();
3154}
3155
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003156/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003157 * glTexCoord3i (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003158 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003159void WINAPI wine_glTexCoord3i( GLint s, GLint t, GLint r ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003160 TRACE("(%d, %d, %d)\n", s, t, r );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003161 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003162 glTexCoord3i( s, t, r );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003163 LEAVE_GL();
3164}
3165
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003166/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003167 * glTexCoord3iv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003168 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003169void WINAPI wine_glTexCoord3iv( GLint* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003170 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003171 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003172 glTexCoord3iv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003173 LEAVE_GL();
3174}
3175
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003176/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003177 * glTexCoord3s (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003178 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003179void WINAPI wine_glTexCoord3s( GLshort s, GLshort t, GLshort r ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003180 TRACE("(%d, %d, %d)\n", s, t, r );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003181 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003182 glTexCoord3s( s, t, r );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003183 LEAVE_GL();
3184}
3185
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003186/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003187 * glTexCoord3sv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003188 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003189void WINAPI wine_glTexCoord3sv( GLshort* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003190 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003191 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003192 glTexCoord3sv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003193 LEAVE_GL();
3194}
3195
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003196/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003197 * glTexCoord4d (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003198 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003199void WINAPI wine_glTexCoord4d( GLdouble s, GLdouble t, GLdouble r, GLdouble q ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003200 TRACE("(%f, %f, %f, %f)\n", s, t, r, q );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003201 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003202 glTexCoord4d( s, t, r, q );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003203 LEAVE_GL();
3204}
3205
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003206/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003207 * glTexCoord4dv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003208 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003209void WINAPI wine_glTexCoord4dv( GLdouble* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003210 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003211 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003212 glTexCoord4dv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003213 LEAVE_GL();
3214}
3215
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003216/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003217 * glTexCoord4f (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003218 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003219void WINAPI wine_glTexCoord4f( GLfloat s, GLfloat t, GLfloat r, GLfloat q ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003220 TRACE("(%f, %f, %f, %f)\n", s, t, r, q );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003221 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003222 glTexCoord4f( s, t, r, q );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003223 LEAVE_GL();
3224}
3225
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003226/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003227 * glTexCoord4fv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003228 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003229void WINAPI wine_glTexCoord4fv( GLfloat* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003230 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003231 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003232 glTexCoord4fv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003233 LEAVE_GL();
3234}
3235
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003236/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003237 * glTexCoord4i (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003238 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003239void WINAPI wine_glTexCoord4i( GLint s, GLint t, GLint r, GLint q ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003240 TRACE("(%d, %d, %d, %d)\n", s, t, r, q );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003241 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003242 glTexCoord4i( s, t, r, q );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003243 LEAVE_GL();
3244}
3245
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003246/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003247 * glTexCoord4iv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003248 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003249void WINAPI wine_glTexCoord4iv( GLint* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003250 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003251 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003252 glTexCoord4iv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003253 LEAVE_GL();
3254}
3255
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003256/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003257 * glTexCoord4s (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003258 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003259void WINAPI wine_glTexCoord4s( GLshort s, GLshort t, GLshort r, GLshort q ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003260 TRACE("(%d, %d, %d, %d)\n", s, t, r, q );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003261 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003262 glTexCoord4s( s, t, r, q );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003263 LEAVE_GL();
3264}
3265
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003266/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003267 * glTexCoord4sv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003268 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003269void WINAPI wine_glTexCoord4sv( GLshort* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003270 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003271 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003272 glTexCoord4sv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003273 LEAVE_GL();
3274}
3275
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003276/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003277 * glTexCoordPointer (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003278 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003279void WINAPI wine_glTexCoordPointer( GLint size, GLenum type, GLsizei stride, GLvoid* pointer ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003280 TRACE("(%d, %d, %d, %p)\n", size, type, stride, pointer );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003281 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003282 glTexCoordPointer( size, type, stride, pointer );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003283 LEAVE_GL();
3284}
3285
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003286/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003287 * glTexEnvf (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003288 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003289void WINAPI wine_glTexEnvf( GLenum target, GLenum pname, GLfloat param ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003290 TRACE("(%d, %d, %f)\n", target, pname, param );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003291 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003292 glTexEnvf( target, pname, param );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003293 LEAVE_GL();
3294}
3295
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003296/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003297 * glTexEnvfv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003298 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003299void WINAPI wine_glTexEnvfv( GLenum target, GLenum pname, GLfloat* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003300 TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003301 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003302 glTexEnvfv( target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003303 LEAVE_GL();
3304}
3305
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003306/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003307 * glTexEnvi (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003308 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003309void WINAPI wine_glTexEnvi( GLenum target, GLenum pname, GLint param ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003310 TRACE("(%d, %d, %d)\n", target, pname, param );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003311 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003312 glTexEnvi( target, pname, param );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003313 LEAVE_GL();
3314}
3315
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003316/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003317 * glTexEnviv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003318 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003319void WINAPI wine_glTexEnviv( GLenum target, GLenum pname, GLint* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003320 TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003321 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003322 glTexEnviv( target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003323 LEAVE_GL();
3324}
3325
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003326/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003327 * glTexGend (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003328 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003329void WINAPI wine_glTexGend( GLenum coord, GLenum pname, GLdouble param ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003330 TRACE("(%d, %d, %f)\n", coord, pname, param );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003331 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003332 glTexGend( coord, pname, param );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003333 LEAVE_GL();
3334}
3335
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003336/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003337 * glTexGendv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003338 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003339void WINAPI wine_glTexGendv( GLenum coord, GLenum pname, GLdouble* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003340 TRACE("(%d, %d, %p)\n", coord, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003341 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003342 glTexGendv( coord, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003343 LEAVE_GL();
3344}
3345
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003346/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003347 * glTexGenf (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003348 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003349void WINAPI wine_glTexGenf( GLenum coord, GLenum pname, GLfloat param ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003350 TRACE("(%d, %d, %f)\n", coord, pname, param );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003351 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003352 glTexGenf( coord, pname, param );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003353 LEAVE_GL();
3354}
3355
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003356/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003357 * glTexGenfv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003358 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003359void WINAPI wine_glTexGenfv( GLenum coord, GLenum pname, GLfloat* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003360 TRACE("(%d, %d, %p)\n", coord, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003361 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003362 glTexGenfv( coord, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003363 LEAVE_GL();
3364}
3365
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003366/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003367 * glTexGeni (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003368 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003369void WINAPI wine_glTexGeni( GLenum coord, GLenum pname, GLint param ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003370 TRACE("(%d, %d, %d)\n", coord, pname, param );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003371 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003372 glTexGeni( coord, pname, param );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003373 LEAVE_GL();
3374}
3375
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003376/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003377 * glTexGeniv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003378 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003379void WINAPI wine_glTexGeniv( GLenum coord, GLenum pname, GLint* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003380 TRACE("(%d, %d, %p)\n", coord, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003381 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003382 glTexGeniv( coord, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003383 LEAVE_GL();
3384}
3385
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003386/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003387 * glTexImage1D (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003388 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003389void WINAPI wine_glTexImage1D( GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, GLvoid* pixels ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003390 TRACE("(%d, %d, %d, %d, %d, %d, %d, %p)\n", target, level, internalformat, width, border, format, type, pixels );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003391 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003392 glTexImage1D( target, level, internalformat, width, border, format, type, pixels );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003393 LEAVE_GL();
3394}
3395
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003396/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003397 * glTexImage2D (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003398 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003399void WINAPI wine_glTexImage2D( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, GLvoid* pixels ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003400 TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %p)\n", target, level, internalformat, width, height, border, format, type, pixels );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003401 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003402 glTexImage2D( target, level, internalformat, width, height, border, format, type, pixels );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003403 LEAVE_GL();
3404}
3405
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003406/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003407 * glTexImage3D (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003408 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003409void WINAPI wine_glTexImage3D( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, GLvoid* pixels ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003410 TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d, %p)\n", target, level, internalformat, width, height, depth, border, format, type, pixels );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003411 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003412 glTexImage3D( target, level, internalformat, width, height, depth, border, format, type, pixels );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003413 LEAVE_GL();
3414}
3415
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003416/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003417 * glTexParameterf (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003418 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003419void WINAPI wine_glTexParameterf( GLenum target, GLenum pname, GLfloat param ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003420 TRACE("(%d, %d, %f)\n", target, pname, param );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003421 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003422 glTexParameterf( target, pname, param );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003423 LEAVE_GL();
3424}
3425
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003426/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003427 * glTexParameterfv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003428 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003429void WINAPI wine_glTexParameterfv( GLenum target, GLenum pname, GLfloat* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003430 TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003431 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003432 glTexParameterfv( target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003433 LEAVE_GL();
3434}
3435
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003436/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003437 * glTexParameteri (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003438 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003439void WINAPI wine_glTexParameteri( GLenum target, GLenum pname, GLint param ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003440 TRACE("(%d, %d, %d)\n", target, pname, param );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003441 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003442 glTexParameteri( target, pname, param );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003443 LEAVE_GL();
3444}
3445
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003446/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003447 * glTexParameteriv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003448 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003449void WINAPI wine_glTexParameteriv( GLenum target, GLenum pname, GLint* params ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003450 TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003451 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003452 glTexParameteriv( target, pname, params );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003453 LEAVE_GL();
3454}
3455
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003456/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003457 * glTexSubImage1D (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003458 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003459void WINAPI wine_glTexSubImage1D( GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, GLvoid* pixels ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003460 TRACE("(%d, %d, %d, %d, %d, %d, %p)\n", target, level, xoffset, width, format, type, pixels );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003461 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003462 glTexSubImage1D( target, level, xoffset, width, format, type, pixels );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003463 LEAVE_GL();
3464}
3465
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003466/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003467 * glTexSubImage2D (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003468 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003469void WINAPI wine_glTexSubImage2D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003470 TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %p)\n", target, level, xoffset, yoffset, width, height, format, type, pixels );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003471 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003472 glTexSubImage2D( target, level, xoffset, yoffset, width, height, format, type, pixels );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003473 LEAVE_GL();
3474}
3475
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003476/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003477 * glTexSubImage3D (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003478 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003479void 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 ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003480 TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %p)\n", target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003481 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003482 glTexSubImage3D( target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003483 LEAVE_GL();
3484}
3485
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003486/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003487 * glTranslated (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003488 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003489void WINAPI wine_glTranslated( GLdouble x, GLdouble y, GLdouble z ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003490 TRACE("(%f, %f, %f)\n", x, y, z );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003491 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003492 glTranslated( x, y, z );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003493 LEAVE_GL();
3494}
3495
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003496/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003497 * glTranslatef (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003498 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003499void WINAPI wine_glTranslatef( GLfloat x, GLfloat y, GLfloat z ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003500 TRACE("(%f, %f, %f)\n", x, y, z );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003501 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003502 glTranslatef( x, y, z );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003503 LEAVE_GL();
3504}
3505
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003506/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003507 * glVertex2d (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003508 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003509void WINAPI wine_glVertex2d( GLdouble x, GLdouble y ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003510 TRACE("(%f, %f)\n", x, y );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003511 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003512 glVertex2d( x, y );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003513 LEAVE_GL();
3514}
3515
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003516/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003517 * glVertex2dv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003518 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003519void WINAPI wine_glVertex2dv( GLdouble* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003520 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003521 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003522 glVertex2dv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003523 LEAVE_GL();
3524}
3525
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003526/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003527 * glVertex2f (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003528 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003529void WINAPI wine_glVertex2f( GLfloat x, GLfloat y ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003530 TRACE("(%f, %f)\n", x, y );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003531 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003532 glVertex2f( x, y );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003533 LEAVE_GL();
3534}
3535
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003536/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003537 * glVertex2fv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003538 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003539void WINAPI wine_glVertex2fv( GLfloat* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003540 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003541 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003542 glVertex2fv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003543 LEAVE_GL();
3544}
3545
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003546/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003547 * glVertex2i (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003548 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003549void WINAPI wine_glVertex2i( GLint x, GLint y ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003550 TRACE("(%d, %d)\n", x, y );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003551 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003552 glVertex2i( x, y );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003553 LEAVE_GL();
3554}
3555
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003556/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003557 * glVertex2iv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003558 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003559void WINAPI wine_glVertex2iv( GLint* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003560 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003561 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003562 glVertex2iv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003563 LEAVE_GL();
3564}
3565
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003566/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003567 * glVertex2s (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003568 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003569void WINAPI wine_glVertex2s( GLshort x, GLshort y ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003570 TRACE("(%d, %d)\n", x, y );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003571 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003572 glVertex2s( x, y );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003573 LEAVE_GL();
3574}
3575
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003576/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003577 * glVertex2sv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003578 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003579void WINAPI wine_glVertex2sv( GLshort* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003580 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003581 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003582 glVertex2sv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003583 LEAVE_GL();
3584}
3585
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003586/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003587 * glVertex3d (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003588 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003589void WINAPI wine_glVertex3d( GLdouble x, GLdouble y, GLdouble z ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003590 TRACE("(%f, %f, %f)\n", x, y, z );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003591 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003592 glVertex3d( x, y, z );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003593 LEAVE_GL();
3594}
3595
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003596/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003597 * glVertex3dv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003598 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003599void WINAPI wine_glVertex3dv( GLdouble* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003600 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003601 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003602 glVertex3dv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003603 LEAVE_GL();
3604}
3605
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003606/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003607 * glVertex3f (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003608 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003609void WINAPI wine_glVertex3f( GLfloat x, GLfloat y, GLfloat z ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003610 TRACE("(%f, %f, %f)\n", x, y, z );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003611 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003612 glVertex3f( x, y, z );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003613 LEAVE_GL();
3614}
3615
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003616/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003617 * glVertex3fv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003618 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003619void WINAPI wine_glVertex3fv( GLfloat* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003620 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003621 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003622 glVertex3fv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003623 LEAVE_GL();
3624}
3625
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003626/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003627 * glVertex3i (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003628 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003629void WINAPI wine_glVertex3i( GLint x, GLint y, GLint z ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003630 TRACE("(%d, %d, %d)\n", x, y, z );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003631 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003632 glVertex3i( x, y, z );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003633 LEAVE_GL();
3634}
3635
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003636/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003637 * glVertex3iv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003638 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003639void WINAPI wine_glVertex3iv( GLint* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003640 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003641 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003642 glVertex3iv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003643 LEAVE_GL();
3644}
3645
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003646/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003647 * glVertex3s (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003648 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003649void WINAPI wine_glVertex3s( GLshort x, GLshort y, GLshort z ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003650 TRACE("(%d, %d, %d)\n", x, y, z );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003651 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003652 glVertex3s( x, y, z );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003653 LEAVE_GL();
3654}
3655
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003656/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003657 * glVertex3sv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003658 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003659void WINAPI wine_glVertex3sv( GLshort* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003660 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003661 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003662 glVertex3sv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003663 LEAVE_GL();
3664}
3665
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003666/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003667 * glVertex4d (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003668 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003669void WINAPI wine_glVertex4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003670 TRACE("(%f, %f, %f, %f)\n", x, y, z, w );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003671 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003672 glVertex4d( x, y, z, w );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003673 LEAVE_GL();
3674}
3675
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003676/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003677 * glVertex4dv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003678 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003679void WINAPI wine_glVertex4dv( GLdouble* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003680 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003681 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003682 glVertex4dv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003683 LEAVE_GL();
3684}
3685
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003686/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003687 * glVertex4f (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003688 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003689void WINAPI wine_glVertex4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003690 TRACE("(%f, %f, %f, %f)\n", x, y, z, w );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003691 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003692 glVertex4f( x, y, z, w );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003693 LEAVE_GL();
3694}
3695
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003696/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003697 * glVertex4fv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003698 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003699void WINAPI wine_glVertex4fv( GLfloat* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003700 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003701 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003702 glVertex4fv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003703 LEAVE_GL();
3704}
3705
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003706/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003707 * glVertex4i (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003708 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003709void WINAPI wine_glVertex4i( GLint x, GLint y, GLint z, GLint w ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003710 TRACE("(%d, %d, %d, %d)\n", x, y, z, w );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003711 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003712 glVertex4i( x, y, z, w );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003713 LEAVE_GL();
3714}
3715
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003716/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003717 * glVertex4iv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003718 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003719void WINAPI wine_glVertex4iv( GLint* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003720 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003721 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003722 glVertex4iv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003723 LEAVE_GL();
3724}
3725
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003726/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003727 * glVertex4s (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003728 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003729void WINAPI wine_glVertex4s( GLshort x, GLshort y, GLshort z, GLshort w ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003730 TRACE("(%d, %d, %d, %d)\n", x, y, z, w );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003731 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003732 glVertex4s( x, y, z, w );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003733 LEAVE_GL();
3734}
3735
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003736/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003737 * glVertex4sv (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003738 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003739void WINAPI wine_glVertex4sv( GLshort* v ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003740 TRACE("(%p)\n", v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003741 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003742 glVertex4sv( v );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003743 LEAVE_GL();
3744}
3745
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003746/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003747 * glVertexPointer (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003748 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003749void WINAPI wine_glVertexPointer( GLint size, GLenum type, GLsizei stride, GLvoid* pointer ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003750 TRACE("(%d, %d, %d, %p)\n", size, type, stride, pointer );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003751 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003752 glVertexPointer( size, type, stride, pointer );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003753 LEAVE_GL();
3754}
3755
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003756/***********************************************************************
Patrik Stridvall044855c2001-07-11 18:56:41 +00003757 * glViewport (OPENGL32.@)
Patrik Stridvallc654c7e2000-05-18 00:07:53 +00003758 */
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003759void WINAPI wine_glViewport( GLint x, GLint y, GLsizei width, GLsizei height ) {
Lionel Ulmer15a4a772001-03-04 01:05:20 +00003760 TRACE("(%d, %d, %d, %d)\n", x, y, width, height );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003761 ENTER_GL();
Lionel Ulmerbff705d2000-06-12 01:21:18 +00003762 glViewport( x, y, width, height );
Lionel Ulmerbedf40b2000-05-12 20:18:14 +00003763 LEAVE_GL();
3764}