📄 state.c
字号:
SET_ConvolutionFilter1D(exec, _mesa_ConvolutionFilter1D);
SET_ConvolutionFilter2D(exec, _mesa_ConvolutionFilter2D);
SET_ConvolutionParameterf(exec, _mesa_ConvolutionParameterf);
SET_ConvolutionParameterfv(exec, _mesa_ConvolutionParameterfv);
SET_ConvolutionParameteri(exec, _mesa_ConvolutionParameteri);
SET_ConvolutionParameteriv(exec, _mesa_ConvolutionParameteriv);
SET_CopyColorSubTable(exec, _mesa_CopyColorSubTable);
SET_CopyColorTable(exec, _mesa_CopyColorTable);
SET_CopyConvolutionFilter1D(exec, _mesa_CopyConvolutionFilter1D);
SET_CopyConvolutionFilter2D(exec, _mesa_CopyConvolutionFilter2D);
SET_GetColorTable(exec, _mesa_GetColorTable);
SET_GetColorTableEXT(exec, _mesa_GetColorTable);
SET_GetColorTableParameterfv(exec, _mesa_GetColorTableParameterfv);
SET_GetColorTableParameterfvEXT(exec, _mesa_GetColorTableParameterfv);
SET_GetColorTableParameteriv(exec, _mesa_GetColorTableParameteriv);
SET_GetColorTableParameterivEXT(exec, _mesa_GetColorTableParameteriv);
SET_GetConvolutionFilter(exec, _mesa_GetConvolutionFilter);
SET_GetConvolutionFilterEXT(exec, _mesa_GetConvolutionFilter);
SET_GetConvolutionParameterfv(exec, _mesa_GetConvolutionParameterfv);
SET_GetConvolutionParameterfvEXT(exec, _mesa_GetConvolutionParameterfv);
SET_GetConvolutionParameteriv(exec, _mesa_GetConvolutionParameteriv);
SET_GetConvolutionParameterivEXT(exec, _mesa_GetConvolutionParameteriv);
SET_GetHistogram(exec, _mesa_GetHistogram);
SET_GetHistogramEXT(exec, _mesa_GetHistogram);
SET_GetHistogramParameterfv(exec, _mesa_GetHistogramParameterfv);
SET_GetHistogramParameterfvEXT(exec, _mesa_GetHistogramParameterfv);
SET_GetHistogramParameteriv(exec, _mesa_GetHistogramParameteriv);
SET_GetHistogramParameterivEXT(exec, _mesa_GetHistogramParameteriv);
SET_GetMinmax(exec, _mesa_GetMinmax);
SET_GetMinmaxEXT(exec, _mesa_GetMinmax);
SET_GetMinmaxParameterfv(exec, _mesa_GetMinmaxParameterfv);
SET_GetMinmaxParameterfvEXT(exec, _mesa_GetMinmaxParameterfv);
SET_GetMinmaxParameteriv(exec, _mesa_GetMinmaxParameteriv);
SET_GetMinmaxParameterivEXT(exec, _mesa_GetMinmaxParameteriv);
SET_GetSeparableFilter(exec, _mesa_GetSeparableFilter);
SET_GetSeparableFilterEXT(exec, _mesa_GetSeparableFilter);
SET_Histogram(exec, _mesa_Histogram);
SET_Minmax(exec, _mesa_Minmax);
SET_ResetHistogram(exec, _mesa_ResetHistogram);
SET_ResetMinmax(exec, _mesa_ResetMinmax);
SET_SeparableFilter2D(exec, _mesa_SeparableFilter2D);
#endif
/* OpenGL 2.0 */
SET_StencilFuncSeparate(exec, _mesa_StencilFuncSeparate);
SET_StencilMaskSeparate(exec, _mesa_StencilMaskSeparate);
SET_StencilOpSeparate(exec, _mesa_StencilOpSeparate);
/* 2. GL_EXT_blend_color */
#if 0
/* SET_BlendColorEXT(exec, _mesa_BlendColorEXT); */
#endif
/* 3. GL_EXT_polygon_offset */
#if _HAVE_FULL_GL
SET_PolygonOffsetEXT(exec, _mesa_PolygonOffsetEXT);
#endif
/* 6. GL_EXT_texture3d */
#if 0
/* SET_CopyTexSubImage3DEXT(exec, _mesa_CopyTexSubImage3D); */
/* SET_TexImage3DEXT(exec, _mesa_TexImage3DEXT); */
/* SET_TexSubImage3DEXT(exec, _mesa_TexSubImage3D); */
#endif
/* 11. GL_EXT_histogram */
#if _HAVE_FULL_GL
SET_GetHistogramEXT(exec, _mesa_GetHistogram);
SET_GetHistogramParameterfvEXT(exec, _mesa_GetHistogramParameterfv);
SET_GetHistogramParameterivEXT(exec, _mesa_GetHistogramParameteriv);
SET_GetMinmaxEXT(exec, _mesa_GetMinmax);
SET_GetMinmaxParameterfvEXT(exec, _mesa_GetMinmaxParameterfv);
SET_GetMinmaxParameterivEXT(exec, _mesa_GetMinmaxParameteriv);
#endif
/* ?. GL_SGIX_pixel_texture */
#if _HAVE_FULL_GL
SET_PixelTexGenSGIX(exec, _mesa_PixelTexGenSGIX);
#endif
/* 15. GL_SGIS_pixel_texture */
#if _HAVE_FULL_GL
SET_PixelTexGenParameteriSGIS(exec, _mesa_PixelTexGenParameteriSGIS);
SET_PixelTexGenParameterivSGIS(exec, _mesa_PixelTexGenParameterivSGIS);
SET_PixelTexGenParameterfSGIS(exec, _mesa_PixelTexGenParameterfSGIS);
SET_PixelTexGenParameterfvSGIS(exec, _mesa_PixelTexGenParameterfvSGIS);
SET_GetPixelTexGenParameterivSGIS(exec, _mesa_GetPixelTexGenParameterivSGIS);
SET_GetPixelTexGenParameterfvSGIS(exec, _mesa_GetPixelTexGenParameterfvSGIS);
#endif
/* 30. GL_EXT_vertex_array */
#if _HAVE_FULL_GL
SET_ColorPointerEXT(exec, _mesa_ColorPointerEXT);
SET_EdgeFlagPointerEXT(exec, _mesa_EdgeFlagPointerEXT);
SET_IndexPointerEXT(exec, _mesa_IndexPointerEXT);
SET_NormalPointerEXT(exec, _mesa_NormalPointerEXT);
SET_TexCoordPointerEXT(exec, _mesa_TexCoordPointerEXT);
SET_VertexPointerEXT(exec, _mesa_VertexPointerEXT);
#endif
/* 37. GL_EXT_blend_minmax */
#if 0
SET_BlendEquationEXT(exec, _mesa_BlendEquationEXT);
#endif
/* 54. GL_EXT_point_parameters */
#if _HAVE_FULL_GL
SET_PointParameterfEXT(exec, _mesa_PointParameterfEXT);
SET_PointParameterfvEXT(exec, _mesa_PointParameterfvEXT);
#endif
/* 78. GL_EXT_paletted_texture */
#if 0
SET_ColorTableEXT(exec, _mesa_ColorTableEXT);
SET_ColorSubTableEXT(exec, _mesa_ColorSubTableEXT);
#endif
#if _HAVE_FULL_GL
SET_GetColorTableEXT(exec, _mesa_GetColorTable);
SET_GetColorTableParameterfvEXT(exec, _mesa_GetColorTableParameterfv);
SET_GetColorTableParameterivEXT(exec, _mesa_GetColorTableParameteriv);
#endif
/* 97. GL_EXT_compiled_vertex_array */
#if _HAVE_FULL_GL
SET_LockArraysEXT(exec, _mesa_LockArraysEXT);
SET_UnlockArraysEXT(exec, _mesa_UnlockArraysEXT);
#endif
/* 148. GL_EXT_multi_draw_arrays */
#if _HAVE_FULL_GL
SET_MultiDrawArraysEXT(exec, _mesa_MultiDrawArraysEXT);
SET_MultiDrawElementsEXT(exec, _mesa_MultiDrawElementsEXT);
#endif
/* 173. GL_INGR_blend_func_separate */
#if _HAVE_FULL_GL
SET_BlendFuncSeparateEXT(exec, _mesa_BlendFuncSeparateEXT);
#endif
/* 196. GL_MESA_resize_buffers */
#if _HAVE_FULL_GL
SET_ResizeBuffersMESA(exec, _mesa_ResizeBuffersMESA);
#endif
/* 197. GL_MESA_window_pos */
#if _HAVE_FULL_GL
SET_WindowPos2dMESA(exec, _mesa_WindowPos2dMESA);
SET_WindowPos2dvMESA(exec, _mesa_WindowPos2dvMESA);
SET_WindowPos2fMESA(exec, _mesa_WindowPos2fMESA);
SET_WindowPos2fvMESA(exec, _mesa_WindowPos2fvMESA);
SET_WindowPos2iMESA(exec, _mesa_WindowPos2iMESA);
SET_WindowPos2ivMESA(exec, _mesa_WindowPos2ivMESA);
SET_WindowPos2sMESA(exec, _mesa_WindowPos2sMESA);
SET_WindowPos2svMESA(exec, _mesa_WindowPos2svMESA);
SET_WindowPos3dMESA(exec, _mesa_WindowPos3dMESA);
SET_WindowPos3dvMESA(exec, _mesa_WindowPos3dvMESA);
SET_WindowPos3fMESA(exec, _mesa_WindowPos3fMESA);
SET_WindowPos3fvMESA(exec, _mesa_WindowPos3fvMESA);
SET_WindowPos3iMESA(exec, _mesa_WindowPos3iMESA);
SET_WindowPos3ivMESA(exec, _mesa_WindowPos3ivMESA);
SET_WindowPos3sMESA(exec, _mesa_WindowPos3sMESA);
SET_WindowPos3svMESA(exec, _mesa_WindowPos3svMESA);
SET_WindowPos4dMESA(exec, _mesa_WindowPos4dMESA);
SET_WindowPos4dvMESA(exec, _mesa_WindowPos4dvMESA);
SET_WindowPos4fMESA(exec, _mesa_WindowPos4fMESA);
SET_WindowPos4fvMESA(exec, _mesa_WindowPos4fvMESA);
SET_WindowPos4iMESA(exec, _mesa_WindowPos4iMESA);
SET_WindowPos4ivMESA(exec, _mesa_WindowPos4ivMESA);
SET_WindowPos4sMESA(exec, _mesa_WindowPos4sMESA);
SET_WindowPos4svMESA(exec, _mesa_WindowPos4svMESA);
#endif
/* 200. GL_IBM_multimode_draw_arrays */
#if _HAVE_FULL_GL
SET_MultiModeDrawArraysIBM(exec, _mesa_MultiModeDrawArraysIBM);
SET_MultiModeDrawElementsIBM(exec, _mesa_MultiModeDrawElementsIBM);
#endif
/* 233. GL_NV_vertex_program */
#if FEATURE_NV_vertex_program
SET_BindProgramNV(exec, _mesa_BindProgram);
SET_DeleteProgramsNV(exec, _mesa_DeletePrograms);
SET_ExecuteProgramNV(exec, _mesa_ExecuteProgramNV);
SET_GenProgramsNV(exec, _mesa_GenPrograms);
SET_AreProgramsResidentNV(exec, _mesa_AreProgramsResidentNV);
SET_RequestResidentProgramsNV(exec, _mesa_RequestResidentProgramsNV);
SET_GetProgramParameterfvNV(exec, _mesa_GetProgramParameterfvNV);
SET_GetProgramParameterdvNV(exec, _mesa_GetProgramParameterdvNV);
SET_GetProgramivNV(exec, _mesa_GetProgramivNV);
SET_GetProgramStringNV(exec, _mesa_GetProgramStringNV);
SET_GetTrackMatrixivNV(exec, _mesa_GetTrackMatrixivNV);
SET_GetVertexAttribdvNV(exec, _mesa_GetVertexAttribdvNV);
SET_GetVertexAttribfvNV(exec, _mesa_GetVertexAttribfvNV);
SET_GetVertexAttribivNV(exec, _mesa_GetVertexAttribivNV);
SET_GetVertexAttribPointervNV(exec, _mesa_GetVertexAttribPointervNV);
SET_IsProgramNV(exec, _mesa_IsProgram);
SET_LoadProgramNV(exec, _mesa_LoadProgramNV);
SET_ProgramParameter4dNV(exec, _mesa_ProgramParameter4dNV);
SET_ProgramParameter4dvNV(exec, _mesa_ProgramParameter4dvNV);
SET_ProgramParameter4fNV(exec, _mesa_ProgramParameter4fNV);
SET_ProgramParameter4fvNV(exec, _mesa_ProgramParameter4fvNV);
SET_ProgramParameters4dvNV(exec, _mesa_ProgramParameters4dvNV);
SET_ProgramParameters4fvNV(exec, _mesa_ProgramParameters4fvNV);
SET_TrackMatrixNV(exec, _mesa_TrackMatrixNV);
SET_VertexAttribPointerNV(exec, _mesa_VertexAttribPointerNV);
/* glVertexAttrib*NV functions handled in api_loopback.c */
#endif
/* 282. GL_NV_fragment_program */
#if FEATURE_NV_fragment_program
SET_ProgramNamedParameter4fNV(exec, _mesa_ProgramNamedParameter4fNV);
SET_ProgramNamedParameter4dNV(exec, _mesa_ProgramNamedParameter4dNV);
SET_ProgramNamedParameter4fvNV(exec, _mesa_ProgramNamedParameter4fvNV);
SET_ProgramNamedParameter4dvNV(exec, _mesa_ProgramNamedParameter4dvNV);
SET_GetProgramNamedParameterfvNV(exec, _mesa_GetProgramNamedParameterfvNV);
SET_GetProgramNamedParameterdvNV(exec, _mesa_GetProgramNamedParameterdvNV);
SET_ProgramLocalParameter4dARB(exec, _mesa_ProgramLocalParameter4dARB);
SET_ProgramLocalParameter4dvARB(exec, _mesa_ProgramLocalParameter4dvARB);
SET_ProgramLocalParameter4fARB(exec, _mesa_ProgramLocalParameter4fARB);
SET_ProgramLocalParameter4fvARB(exec, _mesa_ProgramLocalParameter4fvARB);
SET_GetProgramLocalParameterdvARB(exec, _mesa_GetProgramLocalParameterdvARB);
SET_GetProgramLocalParameterfvARB(exec, _mesa_GetProgramLocalParameterfvARB);
#endif
/* 262. GL_NV_point_sprite */
#if _HAVE_FULL_GL
SET_PointParameteriNV(exec, _mesa_PointParameteriNV);
SET_PointParameterivNV(exec, _mesa_PointParameterivNV);
#endif
/* 268. GL_EXT_stencil_two_side */
#if _HAVE_FULL_GL
SET_ActiveStencilFaceEXT(exec, _mesa_ActiveStencilFaceEXT);
#endif
/* ???. GL_EXT_depth_bounds_test */
SET_DepthBoundsEXT(exec, _mesa_DepthBoundsEXT);
/* ARB 1. GL_ARB_multitexture */
#if _HAVE_FULL_GL
SET_ActiveTextureARB(exec, _mesa_ActiveTextureARB);
SET_ClientActiveTextureARB(exec, _mesa_ClientActiveTextureARB);
#endif
/* ARB 3. GL_ARB_transpose_matrix */
#if _HAVE_FULL_GL
SET_LoadTransposeMatrixdARB(exec, _mesa_LoadTransposeMatrixdARB);
SET_LoadTransposeMatrixfARB(exec, _mesa_LoadTransposeMatrixfARB);
SET_MultTransposeMatrixdARB(exec, _mesa_MultTransposeMatrixdARB);
SET_MultTransposeMatrixfARB(exec, _mesa_MultTransposeMatrixfARB);
#endif
/* ARB 5. GL_ARB_multisample */
#if _HAVE_FULL_GL
SET_SampleCoverageARB(exec, _mesa_SampleCoverageARB);
#endif
/* ARB 12. GL_ARB_texture_compression */
#if _HAVE_FULL_GL
SET_CompressedTexImage3DARB(exec, _mesa_CompressedTexImage3DARB);
SET_CompressedTexImage2DARB(exec, _mesa_CompressedTexImage2DARB);
SET_CompressedTexImage1DARB(exec, _mesa_CompressedTexImage1DARB);
SET_CompressedTexSubImage3DARB(exec, _mesa_CompressedTexSubImage3DARB);
SET_CompressedTexSubImage2DARB(exec, _mesa_CompressedTexSubImage2DARB);
SET_CompressedTexSubImage1DARB(exec, _mesa_CompressedTexSubImage1DARB);
SET_GetCompressedTexImageARB(exec, _mesa_GetCompressedTexImageARB);
#endif
/* ARB 14. GL_ARB_point_parameters */
/* reuse EXT_point_parameters functions */
/* ARB 26. GL_ARB_vertex_program */
/* ARB 27. GL_ARB_fragment_program */
#if FEATURE_ARB_vertex_program || FEATURE_ARB_fragment_program
/* glVertexAttrib1sARB aliases glVertexAttrib1sNV */
/* glVertexAttrib1fARB aliases glVertexAttrib1fNV */
/* glVertexAttrib1dARB aliases glVertexAttrib1dNV */
/* glVertexAttrib2sARB aliases glVertexAttrib2sNV */
/* glVertexAttrib2fARB aliases glVertexAttrib2fNV */
/* glVertexAttrib2dARB aliases glVertexAttrib2dNV */
/* glVertexAttrib3sARB aliases glVertexAttrib3sNV */
/* glVertexAttrib3fARB aliases glVertexAttrib3fNV */
/* glVertexAttrib3dARB aliases glVertexAttrib3dNV */
/* glVertexAttrib4sARB aliases glVertexAttrib4sNV */
/* glVertexAttrib4fARB aliases glVertexAttrib4fNV */
/* glVertexAttrib4dARB aliases glVertexAttrib4dNV */
/* glVertexAttrib4NubARB aliases glVertexAttrib4NubNV */
/* glVertexAttrib1svARB aliases glVertexAttrib1svNV */
/* glVertexAttrib1fvARB aliases glVertexAttrib1fvNV */
/* glVertexAttrib1dvARB aliases glVertexAttrib1dvNV */
/* glVertexAttrib2svARB aliases glVertexAttrib2svNV */
/* glVertexAttrib2fvARB aliases glVertexAttrib2fvNV */
/* glVertexAttrib2dvARB aliases glVertexAttrib2dvNV */
/* glVertexAttrib3svARB aliases glVertexAttrib3svNV */
/* glVertexAttrib3fvARB aliases glVertexAttrib3fvNV */
/* glVertexAttrib3dvARB aliases glVertexAttrib3dvNV */
/* glVertexAttrib4svARB aliases glVertexAttrib4svNV */
/* glVertexAttrib4fvARB aliases glVertexAttrib4fvNV */
/* glVertexAttrib4dvARB aliases glVertexAttrib4dvNV */
/* glVertexAttrib4NubvARB aliases glVertexAttrib4NubvNV */
/* glVertexAttrib4bvARB handled in api_loopback.c */
/* glVertexAttrib4ivARB handled in api_loopback.c */
/* glVertexAttrib4ubvARB handled in api_loopback.c */
/* glVertexAttrib4usvARB handled in api_loopback.c */
/* glVertexAttrib4uivARB handled in api_loopback.c */
/* glVertexAttrib4NbvARB handled in api_loopback.c */
/* glVertexAttrib4NsvARB handled in api_loopback.c */
/* glVertexAttrib4NivARB handled in api_loopback.c */
/* glVertexAttrib4NusvARB handled in api_loopback.c */
/* glVertexAttrib4NuivARB handled in api_loopback.c */
SET_VertexAttribPointerARB(exec, _mesa_VertexAttribPointerARB);
SET_EnableVertexAttribArrayARB(exec, _mesa_EnableVertexAttribArrayARB);
SET_DisableVertexAttribArrayARB(exec, _mesa_DisableVertexAttribArrayARB);
SET_ProgramStringARB(exec, _mesa_ProgramStringARB);
/* glBindProgramARB aliases glBindProgramNV */
/* glDeleteProgramsARB aliases glDeleteProgramsNV */
/* glGenProgramsARB aliases glGenProgramsNV */
/* glIsProgramARB aliases glIsProgramNV */
SET_GetVertexAttribdvARB(exec, _mesa_GetVertexAttribdvARB);
SET_GetVertexAttribfvARB(exec, _mesa_GetVertexAttribfvARB);
SET_GetVertexAttribivARB(exec, _mesa_GetVertexAttribivARB);
/* glGetVertexAttribPointervARB aliases glGetVertexAttribPointervNV */
SET_ProgramEnvParameter4dARB(exec, _mesa_ProgramEnvParameter4dARB);
SET_ProgramEnvParameter4dvARB(exec, _mesa_ProgramEnvParameter4dvARB);
SET_ProgramEnvParameter4fARB(exec, _mesa_ProgramEnvParameter4fARB);
SET_ProgramEnvParameter4fvARB(exec, _mesa_ProgramEnvParameter4fvARB);
SET_ProgramLocalParameter4dARB(exec, _mesa_ProgramLocalParameter4dARB);
SET_ProgramLocalParameter4dvARB(exec, _mesa_ProgramLocalParameter4dvARB);
SET_ProgramLocalParameter4fARB(exec, _mesa_ProgramLocalParameter4fARB);
SET_ProgramLocalParameter4fvARB(exec, _mesa_ProgramLocalParameter4fvARB);
SET_GetProgramEnvParameterdvARB(exec, _mesa_GetProgramEnvParameterdvARB);
SET_GetProgramEnvParameterfvARB(exec, _mesa_GetProgramEnvParameterfvARB);
SET_GetProgramLocalParameterdvARB(exec, _mesa_GetProgramLocalParameterdvARB);
SET_GetProgramLocalParameterfvARB(exec, _mesa_GetProgramLocalParameterfvARB);
SET_GetProgramivARB(exec, _mesa_GetProgramivARB);
SET_GetProgramStringARB(exec, _mesa_GetProgramStringARB);
#endif
/* ARB 28. GL_ARB_vertex_buffer_object */
#if FEATURE_ARB_vertex_buffer_object
SET_BindBufferARB(exec, _mesa_BindBufferARB);
SET_BufferDataARB(exec, _mesa_BufferDataARB);
SET_BufferSubDataARB(exec, _mesa_BufferSubDataARB);
SET_DeleteBuffersARB(exec, _mesa_DeleteBuffersARB);
SET_GenBuffersARB(exec, _mesa_GenBuffersARB);
SET_GetBufferParameterivARB(exec, _mesa_GetBufferParameterivARB);
SET_GetBufferPointervARB(exec, _mesa_GetBufferPointervARB);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -