mesa: use nop dispatch for ColorTable/Convolution/Histogram
The nop dispatch generates GL_INVALID_OPERATION too. Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14000>
This commit is contained in:
parent
7994b6c893
commit
ae4065f0b2
|
@ -98,7 +98,7 @@
|
|||
|
||||
|
||||
<!-- ARB_imaging sized buffer queries -->
|
||||
<function name="GetnColorTableARB" deprecated="3.1">
|
||||
<function name="GetnColorTableARB" deprecated="3.1" exec="skip">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="format" type="GLenum"/>
|
||||
<param name="type" type="GLenum"/>
|
||||
|
@ -106,7 +106,7 @@
|
|||
<param name="table" type="GLvoid *" output="true"/>
|
||||
</function>
|
||||
|
||||
<function name="GetnConvolutionFilterARB" deprecated="3.1">
|
||||
<function name="GetnConvolutionFilterARB" deprecated="3.1" exec="skip">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="format" type="GLenum"/>
|
||||
<param name="type" type="GLenum"/>
|
||||
|
@ -114,7 +114,7 @@
|
|||
<param name="image" type="GLvoid *" output="true"/>
|
||||
</function>
|
||||
|
||||
<function name="GetnSeparableFilterARB" deprecated="3.1">
|
||||
<function name="GetnSeparableFilterARB" deprecated="3.1" exec="skip">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="format" type="GLenum"/>
|
||||
<param name="type" type="GLenum"/>
|
||||
|
@ -125,7 +125,7 @@
|
|||
<param name="span" type="GLvoid *" output="true"/>
|
||||
</function>
|
||||
|
||||
<function name="GetnHistogramARB" deprecated="3.1">
|
||||
<function name="GetnHistogramARB" deprecated="3.1" exec="skip">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="reset" type="GLboolean"/>
|
||||
<param name="format" type="GLenum"/>
|
||||
|
@ -134,7 +134,7 @@
|
|||
<param name="values" type="GLvoid *" output="true"/>
|
||||
</function>
|
||||
|
||||
<function name="GetnMinmaxARB" deprecated="3.1">
|
||||
<function name="GetnMinmaxARB" deprecated="3.1" exec="skip">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="reset" type="GLboolean"/>
|
||||
<param name="format" type="GLenum"/>
|
||||
|
|
|
@ -3797,7 +3797,7 @@
|
|||
<glx handcode="true"/>
|
||||
</function>
|
||||
|
||||
<function name="ColorTable" deprecated="3.1">
|
||||
<function name="ColorTable" deprecated="3.1" exec="skip">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="internalformat" type="GLenum"/>
|
||||
<param name="width" type="GLsizei"/>
|
||||
|
@ -3807,21 +3807,21 @@
|
|||
<glx rop="2053" large="true"/>
|
||||
</function>
|
||||
|
||||
<function name="ColorTableParameterfv" deprecated="3.1">
|
||||
<function name="ColorTableParameterfv" deprecated="3.1" exec="skip">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="pname" type="GLenum"/>
|
||||
<param name="params" type="const GLfloat *" variable_param="pname"/>
|
||||
<glx rop="2054"/>
|
||||
</function>
|
||||
|
||||
<function name="ColorTableParameteriv" deprecated="3.1">
|
||||
<function name="ColorTableParameteriv" deprecated="3.1" exec="skip">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="pname" type="GLenum"/>
|
||||
<param name="params" type="const GLint *" variable_param="pname"/>
|
||||
<glx rop="2055"/>
|
||||
</function>
|
||||
|
||||
<function name="CopyColorTable" deprecated="3.1">
|
||||
<function name="CopyColorTable" deprecated="3.1" exec="skip">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="internalformat" type="GLenum"/>
|
||||
<param name="x" type="GLint"/>
|
||||
|
@ -3830,7 +3830,7 @@
|
|||
<glx rop="2056"/>
|
||||
</function>
|
||||
|
||||
<function name="GetColorTable" deprecated="3.1">
|
||||
<function name="GetColorTable" deprecated="3.1" exec="skip">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="format" type="GLenum"/>
|
||||
<param name="type" type="GLenum"/>
|
||||
|
@ -3838,21 +3838,21 @@
|
|||
<glx sop="147" dimensions_in_reply="true"/>
|
||||
</function>
|
||||
|
||||
<function name="GetColorTableParameterfv" deprecated="3.1">
|
||||
<function name="GetColorTableParameterfv" deprecated="3.1" exec="skip">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="pname" type="GLenum"/>
|
||||
<param name="params" type="GLfloat *" output="true" variable_param="pname"/>
|
||||
<glx sop="148"/>
|
||||
</function>
|
||||
|
||||
<function name="GetColorTableParameteriv" deprecated="3.1">
|
||||
<function name="GetColorTableParameteriv" deprecated="3.1" exec="skip">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="pname" type="GLenum"/>
|
||||
<param name="params" type="GLint *" output="true" variable_param="pname"/>
|
||||
<glx sop="149"/>
|
||||
</function>
|
||||
|
||||
<function name="ColorSubTable" deprecated="3.1">
|
||||
<function name="ColorSubTable" deprecated="3.1" exec="skip">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="start" type="GLsizei"/>
|
||||
<param name="count" type="GLsizei"/>
|
||||
|
@ -3862,7 +3862,7 @@
|
|||
<glx rop="195" large="true"/>
|
||||
</function>
|
||||
|
||||
<function name="CopyColorSubTable" deprecated="3.1">
|
||||
<function name="CopyColorSubTable" deprecated="3.1" exec="skip">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="start" type="GLsizei"/>
|
||||
<param name="x" type="GLint"/>
|
||||
|
@ -3871,7 +3871,7 @@
|
|||
<glx rop="196"/>
|
||||
</function>
|
||||
|
||||
<function name="ConvolutionFilter1D" deprecated="3.1">
|
||||
<function name="ConvolutionFilter1D" deprecated="3.1" exec="skip">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="internalformat" type="GLenum"/>
|
||||
<param name="width" type="GLsizei"/>
|
||||
|
@ -3881,7 +3881,7 @@
|
|||
<glx rop="4101" large="true"/>
|
||||
</function>
|
||||
|
||||
<function name="ConvolutionFilter2D" deprecated="3.1">
|
||||
<function name="ConvolutionFilter2D" deprecated="3.1" exec="skip">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="internalformat" type="GLenum"/>
|
||||
<param name="width" type="GLsizei"/>
|
||||
|
@ -3892,35 +3892,35 @@
|
|||
<glx rop="4102" large="true"/>
|
||||
</function>
|
||||
|
||||
<function name="ConvolutionParameterf" deprecated="3.1">
|
||||
<function name="ConvolutionParameterf" deprecated="3.1" exec="skip">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="pname" type="GLenum"/>
|
||||
<param name="params" type="GLfloat"/>
|
||||
<glx rop="4103"/>
|
||||
</function>
|
||||
|
||||
<function name="ConvolutionParameterfv" deprecated="3.1">
|
||||
<function name="ConvolutionParameterfv" deprecated="3.1" exec="skip">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="pname" type="GLenum"/>
|
||||
<param name="params" type="const GLfloat *" variable_param="pname"/>
|
||||
<glx rop="4104"/>
|
||||
</function>
|
||||
|
||||
<function name="ConvolutionParameteri" deprecated="3.1">
|
||||
<function name="ConvolutionParameteri" deprecated="3.1" exec="skip">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="pname" type="GLenum"/>
|
||||
<param name="params" type="GLint"/>
|
||||
<glx rop="4105"/>
|
||||
</function>
|
||||
|
||||
<function name="ConvolutionParameteriv" deprecated="3.1">
|
||||
<function name="ConvolutionParameteriv" deprecated="3.1" exec="skip">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="pname" type="GLenum"/>
|
||||
<param name="params" type="const GLint *" variable_param="pname"/>
|
||||
<glx rop="4106"/>
|
||||
</function>
|
||||
|
||||
<function name="CopyConvolutionFilter1D" deprecated="3.1">
|
||||
<function name="CopyConvolutionFilter1D" deprecated="3.1" exec="skip">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="internalformat" type="GLenum"/>
|
||||
<param name="x" type="GLint"/>
|
||||
|
@ -3929,7 +3929,7 @@
|
|||
<glx rop="4107"/>
|
||||
</function>
|
||||
|
||||
<function name="CopyConvolutionFilter2D" deprecated="3.1">
|
||||
<function name="CopyConvolutionFilter2D" deprecated="3.1" exec="skip">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="internalformat" type="GLenum"/>
|
||||
<param name="x" type="GLint"/>
|
||||
|
@ -3939,7 +3939,7 @@
|
|||
<glx rop="4108"/>
|
||||
</function>
|
||||
|
||||
<function name="GetConvolutionFilter" deprecated="3.1">
|
||||
<function name="GetConvolutionFilter" deprecated="3.1" exec="skip">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="format" type="GLenum"/>
|
||||
<param name="type" type="GLenum"/>
|
||||
|
@ -3947,21 +3947,21 @@
|
|||
<glx sop="150" dimensions_in_reply="true"/>
|
||||
</function>
|
||||
|
||||
<function name="GetConvolutionParameterfv" deprecated="3.1">
|
||||
<function name="GetConvolutionParameterfv" deprecated="3.1" exec="skip">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="pname" type="GLenum"/>
|
||||
<param name="params" type="GLfloat *" output="true" variable_param="pname"/>
|
||||
<glx sop="151"/>
|
||||
</function>
|
||||
|
||||
<function name="GetConvolutionParameteriv" deprecated="3.1">
|
||||
<function name="GetConvolutionParameteriv" deprecated="3.1" exec="skip">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="pname" type="GLenum"/>
|
||||
<param name="params" type="GLint *" output="true" variable_param="pname"/>
|
||||
<glx sop="152"/>
|
||||
</function>
|
||||
|
||||
<function name="GetSeparableFilter" deprecated="3.1">
|
||||
<function name="GetSeparableFilter" deprecated="3.1" exec="skip">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="format" type="GLenum"/>
|
||||
<param name="type" type="GLenum"/>
|
||||
|
@ -3971,7 +3971,7 @@
|
|||
<glx sop="153" handcode="true"/>
|
||||
</function>
|
||||
|
||||
<function name="SeparableFilter2D" deprecated="3.1">
|
||||
<function name="SeparableFilter2D" deprecated="3.1" exec="skip">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="internalformat" type="GLenum"/>
|
||||
<param name="width" type="GLsizei"/>
|
||||
|
@ -3983,7 +3983,7 @@
|
|||
<glx rop="4109" handcode="true"/>
|
||||
</function>
|
||||
|
||||
<function name="GetHistogram" deprecated="3.1">
|
||||
<function name="GetHistogram" deprecated="3.1" exec="skip">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="reset" type="GLboolean"/>
|
||||
<param name="format" type="GLenum"/>
|
||||
|
@ -3992,21 +3992,21 @@
|
|||
<glx sop="154" dimensions_in_reply="true" img_reset="reset"/>
|
||||
</function>
|
||||
|
||||
<function name="GetHistogramParameterfv" deprecated="3.1">
|
||||
<function name="GetHistogramParameterfv" deprecated="3.1" exec="skip">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="pname" type="GLenum"/>
|
||||
<param name="params" type="GLfloat *" output="true" variable_param="pname"/>
|
||||
<glx sop="155"/>
|
||||
</function>
|
||||
|
||||
<function name="GetHistogramParameteriv" deprecated="3.1">
|
||||
<function name="GetHistogramParameteriv" deprecated="3.1" exec="skip">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="pname" type="GLenum"/>
|
||||
<param name="params" type="GLint *" output="true" variable_param="pname"/>
|
||||
<glx sop="156"/>
|
||||
</function>
|
||||
|
||||
<function name="GetMinmax" deprecated="3.1">
|
||||
<function name="GetMinmax" deprecated="3.1" exec="skip">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="reset" type="GLboolean"/>
|
||||
<param name="format" type="GLenum"/>
|
||||
|
@ -4015,21 +4015,21 @@
|
|||
<glx sop="157" img_reset="reset"/>
|
||||
</function>
|
||||
|
||||
<function name="GetMinmaxParameterfv" deprecated="3.1">
|
||||
<function name="GetMinmaxParameterfv" deprecated="3.1" exec="skip">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="pname" type="GLenum"/>
|
||||
<param name="params" type="GLfloat *" output="true" variable_param="pname"/>
|
||||
<glx sop="158"/>
|
||||
</function>
|
||||
|
||||
<function name="GetMinmaxParameteriv" deprecated="3.1">
|
||||
<function name="GetMinmaxParameteriv" deprecated="3.1" exec="skip">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="pname" type="GLenum"/>
|
||||
<param name="params" type="GLint *" output="true" variable_param="pname"/>
|
||||
<glx sop="159"/>
|
||||
</function>
|
||||
|
||||
<function name="Histogram" deprecated="3.1">
|
||||
<function name="Histogram" deprecated="3.1" exec="skip">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="width" type="GLsizei"/>
|
||||
<param name="internalformat" type="GLenum"/>
|
||||
|
@ -4037,19 +4037,19 @@
|
|||
<glx rop="4110"/>
|
||||
</function>
|
||||
|
||||
<function name="Minmax" deprecated="3.1">
|
||||
<function name="Minmax" deprecated="3.1" exec="skip">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="internalformat" type="GLenum"/>
|
||||
<param name="sink" type="GLboolean"/>
|
||||
<glx rop="4111"/>
|
||||
</function>
|
||||
|
||||
<function name="ResetHistogram" deprecated="3.1">
|
||||
<function name="ResetHistogram" deprecated="3.1" exec="skip">
|
||||
<param name="target" type="GLenum"/>
|
||||
<glx rop="4112"/>
|
||||
</function>
|
||||
|
||||
<function name="ResetMinmax" deprecated="3.1">
|
||||
<function name="ResetMinmax" deprecated="3.1" exec="skip">
|
||||
<param name="target" type="GLenum"/>
|
||||
<glx rop="4113"/>
|
||||
</function>
|
||||
|
|
|
@ -1,134 +0,0 @@
|
|||
/*
|
||||
* Mesa 3-D graphics library
|
||||
*
|
||||
* Copyright (C) 1999-2007 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.
|
||||
*/
|
||||
|
||||
|
||||
#include "glheader.h"
|
||||
#include "bufferobj.h"
|
||||
#include "context.h"
|
||||
#include "image.h"
|
||||
#include "macros.h"
|
||||
#include "mtypes.h"
|
||||
#include "pack.h"
|
||||
#include "pbo.h"
|
||||
#include "state.h"
|
||||
#include "teximage.h"
|
||||
#include "texstate.h"
|
||||
#include "api_exec_decl.h"
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_ColorTable( GLenum target, GLenum internalFormat,
|
||||
GLsizei width, GLenum format, GLenum type,
|
||||
const GLvoid *data )
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION, "glColorTable");
|
||||
}
|
||||
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_ColorSubTable( GLenum target, GLsizei start,
|
||||
GLsizei count, GLenum format, GLenum type,
|
||||
const GLvoid *data )
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION, "glColorSubTable");
|
||||
}
|
||||
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_CopyColorTable(GLenum target, GLenum internalformat,
|
||||
GLint x, GLint y, GLsizei width)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION, "glCopyColorTable");
|
||||
}
|
||||
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_CopyColorSubTable(GLenum target, GLsizei start,
|
||||
GLint x, GLint y, GLsizei width)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION, "glCopyColorSubTable");
|
||||
}
|
||||
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_GetnColorTableARB( GLenum target, GLenum format, GLenum type,
|
||||
GLsizei bufSize, GLvoid *data )
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION, "glGetnColorTableARB");
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_GetColorTable( GLenum target, GLenum format,
|
||||
GLenum type, GLvoid *data )
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION, "glGetColorTable");
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_ColorTableParameterfv(GLenum target, GLenum pname, const GLfloat *params)
|
||||
{
|
||||
/* no extensions use this function */
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION, "glColorTableParameterfv");
|
||||
}
|
||||
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_ColorTableParameteriv(GLenum target, GLenum pname, const GLint *params)
|
||||
{
|
||||
/* no extensions use this function */
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION, "glColorTableParameteriv");
|
||||
}
|
||||
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_GetColorTableParameterfv( GLenum target, GLenum pname, GLfloat *params )
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION, "glGetColorTableParameterfv");
|
||||
}
|
||||
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_GetColorTableParameteriv( GLenum target, GLenum pname, GLint *params )
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION, "glGetColorTableParameteriv");
|
||||
}
|
|
@ -1,173 +0,0 @@
|
|||
/*
|
||||
* Mesa 3-D graphics library
|
||||
*
|
||||
* Copyright (C) 1999-2006 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.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
* Image convolution functions.
|
||||
*
|
||||
* Notes: filter kernel elements are indexed by <n> and <m> as in
|
||||
* the GL spec.
|
||||
*/
|
||||
|
||||
|
||||
#include "glheader.h"
|
||||
#include "context.h"
|
||||
#include "api_exec_decl.h"
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_ConvolutionFilter1D(GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *image)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION, "glConvolutionFilter1D");
|
||||
}
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_ConvolutionFilter2D(GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION, "glConvolutionFilter2D");
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_ConvolutionParameterf(GLenum target, GLenum pname, GLfloat param)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION, "glConvolutionParameterf");
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_ConvolutionParameterfv(GLenum target, GLenum pname, const GLfloat *params)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION, "glConvolutionParameterfv");
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_ConvolutionParameteri(GLenum target, GLenum pname, GLint param)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION, "glConvolutionParameteri");
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_ConvolutionParameteriv(GLenum target, GLenum pname, const GLint *params)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION, "glConvolutionParameteriv");
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_CopyConvolutionFilter1D(GLenum target, GLenum internalFormat, GLint x, GLint y, GLsizei width)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION, "glCopyConvolutionFilter1D");
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_CopyConvolutionFilter2D(GLenum target, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION, "glCopyConvolutionFilter2D");
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_GetnConvolutionFilterARB(GLenum target, GLenum format, GLenum type,
|
||||
GLsizei bufSize, GLvoid *image)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION, "glGetConvolutionFilter");
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_GetConvolutionFilter(GLenum target, GLenum format, GLenum type,
|
||||
GLvoid *image)
|
||||
{
|
||||
_mesa_GetnConvolutionFilterARB(target, format, type, INT_MAX, image);
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_GetConvolutionParameterfv(GLenum target, GLenum pname, GLfloat *params)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION, "glGetConvolutionParameterfv");
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_GetConvolutionParameteriv(GLenum target, GLenum pname, GLint *params)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION, "glGetConvolutionParameteriv");
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_GetnSeparableFilterARB(GLenum target, GLenum format, GLenum type,
|
||||
GLsizei rowBufSize, GLvoid *row,
|
||||
GLsizei columnBufSize, GLvoid *column,
|
||||
GLvoid *span)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION, "glGetSeparableFilter");
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_GetSeparableFilter(GLenum target, GLenum format, GLenum type,
|
||||
GLvoid *row, GLvoid *column, GLvoid *span)
|
||||
{
|
||||
_mesa_GetnSeparableFilterARB(target, format, type, INT_MAX, row,
|
||||
INT_MAX, column, span);
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_SeparableFilter2D(GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION, "glSeparableFilter2D");
|
||||
}
|
|
@ -1,141 +0,0 @@
|
|||
/*
|
||||
* Mesa 3-D graphics library
|
||||
*
|
||||
* Copyright (C) 1999-2004 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.
|
||||
*/
|
||||
|
||||
|
||||
#include "glheader.h"
|
||||
#include "context.h"
|
||||
#include "api_exec_decl.h"
|
||||
|
||||
|
||||
/**********************************************************************
|
||||
* API functions
|
||||
*/
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_GetnMinmaxARB(GLenum target, GLboolean reset, GLenum format,
|
||||
GLenum type, GLsizei bufSize, GLvoid *values)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION, "glGetMinmax");
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_GetMinmax(GLenum target, GLboolean reset, GLenum format, GLenum type,
|
||||
GLvoid *values)
|
||||
{
|
||||
_mesa_GetnMinmaxARB(target, reset, format, type, INT_MAX, values);
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_GetnHistogramARB(GLenum target, GLboolean reset, GLenum format,
|
||||
GLenum type, GLsizei bufSize, GLvoid *values)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION, "glGetHistogram");
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_GetHistogram(GLenum target, GLboolean reset, GLenum format, GLenum type,
|
||||
GLvoid *values)
|
||||
{
|
||||
_mesa_GetnHistogramARB(target, reset, format, type, INT_MAX, values);
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_GetHistogramParameterfv(GLenum target, GLenum pname, GLfloat *params)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION, "glGetHistogramParameterfv");
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_GetHistogramParameteriv(GLenum target, GLenum pname, GLint *params)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION, "glGetHistogramParameteriv");
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_GetMinmaxParameterfv(GLenum target, GLenum pname, GLfloat *params)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION, "glGetMinmaxParameterfv");
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_GetMinmaxParameteriv(GLenum target, GLenum pname, GLint *params)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION, "glGetMinmaxParameteriv");
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_Histogram(GLenum target, GLsizei width, GLenum internalFormat, GLboolean sink)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION, "glHistogram");
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_Minmax(GLenum target, GLenum internalFormat, GLboolean sink)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION, "glMinmax");
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_ResetHistogram(GLenum target)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION, "glResetHistogram");
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_ResetMinmax(GLenum target)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION, "glResetMinmax");
|
||||
}
|
|
@ -49,7 +49,6 @@ files_libmesa = files(
|
|||
'main/clip.c',
|
||||
'main/clip.h',
|
||||
'main/colormac.h',
|
||||
'main/colortab.c',
|
||||
'main/compute.c',
|
||||
'main/condrender.c',
|
||||
'main/condrender.h',
|
||||
|
@ -58,7 +57,6 @@ files_libmesa = files(
|
|||
'main/conservativeraster.h',
|
||||
'main/context.c',
|
||||
'main/context.h',
|
||||
'main/convolve.c',
|
||||
'main/copyimage.c',
|
||||
'main/cpuinfo.c',
|
||||
'main/cpuinfo.h',
|
||||
|
@ -133,7 +131,6 @@ files_libmesa = files(
|
|||
'main/hash.h',
|
||||
'main/hint.c',
|
||||
'main/hint.h',
|
||||
'main/histogram.c',
|
||||
'main/image.c',
|
||||
'main/image.h',
|
||||
'main/light.c',
|
||||
|
|
Loading…
Reference in New Issue