mesa: remove api_loopback to remove call indirections
This is an optimization for SPECviewperf. The increase in lines of code is only 14%. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6874>
This commit is contained in:
@@ -330,7 +330,7 @@
|
||||
<param name="w" type="GLuint"/>
|
||||
</function>
|
||||
|
||||
<function name="VertexAttribI1iv">
|
||||
<function name="VertexAttribI1iv" exec="dynamic">
|
||||
<param name="index" type="GLuint"/>
|
||||
<param name="v" type="const GLint *" count="1"/>
|
||||
</function>
|
||||
@@ -350,7 +350,7 @@
|
||||
<param name="v" type="const GLint *"/>
|
||||
</function>
|
||||
|
||||
<function name="VertexAttribI1uiv">
|
||||
<function name="VertexAttribI1uiv" exec="dynamic">
|
||||
<param name="index" type="GLuint"/>
|
||||
<param name="v" type="const GLuint *" count="1"/>
|
||||
</function>
|
||||
@@ -370,22 +370,22 @@
|
||||
<param name="v" type="const GLuint *"/>
|
||||
</function>
|
||||
|
||||
<function name="VertexAttribI4bv">
|
||||
<function name="VertexAttribI4bv" exec="dynamic">
|
||||
<param name="index" type="GLuint"/>
|
||||
<param name="v" type="const GLbyte *" count="4"/>
|
||||
</function>
|
||||
|
||||
<function name="VertexAttribI4sv">
|
||||
<function name="VertexAttribI4sv" exec="dynamic">
|
||||
<param name="index" type="GLuint"/>
|
||||
<param name="v" type="const GLshort *" count="4"/>
|
||||
</function>
|
||||
|
||||
<function name="VertexAttribI4ubv">
|
||||
<function name="VertexAttribI4ubv" exec="dynamic">
|
||||
<param name="index" type="GLuint"/>
|
||||
<param name="v" type="const GLubyte *" count="4"/>
|
||||
</function>
|
||||
|
||||
<function name="VertexAttribI4usv">
|
||||
<function name="VertexAttribI4usv" exec="dynamic">
|
||||
<param name="index" type="GLuint"/>
|
||||
<param name="v" type="const GLushort *" count="4"/>
|
||||
</function>
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -48,7 +48,6 @@ header = """/**
|
||||
|
||||
|
||||
#include "main/accum.h"
|
||||
#include "main/api_loopback.h"
|
||||
#include "main/api_exec.h"
|
||||
#include "main/arbprogram.h"
|
||||
#include "main/atifragshader.h"
|
||||
|
@@ -12,8 +12,6 @@ MAIN_FILES = \
|
||||
main/api_arrayelt.h \
|
||||
main/api_exec.c \
|
||||
main/api_exec.h \
|
||||
main/api_loopback.c \
|
||||
main/api_loopback.h \
|
||||
main/arbprogram.c \
|
||||
main/arbprogram.h \
|
||||
main/arrayobj.c \
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -1,463 +0,0 @@
|
||||
/*
|
||||
* Mesa 3-D graphics library
|
||||
*
|
||||
* Copyright (C) 1999-2001 Brian Paul All Rights Reserved.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
|
||||
|
||||
#ifndef API_LOOPBACK_H
|
||||
#define API_LOOPBACK_H
|
||||
|
||||
#include "main/glheader.h"
|
||||
|
||||
struct _glapi_table;
|
||||
struct gl_context;
|
||||
|
||||
extern void
|
||||
_mesa_loopback_init_api_table(const struct gl_context *ctx,
|
||||
struct _glapi_table *dest);
|
||||
void GLAPIENTRY
|
||||
_mesa_Color3b( GLbyte red, GLbyte green, GLbyte blue );
|
||||
void GLAPIENTRY
|
||||
_mesa_Color3d( GLdouble red, GLdouble green, GLdouble blue );
|
||||
void GLAPIENTRY
|
||||
_mesa_Color3i( GLint red, GLint green, GLint blue );
|
||||
void GLAPIENTRY
|
||||
_mesa_Color3s( GLshort red, GLshort green, GLshort blue );
|
||||
void GLAPIENTRY
|
||||
_mesa_Color3ui( GLuint red, GLuint green, GLuint blue );
|
||||
void GLAPIENTRY
|
||||
_mesa_Color3us( GLushort red, GLushort green, GLushort blue );
|
||||
void GLAPIENTRY
|
||||
_mesa_Color3ub( GLubyte red, GLubyte green, GLubyte blue );
|
||||
void GLAPIENTRY
|
||||
_mesa_Color3bv( const GLbyte *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_Color3dv( const GLdouble *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_Color3iv( const GLint *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_Color3sv( const GLshort *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_Color3uiv( const GLuint *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_Color3usv( const GLushort *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_Color3ubv( const GLubyte *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_Color4b( GLbyte red, GLbyte green, GLbyte blue,
|
||||
GLbyte alpha );
|
||||
void GLAPIENTRY
|
||||
_mesa_Color4d( GLdouble red, GLdouble green, GLdouble blue,
|
||||
GLdouble alpha );
|
||||
void GLAPIENTRY
|
||||
_mesa_Color4i( GLint red, GLint green, GLint blue, GLint alpha );
|
||||
void GLAPIENTRY
|
||||
_mesa_Color4s( GLshort red, GLshort green, GLshort blue,
|
||||
GLshort alpha );
|
||||
void GLAPIENTRY
|
||||
_mesa_Color4ui( GLuint red, GLuint green, GLuint blue, GLuint alpha );
|
||||
void GLAPIENTRY
|
||||
_mesa_Color4us( GLushort red, GLushort green, GLushort blue,
|
||||
GLushort alpha );
|
||||
void GLAPIENTRY
|
||||
_mesa_Color4ub( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha );
|
||||
void GLAPIENTRY
|
||||
_mesa_Color4iv( const GLint *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_Color4bv( const GLbyte *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_Color4dv( const GLdouble *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_Color4sv( const GLshort *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_Color4uiv( const GLuint *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_Color4usv( const GLushort *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_Color4ubv( const GLubyte *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_FogCoordd( GLdouble d );
|
||||
void GLAPIENTRY
|
||||
_mesa_FogCoorddv( const GLdouble *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_Indexd( GLdouble c );
|
||||
void GLAPIENTRY
|
||||
_mesa_Indexi( GLint c );
|
||||
void GLAPIENTRY
|
||||
_mesa_Indexs( GLshort c );
|
||||
void GLAPIENTRY
|
||||
_mesa_Indexub( GLubyte c );
|
||||
void GLAPIENTRY
|
||||
_mesa_Indexdv( const GLdouble *c );
|
||||
void GLAPIENTRY
|
||||
_mesa_Indexiv( const GLint *c );
|
||||
void GLAPIENTRY
|
||||
_mesa_Indexsv( const GLshort *c );
|
||||
void GLAPIENTRY
|
||||
_mesa_Indexubv( const GLubyte *c );
|
||||
void GLAPIENTRY
|
||||
_mesa_EdgeFlagv(const GLboolean *flag);
|
||||
void GLAPIENTRY
|
||||
_mesa_Normal3b( GLbyte nx, GLbyte ny, GLbyte nz );
|
||||
void GLAPIENTRY
|
||||
_mesa_Normal3d( GLdouble nx, GLdouble ny, GLdouble nz );
|
||||
void GLAPIENTRY
|
||||
_mesa_Normal3i( GLint nx, GLint ny, GLint nz );
|
||||
void GLAPIENTRY
|
||||
_mesa_Normal3s( GLshort nx, GLshort ny, GLshort nz );
|
||||
void GLAPIENTRY
|
||||
_mesa_Normal3bv( const GLbyte *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_Normal3dv( const GLdouble *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_Normal3iv( const GLint *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_Normal3sv( const GLshort *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_TexCoord1d( GLdouble s );
|
||||
void GLAPIENTRY
|
||||
_mesa_TexCoord1i( GLint s );
|
||||
void GLAPIENTRY
|
||||
_mesa_TexCoord1s( GLshort s );
|
||||
void GLAPIENTRY
|
||||
_mesa_TexCoord2d( GLdouble s, GLdouble t );
|
||||
void GLAPIENTRY
|
||||
_mesa_TexCoord2s( GLshort s, GLshort t );
|
||||
void GLAPIENTRY
|
||||
_mesa_TexCoord2i( GLint s, GLint t );
|
||||
void GLAPIENTRY
|
||||
_mesa_TexCoord3d( GLdouble s, GLdouble t, GLdouble r );
|
||||
void GLAPIENTRY
|
||||
_mesa_TexCoord3i( GLint s, GLint t, GLint r );
|
||||
void GLAPIENTRY
|
||||
_mesa_TexCoord3s( GLshort s, GLshort t, GLshort r );
|
||||
void GLAPIENTRY
|
||||
_mesa_TexCoord4d( GLdouble s, GLdouble t, GLdouble r, GLdouble q );
|
||||
void GLAPIENTRY
|
||||
_mesa_TexCoord4i( GLint s, GLint t, GLint r, GLint q );
|
||||
void GLAPIENTRY
|
||||
_mesa_TexCoord4s( GLshort s, GLshort t, GLshort r, GLshort q );
|
||||
void GLAPIENTRY
|
||||
_mesa_TexCoord1dv( const GLdouble *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_TexCoord1iv( const GLint *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_TexCoord1sv( const GLshort *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_TexCoord2dv( const GLdouble *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_TexCoord2iv( const GLint *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_TexCoord2sv( const GLshort *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_TexCoord3dv( const GLdouble *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_TexCoord3iv( const GLint *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_TexCoord3sv( const GLshort *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_TexCoord4dv( const GLdouble *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_TexCoord4iv( const GLint *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_TexCoord4sv( const GLshort *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_Vertex2d( GLdouble x, GLdouble y );
|
||||
void GLAPIENTRY
|
||||
_mesa_Vertex2i( GLint x, GLint y );
|
||||
void GLAPIENTRY
|
||||
_mesa_Vertex2s( GLshort x, GLshort y );
|
||||
void GLAPIENTRY
|
||||
_mesa_Vertex3d( GLdouble x, GLdouble y, GLdouble z );
|
||||
void GLAPIENTRY
|
||||
_mesa_Vertex3i( GLint x, GLint y, GLint z );
|
||||
void GLAPIENTRY
|
||||
_mesa_Vertex3s( GLshort x, GLshort y, GLshort z );
|
||||
void GLAPIENTRY
|
||||
_mesa_Vertex4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w );
|
||||
void GLAPIENTRY
|
||||
_mesa_Vertex4i( GLint x, GLint y, GLint z, GLint w );
|
||||
void GLAPIENTRY
|
||||
_mesa_Vertex4s( GLshort x, GLshort y, GLshort z, GLshort w );
|
||||
void GLAPIENTRY
|
||||
_mesa_Vertex2dv( const GLdouble *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_Vertex2iv( const GLint *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_Vertex2sv( const GLshort *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_Vertex3dv( const GLdouble *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_Vertex3iv( const GLint *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_Vertex3sv( const GLshort *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_Vertex4dv( const GLdouble *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_Vertex4iv( const GLint *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_Vertex4sv( const GLshort *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_MultiTexCoord1d(GLenum target, GLdouble s);
|
||||
void GLAPIENTRY
|
||||
_mesa_MultiTexCoord1dv(GLenum target, const GLdouble *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_MultiTexCoord1i(GLenum target, GLint s);
|
||||
void GLAPIENTRY
|
||||
_mesa_MultiTexCoord1iv(GLenum target, const GLint *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_MultiTexCoord1s(GLenum target, GLshort s);
|
||||
void GLAPIENTRY
|
||||
_mesa_MultiTexCoord1sv(GLenum target, const GLshort *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_MultiTexCoord2d(GLenum target, GLdouble s, GLdouble t);
|
||||
void GLAPIENTRY
|
||||
_mesa_MultiTexCoord2dv(GLenum target, const GLdouble *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_MultiTexCoord2i(GLenum target, GLint s, GLint t);
|
||||
void GLAPIENTRY
|
||||
_mesa_MultiTexCoord2iv(GLenum target, const GLint *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_MultiTexCoord2s(GLenum target, GLshort s, GLshort t);
|
||||
void GLAPIENTRY
|
||||
_mesa_MultiTexCoord2sv(GLenum target, const GLshort *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_MultiTexCoord3d(GLenum target, GLdouble s, GLdouble t, GLdouble r);
|
||||
void GLAPIENTRY
|
||||
_mesa_MultiTexCoord3dv(GLenum target, const GLdouble *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_MultiTexCoord3i(GLenum target, GLint s, GLint t, GLint r);
|
||||
void GLAPIENTRY
|
||||
_mesa_MultiTexCoord3iv(GLenum target, const GLint *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_MultiTexCoord3s(GLenum target, GLshort s, GLshort t, GLshort r);
|
||||
void GLAPIENTRY
|
||||
_mesa_MultiTexCoord3sv(GLenum target, const GLshort *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_MultiTexCoord4d(GLenum target, GLdouble s, GLdouble t, GLdouble r,
|
||||
GLdouble q);
|
||||
void GLAPIENTRY
|
||||
_mesa_MultiTexCoord4dv(GLenum target, const GLdouble *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_MultiTexCoord4i(GLenum target, GLint s, GLint t, GLint r, GLint q);
|
||||
void GLAPIENTRY
|
||||
_mesa_MultiTexCoord4iv(GLenum target, const GLint *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_MultiTexCoord4s(GLenum target, GLshort s, GLshort t, GLshort r,
|
||||
GLshort q);
|
||||
void GLAPIENTRY
|
||||
_mesa_MultiTexCoord4sv(GLenum target, const GLshort *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_EvalCoord2dv( const GLdouble *u );
|
||||
void GLAPIENTRY
|
||||
_mesa_EvalCoord2d( GLdouble u, GLdouble v );
|
||||
void GLAPIENTRY
|
||||
_mesa_EvalCoord1dv( const GLdouble *u );
|
||||
void GLAPIENTRY
|
||||
_mesa_EvalCoord1d( GLdouble u );
|
||||
void GLAPIENTRY
|
||||
_mesa_Materialf( GLenum face, GLenum pname, GLfloat param );
|
||||
void GLAPIENTRY
|
||||
_mesa_Materiali(GLenum face, GLenum pname, GLint param );
|
||||
void GLAPIENTRY
|
||||
_mesa_Materialiv(GLenum face, GLenum pname, const GLint *params );
|
||||
void GLAPIENTRY
|
||||
_mesa_Rectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2);
|
||||
void GLAPIENTRY
|
||||
_mesa_Rectdv(const GLdouble *v1, const GLdouble *v2);
|
||||
void GLAPIENTRY
|
||||
_mesa_Rectfv(const GLfloat *v1, const GLfloat *v2);
|
||||
void GLAPIENTRY
|
||||
_mesa_Recti(GLint x1, GLint y1, GLint x2, GLint y2);
|
||||
void GLAPIENTRY
|
||||
_mesa_Rectiv(const GLint *v1, const GLint *v2);
|
||||
void GLAPIENTRY
|
||||
_mesa_Rects(GLshort x1, GLshort y1, GLshort x2, GLshort y2);
|
||||
void GLAPIENTRY
|
||||
_mesa_Rectsv(const GLshort *v1, const GLshort *v2);
|
||||
void GLAPIENTRY
|
||||
_mesa_SecondaryColor3b( GLbyte red, GLbyte green, GLbyte blue );
|
||||
void GLAPIENTRY
|
||||
_mesa_SecondaryColor3d( GLdouble red, GLdouble green, GLdouble blue );
|
||||
void GLAPIENTRY
|
||||
_mesa_SecondaryColor3i( GLint red, GLint green, GLint blue );
|
||||
void GLAPIENTRY
|
||||
_mesa_SecondaryColor3s( GLshort red, GLshort green, GLshort blue );
|
||||
void GLAPIENTRY
|
||||
_mesa_SecondaryColor3ui( GLuint red, GLuint green, GLuint blue );
|
||||
void GLAPIENTRY
|
||||
_mesa_SecondaryColor3us( GLushort red, GLushort green, GLushort blue );
|
||||
void GLAPIENTRY
|
||||
_mesa_SecondaryColor3ub( GLubyte red, GLubyte green, GLubyte blue );
|
||||
void GLAPIENTRY
|
||||
_mesa_SecondaryColor3bv( const GLbyte *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_SecondaryColor3dv( const GLdouble *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_SecondaryColor3iv( const GLint *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_SecondaryColor3sv( const GLshort *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_SecondaryColor3uiv( const GLuint *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_SecondaryColor3usv( const GLushort *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_SecondaryColor3ubv( const GLubyte *v );
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib1sNV(GLuint index, GLshort x);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib1dNV(GLuint index, GLdouble x);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib2sNV(GLuint index, GLshort x, GLshort y);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib2dNV(GLuint index, GLdouble x, GLdouble y);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib3sNV(GLuint index, GLshort x, GLshort y, GLshort z);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib3dNV(GLuint index, GLdouble x, GLdouble y, GLdouble z);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib4sNV(GLuint index, GLshort x, GLshort y, GLshort z,
|
||||
GLshort w);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib4dNV(GLuint index, GLdouble x, GLdouble y, GLdouble z,
|
||||
GLdouble w);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib4ubNV(GLuint index, GLubyte x, GLubyte y, GLubyte z,
|
||||
GLubyte w);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib1svNV(GLuint index, const GLshort *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib1dvNV(GLuint index, const GLdouble *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib2svNV(GLuint index, const GLshort *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib2dvNV(GLuint index, const GLdouble *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib3svNV(GLuint index, const GLshort *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib3dvNV(GLuint index, const GLdouble *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib4svNV(GLuint index, const GLshort *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib4dvNV(GLuint index, const GLdouble *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib4ubvNV(GLuint index, const GLubyte *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttribs1svNV(GLuint index, GLsizei n, const GLshort *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttribs1fvNV(GLuint index, GLsizei n, const GLfloat *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttribs1dvNV(GLuint index, GLsizei n, const GLdouble *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttribs2svNV(GLuint index, GLsizei n, const GLshort *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttribs2fvNV(GLuint index, GLsizei n, const GLfloat *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttribs2dvNV(GLuint index, GLsizei n, const GLdouble *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttribs3svNV(GLuint index, GLsizei n, const GLshort *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttribs3fvNV(GLuint index, GLsizei n, const GLfloat *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttribs3dvNV(GLuint index, GLsizei n, const GLdouble *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttribs4svNV(GLuint index, GLsizei n, const GLshort *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttribs4fvNV(GLuint index, GLsizei n, const GLfloat *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttribs4dvNV(GLuint index, GLsizei n, const GLdouble *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttribs4ubvNV(GLuint index, GLsizei n, const GLubyte *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib1s(GLuint index, GLshort x);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib1d(GLuint index, GLdouble x);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib2s(GLuint index, GLshort x, GLshort y);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib2d(GLuint index, GLdouble x, GLdouble y);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib3s(GLuint index, GLshort x, GLshort y, GLshort z);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib3d(GLuint index, GLdouble x, GLdouble y, GLdouble z);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib4s(GLuint index, GLshort x, GLshort y, GLshort z,
|
||||
GLshort w);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib4d(GLuint index, GLdouble x, GLdouble y, GLdouble z,
|
||||
GLdouble w);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib1sv(GLuint index, const GLshort *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib1dv(GLuint index, const GLdouble *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib2sv(GLuint index, const GLshort *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib2dv(GLuint index, const GLdouble *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib3sv(GLuint index, const GLshort *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib3dv(GLuint index, const GLdouble *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib4sv(GLuint index, const GLshort *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib4dv(GLuint index, const GLdouble *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib4bv(GLuint index, const GLbyte * v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib4iv(GLuint index, const GLint * v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib4ubv(GLuint index, const GLubyte * v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib4usv(GLuint index, const GLushort * v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib4uiv(GLuint index, const GLuint * v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib4Nbv(GLuint index, const GLbyte * v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib4Nsv(GLuint index, const GLshort * v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib4Niv(GLuint index, const GLint * v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib4Nub(GLuint index, GLubyte x, GLubyte y, GLubyte z,
|
||||
GLubyte w);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib4Nubv(GLuint index, const GLubyte * v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib4Nusv(GLuint index, const GLushort * v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttrib4Nuiv(GLuint index, const GLuint * v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttribI1iv(GLuint index, const GLint *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttribI1uiv(GLuint index, const GLuint *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttribI4bv(GLuint index, const GLbyte *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttribI4sv(GLuint index, const GLshort *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttribI4ubv(GLuint index, const GLubyte *v);
|
||||
void GLAPIENTRY
|
||||
_mesa_VertexAttribI4usv(GLuint index, const GLushort *v);
|
||||
|
||||
#endif /* API_LOOPBACK_H */
|
@@ -80,7 +80,6 @@
|
||||
|
||||
#include "accum.h"
|
||||
#include "api_exec.h"
|
||||
#include "api_loopback.h"
|
||||
#include "arrayobj.h"
|
||||
#include "attrib.h"
|
||||
#include "bbox.h"
|
||||
@@ -1084,7 +1083,7 @@ _mesa_alloc_dispatch_table(void)
|
||||
* OPERATION."
|
||||
*
|
||||
* The table entries for specifying vertex attributes are set up by
|
||||
* install_vtxfmt() and _mesa_loopback_init_api_table(), and End() and dlists
|
||||
* install_vtxfmt(), and End() and dlists
|
||||
* are set by install_vtxfmt() as well.
|
||||
*/
|
||||
static struct _glapi_table *
|
||||
@@ -1130,8 +1129,6 @@ create_beginend_table(const struct gl_context *ctx)
|
||||
COPY_DISPATCH(ObjectPurgeableAPPLE);
|
||||
COPY_DISPATCH(ObjectUnpurgeableAPPLE);
|
||||
|
||||
_mesa_loopback_init_api_table(ctx, table);
|
||||
|
||||
return table;
|
||||
}
|
||||
|
||||
|
@@ -1538,6 +1538,216 @@ typedef struct {
|
||||
void (GLAPIENTRYP SecondaryColor3hNV)( GLhalfNV, GLhalfNV, GLhalfNV );
|
||||
void (GLAPIENTRYP SecondaryColor3hvNV)( const GLhalfNV * );
|
||||
|
||||
void (GLAPIENTRYP Color3b)( GLbyte red, GLbyte green, GLbyte blue );
|
||||
void (GLAPIENTRYP Color3d)( GLdouble red, GLdouble green, GLdouble blue );
|
||||
void (GLAPIENTRYP Color3i)( GLint red, GLint green, GLint blue );
|
||||
void (GLAPIENTRYP Color3s)( GLshort red, GLshort green, GLshort blue );
|
||||
void (GLAPIENTRYP Color3ui)( GLuint red, GLuint green, GLuint blue );
|
||||
void (GLAPIENTRYP Color3us)( GLushort red, GLushort green, GLushort blue );
|
||||
void (GLAPIENTRYP Color3ub)( GLubyte red, GLubyte green, GLubyte blue );
|
||||
void (GLAPIENTRYP Color3bv)( const GLbyte *v );
|
||||
void (GLAPIENTRYP Color3dv)( const GLdouble *v );
|
||||
void (GLAPIENTRYP Color3iv)( const GLint *v );
|
||||
void (GLAPIENTRYP Color3sv)( const GLshort *v );
|
||||
void (GLAPIENTRYP Color3uiv)( const GLuint *v );
|
||||
void (GLAPIENTRYP Color3usv)( const GLushort *v );
|
||||
void (GLAPIENTRYP Color3ubv)( const GLubyte *v );
|
||||
void (GLAPIENTRYP Color4b)( GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha );
|
||||
void (GLAPIENTRYP Color4d)( GLdouble red, GLdouble green, GLdouble blue,
|
||||
GLdouble alpha );
|
||||
void (GLAPIENTRYP Color4i)( GLint red, GLint green, GLint blue, GLint alpha );
|
||||
void (GLAPIENTRYP Color4s)( GLshort red, GLshort green, GLshort blue,
|
||||
GLshort alpha );
|
||||
void (GLAPIENTRYP Color4ui)( GLuint red, GLuint green, GLuint blue, GLuint alpha );
|
||||
void (GLAPIENTRYP Color4us)( GLushort red, GLushort green, GLushort blue,
|
||||
GLushort alpha );
|
||||
void (GLAPIENTRYP Color4ub)( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha );
|
||||
void (GLAPIENTRYP Color4iv)( const GLint *v );
|
||||
void (GLAPIENTRYP Color4bv)( const GLbyte *v );
|
||||
void (GLAPIENTRYP Color4dv)( const GLdouble *v );
|
||||
void (GLAPIENTRYP Color4sv)( const GLshort *v);
|
||||
void (GLAPIENTRYP Color4uiv)( const GLuint *v);
|
||||
void (GLAPIENTRYP Color4usv)( const GLushort *v);
|
||||
void (GLAPIENTRYP Color4ubv)( const GLubyte *v);
|
||||
void (GLAPIENTRYP FogCoordd)( GLdouble d );
|
||||
void (GLAPIENTRYP FogCoorddv)( const GLdouble *v );
|
||||
void (GLAPIENTRYP Indexd)( GLdouble c );
|
||||
void (GLAPIENTRYP Indexi)( GLint c );
|
||||
void (GLAPIENTRYP Indexs)( GLshort c );
|
||||
void (GLAPIENTRYP Indexub)( GLubyte c );
|
||||
void (GLAPIENTRYP Indexdv)( const GLdouble *c );
|
||||
void (GLAPIENTRYP Indexiv)( const GLint *c );
|
||||
void (GLAPIENTRYP Indexsv)( const GLshort *c );
|
||||
void (GLAPIENTRYP Indexubv)( const GLubyte *c );
|
||||
void (GLAPIENTRYP EdgeFlagv)(const GLboolean *flag);
|
||||
void (GLAPIENTRYP Normal3b)( GLbyte nx, GLbyte ny, GLbyte nz );
|
||||
void (GLAPIENTRYP Normal3d)( GLdouble nx, GLdouble ny, GLdouble nz );
|
||||
void (GLAPIENTRYP Normal3i)( GLint nx, GLint ny, GLint nz );
|
||||
void (GLAPIENTRYP Normal3s)( GLshort nx, GLshort ny, GLshort nz );
|
||||
void (GLAPIENTRYP Normal3bv)( const GLbyte *v );
|
||||
void (GLAPIENTRYP Normal3dv)( const GLdouble *v );
|
||||
void (GLAPIENTRYP Normal3iv)( const GLint *v );
|
||||
void (GLAPIENTRYP Normal3sv)( const GLshort *v );
|
||||
void (GLAPIENTRYP TexCoord1d)( GLdouble s );
|
||||
void (GLAPIENTRYP TexCoord1i)( GLint s );
|
||||
void (GLAPIENTRYP TexCoord1s)( GLshort s );
|
||||
void (GLAPIENTRYP TexCoord2d)( GLdouble s, GLdouble t );
|
||||
void (GLAPIENTRYP TexCoord2s)( GLshort s, GLshort t );
|
||||
void (GLAPIENTRYP TexCoord2i)( GLint s, GLint t );
|
||||
void (GLAPIENTRYP TexCoord3d)( GLdouble s, GLdouble t, GLdouble r );
|
||||
void (GLAPIENTRYP TexCoord3i)( GLint s, GLint t, GLint r );
|
||||
void (GLAPIENTRYP TexCoord3s)( GLshort s, GLshort t, GLshort r );
|
||||
void (GLAPIENTRYP TexCoord4d)( GLdouble s, GLdouble t, GLdouble r, GLdouble q );
|
||||
void (GLAPIENTRYP TexCoord4i)( GLint s, GLint t, GLint r, GLint q );
|
||||
void (GLAPIENTRYP TexCoord4s)( GLshort s, GLshort t, GLshort r, GLshort q );
|
||||
void (GLAPIENTRYP TexCoord1dv)( const GLdouble *v );
|
||||
void (GLAPIENTRYP TexCoord1iv)( const GLint *v );
|
||||
void (GLAPIENTRYP TexCoord1sv)( const GLshort *v );
|
||||
void (GLAPIENTRYP TexCoord2dv)( const GLdouble *v );
|
||||
void (GLAPIENTRYP TexCoord2iv)( const GLint *v );
|
||||
void (GLAPIENTRYP TexCoord2sv)( const GLshort *v );
|
||||
void (GLAPIENTRYP TexCoord3dv)( const GLdouble *v );
|
||||
void (GLAPIENTRYP TexCoord3iv)( const GLint *v );
|
||||
void (GLAPIENTRYP TexCoord3sv)( const GLshort *v );
|
||||
void (GLAPIENTRYP TexCoord4dv)( const GLdouble *v );
|
||||
void (GLAPIENTRYP TexCoord4iv)( const GLint *v );
|
||||
void (GLAPIENTRYP TexCoord4sv)( const GLshort *v );
|
||||
void (GLAPIENTRYP Vertex2d)( GLdouble x, GLdouble y );
|
||||
void (GLAPIENTRYP Vertex2i)( GLint x, GLint y );
|
||||
void (GLAPIENTRYP Vertex2s)( GLshort x, GLshort y );
|
||||
void (GLAPIENTRYP Vertex3d)( GLdouble x, GLdouble y, GLdouble z );
|
||||
void (GLAPIENTRYP Vertex3i)( GLint x, GLint y, GLint z );
|
||||
void (GLAPIENTRYP Vertex3s)( GLshort x, GLshort y, GLshort z );
|
||||
void (GLAPIENTRYP Vertex4d)( GLdouble x, GLdouble y, GLdouble z, GLdouble w );
|
||||
void (GLAPIENTRYP Vertex4i)( GLint x, GLint y, GLint z, GLint w );
|
||||
void (GLAPIENTRYP Vertex4s)( GLshort x, GLshort y, GLshort z, GLshort w );
|
||||
void (GLAPIENTRYP Vertex2dv)( const GLdouble *v );
|
||||
void (GLAPIENTRYP Vertex2iv)( const GLint *v );
|
||||
void (GLAPIENTRYP Vertex2sv)( const GLshort *v );
|
||||
void (GLAPIENTRYP Vertex3dv)( const GLdouble *v );
|
||||
void (GLAPIENTRYP Vertex3iv)( const GLint *v );
|
||||
void (GLAPIENTRYP Vertex3sv)( const GLshort *v );
|
||||
void (GLAPIENTRYP Vertex4dv)( const GLdouble *v );
|
||||
void (GLAPIENTRYP Vertex4iv)( const GLint *v );
|
||||
void (GLAPIENTRYP Vertex4sv)( const GLshort *v );
|
||||
void (GLAPIENTRYP MultiTexCoord1d)(GLenum target, GLdouble s);
|
||||
void (GLAPIENTRYP MultiTexCoord1dv)(GLenum target, const GLdouble *v);
|
||||
void (GLAPIENTRYP MultiTexCoord1i)(GLenum target, GLint s);
|
||||
void (GLAPIENTRYP MultiTexCoord1iv)(GLenum target, const GLint *v);
|
||||
void (GLAPIENTRYP MultiTexCoord1s)(GLenum target, GLshort s);
|
||||
void (GLAPIENTRYP MultiTexCoord1sv)(GLenum target, const GLshort *v);
|
||||
void (GLAPIENTRYP MultiTexCoord2d)(GLenum target, GLdouble s, GLdouble t);
|
||||
void (GLAPIENTRYP MultiTexCoord2dv)(GLenum target, const GLdouble *v);
|
||||
void (GLAPIENTRYP MultiTexCoord2i)(GLenum target, GLint s, GLint t);
|
||||
void (GLAPIENTRYP MultiTexCoord2iv)(GLenum target, const GLint *v);
|
||||
void (GLAPIENTRYP MultiTexCoord2s)(GLenum target, GLshort s, GLshort t);
|
||||
void (GLAPIENTRYP MultiTexCoord2sv)(GLenum target, const GLshort *v);
|
||||
void (GLAPIENTRYP MultiTexCoord3d)(GLenum target, GLdouble s, GLdouble t, GLdouble r);
|
||||
void (GLAPIENTRYP MultiTexCoord3dv)(GLenum target, const GLdouble *v);
|
||||
void (GLAPIENTRYP MultiTexCoord3i)(GLenum target, GLint s, GLint t, GLint r);
|
||||
void (GLAPIENTRYP MultiTexCoord3iv)(GLenum target, const GLint *v);
|
||||
void (GLAPIENTRYP MultiTexCoord3s)(GLenum target, GLshort s, GLshort t, GLshort r);
|
||||
void (GLAPIENTRYP MultiTexCoord3sv)(GLenum target, const GLshort *v);
|
||||
void (GLAPIENTRYP MultiTexCoord4d)(GLenum target, GLdouble s, GLdouble t, GLdouble r,
|
||||
GLdouble q);
|
||||
void (GLAPIENTRYP MultiTexCoord4dv)(GLenum target, const GLdouble *v);
|
||||
void (GLAPIENTRYP MultiTexCoord4i)(GLenum target, GLint s, GLint t, GLint r, GLint q);
|
||||
void (GLAPIENTRYP MultiTexCoord4iv)(GLenum target, const GLint *v);
|
||||
void (GLAPIENTRYP MultiTexCoord4s)(GLenum target, GLshort s, GLshort t, GLshort r,
|
||||
GLshort q);
|
||||
void (GLAPIENTRYP MultiTexCoord4sv)(GLenum target, const GLshort *v);
|
||||
void (GLAPIENTRYP EvalCoord2dv)( const GLdouble *u );
|
||||
void (GLAPIENTRYP EvalCoord2d)( GLdouble u, GLdouble v );
|
||||
void (GLAPIENTRYP EvalCoord1dv)( const GLdouble *u );
|
||||
void (GLAPIENTRYP EvalCoord1d)( GLdouble u );
|
||||
void (GLAPIENTRYP Materialf)( GLenum face, GLenum pname, GLfloat param );
|
||||
void (GLAPIENTRYP Materiali)(GLenum face, GLenum pname, GLint param );
|
||||
void (GLAPIENTRYP Materialiv)(GLenum face, GLenum pname, const GLint *params );
|
||||
void (GLAPIENTRYP SecondaryColor3b)( GLbyte red, GLbyte green, GLbyte blue );
|
||||
void (GLAPIENTRYP SecondaryColor3d)( GLdouble red, GLdouble green, GLdouble blue );
|
||||
void (GLAPIENTRYP SecondaryColor3i)( GLint red, GLint green, GLint blue );
|
||||
void (GLAPIENTRYP SecondaryColor3s)( GLshort red, GLshort green, GLshort blue );
|
||||
void (GLAPIENTRYP SecondaryColor3ui)( GLuint red, GLuint green, GLuint blue );
|
||||
void (GLAPIENTRYP SecondaryColor3us)( GLushort red, GLushort green, GLushort blue );
|
||||
void (GLAPIENTRYP SecondaryColor3ub)( GLubyte red, GLubyte green, GLubyte blue );
|
||||
void (GLAPIENTRYP SecondaryColor3bv)( const GLbyte *v );
|
||||
void (GLAPIENTRYP SecondaryColor3dv)( const GLdouble *v );
|
||||
void (GLAPIENTRYP SecondaryColor3iv)( const GLint *v );
|
||||
void (GLAPIENTRYP SecondaryColor3sv)( const GLshort *v );
|
||||
void (GLAPIENTRYP SecondaryColor3uiv)( const GLuint *v );
|
||||
void (GLAPIENTRYP SecondaryColor3usv)( const GLushort *v );
|
||||
void (GLAPIENTRYP SecondaryColor3ubv)( const GLubyte *v );
|
||||
void (GLAPIENTRYP VertexAttrib1sNV)(GLuint index, GLshort x);
|
||||
void (GLAPIENTRYP VertexAttrib1dNV)(GLuint index, GLdouble x);
|
||||
void (GLAPIENTRYP VertexAttrib2sNV)(GLuint index, GLshort x, GLshort y);
|
||||
void (GLAPIENTRYP VertexAttrib2dNV)(GLuint index, GLdouble x, GLdouble y);
|
||||
void (GLAPIENTRYP VertexAttrib3sNV)(GLuint index, GLshort x, GLshort y, GLshort z);
|
||||
void (GLAPIENTRYP VertexAttrib3dNV)(GLuint index, GLdouble x, GLdouble y, GLdouble z);
|
||||
void (GLAPIENTRYP VertexAttrib4sNV)(GLuint index, GLshort x, GLshort y, GLshort z,
|
||||
GLshort w);
|
||||
void (GLAPIENTRYP VertexAttrib4dNV)(GLuint index, GLdouble x, GLdouble y, GLdouble z,
|
||||
GLdouble w);
|
||||
void (GLAPIENTRYP VertexAttrib4ubNV)(GLuint index, GLubyte x, GLubyte y, GLubyte z,
|
||||
GLubyte w);
|
||||
void (GLAPIENTRYP VertexAttrib1svNV)(GLuint index, const GLshort *v);
|
||||
void (GLAPIENTRYP VertexAttrib1dvNV)(GLuint index, const GLdouble *v);
|
||||
void (GLAPIENTRYP VertexAttrib2svNV)(GLuint index, const GLshort *v);
|
||||
void (GLAPIENTRYP VertexAttrib2dvNV)(GLuint index, const GLdouble *v);
|
||||
void (GLAPIENTRYP VertexAttrib3svNV)(GLuint index, const GLshort *v);
|
||||
void (GLAPIENTRYP VertexAttrib3dvNV)(GLuint index, const GLdouble *v);
|
||||
void (GLAPIENTRYP VertexAttrib4svNV)(GLuint index, const GLshort *v);
|
||||
void (GLAPIENTRYP VertexAttrib4dvNV)(GLuint index, const GLdouble *v);
|
||||
void (GLAPIENTRYP VertexAttrib4ubvNV)(GLuint index, const GLubyte *v);
|
||||
void (GLAPIENTRYP VertexAttribs1svNV)(GLuint index, GLsizei n, const GLshort *v);
|
||||
void (GLAPIENTRYP VertexAttribs1fvNV)(GLuint index, GLsizei n, const GLfloat *v);
|
||||
void (GLAPIENTRYP VertexAttribs1dvNV)(GLuint index, GLsizei n, const GLdouble *v);
|
||||
void (GLAPIENTRYP VertexAttribs2svNV)(GLuint index, GLsizei n, const GLshort *v);
|
||||
void (GLAPIENTRYP VertexAttribs2fvNV)(GLuint index, GLsizei n, const GLfloat *v);
|
||||
void (GLAPIENTRYP VertexAttribs2dvNV)(GLuint index, GLsizei n, const GLdouble *v);
|
||||
void (GLAPIENTRYP VertexAttribs3svNV)(GLuint index, GLsizei n, const GLshort *v);
|
||||
void (GLAPIENTRYP VertexAttribs3fvNV)(GLuint index, GLsizei n, const GLfloat *v);
|
||||
void (GLAPIENTRYP VertexAttribs3dvNV)(GLuint index, GLsizei n, const GLdouble *v);
|
||||
void (GLAPIENTRYP VertexAttribs4svNV)(GLuint index, GLsizei n, const GLshort *v);
|
||||
void (GLAPIENTRYP VertexAttribs4fvNV)(GLuint index, GLsizei n, const GLfloat *v);
|
||||
void (GLAPIENTRYP VertexAttribs4dvNV)(GLuint index, GLsizei n, const GLdouble *v);
|
||||
void (GLAPIENTRYP VertexAttribs4ubvNV)(GLuint index, GLsizei n, const GLubyte *v);
|
||||
void (GLAPIENTRYP VertexAttrib1s)(GLuint index, GLshort x);
|
||||
void (GLAPIENTRYP VertexAttrib1d)(GLuint index, GLdouble x);
|
||||
void (GLAPIENTRYP VertexAttrib2s)(GLuint index, GLshort x, GLshort y);
|
||||
void (GLAPIENTRYP VertexAttrib2d)(GLuint index, GLdouble x, GLdouble y);
|
||||
void (GLAPIENTRYP VertexAttrib3s)(GLuint index, GLshort x, GLshort y, GLshort z);
|
||||
void (GLAPIENTRYP VertexAttrib3d)(GLuint index, GLdouble x, GLdouble y, GLdouble z);
|
||||
void (GLAPIENTRYP VertexAttrib4s)(GLuint index, GLshort x, GLshort y, GLshort z,
|
||||
GLshort w);
|
||||
void (GLAPIENTRYP VertexAttrib4d)(GLuint index, GLdouble x, GLdouble y, GLdouble z,
|
||||
GLdouble w);
|
||||
void (GLAPIENTRYP VertexAttrib1sv)(GLuint index, const GLshort *v);
|
||||
void (GLAPIENTRYP VertexAttrib1dv)(GLuint index, const GLdouble *v);
|
||||
void (GLAPIENTRYP VertexAttrib2sv)(GLuint index, const GLshort *v);
|
||||
void (GLAPIENTRYP VertexAttrib2dv)(GLuint index, const GLdouble *v);
|
||||
void (GLAPIENTRYP VertexAttrib3sv)(GLuint index, const GLshort *v);
|
||||
void (GLAPIENTRYP VertexAttrib3dv)(GLuint index, const GLdouble *v);
|
||||
void (GLAPIENTRYP VertexAttrib4sv)(GLuint index, const GLshort *v);
|
||||
void (GLAPIENTRYP VertexAttrib4dv)(GLuint index, const GLdouble *v);
|
||||
void (GLAPIENTRYP VertexAttrib4bv)(GLuint index, const GLbyte * v);
|
||||
void (GLAPIENTRYP VertexAttrib4iv)(GLuint index, const GLint * v);
|
||||
void (GLAPIENTRYP VertexAttrib4ubv)(GLuint index, const GLubyte * v);
|
||||
void (GLAPIENTRYP VertexAttrib4usv)(GLuint index, const GLushort * v);
|
||||
void (GLAPIENTRYP VertexAttrib4uiv)(GLuint index, const GLuint * v);
|
||||
void (GLAPIENTRYP VertexAttrib4Nbv)(GLuint index, const GLbyte * v);
|
||||
void (GLAPIENTRYP VertexAttrib4Nsv)(GLuint index, const GLshort * v);
|
||||
void (GLAPIENTRYP VertexAttrib4Niv)(GLuint index, const GLint * v);
|
||||
void (GLAPIENTRYP VertexAttrib4Nub)(GLuint index, GLubyte x, GLubyte y, GLubyte z,
|
||||
GLubyte w);
|
||||
void (GLAPIENTRYP VertexAttrib4Nubv)(GLuint index, const GLubyte * v);
|
||||
void (GLAPIENTRYP VertexAttrib4Nusv)(GLuint index, const GLushort * v);
|
||||
void (GLAPIENTRYP VertexAttrib4Nuiv)(GLuint index, const GLuint * v);
|
||||
void (GLAPIENTRYP VertexAttribI1iv)(GLuint index, const GLint *v);
|
||||
void (GLAPIENTRYP VertexAttribI1uiv)(GLuint index, const GLuint *v);
|
||||
void (GLAPIENTRYP VertexAttribI4bv)(GLuint index, const GLbyte *v);
|
||||
void (GLAPIENTRYP VertexAttribI4sv)(GLuint index, const GLshort *v);
|
||||
void (GLAPIENTRYP VertexAttribI4ubv)(GLuint index, const GLubyte *v);
|
||||
void (GLAPIENTRYP VertexAttribI4usv)(GLuint index, const GLushort *v);
|
||||
} GLvertexformat;
|
||||
|
||||
|
||||
|
@@ -34,7 +34,6 @@
|
||||
|
||||
#include "api_arrayelt.h"
|
||||
#include "api_exec.h"
|
||||
#include "api_loopback.h"
|
||||
#include "draw_validate.h"
|
||||
#include "atifragshader.h"
|
||||
#include "config.h"
|
||||
@@ -6118,6 +6117,48 @@ save_Rectf(GLfloat a, GLfloat b, GLfloat c, GLfloat d)
|
||||
}
|
||||
}
|
||||
|
||||
static void GLAPIENTRY
|
||||
save_Rectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2)
|
||||
{
|
||||
save_Rectf((GLfloat) x1, (GLfloat) y1, (GLfloat) x2, (GLfloat) y2);
|
||||
}
|
||||
|
||||
static void GLAPIENTRY
|
||||
save_Rectdv(const GLdouble *v1, const GLdouble *v2)
|
||||
{
|
||||
save_Rectf((GLfloat) v1[0], (GLfloat) v1[1], (GLfloat) v2[0], (GLfloat) v2[1]);
|
||||
}
|
||||
|
||||
static void GLAPIENTRY
|
||||
save_Rectfv(const GLfloat *v1, const GLfloat *v2)
|
||||
{
|
||||
save_Rectf(v1[0], v1[1], v2[0], v2[1]);
|
||||
}
|
||||
|
||||
static void GLAPIENTRY
|
||||
save_Recti(GLint x1, GLint y1, GLint x2, GLint y2)
|
||||
{
|
||||
save_Rectf((GLfloat) x1, (GLfloat) y1, (GLfloat) x2, (GLfloat) y2);
|
||||
}
|
||||
|
||||
static void GLAPIENTRY
|
||||
save_Rectiv(const GLint *v1, const GLint *v2)
|
||||
{
|
||||
save_Rectf((GLfloat) v1[0], (GLfloat) v1[1], (GLfloat) v2[0], (GLfloat) v2[1]);
|
||||
}
|
||||
|
||||
static void GLAPIENTRY
|
||||
save_Rects(GLshort x1, GLshort y1, GLshort x2, GLshort y2)
|
||||
{
|
||||
save_Rectf((GLfloat) x1, (GLfloat) y1, (GLfloat) x2, (GLfloat) y2);
|
||||
}
|
||||
|
||||
static void GLAPIENTRY
|
||||
save_Rectsv(const GLshort *v1, const GLshort *v2)
|
||||
{
|
||||
save_Rectf((GLfloat) v1[0], (GLfloat) v1[1], (GLfloat) v2[0], (GLfloat) v2[1]);
|
||||
}
|
||||
|
||||
static void GLAPIENTRY
|
||||
save_PrimitiveRestartNV(void)
|
||||
{
|
||||
@@ -13988,8 +14029,6 @@ _mesa_initialize_save_table(const struct gl_context *ctx)
|
||||
*/
|
||||
memcpy(table, ctx->Exec, numEntries * sizeof(_glapi_proc));
|
||||
|
||||
_mesa_loopback_init_api_table(ctx, table);
|
||||
|
||||
/* VBO functions */
|
||||
vbo_initialize_save_dispatch(ctx, table);
|
||||
|
||||
@@ -14104,6 +14143,13 @@ _mesa_initialize_save_table(const struct gl_context *ctx)
|
||||
SET_RasterPos4sv(table, save_RasterPos4sv);
|
||||
SET_ReadBuffer(table, save_ReadBuffer);
|
||||
SET_Rectf(table, save_Rectf);
|
||||
SET_Rectd(table, save_Rectd);
|
||||
SET_Rectdv(table, save_Rectdv);
|
||||
SET_Rectfv(table, save_Rectfv);
|
||||
SET_Recti(table, save_Recti);
|
||||
SET_Rectiv(table, save_Rectiv);
|
||||
SET_Rects(table, save_Rects);
|
||||
SET_Rectsv(table, save_Rectsv);
|
||||
SET_Rotated(table, save_Rotated);
|
||||
SET_Rotatef(table, save_Rotatef);
|
||||
SET_Scaled(table, save_Scaled);
|
||||
|
@@ -394,6 +394,49 @@ _mesa_exec_Rectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2)
|
||||
}
|
||||
|
||||
|
||||
static void GLAPIENTRY
|
||||
_mesa_exec_Rectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2)
|
||||
{
|
||||
_mesa_exec_Rectf((GLfloat) x1, (GLfloat) y1, (GLfloat) x2, (GLfloat) y2);
|
||||
}
|
||||
|
||||
static void GLAPIENTRY
|
||||
_mesa_exec_Rectdv(const GLdouble *v1, const GLdouble *v2)
|
||||
{
|
||||
_mesa_exec_Rectf((GLfloat) v1[0], (GLfloat) v1[1], (GLfloat) v2[0], (GLfloat) v2[1]);
|
||||
}
|
||||
|
||||
static void GLAPIENTRY
|
||||
_mesa_exec_Rectfv(const GLfloat *v1, const GLfloat *v2)
|
||||
{
|
||||
_mesa_exec_Rectf(v1[0], v1[1], v2[0], v2[1]);
|
||||
}
|
||||
|
||||
static void GLAPIENTRY
|
||||
_mesa_exec_Recti(GLint x1, GLint y1, GLint x2, GLint y2)
|
||||
{
|
||||
_mesa_exec_Rectf((GLfloat) x1, (GLfloat) y1, (GLfloat) x2, (GLfloat) y2);
|
||||
}
|
||||
|
||||
static void GLAPIENTRY
|
||||
_mesa_exec_Rectiv(const GLint *v1, const GLint *v2)
|
||||
{
|
||||
_mesa_exec_Rectf((GLfloat) v1[0], (GLfloat) v1[1], (GLfloat) v2[0], (GLfloat) v2[1]);
|
||||
}
|
||||
|
||||
static void GLAPIENTRY
|
||||
_mesa_exec_Rects(GLshort x1, GLshort y1, GLshort x2, GLshort y2)
|
||||
{
|
||||
_mesa_exec_Rectf((GLfloat) x1, (GLfloat) y1, (GLfloat) x2, (GLfloat) y2);
|
||||
}
|
||||
|
||||
static void GLAPIENTRY
|
||||
_mesa_exec_Rectsv(const GLshort *v1, const GLshort *v2)
|
||||
{
|
||||
_mesa_exec_Rectf((GLfloat) v1[0], (GLfloat) v1[1], (GLfloat) v2[0], (GLfloat) v2[1]);
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_EvalMesh1(GLenum mode, GLint i1, GLint i2)
|
||||
{
|
||||
@@ -1904,6 +1947,13 @@ _mesa_initialize_exec_dispatch(const struct gl_context *ctx,
|
||||
|
||||
if (ctx->API == API_OPENGL_COMPAT) {
|
||||
SET_Rectf(exec, _mesa_exec_Rectf);
|
||||
SET_Rectd(exec, _mesa_exec_Rectd);
|
||||
SET_Rectdv(exec, _mesa_exec_Rectdv);
|
||||
SET_Rectfv(exec, _mesa_exec_Rectfv);
|
||||
SET_Recti(exec, _mesa_exec_Recti);
|
||||
SET_Rectiv(exec, _mesa_exec_Rectiv);
|
||||
SET_Rects(exec, _mesa_exec_Rects);
|
||||
SET_Rectsv(exec, _mesa_exec_Rectsv);
|
||||
}
|
||||
|
||||
if (ctx->API != API_OPENGLES &&
|
||||
|
@@ -1,7 +1,6 @@
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "api_loopback.h"
|
||||
#include "api_exec.h"
|
||||
#include "blend.h"
|
||||
#include "clear.h"
|
||||
|
@@ -257,6 +257,219 @@ install_vtxfmt(struct gl_context *ctx, struct _glapi_table *tab,
|
||||
SET_VertexAttribL3dv(tab, vfmt->VertexAttribL3dv);
|
||||
SET_VertexAttribL4dv(tab, vfmt->VertexAttribL4dv);
|
||||
}
|
||||
|
||||
if (ctx->API != API_OPENGL_CORE && ctx->API != API_OPENGLES2) {
|
||||
SET_Color4ub(tab, vfmt->Color4ub);
|
||||
SET_Materialf(tab, vfmt->Materialf);
|
||||
}
|
||||
if (ctx->API == API_OPENGL_COMPAT) {
|
||||
SET_Color3b(tab, vfmt->Color3b);
|
||||
SET_Color3d(tab, vfmt->Color3d);
|
||||
SET_Color3i(tab, vfmt->Color3i);
|
||||
SET_Color3s(tab, vfmt->Color3s);
|
||||
SET_Color3ui(tab, vfmt->Color3ui);
|
||||
SET_Color3us(tab, vfmt->Color3us);
|
||||
SET_Color3ub(tab, vfmt->Color3ub);
|
||||
SET_Color4b(tab, vfmt->Color4b);
|
||||
SET_Color4d(tab, vfmt->Color4d);
|
||||
SET_Color4i(tab, vfmt->Color4i);
|
||||
SET_Color4s(tab, vfmt->Color4s);
|
||||
SET_Color4ui(tab, vfmt->Color4ui);
|
||||
SET_Color4us(tab, vfmt->Color4us);
|
||||
SET_Color3bv(tab, vfmt->Color3bv);
|
||||
SET_Color3dv(tab, vfmt->Color3dv);
|
||||
SET_Color3iv(tab, vfmt->Color3iv);
|
||||
SET_Color3sv(tab, vfmt->Color3sv);
|
||||
SET_Color3uiv(tab, vfmt->Color3uiv);
|
||||
SET_Color3usv(tab, vfmt->Color3usv);
|
||||
SET_Color3ubv(tab, vfmt->Color3ubv);
|
||||
SET_Color4bv(tab, vfmt->Color4bv);
|
||||
SET_Color4dv(tab, vfmt->Color4dv);
|
||||
SET_Color4iv(tab, vfmt->Color4iv);
|
||||
SET_Color4sv(tab, vfmt->Color4sv);
|
||||
SET_Color4uiv(tab, vfmt->Color4uiv);
|
||||
SET_Color4usv(tab, vfmt->Color4usv);
|
||||
SET_Color4ubv(tab, vfmt->Color4ubv);
|
||||
|
||||
SET_SecondaryColor3b(tab, vfmt->SecondaryColor3b);
|
||||
SET_SecondaryColor3d(tab, vfmt->SecondaryColor3d);
|
||||
SET_SecondaryColor3i(tab, vfmt->SecondaryColor3i);
|
||||
SET_SecondaryColor3s(tab, vfmt->SecondaryColor3s);
|
||||
SET_SecondaryColor3ui(tab, vfmt->SecondaryColor3ui);
|
||||
SET_SecondaryColor3us(tab, vfmt->SecondaryColor3us);
|
||||
SET_SecondaryColor3ub(tab, vfmt->SecondaryColor3ub);
|
||||
SET_SecondaryColor3bv(tab, vfmt->SecondaryColor3bv);
|
||||
SET_SecondaryColor3dv(tab, vfmt->SecondaryColor3dv);
|
||||
SET_SecondaryColor3iv(tab, vfmt->SecondaryColor3iv);
|
||||
SET_SecondaryColor3sv(tab, vfmt->SecondaryColor3sv);
|
||||
SET_SecondaryColor3uiv(tab, vfmt->SecondaryColor3uiv);
|
||||
SET_SecondaryColor3usv(tab, vfmt->SecondaryColor3usv);
|
||||
SET_SecondaryColor3ubv(tab, vfmt->SecondaryColor3ubv);
|
||||
|
||||
SET_EdgeFlagv(tab, vfmt->EdgeFlagv);
|
||||
|
||||
SET_Indexd(tab, vfmt->Indexd);
|
||||
SET_Indexi(tab, vfmt->Indexi);
|
||||
SET_Indexs(tab, vfmt->Indexs);
|
||||
SET_Indexub(tab, vfmt->Indexub);
|
||||
SET_Indexdv(tab, vfmt->Indexdv);
|
||||
SET_Indexiv(tab, vfmt->Indexiv);
|
||||
SET_Indexsv(tab, vfmt->Indexsv);
|
||||
SET_Indexubv(tab, vfmt->Indexubv);
|
||||
SET_Normal3b(tab, vfmt->Normal3b);
|
||||
SET_Normal3d(tab, vfmt->Normal3d);
|
||||
SET_Normal3i(tab, vfmt->Normal3i);
|
||||
SET_Normal3s(tab, vfmt->Normal3s);
|
||||
SET_Normal3bv(tab, vfmt->Normal3bv);
|
||||
SET_Normal3dv(tab, vfmt->Normal3dv);
|
||||
SET_Normal3iv(tab, vfmt->Normal3iv);
|
||||
SET_Normal3sv(tab, vfmt->Normal3sv);
|
||||
SET_TexCoord1d(tab, vfmt->TexCoord1d);
|
||||
SET_TexCoord1i(tab, vfmt->TexCoord1i);
|
||||
SET_TexCoord1s(tab, vfmt->TexCoord1s);
|
||||
SET_TexCoord2d(tab, vfmt->TexCoord2d);
|
||||
SET_TexCoord2s(tab, vfmt->TexCoord2s);
|
||||
SET_TexCoord2i(tab, vfmt->TexCoord2i);
|
||||
SET_TexCoord3d(tab, vfmt->TexCoord3d);
|
||||
SET_TexCoord3i(tab, vfmt->TexCoord3i);
|
||||
SET_TexCoord3s(tab, vfmt->TexCoord3s);
|
||||
SET_TexCoord4d(tab, vfmt->TexCoord4d);
|
||||
SET_TexCoord4i(tab, vfmt->TexCoord4i);
|
||||
SET_TexCoord4s(tab, vfmt->TexCoord4s);
|
||||
SET_TexCoord1dv(tab, vfmt->TexCoord1dv);
|
||||
SET_TexCoord1iv(tab, vfmt->TexCoord1iv);
|
||||
SET_TexCoord1sv(tab, vfmt->TexCoord1sv);
|
||||
SET_TexCoord2dv(tab, vfmt->TexCoord2dv);
|
||||
SET_TexCoord2iv(tab, vfmt->TexCoord2iv);
|
||||
SET_TexCoord2sv(tab, vfmt->TexCoord2sv);
|
||||
SET_TexCoord3dv(tab, vfmt->TexCoord3dv);
|
||||
SET_TexCoord3iv(tab, vfmt->TexCoord3iv);
|
||||
SET_TexCoord3sv(tab, vfmt->TexCoord3sv);
|
||||
SET_TexCoord4dv(tab, vfmt->TexCoord4dv);
|
||||
SET_TexCoord4iv(tab, vfmt->TexCoord4iv);
|
||||
SET_TexCoord4sv(tab, vfmt->TexCoord4sv);
|
||||
SET_Vertex2d(tab, vfmt->Vertex2d);
|
||||
SET_Vertex2i(tab, vfmt->Vertex2i);
|
||||
SET_Vertex2s(tab, vfmt->Vertex2s);
|
||||
SET_Vertex3d(tab, vfmt->Vertex3d);
|
||||
SET_Vertex3i(tab, vfmt->Vertex3i);
|
||||
SET_Vertex3s(tab, vfmt->Vertex3s);
|
||||
SET_Vertex4d(tab, vfmt->Vertex4d);
|
||||
SET_Vertex4i(tab, vfmt->Vertex4i);
|
||||
SET_Vertex4s(tab, vfmt->Vertex4s);
|
||||
SET_Vertex2dv(tab, vfmt->Vertex2dv);
|
||||
SET_Vertex2iv(tab, vfmt->Vertex2iv);
|
||||
SET_Vertex2sv(tab, vfmt->Vertex2sv);
|
||||
SET_Vertex3dv(tab, vfmt->Vertex3dv);
|
||||
SET_Vertex3iv(tab, vfmt->Vertex3iv);
|
||||
SET_Vertex3sv(tab, vfmt->Vertex3sv);
|
||||
SET_Vertex4dv(tab, vfmt->Vertex4dv);
|
||||
SET_Vertex4iv(tab, vfmt->Vertex4iv);
|
||||
SET_Vertex4sv(tab, vfmt->Vertex4sv);
|
||||
SET_MultiTexCoord1d(tab, vfmt->MultiTexCoord1d);
|
||||
SET_MultiTexCoord1dv(tab, vfmt->MultiTexCoord1dv);
|
||||
SET_MultiTexCoord1i(tab, vfmt->MultiTexCoord1i);
|
||||
SET_MultiTexCoord1iv(tab, vfmt->MultiTexCoord1iv);
|
||||
SET_MultiTexCoord1s(tab, vfmt->MultiTexCoord1s);
|
||||
SET_MultiTexCoord1sv(tab, vfmt->MultiTexCoord1sv);
|
||||
SET_MultiTexCoord2d(tab, vfmt->MultiTexCoord2d);
|
||||
SET_MultiTexCoord2dv(tab, vfmt->MultiTexCoord2dv);
|
||||
SET_MultiTexCoord2i(tab, vfmt->MultiTexCoord2i);
|
||||
SET_MultiTexCoord2iv(tab, vfmt->MultiTexCoord2iv);
|
||||
SET_MultiTexCoord2s(tab, vfmt->MultiTexCoord2s);
|
||||
SET_MultiTexCoord2sv(tab, vfmt->MultiTexCoord2sv);
|
||||
SET_MultiTexCoord3d(tab, vfmt->MultiTexCoord3d);
|
||||
SET_MultiTexCoord3dv(tab, vfmt->MultiTexCoord3dv);
|
||||
SET_MultiTexCoord3i(tab, vfmt->MultiTexCoord3i);
|
||||
SET_MultiTexCoord3iv(tab, vfmt->MultiTexCoord3iv);
|
||||
SET_MultiTexCoord3s(tab, vfmt->MultiTexCoord3s);
|
||||
SET_MultiTexCoord3sv(tab, vfmt->MultiTexCoord3sv);
|
||||
SET_MultiTexCoord4d(tab, vfmt->MultiTexCoord4d);
|
||||
SET_MultiTexCoord4dv(tab, vfmt->MultiTexCoord4dv);
|
||||
SET_MultiTexCoord4i(tab, vfmt->MultiTexCoord4i);
|
||||
SET_MultiTexCoord4iv(tab, vfmt->MultiTexCoord4iv);
|
||||
SET_MultiTexCoord4s(tab, vfmt->MultiTexCoord4s);
|
||||
SET_MultiTexCoord4sv(tab, vfmt->MultiTexCoord4sv);
|
||||
SET_EvalCoord2dv(tab, vfmt->EvalCoord2dv);
|
||||
SET_EvalCoord2d(tab, vfmt->EvalCoord2d);
|
||||
SET_EvalCoord1dv(tab, vfmt->EvalCoord1dv);
|
||||
SET_EvalCoord1d(tab, vfmt->EvalCoord1d);
|
||||
SET_Materiali(tab, vfmt->Materiali);
|
||||
SET_Materialiv(tab, vfmt->Materialiv);
|
||||
SET_FogCoordd(tab, vfmt->FogCoordd);
|
||||
SET_FogCoorddv(tab, vfmt->FogCoorddv);
|
||||
|
||||
SET_VertexAttrib1sNV(tab, vfmt->VertexAttrib1sNV);
|
||||
SET_VertexAttrib1dNV(tab, vfmt->VertexAttrib1dNV);
|
||||
SET_VertexAttrib2sNV(tab, vfmt->VertexAttrib2sNV);
|
||||
SET_VertexAttrib2dNV(tab, vfmt->VertexAttrib2dNV);
|
||||
SET_VertexAttrib3sNV(tab, vfmt->VertexAttrib3sNV);
|
||||
SET_VertexAttrib3dNV(tab, vfmt->VertexAttrib3dNV);
|
||||
SET_VertexAttrib4sNV(tab, vfmt->VertexAttrib4sNV);
|
||||
SET_VertexAttrib4dNV(tab, vfmt->VertexAttrib4dNV);
|
||||
SET_VertexAttrib4ubNV(tab, vfmt->VertexAttrib4ubNV);
|
||||
SET_VertexAttrib1svNV(tab, vfmt->VertexAttrib1svNV);
|
||||
SET_VertexAttrib1dvNV(tab, vfmt->VertexAttrib1dvNV);
|
||||
SET_VertexAttrib2svNV(tab, vfmt->VertexAttrib2svNV);
|
||||
SET_VertexAttrib2dvNV(tab, vfmt->VertexAttrib2dvNV);
|
||||
SET_VertexAttrib3svNV(tab, vfmt->VertexAttrib3svNV);
|
||||
SET_VertexAttrib3dvNV(tab, vfmt->VertexAttrib3dvNV);
|
||||
SET_VertexAttrib4svNV(tab, vfmt->VertexAttrib4svNV);
|
||||
SET_VertexAttrib4dvNV(tab, vfmt->VertexAttrib4dvNV);
|
||||
SET_VertexAttrib4ubvNV(tab, vfmt->VertexAttrib4ubvNV);
|
||||
SET_VertexAttribs1svNV(tab, vfmt->VertexAttribs1svNV);
|
||||
SET_VertexAttribs1fvNV(tab, vfmt->VertexAttribs1fvNV);
|
||||
SET_VertexAttribs1dvNV(tab, vfmt->VertexAttribs1dvNV);
|
||||
SET_VertexAttribs2svNV(tab, vfmt->VertexAttribs2svNV);
|
||||
SET_VertexAttribs2fvNV(tab, vfmt->VertexAttribs2fvNV);
|
||||
SET_VertexAttribs2dvNV(tab, vfmt->VertexAttribs2dvNV);
|
||||
SET_VertexAttribs3svNV(tab, vfmt->VertexAttribs3svNV);
|
||||
SET_VertexAttribs3fvNV(tab, vfmt->VertexAttribs3fvNV);
|
||||
SET_VertexAttribs3dvNV(tab, vfmt->VertexAttribs3dvNV);
|
||||
SET_VertexAttribs4svNV(tab, vfmt->VertexAttribs4svNV);
|
||||
SET_VertexAttribs4fvNV(tab, vfmt->VertexAttribs4fvNV);
|
||||
SET_VertexAttribs4dvNV(tab, vfmt->VertexAttribs4dvNV);
|
||||
SET_VertexAttribs4ubvNV(tab, vfmt->VertexAttribs4ubvNV);
|
||||
}
|
||||
|
||||
if (_mesa_is_desktop_gl(ctx)) {
|
||||
SET_VertexAttrib1s(tab, vfmt->VertexAttrib1s);
|
||||
SET_VertexAttrib1d(tab, vfmt->VertexAttrib1d);
|
||||
SET_VertexAttrib2s(tab, vfmt->VertexAttrib2s);
|
||||
SET_VertexAttrib2d(tab, vfmt->VertexAttrib2d);
|
||||
SET_VertexAttrib3s(tab, vfmt->VertexAttrib3s);
|
||||
SET_VertexAttrib3d(tab, vfmt->VertexAttrib3d);
|
||||
SET_VertexAttrib4s(tab, vfmt->VertexAttrib4s);
|
||||
SET_VertexAttrib4d(tab, vfmt->VertexAttrib4d);
|
||||
SET_VertexAttrib1sv(tab, vfmt->VertexAttrib1sv);
|
||||
SET_VertexAttrib1dv(tab, vfmt->VertexAttrib1dv);
|
||||
SET_VertexAttrib2sv(tab, vfmt->VertexAttrib2sv);
|
||||
SET_VertexAttrib2dv(tab, vfmt->VertexAttrib2dv);
|
||||
SET_VertexAttrib3sv(tab, vfmt->VertexAttrib3sv);
|
||||
SET_VertexAttrib3dv(tab, vfmt->VertexAttrib3dv);
|
||||
SET_VertexAttrib4sv(tab, vfmt->VertexAttrib4sv);
|
||||
SET_VertexAttrib4dv(tab, vfmt->VertexAttrib4dv);
|
||||
SET_VertexAttrib4Nub(tab, vfmt->VertexAttrib4Nub);
|
||||
SET_VertexAttrib4Nubv(tab, vfmt->VertexAttrib4Nubv);
|
||||
SET_VertexAttrib4bv(tab, vfmt->VertexAttrib4bv);
|
||||
SET_VertexAttrib4iv(tab, vfmt->VertexAttrib4iv);
|
||||
SET_VertexAttrib4ubv(tab, vfmt->VertexAttrib4ubv);
|
||||
SET_VertexAttrib4usv(tab, vfmt->VertexAttrib4usv);
|
||||
SET_VertexAttrib4uiv(tab, vfmt->VertexAttrib4uiv);
|
||||
SET_VertexAttrib4Nbv(tab, vfmt->VertexAttrib4Nbv);
|
||||
SET_VertexAttrib4Nsv(tab, vfmt->VertexAttrib4Nsv);
|
||||
SET_VertexAttrib4Nusv(tab, vfmt->VertexAttrib4Nusv);
|
||||
SET_VertexAttrib4Niv(tab, vfmt->VertexAttrib4Niv);
|
||||
SET_VertexAttrib4Nuiv(tab, vfmt->VertexAttrib4Nuiv);
|
||||
|
||||
/* GL_EXT_gpu_shader4, GL 3.0 */
|
||||
SET_VertexAttribI1iv(tab, vfmt->VertexAttribI1iv);
|
||||
SET_VertexAttribI1uiv(tab, vfmt->VertexAttribI1uiv);
|
||||
SET_VertexAttribI4bv(tab, vfmt->VertexAttribI4bv);
|
||||
SET_VertexAttribI4sv(tab, vfmt->VertexAttribI4sv);
|
||||
SET_VertexAttribI4ubv(tab, vfmt->VertexAttribI4ubv);
|
||||
SET_VertexAttribI4usv(tab, vfmt->VertexAttribI4usv);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@@ -61,8 +61,6 @@ files_libmesa_common = files(
|
||||
'main/api_arrayelt.c',
|
||||
'main/api_arrayelt.h',
|
||||
'main/api_exec.h',
|
||||
'main/api_loopback.c',
|
||||
'main/api_loopback.h',
|
||||
'main/arbprogram.c',
|
||||
'main/arbprogram.h',
|
||||
'main/arrayobj.c',
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -53,6 +53,16 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
#define IMM_BUFFER_NAME 0xaabbccdd
|
||||
|
||||
|
||||
static void GLAPIENTRY
|
||||
vbo_exec_Materialfv(GLenum face, GLenum pname, const GLfloat *params);
|
||||
|
||||
static void GLAPIENTRY
|
||||
vbo_exec_EvalCoord1f(GLfloat u);
|
||||
|
||||
static void GLAPIENTRY
|
||||
vbo_exec_EvalCoord2f(GLfloat u, GLfloat v);
|
||||
|
||||
|
||||
static void
|
||||
vbo_reset_all_attr(struct vbo_exec_context *exec);
|
||||
|
||||
|
@@ -223,3 +223,210 @@ vfmt->VertexAttribL4dv = NAME(VertexAttribL4dv);
|
||||
|
||||
vfmt->VertexAttribL1ui64ARB = NAME(VertexAttribL1ui64ARB);
|
||||
vfmt->VertexAttribL1ui64vARB = NAME(VertexAttribL1ui64vARB);
|
||||
|
||||
vfmt->Color4ub = NAME(Color4ub);
|
||||
vfmt->Materialf = NAME(Materialf);
|
||||
|
||||
vfmt->Color3b = NAME(Color3b);
|
||||
vfmt->Color3d = NAME(Color3d);
|
||||
vfmt->Color3i = NAME(Color3i);
|
||||
vfmt->Color3s = NAME(Color3s);
|
||||
vfmt->Color3ui = NAME(Color3ui);
|
||||
vfmt->Color3us = NAME(Color3us);
|
||||
vfmt->Color3ub = NAME(Color3ub);
|
||||
vfmt->Color4b = NAME(Color4b);
|
||||
vfmt->Color4d = NAME(Color4d);
|
||||
vfmt->Color4i = NAME(Color4i);
|
||||
vfmt->Color4s = NAME(Color4s);
|
||||
vfmt->Color4ui = NAME(Color4ui);
|
||||
vfmt->Color4us = NAME(Color4us);
|
||||
vfmt->Color3bv = NAME(Color3bv);
|
||||
vfmt->Color3dv = NAME(Color3dv);
|
||||
vfmt->Color3iv = NAME(Color3iv);
|
||||
vfmt->Color3sv = NAME(Color3sv);
|
||||
vfmt->Color3uiv = NAME(Color3uiv);
|
||||
vfmt->Color3usv = NAME(Color3usv);
|
||||
vfmt->Color3ubv = NAME(Color3ubv);
|
||||
vfmt->Color4bv = NAME(Color4bv);
|
||||
vfmt->Color4dv = NAME(Color4dv);
|
||||
vfmt->Color4iv = NAME(Color4iv);
|
||||
vfmt->Color4sv = NAME(Color4sv);
|
||||
vfmt->Color4uiv = NAME(Color4uiv);
|
||||
vfmt->Color4usv = NAME(Color4usv);
|
||||
vfmt->Color4ubv = NAME(Color4ubv);
|
||||
|
||||
vfmt->SecondaryColor3b = NAME(SecondaryColor3b);
|
||||
vfmt->SecondaryColor3d = NAME(SecondaryColor3d);
|
||||
vfmt->SecondaryColor3i = NAME(SecondaryColor3i);
|
||||
vfmt->SecondaryColor3s = NAME(SecondaryColor3s);
|
||||
vfmt->SecondaryColor3ui = NAME(SecondaryColor3ui);
|
||||
vfmt->SecondaryColor3us = NAME(SecondaryColor3us);
|
||||
vfmt->SecondaryColor3ub = NAME(SecondaryColor3ub);
|
||||
vfmt->SecondaryColor3bv = NAME(SecondaryColor3bv);
|
||||
vfmt->SecondaryColor3dv = NAME(SecondaryColor3dv);
|
||||
vfmt->SecondaryColor3iv = NAME(SecondaryColor3iv);
|
||||
vfmt->SecondaryColor3sv = NAME(SecondaryColor3sv);
|
||||
vfmt->SecondaryColor3uiv = NAME(SecondaryColor3uiv);
|
||||
vfmt->SecondaryColor3usv = NAME(SecondaryColor3usv);
|
||||
vfmt->SecondaryColor3ubv = NAME(SecondaryColor3ubv);
|
||||
|
||||
vfmt->EdgeFlagv = NAME(EdgeFlagv);
|
||||
|
||||
vfmt->Indexd = NAME(Indexd);
|
||||
vfmt->Indexi = NAME(Indexi);
|
||||
vfmt->Indexs = NAME(Indexs);
|
||||
vfmt->Indexub = NAME(Indexub);
|
||||
vfmt->Indexdv = NAME(Indexdv);
|
||||
vfmt->Indexiv = NAME(Indexiv);
|
||||
vfmt->Indexsv = NAME(Indexsv);
|
||||
vfmt->Indexubv = NAME(Indexubv);
|
||||
vfmt->Normal3b = NAME(Normal3b);
|
||||
vfmt->Normal3d = NAME(Normal3d);
|
||||
vfmt->Normal3i = NAME(Normal3i);
|
||||
vfmt->Normal3s = NAME(Normal3s);
|
||||
vfmt->Normal3bv = NAME(Normal3bv);
|
||||
vfmt->Normal3dv = NAME(Normal3dv);
|
||||
vfmt->Normal3iv = NAME(Normal3iv);
|
||||
vfmt->Normal3sv = NAME(Normal3sv);
|
||||
vfmt->TexCoord1d = NAME(TexCoord1d);
|
||||
vfmt->TexCoord1i = NAME(TexCoord1i);
|
||||
vfmt->TexCoord1s = NAME(TexCoord1s);
|
||||
vfmt->TexCoord2d = NAME(TexCoord2d);
|
||||
vfmt->TexCoord2s = NAME(TexCoord2s);
|
||||
vfmt->TexCoord2i = NAME(TexCoord2i);
|
||||
vfmt->TexCoord3d = NAME(TexCoord3d);
|
||||
vfmt->TexCoord3i = NAME(TexCoord3i);
|
||||
vfmt->TexCoord3s = NAME(TexCoord3s);
|
||||
vfmt->TexCoord4d = NAME(TexCoord4d);
|
||||
vfmt->TexCoord4i = NAME(TexCoord4i);
|
||||
vfmt->TexCoord4s = NAME(TexCoord4s);
|
||||
vfmt->TexCoord1dv = NAME(TexCoord1dv);
|
||||
vfmt->TexCoord1iv = NAME(TexCoord1iv);
|
||||
vfmt->TexCoord1sv = NAME(TexCoord1sv);
|
||||
vfmt->TexCoord2dv = NAME(TexCoord2dv);
|
||||
vfmt->TexCoord2iv = NAME(TexCoord2iv);
|
||||
vfmt->TexCoord2sv = NAME(TexCoord2sv);
|
||||
vfmt->TexCoord3dv = NAME(TexCoord3dv);
|
||||
vfmt->TexCoord3iv = NAME(TexCoord3iv);
|
||||
vfmt->TexCoord3sv = NAME(TexCoord3sv);
|
||||
vfmt->TexCoord4dv = NAME(TexCoord4dv);
|
||||
vfmt->TexCoord4iv = NAME(TexCoord4iv);
|
||||
vfmt->TexCoord4sv = NAME(TexCoord4sv);
|
||||
vfmt->Vertex2d = NAME(Vertex2d);
|
||||
vfmt->Vertex2i = NAME(Vertex2i);
|
||||
vfmt->Vertex2s = NAME(Vertex2s);
|
||||
vfmt->Vertex3d = NAME(Vertex3d);
|
||||
vfmt->Vertex3i = NAME(Vertex3i);
|
||||
vfmt->Vertex3s = NAME(Vertex3s);
|
||||
vfmt->Vertex4d = NAME(Vertex4d);
|
||||
vfmt->Vertex4i = NAME(Vertex4i);
|
||||
vfmt->Vertex4s = NAME(Vertex4s);
|
||||
vfmt->Vertex2dv = NAME(Vertex2dv);
|
||||
vfmt->Vertex2iv = NAME(Vertex2iv);
|
||||
vfmt->Vertex2sv = NAME(Vertex2sv);
|
||||
vfmt->Vertex3dv = NAME(Vertex3dv);
|
||||
vfmt->Vertex3iv = NAME(Vertex3iv);
|
||||
vfmt->Vertex3sv = NAME(Vertex3sv);
|
||||
vfmt->Vertex4dv = NAME(Vertex4dv);
|
||||
vfmt->Vertex4iv = NAME(Vertex4iv);
|
||||
vfmt->Vertex4sv = NAME(Vertex4sv);
|
||||
vfmt->MultiTexCoord1d = NAME(MultiTexCoord1d);
|
||||
vfmt->MultiTexCoord1dv = NAME(MultiTexCoord1dv);
|
||||
vfmt->MultiTexCoord1i = NAME(MultiTexCoord1i);
|
||||
vfmt->MultiTexCoord1iv = NAME(MultiTexCoord1iv);
|
||||
vfmt->MultiTexCoord1s = NAME(MultiTexCoord1s);
|
||||
vfmt->MultiTexCoord1sv = NAME(MultiTexCoord1sv);
|
||||
vfmt->MultiTexCoord2d = NAME(MultiTexCoord2d);
|
||||
vfmt->MultiTexCoord2dv = NAME(MultiTexCoord2dv);
|
||||
vfmt->MultiTexCoord2i = NAME(MultiTexCoord2i);
|
||||
vfmt->MultiTexCoord2iv = NAME(MultiTexCoord2iv);
|
||||
vfmt->MultiTexCoord2s = NAME(MultiTexCoord2s);
|
||||
vfmt->MultiTexCoord2sv = NAME(MultiTexCoord2sv);
|
||||
vfmt->MultiTexCoord3d = NAME(MultiTexCoord3d);
|
||||
vfmt->MultiTexCoord3dv = NAME(MultiTexCoord3dv);
|
||||
vfmt->MultiTexCoord3i = NAME(MultiTexCoord3i);
|
||||
vfmt->MultiTexCoord3iv = NAME(MultiTexCoord3iv);
|
||||
vfmt->MultiTexCoord3s = NAME(MultiTexCoord3s);
|
||||
vfmt->MultiTexCoord3sv = NAME(MultiTexCoord3sv);
|
||||
vfmt->MultiTexCoord4d = NAME(MultiTexCoord4d);
|
||||
vfmt->MultiTexCoord4dv = NAME(MultiTexCoord4dv);
|
||||
vfmt->MultiTexCoord4i = NAME(MultiTexCoord4i);
|
||||
vfmt->MultiTexCoord4iv = NAME(MultiTexCoord4iv);
|
||||
vfmt->MultiTexCoord4s = NAME(MultiTexCoord4s);
|
||||
vfmt->MultiTexCoord4sv = NAME(MultiTexCoord4sv);
|
||||
vfmt->EvalCoord2dv = NAME(EvalCoord2dv);
|
||||
vfmt->EvalCoord2d = NAME(EvalCoord2d);
|
||||
vfmt->EvalCoord1dv = NAME(EvalCoord1dv);
|
||||
vfmt->EvalCoord1d = NAME(EvalCoord1d);
|
||||
vfmt->Materiali = NAME(Materiali);
|
||||
vfmt->Materialiv = NAME(Materialiv);
|
||||
vfmt->FogCoordd = NAME(FogCoordd);
|
||||
vfmt->FogCoorddv = NAME(FogCoorddv);
|
||||
|
||||
vfmt->VertexAttrib1sNV = NAME(VertexAttrib1sNV);
|
||||
vfmt->VertexAttrib1dNV = NAME(VertexAttrib1dNV);
|
||||
vfmt->VertexAttrib2sNV = NAME(VertexAttrib2sNV);
|
||||
vfmt->VertexAttrib2dNV = NAME(VertexAttrib2dNV);
|
||||
vfmt->VertexAttrib3sNV = NAME(VertexAttrib3sNV);
|
||||
vfmt->VertexAttrib3dNV = NAME(VertexAttrib3dNV);
|
||||
vfmt->VertexAttrib4sNV = NAME(VertexAttrib4sNV);
|
||||
vfmt->VertexAttrib4dNV = NAME(VertexAttrib4dNV);
|
||||
vfmt->VertexAttrib4ubNV = NAME(VertexAttrib4ubNV);
|
||||
vfmt->VertexAttrib1svNV = NAME(VertexAttrib1svNV);
|
||||
vfmt->VertexAttrib1dvNV = NAME(VertexAttrib1dvNV);
|
||||
vfmt->VertexAttrib2svNV = NAME(VertexAttrib2svNV);
|
||||
vfmt->VertexAttrib2dvNV = NAME(VertexAttrib2dvNV);
|
||||
vfmt->VertexAttrib3svNV = NAME(VertexAttrib3svNV);
|
||||
vfmt->VertexAttrib3dvNV = NAME(VertexAttrib3dvNV);
|
||||
vfmt->VertexAttrib4svNV = NAME(VertexAttrib4svNV);
|
||||
vfmt->VertexAttrib4dvNV = NAME(VertexAttrib4dvNV);
|
||||
vfmt->VertexAttrib4ubvNV = NAME(VertexAttrib4ubvNV);
|
||||
vfmt->VertexAttribs1svNV = NAME(VertexAttribs1svNV);
|
||||
vfmt->VertexAttribs1fvNV = NAME(VertexAttribs1fvNV);
|
||||
vfmt->VertexAttribs1dvNV = NAME(VertexAttribs1dvNV);
|
||||
vfmt->VertexAttribs2svNV = NAME(VertexAttribs2svNV);
|
||||
vfmt->VertexAttribs2fvNV = NAME(VertexAttribs2fvNV);
|
||||
vfmt->VertexAttribs2dvNV = NAME(VertexAttribs2dvNV);
|
||||
vfmt->VertexAttribs3svNV = NAME(VertexAttribs3svNV);
|
||||
vfmt->VertexAttribs3fvNV = NAME(VertexAttribs3fvNV);
|
||||
vfmt->VertexAttribs3dvNV = NAME(VertexAttribs3dvNV);
|
||||
vfmt->VertexAttribs4svNV = NAME(VertexAttribs4svNV);
|
||||
vfmt->VertexAttribs4fvNV = NAME(VertexAttribs4fvNV);
|
||||
vfmt->VertexAttribs4dvNV = NAME(VertexAttribs4dvNV);
|
||||
vfmt->VertexAttribs4ubvNV = NAME(VertexAttribs4ubvNV);
|
||||
|
||||
vfmt->VertexAttrib1s = NAME(VertexAttrib1s);
|
||||
vfmt->VertexAttrib1d = NAME(VertexAttrib1d);
|
||||
vfmt->VertexAttrib2s = NAME(VertexAttrib2s);
|
||||
vfmt->VertexAttrib2d = NAME(VertexAttrib2d);
|
||||
vfmt->VertexAttrib3s = NAME(VertexAttrib3s);
|
||||
vfmt->VertexAttrib3d = NAME(VertexAttrib3d);
|
||||
vfmt->VertexAttrib4s = NAME(VertexAttrib4s);
|
||||
vfmt->VertexAttrib4d = NAME(VertexAttrib4d);
|
||||
vfmt->VertexAttrib1sv = NAME(VertexAttrib1sv);
|
||||
vfmt->VertexAttrib1dv = NAME(VertexAttrib1dv);
|
||||
vfmt->VertexAttrib2sv = NAME(VertexAttrib2sv);
|
||||
vfmt->VertexAttrib2dv = NAME(VertexAttrib2dv);
|
||||
vfmt->VertexAttrib3sv = NAME(VertexAttrib3sv);
|
||||
vfmt->VertexAttrib3dv = NAME(VertexAttrib3dv);
|
||||
vfmt->VertexAttrib4sv = NAME(VertexAttrib4sv);
|
||||
vfmt->VertexAttrib4dv = NAME(VertexAttrib4dv);
|
||||
vfmt->VertexAttrib4Nub = NAME(VertexAttrib4Nub);
|
||||
vfmt->VertexAttrib4Nubv = NAME(VertexAttrib4Nubv);
|
||||
vfmt->VertexAttrib4bv = NAME(VertexAttrib4bv);
|
||||
vfmt->VertexAttrib4iv = NAME(VertexAttrib4iv);
|
||||
vfmt->VertexAttrib4ubv = NAME(VertexAttrib4ubv);
|
||||
vfmt->VertexAttrib4usv = NAME(VertexAttrib4usv);
|
||||
vfmt->VertexAttrib4uiv = NAME(VertexAttrib4uiv);
|
||||
vfmt->VertexAttrib4Nbv = NAME(VertexAttrib4Nbv);
|
||||
vfmt->VertexAttrib4Nsv = NAME(VertexAttrib4Nsv);
|
||||
vfmt->VertexAttrib4Nusv = NAME(VertexAttrib4Nusv);
|
||||
vfmt->VertexAttrib4Niv = NAME(VertexAttrib4Niv);
|
||||
vfmt->VertexAttrib4Nuiv = NAME(VertexAttrib4Nuiv);
|
||||
|
||||
vfmt->VertexAttribI1iv = NAME(VertexAttribI1iv);
|
||||
vfmt->VertexAttribI1uiv = NAME(VertexAttribI1uiv);
|
||||
vfmt->VertexAttribI4bv = NAME(VertexAttribI4bv);
|
||||
vfmt->VertexAttribI4sv = NAME(VertexAttribI4sv);
|
||||
vfmt->VertexAttribI4ubv = NAME(VertexAttribI4ubv);
|
||||
vfmt->VertexAttribI4usv = NAME(VertexAttribI4usv);
|
||||
|
@@ -101,6 +101,14 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
/* An interesting VBO number/name to help with debugging */
|
||||
#define VBO_BUF_ID 12345
|
||||
|
||||
static void GLAPIENTRY
|
||||
_save_Materialfv(GLenum face, GLenum pname, const GLfloat *params);
|
||||
|
||||
static void GLAPIENTRY
|
||||
_save_EvalCoord1f(GLfloat u);
|
||||
|
||||
static void GLAPIENTRY
|
||||
_save_EvalCoord2f(GLfloat u, GLfloat v);
|
||||
|
||||
/*
|
||||
* NOTE: Old 'parity' issue is gone, but copying can still be
|
||||
@@ -1253,6 +1261,49 @@ _save_OBE_Rectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2)
|
||||
}
|
||||
|
||||
|
||||
static void GLAPIENTRY
|
||||
_save_OBE_Rectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2)
|
||||
{
|
||||
_save_OBE_Rectf((GLfloat) x1, (GLfloat) y1, (GLfloat) x2, (GLfloat) y2);
|
||||
}
|
||||
|
||||
static void GLAPIENTRY
|
||||
_save_OBE_Rectdv(const GLdouble *v1, const GLdouble *v2)
|
||||
{
|
||||
_save_OBE_Rectf((GLfloat) v1[0], (GLfloat) v1[1], (GLfloat) v2[0], (GLfloat) v2[1]);
|
||||
}
|
||||
|
||||
static void GLAPIENTRY
|
||||
_save_OBE_Rectfv(const GLfloat *v1, const GLfloat *v2)
|
||||
{
|
||||
_save_OBE_Rectf(v1[0], v1[1], v2[0], v2[1]);
|
||||
}
|
||||
|
||||
static void GLAPIENTRY
|
||||
_save_OBE_Recti(GLint x1, GLint y1, GLint x2, GLint y2)
|
||||
{
|
||||
_save_OBE_Rectf((GLfloat) x1, (GLfloat) y1, (GLfloat) x2, (GLfloat) y2);
|
||||
}
|
||||
|
||||
static void GLAPIENTRY
|
||||
_save_OBE_Rectiv(const GLint *v1, const GLint *v2)
|
||||
{
|
||||
_save_OBE_Rectf((GLfloat) v1[0], (GLfloat) v1[1], (GLfloat) v2[0], (GLfloat) v2[1]);
|
||||
}
|
||||
|
||||
static void GLAPIENTRY
|
||||
_save_OBE_Rects(GLshort x1, GLshort y1, GLshort x2, GLshort y2)
|
||||
{
|
||||
_save_OBE_Rectf((GLfloat) x1, (GLfloat) y1, (GLfloat) x2, (GLfloat) y2);
|
||||
}
|
||||
|
||||
static void GLAPIENTRY
|
||||
_save_OBE_Rectsv(const GLshort *v1, const GLshort *v2)
|
||||
{
|
||||
_save_OBE_Rectf((GLfloat) v1[0], (GLfloat) v1[1], (GLfloat) v2[0], (GLfloat) v2[1]);
|
||||
}
|
||||
|
||||
|
||||
static void GLAPIENTRY
|
||||
_save_OBE_DrawArrays(GLenum mode, GLint start, GLsizei count)
|
||||
{
|
||||
@@ -1522,6 +1573,14 @@ vbo_initialize_save_dispatch(const struct gl_context *ctx,
|
||||
SET_MultiDrawElementsEXT(exec, _save_OBE_MultiDrawElements);
|
||||
SET_MultiDrawElementsBaseVertex(exec, _save_OBE_MultiDrawElementsBaseVertex);
|
||||
SET_Rectf(exec, _save_OBE_Rectf);
|
||||
SET_Rectd(exec, _save_OBE_Rectd);
|
||||
SET_Rectdv(exec, _save_OBE_Rectdv);
|
||||
SET_Rectfv(exec, _save_OBE_Rectfv);
|
||||
SET_Recti(exec, _save_OBE_Recti);
|
||||
SET_Rectiv(exec, _save_OBE_Rectiv);
|
||||
SET_Rects(exec, _save_OBE_Rects);
|
||||
SET_Rectsv(exec, _save_OBE_Rectsv);
|
||||
|
||||
/* Note: other glDraw functins aren't compiled into display lists */
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user