Merge branch 'arb_sampler_objects'
This commit is contained in:
commit
1ca5585459
78 changed files with 11142 additions and 8480 deletions
|
|
@ -77,7 +77,7 @@ GLSL 3.30 not started
|
|||
GL_ARB_blend_func_extended not started
|
||||
GL_ARB_explicit_attrib_location DONE (swrast, i915, i965)
|
||||
GL_ARB_occlusion_query2 DONE (swrast, gallium)
|
||||
GL_ARB_sampler_objects not started
|
||||
GL_ARB_sampler_objects DONE (gallium)
|
||||
GL_ARB_texture_rgb10_a2ui not started
|
||||
GL_ARB_texture_swizzle DONE (same as EXT version)
|
||||
GL_ARB_timer_query DONE (only Xlib sw driver)
|
||||
|
|
|
|||
|
|
@ -41,6 +41,7 @@ tbd
|
|||
<li>GL_ARB_texture_compression_rgtc (gallium r600, swrast)
|
||||
<li>GL_ARB_draw_buffers_blend (gallium)
|
||||
<li>GL_EXT_texture_sRGB_decode (gallium drivers, swrast, i965)
|
||||
<li>GL_ARB_sampler_objects (gallium drivers)
|
||||
</ul>
|
||||
|
||||
|
||||
|
|
|
|||
96
src/mapi/glapi/gen/ARB_sampler_objects.xml
Normal file
96
src/mapi/glapi/gen/ARB_sampler_objects.xml
Normal file
|
|
@ -0,0 +1,96 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
|
||||
|
||||
<!-- Note: no GLX protocol info yet. -->
|
||||
|
||||
<OpenGLAPI>
|
||||
|
||||
<category name="GL_ARB_sampler_objects" number="81">
|
||||
|
||||
<function name="GenSamplers" offset="assign">
|
||||
<param name="count" type="GLsizei"/>
|
||||
<param name="samplers" type="GLuint *"/>
|
||||
</function>
|
||||
|
||||
<function name="DeleteSamplers" offset="assign">
|
||||
<param name="count" type="GLsizei"/>
|
||||
<param name="samplers" type="const GLuint *"/>
|
||||
</function>
|
||||
|
||||
<function name="IsSampler" offset="assign">
|
||||
<param name="sampler" type="GLuint"/>
|
||||
<return type="GLboolean"/>
|
||||
</function>
|
||||
|
||||
<function name="BindSampler" offset="assign">
|
||||
<param name="unit" type="GLuint"/>
|
||||
<param name="sampler" type="GLuint"/>
|
||||
</function>
|
||||
|
||||
<function name="SamplerParameteri" offset="assign">
|
||||
<param name="sampler" type="GLuint"/>
|
||||
<param name="pname" type="GLenum"/>
|
||||
<param name="param" type="GLint"/>
|
||||
</function>
|
||||
|
||||
<function name="SamplerParameterf" offset="assign">
|
||||
<param name="sampler" type="GLuint"/>
|
||||
<param name="pname" type="GLenum"/>
|
||||
<param name="param" type="GLfloat"/>
|
||||
</function>
|
||||
|
||||
<function name="SamplerParameteriv" offset="assign">
|
||||
<param name="sampler" type="GLuint"/>
|
||||
<param name="pname" type="GLenum"/>
|
||||
<param name="params" type="const GLint *"/>
|
||||
</function>
|
||||
|
||||
<function name="SamplerParameterfv" offset="assign">
|
||||
<param name="sampler" type="GLuint"/>
|
||||
<param name="pname" type="GLenum"/>
|
||||
<param name="params" type="const GLfloat *"/>
|
||||
</function>
|
||||
|
||||
<function name="SamplerParameterIiv" offset="assign">
|
||||
<param name="sampler" type="GLuint"/>
|
||||
<param name="pname" type="GLenum"/>
|
||||
<param name="params" type="const GLint *"/>
|
||||
</function>
|
||||
|
||||
<function name="SamplerParameterIuiv" offset="assign">
|
||||
<param name="sampler" type="GLuint"/>
|
||||
<param name="pname" type="GLenum"/>
|
||||
<param name="params" type="const GLuint *"/>
|
||||
</function>
|
||||
|
||||
<function name="GetSamplerParameteriv" offset="assign">
|
||||
<param name="sampler" type="GLuint"/>
|
||||
<param name="pname" type="GLenum"/>
|
||||
<param name="params" type="GLint *"/>
|
||||
</function>
|
||||
|
||||
<function name="GetSamplerParameterfv" offset="assign">
|
||||
<param name="sampler" type="GLuint"/>
|
||||
<param name="pname" type="GLenum"/>
|
||||
<param name="params" type="GLfloat *"/>
|
||||
</function>
|
||||
|
||||
<function name="GetSamplerParameterIiv" offset="assign">
|
||||
<param name="sampler" type="GLuint"/>
|
||||
<param name="pname" type="GLenum"/>
|
||||
<param name="params" type="GLint *"/>
|
||||
</function>
|
||||
|
||||
<function name="GetSamplerParameterIuiv" offset="assign">
|
||||
<param name="sampler" type="GLuint"/>
|
||||
<param name="pname" type="GLenum"/>
|
||||
<param name="params" type="GLuint *"/>
|
||||
</function>
|
||||
|
||||
<enum name="SAMPLER_BINDING" count="1" value="0x8919">
|
||||
<size name="Get" mode="get"/>
|
||||
</enum>
|
||||
|
||||
</category>
|
||||
|
||||
</OpenGLAPI>
|
||||
|
|
@ -80,6 +80,7 @@ API_XML = \
|
|||
ARB_geometry_shader4.xml \
|
||||
ARB_instanced_arrays.xml \
|
||||
ARB_map_buffer_range.xml \
|
||||
ARB_sampler_objects.xml \
|
||||
ARB_seamless_cube_map.xml \
|
||||
ARB_sync.xml \
|
||||
ARB_texture_buffer_object.xml \
|
||||
|
|
|
|||
|
|
@ -7973,6 +7973,8 @@
|
|||
|
||||
<xi:include href="NV_texture_barrier.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
|
||||
|
||||
<xi:include href="ARB_sampler_objects.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
|
||||
|
||||
<xi:include href="EXT_transform_feedback.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
|
||||
|
||||
<xi:include href="ARB_draw_instanced.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -795,335 +795,349 @@ gl_dispatch_functions_start:
|
|||
GL_STUB(glBlendEquationiARB, 597)
|
||||
GL_STUB(glBlendFuncSeparateiARB, 598)
|
||||
GL_STUB(glBlendFunciARB, 599)
|
||||
GL_STUB(glBindTransformFeedback, 600)
|
||||
GL_STUB(glDeleteTransformFeedbacks, 601)
|
||||
GL_STUB(glDrawTransformFeedback, 602)
|
||||
GL_STUB(glGenTransformFeedbacks, 603)
|
||||
GL_STUB(glIsTransformFeedback, 604)
|
||||
GL_STUB(glPauseTransformFeedback, 605)
|
||||
GL_STUB(glResumeTransformFeedback, 606)
|
||||
GL_STUB(glClearDepthf, 607)
|
||||
GL_STUB(glDepthRangef, 608)
|
||||
GL_STUB(glGetShaderPrecisionFormat, 609)
|
||||
GL_STUB(glReleaseShaderCompiler, 610)
|
||||
GL_STUB(glShaderBinary, 611)
|
||||
GL_STUB(glPolygonOffsetEXT, 612)
|
||||
GL_STUB(gl_dispatch_stub_613, 613)
|
||||
HIDDEN(gl_dispatch_stub_613)
|
||||
GL_STUB(gl_dispatch_stub_614, 614)
|
||||
HIDDEN(gl_dispatch_stub_614)
|
||||
GL_STUB(gl_dispatch_stub_615, 615)
|
||||
HIDDEN(gl_dispatch_stub_615)
|
||||
GL_STUB(gl_dispatch_stub_616, 616)
|
||||
HIDDEN(gl_dispatch_stub_616)
|
||||
GL_STUB(gl_dispatch_stub_617, 617)
|
||||
HIDDEN(gl_dispatch_stub_617)
|
||||
GL_STUB(gl_dispatch_stub_618, 618)
|
||||
HIDDEN(gl_dispatch_stub_618)
|
||||
GL_STUB(gl_dispatch_stub_619, 619)
|
||||
HIDDEN(gl_dispatch_stub_619)
|
||||
GL_STUB(gl_dispatch_stub_620, 620)
|
||||
HIDDEN(gl_dispatch_stub_620)
|
||||
GL_STUB(glColorPointerEXT, 621)
|
||||
GL_STUB(glEdgeFlagPointerEXT, 622)
|
||||
GL_STUB(glIndexPointerEXT, 623)
|
||||
GL_STUB(glNormalPointerEXT, 624)
|
||||
GL_STUB(glTexCoordPointerEXT, 625)
|
||||
GL_STUB(glVertexPointerEXT, 626)
|
||||
GL_STUB(glPointParameterfEXT, 627)
|
||||
GL_STUB(glPointParameterfvEXT, 628)
|
||||
GL_STUB(glLockArraysEXT, 629)
|
||||
GL_STUB(glUnlockArraysEXT, 630)
|
||||
GL_STUB(glSecondaryColor3bEXT, 631)
|
||||
GL_STUB(glSecondaryColor3bvEXT, 632)
|
||||
GL_STUB(glSecondaryColor3dEXT, 633)
|
||||
GL_STUB(glSecondaryColor3dvEXT, 634)
|
||||
GL_STUB(glSecondaryColor3fEXT, 635)
|
||||
GL_STUB(glSecondaryColor3fvEXT, 636)
|
||||
GL_STUB(glSecondaryColor3iEXT, 637)
|
||||
GL_STUB(glSecondaryColor3ivEXT, 638)
|
||||
GL_STUB(glSecondaryColor3sEXT, 639)
|
||||
GL_STUB(glSecondaryColor3svEXT, 640)
|
||||
GL_STUB(glSecondaryColor3ubEXT, 641)
|
||||
GL_STUB(glSecondaryColor3ubvEXT, 642)
|
||||
GL_STUB(glSecondaryColor3uiEXT, 643)
|
||||
GL_STUB(glSecondaryColor3uivEXT, 644)
|
||||
GL_STUB(glSecondaryColor3usEXT, 645)
|
||||
GL_STUB(glSecondaryColor3usvEXT, 646)
|
||||
GL_STUB(glSecondaryColorPointerEXT, 647)
|
||||
GL_STUB(glMultiDrawArraysEXT, 648)
|
||||
GL_STUB(glMultiDrawElementsEXT, 649)
|
||||
GL_STUB(glFogCoordPointerEXT, 650)
|
||||
GL_STUB(glFogCoorddEXT, 651)
|
||||
GL_STUB(glFogCoorddvEXT, 652)
|
||||
GL_STUB(glFogCoordfEXT, 653)
|
||||
GL_STUB(glFogCoordfvEXT, 654)
|
||||
GL_STUB(gl_dispatch_stub_655, 655)
|
||||
HIDDEN(gl_dispatch_stub_655)
|
||||
GL_STUB(glBlendFuncSeparateEXT, 656)
|
||||
GL_STUB(glFlushVertexArrayRangeNV, 657)
|
||||
GL_STUB(glVertexArrayRangeNV, 658)
|
||||
GL_STUB(glCombinerInputNV, 659)
|
||||
GL_STUB(glCombinerOutputNV, 660)
|
||||
GL_STUB(glCombinerParameterfNV, 661)
|
||||
GL_STUB(glCombinerParameterfvNV, 662)
|
||||
GL_STUB(glCombinerParameteriNV, 663)
|
||||
GL_STUB(glCombinerParameterivNV, 664)
|
||||
GL_STUB(glFinalCombinerInputNV, 665)
|
||||
GL_STUB(glGetCombinerInputParameterfvNV, 666)
|
||||
GL_STUB(glGetCombinerInputParameterivNV, 667)
|
||||
GL_STUB(glGetCombinerOutputParameterfvNV, 668)
|
||||
GL_STUB(glGetCombinerOutputParameterivNV, 669)
|
||||
GL_STUB(glGetFinalCombinerInputParameterfvNV, 670)
|
||||
GL_STUB(glGetFinalCombinerInputParameterivNV, 671)
|
||||
GL_STUB(glResizeBuffersMESA, 672)
|
||||
GL_STUB(glWindowPos2dMESA, 673)
|
||||
GL_STUB(glWindowPos2dvMESA, 674)
|
||||
GL_STUB(glWindowPos2fMESA, 675)
|
||||
GL_STUB(glWindowPos2fvMESA, 676)
|
||||
GL_STUB(glWindowPos2iMESA, 677)
|
||||
GL_STUB(glWindowPos2ivMESA, 678)
|
||||
GL_STUB(glWindowPos2sMESA, 679)
|
||||
GL_STUB(glWindowPos2svMESA, 680)
|
||||
GL_STUB(glWindowPos3dMESA, 681)
|
||||
GL_STUB(glWindowPos3dvMESA, 682)
|
||||
GL_STUB(glWindowPos3fMESA, 683)
|
||||
GL_STUB(glWindowPos3fvMESA, 684)
|
||||
GL_STUB(glWindowPos3iMESA, 685)
|
||||
GL_STUB(glWindowPos3ivMESA, 686)
|
||||
GL_STUB(glWindowPos3sMESA, 687)
|
||||
GL_STUB(glWindowPos3svMESA, 688)
|
||||
GL_STUB(glWindowPos4dMESA, 689)
|
||||
GL_STUB(glWindowPos4dvMESA, 690)
|
||||
GL_STUB(glWindowPos4fMESA, 691)
|
||||
GL_STUB(glWindowPos4fvMESA, 692)
|
||||
GL_STUB(glWindowPos4iMESA, 693)
|
||||
GL_STUB(glWindowPos4ivMESA, 694)
|
||||
GL_STUB(glWindowPos4sMESA, 695)
|
||||
GL_STUB(glWindowPos4svMESA, 696)
|
||||
GL_STUB(gl_dispatch_stub_697, 697)
|
||||
HIDDEN(gl_dispatch_stub_697)
|
||||
GL_STUB(gl_dispatch_stub_698, 698)
|
||||
HIDDEN(gl_dispatch_stub_698)
|
||||
GL_STUB(gl_dispatch_stub_699, 699)
|
||||
HIDDEN(gl_dispatch_stub_699)
|
||||
GL_STUB(gl_dispatch_stub_700, 700)
|
||||
HIDDEN(gl_dispatch_stub_700)
|
||||
GL_STUB(gl_dispatch_stub_701, 701)
|
||||
HIDDEN(gl_dispatch_stub_701)
|
||||
GL_STUB(gl_dispatch_stub_702, 702)
|
||||
HIDDEN(gl_dispatch_stub_702)
|
||||
GL_STUB(gl_dispatch_stub_703, 703)
|
||||
HIDDEN(gl_dispatch_stub_703)
|
||||
GL_STUB(gl_dispatch_stub_704, 704)
|
||||
HIDDEN(gl_dispatch_stub_704)
|
||||
GL_STUB(gl_dispatch_stub_705, 705)
|
||||
HIDDEN(gl_dispatch_stub_705)
|
||||
GL_STUB(glAreProgramsResidentNV, 706)
|
||||
GL_STUB(glBindProgramNV, 707)
|
||||
GL_STUB(glDeleteProgramsNV, 708)
|
||||
GL_STUB(glExecuteProgramNV, 709)
|
||||
GL_STUB(glGenProgramsNV, 710)
|
||||
GL_STUB(glGetProgramParameterdvNV, 711)
|
||||
GL_STUB(glGetProgramParameterfvNV, 712)
|
||||
GL_STUB(glGetProgramStringNV, 713)
|
||||
GL_STUB(glGetProgramivNV, 714)
|
||||
GL_STUB(glGetTrackMatrixivNV, 715)
|
||||
GL_STUB(glGetVertexAttribPointervNV, 716)
|
||||
GL_STUB(glGetVertexAttribdvNV, 717)
|
||||
GL_STUB(glGetVertexAttribfvNV, 718)
|
||||
GL_STUB(glGetVertexAttribivNV, 719)
|
||||
GL_STUB(glIsProgramNV, 720)
|
||||
GL_STUB(glLoadProgramNV, 721)
|
||||
GL_STUB(glProgramParameters4dvNV, 722)
|
||||
GL_STUB(glProgramParameters4fvNV, 723)
|
||||
GL_STUB(glRequestResidentProgramsNV, 724)
|
||||
GL_STUB(glTrackMatrixNV, 725)
|
||||
GL_STUB(glVertexAttrib1dNV, 726)
|
||||
GL_STUB(glVertexAttrib1dvNV, 727)
|
||||
GL_STUB(glVertexAttrib1fNV, 728)
|
||||
GL_STUB(glVertexAttrib1fvNV, 729)
|
||||
GL_STUB(glVertexAttrib1sNV, 730)
|
||||
GL_STUB(glVertexAttrib1svNV, 731)
|
||||
GL_STUB(glVertexAttrib2dNV, 732)
|
||||
GL_STUB(glVertexAttrib2dvNV, 733)
|
||||
GL_STUB(glVertexAttrib2fNV, 734)
|
||||
GL_STUB(glVertexAttrib2fvNV, 735)
|
||||
GL_STUB(glVertexAttrib2sNV, 736)
|
||||
GL_STUB(glVertexAttrib2svNV, 737)
|
||||
GL_STUB(glVertexAttrib3dNV, 738)
|
||||
GL_STUB(glVertexAttrib3dvNV, 739)
|
||||
GL_STUB(glVertexAttrib3fNV, 740)
|
||||
GL_STUB(glVertexAttrib3fvNV, 741)
|
||||
GL_STUB(glVertexAttrib3sNV, 742)
|
||||
GL_STUB(glVertexAttrib3svNV, 743)
|
||||
GL_STUB(glVertexAttrib4dNV, 744)
|
||||
GL_STUB(glVertexAttrib4dvNV, 745)
|
||||
GL_STUB(glVertexAttrib4fNV, 746)
|
||||
GL_STUB(glVertexAttrib4fvNV, 747)
|
||||
GL_STUB(glVertexAttrib4sNV, 748)
|
||||
GL_STUB(glVertexAttrib4svNV, 749)
|
||||
GL_STUB(glVertexAttrib4ubNV, 750)
|
||||
GL_STUB(glVertexAttrib4ubvNV, 751)
|
||||
GL_STUB(glVertexAttribPointerNV, 752)
|
||||
GL_STUB(glVertexAttribs1dvNV, 753)
|
||||
GL_STUB(glVertexAttribs1fvNV, 754)
|
||||
GL_STUB(glVertexAttribs1svNV, 755)
|
||||
GL_STUB(glVertexAttribs2dvNV, 756)
|
||||
GL_STUB(glVertexAttribs2fvNV, 757)
|
||||
GL_STUB(glVertexAttribs2svNV, 758)
|
||||
GL_STUB(glVertexAttribs3dvNV, 759)
|
||||
GL_STUB(glVertexAttribs3fvNV, 760)
|
||||
GL_STUB(glVertexAttribs3svNV, 761)
|
||||
GL_STUB(glVertexAttribs4dvNV, 762)
|
||||
GL_STUB(glVertexAttribs4fvNV, 763)
|
||||
GL_STUB(glVertexAttribs4svNV, 764)
|
||||
GL_STUB(glVertexAttribs4ubvNV, 765)
|
||||
GL_STUB(glGetTexBumpParameterfvATI, 766)
|
||||
GL_STUB(glGetTexBumpParameterivATI, 767)
|
||||
GL_STUB(glTexBumpParameterfvATI, 768)
|
||||
GL_STUB(glTexBumpParameterivATI, 769)
|
||||
GL_STUB(glAlphaFragmentOp1ATI, 770)
|
||||
GL_STUB(glAlphaFragmentOp2ATI, 771)
|
||||
GL_STUB(glAlphaFragmentOp3ATI, 772)
|
||||
GL_STUB(glBeginFragmentShaderATI, 773)
|
||||
GL_STUB(glBindFragmentShaderATI, 774)
|
||||
GL_STUB(glColorFragmentOp1ATI, 775)
|
||||
GL_STUB(glColorFragmentOp2ATI, 776)
|
||||
GL_STUB(glColorFragmentOp3ATI, 777)
|
||||
GL_STUB(glDeleteFragmentShaderATI, 778)
|
||||
GL_STUB(glEndFragmentShaderATI, 779)
|
||||
GL_STUB(glGenFragmentShadersATI, 780)
|
||||
GL_STUB(glPassTexCoordATI, 781)
|
||||
GL_STUB(glSampleMapATI, 782)
|
||||
GL_STUB(glSetFragmentShaderConstantATI, 783)
|
||||
GL_STUB(glPointParameteriNV, 784)
|
||||
GL_STUB(glPointParameterivNV, 785)
|
||||
GL_STUB(gl_dispatch_stub_786, 786)
|
||||
HIDDEN(gl_dispatch_stub_786)
|
||||
GL_STUB(gl_dispatch_stub_787, 787)
|
||||
HIDDEN(gl_dispatch_stub_787)
|
||||
GL_STUB(gl_dispatch_stub_788, 788)
|
||||
HIDDEN(gl_dispatch_stub_788)
|
||||
GL_STUB(gl_dispatch_stub_789, 789)
|
||||
HIDDEN(gl_dispatch_stub_789)
|
||||
GL_STUB(gl_dispatch_stub_790, 790)
|
||||
HIDDEN(gl_dispatch_stub_790)
|
||||
GL_STUB(glGetProgramNamedParameterdvNV, 791)
|
||||
GL_STUB(glGetProgramNamedParameterfvNV, 792)
|
||||
GL_STUB(glProgramNamedParameter4dNV, 793)
|
||||
GL_STUB(glProgramNamedParameter4dvNV, 794)
|
||||
GL_STUB(glProgramNamedParameter4fNV, 795)
|
||||
GL_STUB(glProgramNamedParameter4fvNV, 796)
|
||||
GL_STUB(glPrimitiveRestartIndexNV, 797)
|
||||
GL_STUB(glPrimitiveRestartNV, 798)
|
||||
GL_STUB(gl_dispatch_stub_799, 799)
|
||||
HIDDEN(gl_dispatch_stub_799)
|
||||
GL_STUB(glBindSampler, 600)
|
||||
GL_STUB(glDeleteSamplers, 601)
|
||||
GL_STUB(glGenSamplers, 602)
|
||||
GL_STUB(glGetSamplerParameterIiv, 603)
|
||||
GL_STUB(glGetSamplerParameterIuiv, 604)
|
||||
GL_STUB(glGetSamplerParameterfv, 605)
|
||||
GL_STUB(glGetSamplerParameteriv, 606)
|
||||
GL_STUB(glIsSampler, 607)
|
||||
GL_STUB(glSamplerParameterIiv, 608)
|
||||
GL_STUB(glSamplerParameterIuiv, 609)
|
||||
GL_STUB(glSamplerParameterf, 610)
|
||||
GL_STUB(glSamplerParameterfv, 611)
|
||||
GL_STUB(glSamplerParameteri, 612)
|
||||
GL_STUB(glSamplerParameteriv, 613)
|
||||
GL_STUB(glBindTransformFeedback, 614)
|
||||
GL_STUB(glDeleteTransformFeedbacks, 615)
|
||||
GL_STUB(glDrawTransformFeedback, 616)
|
||||
GL_STUB(glGenTransformFeedbacks, 617)
|
||||
GL_STUB(glIsTransformFeedback, 618)
|
||||
GL_STUB(glPauseTransformFeedback, 619)
|
||||
GL_STUB(glResumeTransformFeedback, 620)
|
||||
GL_STUB(glClearDepthf, 621)
|
||||
GL_STUB(glDepthRangef, 622)
|
||||
GL_STUB(glGetShaderPrecisionFormat, 623)
|
||||
GL_STUB(glReleaseShaderCompiler, 624)
|
||||
GL_STUB(glShaderBinary, 625)
|
||||
GL_STUB(glPolygonOffsetEXT, 626)
|
||||
GL_STUB(gl_dispatch_stub_627, 627)
|
||||
HIDDEN(gl_dispatch_stub_627)
|
||||
GL_STUB(gl_dispatch_stub_628, 628)
|
||||
HIDDEN(gl_dispatch_stub_628)
|
||||
GL_STUB(gl_dispatch_stub_629, 629)
|
||||
HIDDEN(gl_dispatch_stub_629)
|
||||
GL_STUB(gl_dispatch_stub_630, 630)
|
||||
HIDDEN(gl_dispatch_stub_630)
|
||||
GL_STUB(gl_dispatch_stub_631, 631)
|
||||
HIDDEN(gl_dispatch_stub_631)
|
||||
GL_STUB(gl_dispatch_stub_632, 632)
|
||||
HIDDEN(gl_dispatch_stub_632)
|
||||
GL_STUB(gl_dispatch_stub_633, 633)
|
||||
HIDDEN(gl_dispatch_stub_633)
|
||||
GL_STUB(gl_dispatch_stub_634, 634)
|
||||
HIDDEN(gl_dispatch_stub_634)
|
||||
GL_STUB(glColorPointerEXT, 635)
|
||||
GL_STUB(glEdgeFlagPointerEXT, 636)
|
||||
GL_STUB(glIndexPointerEXT, 637)
|
||||
GL_STUB(glNormalPointerEXT, 638)
|
||||
GL_STUB(glTexCoordPointerEXT, 639)
|
||||
GL_STUB(glVertexPointerEXT, 640)
|
||||
GL_STUB(glPointParameterfEXT, 641)
|
||||
GL_STUB(glPointParameterfvEXT, 642)
|
||||
GL_STUB(glLockArraysEXT, 643)
|
||||
GL_STUB(glUnlockArraysEXT, 644)
|
||||
GL_STUB(glSecondaryColor3bEXT, 645)
|
||||
GL_STUB(glSecondaryColor3bvEXT, 646)
|
||||
GL_STUB(glSecondaryColor3dEXT, 647)
|
||||
GL_STUB(glSecondaryColor3dvEXT, 648)
|
||||
GL_STUB(glSecondaryColor3fEXT, 649)
|
||||
GL_STUB(glSecondaryColor3fvEXT, 650)
|
||||
GL_STUB(glSecondaryColor3iEXT, 651)
|
||||
GL_STUB(glSecondaryColor3ivEXT, 652)
|
||||
GL_STUB(glSecondaryColor3sEXT, 653)
|
||||
GL_STUB(glSecondaryColor3svEXT, 654)
|
||||
GL_STUB(glSecondaryColor3ubEXT, 655)
|
||||
GL_STUB(glSecondaryColor3ubvEXT, 656)
|
||||
GL_STUB(glSecondaryColor3uiEXT, 657)
|
||||
GL_STUB(glSecondaryColor3uivEXT, 658)
|
||||
GL_STUB(glSecondaryColor3usEXT, 659)
|
||||
GL_STUB(glSecondaryColor3usvEXT, 660)
|
||||
GL_STUB(glSecondaryColorPointerEXT, 661)
|
||||
GL_STUB(glMultiDrawArraysEXT, 662)
|
||||
GL_STUB(glMultiDrawElementsEXT, 663)
|
||||
GL_STUB(glFogCoordPointerEXT, 664)
|
||||
GL_STUB(glFogCoorddEXT, 665)
|
||||
GL_STUB(glFogCoorddvEXT, 666)
|
||||
GL_STUB(glFogCoordfEXT, 667)
|
||||
GL_STUB(glFogCoordfvEXT, 668)
|
||||
GL_STUB(gl_dispatch_stub_669, 669)
|
||||
HIDDEN(gl_dispatch_stub_669)
|
||||
GL_STUB(glBlendFuncSeparateEXT, 670)
|
||||
GL_STUB(glFlushVertexArrayRangeNV, 671)
|
||||
GL_STUB(glVertexArrayRangeNV, 672)
|
||||
GL_STUB(glCombinerInputNV, 673)
|
||||
GL_STUB(glCombinerOutputNV, 674)
|
||||
GL_STUB(glCombinerParameterfNV, 675)
|
||||
GL_STUB(glCombinerParameterfvNV, 676)
|
||||
GL_STUB(glCombinerParameteriNV, 677)
|
||||
GL_STUB(glCombinerParameterivNV, 678)
|
||||
GL_STUB(glFinalCombinerInputNV, 679)
|
||||
GL_STUB(glGetCombinerInputParameterfvNV, 680)
|
||||
GL_STUB(glGetCombinerInputParameterivNV, 681)
|
||||
GL_STUB(glGetCombinerOutputParameterfvNV, 682)
|
||||
GL_STUB(glGetCombinerOutputParameterivNV, 683)
|
||||
GL_STUB(glGetFinalCombinerInputParameterfvNV, 684)
|
||||
GL_STUB(glGetFinalCombinerInputParameterivNV, 685)
|
||||
GL_STUB(glResizeBuffersMESA, 686)
|
||||
GL_STUB(glWindowPos2dMESA, 687)
|
||||
GL_STUB(glWindowPos2dvMESA, 688)
|
||||
GL_STUB(glWindowPos2fMESA, 689)
|
||||
GL_STUB(glWindowPos2fvMESA, 690)
|
||||
GL_STUB(glWindowPos2iMESA, 691)
|
||||
GL_STUB(glWindowPos2ivMESA, 692)
|
||||
GL_STUB(glWindowPos2sMESA, 693)
|
||||
GL_STUB(glWindowPos2svMESA, 694)
|
||||
GL_STUB(glWindowPos3dMESA, 695)
|
||||
GL_STUB(glWindowPos3dvMESA, 696)
|
||||
GL_STUB(glWindowPos3fMESA, 697)
|
||||
GL_STUB(glWindowPos3fvMESA, 698)
|
||||
GL_STUB(glWindowPos3iMESA, 699)
|
||||
GL_STUB(glWindowPos3ivMESA, 700)
|
||||
GL_STUB(glWindowPos3sMESA, 701)
|
||||
GL_STUB(glWindowPos3svMESA, 702)
|
||||
GL_STUB(glWindowPos4dMESA, 703)
|
||||
GL_STUB(glWindowPos4dvMESA, 704)
|
||||
GL_STUB(glWindowPos4fMESA, 705)
|
||||
GL_STUB(glWindowPos4fvMESA, 706)
|
||||
GL_STUB(glWindowPos4iMESA, 707)
|
||||
GL_STUB(glWindowPos4ivMESA, 708)
|
||||
GL_STUB(glWindowPos4sMESA, 709)
|
||||
GL_STUB(glWindowPos4svMESA, 710)
|
||||
GL_STUB(gl_dispatch_stub_711, 711)
|
||||
HIDDEN(gl_dispatch_stub_711)
|
||||
GL_STUB(gl_dispatch_stub_712, 712)
|
||||
HIDDEN(gl_dispatch_stub_712)
|
||||
GL_STUB(gl_dispatch_stub_713, 713)
|
||||
HIDDEN(gl_dispatch_stub_713)
|
||||
GL_STUB(gl_dispatch_stub_714, 714)
|
||||
HIDDEN(gl_dispatch_stub_714)
|
||||
GL_STUB(gl_dispatch_stub_715, 715)
|
||||
HIDDEN(gl_dispatch_stub_715)
|
||||
GL_STUB(gl_dispatch_stub_716, 716)
|
||||
HIDDEN(gl_dispatch_stub_716)
|
||||
GL_STUB(gl_dispatch_stub_717, 717)
|
||||
HIDDEN(gl_dispatch_stub_717)
|
||||
GL_STUB(gl_dispatch_stub_718, 718)
|
||||
HIDDEN(gl_dispatch_stub_718)
|
||||
GL_STUB(gl_dispatch_stub_719, 719)
|
||||
HIDDEN(gl_dispatch_stub_719)
|
||||
GL_STUB(glAreProgramsResidentNV, 720)
|
||||
GL_STUB(glBindProgramNV, 721)
|
||||
GL_STUB(glDeleteProgramsNV, 722)
|
||||
GL_STUB(glExecuteProgramNV, 723)
|
||||
GL_STUB(glGenProgramsNV, 724)
|
||||
GL_STUB(glGetProgramParameterdvNV, 725)
|
||||
GL_STUB(glGetProgramParameterfvNV, 726)
|
||||
GL_STUB(glGetProgramStringNV, 727)
|
||||
GL_STUB(glGetProgramivNV, 728)
|
||||
GL_STUB(glGetTrackMatrixivNV, 729)
|
||||
GL_STUB(glGetVertexAttribPointervNV, 730)
|
||||
GL_STUB(glGetVertexAttribdvNV, 731)
|
||||
GL_STUB(glGetVertexAttribfvNV, 732)
|
||||
GL_STUB(glGetVertexAttribivNV, 733)
|
||||
GL_STUB(glIsProgramNV, 734)
|
||||
GL_STUB(glLoadProgramNV, 735)
|
||||
GL_STUB(glProgramParameters4dvNV, 736)
|
||||
GL_STUB(glProgramParameters4fvNV, 737)
|
||||
GL_STUB(glRequestResidentProgramsNV, 738)
|
||||
GL_STUB(glTrackMatrixNV, 739)
|
||||
GL_STUB(glVertexAttrib1dNV, 740)
|
||||
GL_STUB(glVertexAttrib1dvNV, 741)
|
||||
GL_STUB(glVertexAttrib1fNV, 742)
|
||||
GL_STUB(glVertexAttrib1fvNV, 743)
|
||||
GL_STUB(glVertexAttrib1sNV, 744)
|
||||
GL_STUB(glVertexAttrib1svNV, 745)
|
||||
GL_STUB(glVertexAttrib2dNV, 746)
|
||||
GL_STUB(glVertexAttrib2dvNV, 747)
|
||||
GL_STUB(glVertexAttrib2fNV, 748)
|
||||
GL_STUB(glVertexAttrib2fvNV, 749)
|
||||
GL_STUB(glVertexAttrib2sNV, 750)
|
||||
GL_STUB(glVertexAttrib2svNV, 751)
|
||||
GL_STUB(glVertexAttrib3dNV, 752)
|
||||
GL_STUB(glVertexAttrib3dvNV, 753)
|
||||
GL_STUB(glVertexAttrib3fNV, 754)
|
||||
GL_STUB(glVertexAttrib3fvNV, 755)
|
||||
GL_STUB(glVertexAttrib3sNV, 756)
|
||||
GL_STUB(glVertexAttrib3svNV, 757)
|
||||
GL_STUB(glVertexAttrib4dNV, 758)
|
||||
GL_STUB(glVertexAttrib4dvNV, 759)
|
||||
GL_STUB(glVertexAttrib4fNV, 760)
|
||||
GL_STUB(glVertexAttrib4fvNV, 761)
|
||||
GL_STUB(glVertexAttrib4sNV, 762)
|
||||
GL_STUB(glVertexAttrib4svNV, 763)
|
||||
GL_STUB(glVertexAttrib4ubNV, 764)
|
||||
GL_STUB(glVertexAttrib4ubvNV, 765)
|
||||
GL_STUB(glVertexAttribPointerNV, 766)
|
||||
GL_STUB(glVertexAttribs1dvNV, 767)
|
||||
GL_STUB(glVertexAttribs1fvNV, 768)
|
||||
GL_STUB(glVertexAttribs1svNV, 769)
|
||||
GL_STUB(glVertexAttribs2dvNV, 770)
|
||||
GL_STUB(glVertexAttribs2fvNV, 771)
|
||||
GL_STUB(glVertexAttribs2svNV, 772)
|
||||
GL_STUB(glVertexAttribs3dvNV, 773)
|
||||
GL_STUB(glVertexAttribs3fvNV, 774)
|
||||
GL_STUB(glVertexAttribs3svNV, 775)
|
||||
GL_STUB(glVertexAttribs4dvNV, 776)
|
||||
GL_STUB(glVertexAttribs4fvNV, 777)
|
||||
GL_STUB(glVertexAttribs4svNV, 778)
|
||||
GL_STUB(glVertexAttribs4ubvNV, 779)
|
||||
GL_STUB(glGetTexBumpParameterfvATI, 780)
|
||||
GL_STUB(glGetTexBumpParameterivATI, 781)
|
||||
GL_STUB(glTexBumpParameterfvATI, 782)
|
||||
GL_STUB(glTexBumpParameterivATI, 783)
|
||||
GL_STUB(glAlphaFragmentOp1ATI, 784)
|
||||
GL_STUB(glAlphaFragmentOp2ATI, 785)
|
||||
GL_STUB(glAlphaFragmentOp3ATI, 786)
|
||||
GL_STUB(glBeginFragmentShaderATI, 787)
|
||||
GL_STUB(glBindFragmentShaderATI, 788)
|
||||
GL_STUB(glColorFragmentOp1ATI, 789)
|
||||
GL_STUB(glColorFragmentOp2ATI, 790)
|
||||
GL_STUB(glColorFragmentOp3ATI, 791)
|
||||
GL_STUB(glDeleteFragmentShaderATI, 792)
|
||||
GL_STUB(glEndFragmentShaderATI, 793)
|
||||
GL_STUB(glGenFragmentShadersATI, 794)
|
||||
GL_STUB(glPassTexCoordATI, 795)
|
||||
GL_STUB(glSampleMapATI, 796)
|
||||
GL_STUB(glSetFragmentShaderConstantATI, 797)
|
||||
GL_STUB(glPointParameteriNV, 798)
|
||||
GL_STUB(glPointParameterivNV, 799)
|
||||
GL_STUB(gl_dispatch_stub_800, 800)
|
||||
HIDDEN(gl_dispatch_stub_800)
|
||||
GL_STUB(glBindFramebufferEXT, 801)
|
||||
GL_STUB(glBindRenderbufferEXT, 802)
|
||||
GL_STUB(glCheckFramebufferStatusEXT, 803)
|
||||
GL_STUB(glDeleteFramebuffersEXT, 804)
|
||||
GL_STUB(glDeleteRenderbuffersEXT, 805)
|
||||
GL_STUB(glFramebufferRenderbufferEXT, 806)
|
||||
GL_STUB(glFramebufferTexture1DEXT, 807)
|
||||
GL_STUB(glFramebufferTexture2DEXT, 808)
|
||||
GL_STUB(glFramebufferTexture3DEXT, 809)
|
||||
GL_STUB(glGenFramebuffersEXT, 810)
|
||||
GL_STUB(glGenRenderbuffersEXT, 811)
|
||||
GL_STUB(glGenerateMipmapEXT, 812)
|
||||
GL_STUB(glGetFramebufferAttachmentParameterivEXT, 813)
|
||||
GL_STUB(glGetRenderbufferParameterivEXT, 814)
|
||||
GL_STUB(glIsFramebufferEXT, 815)
|
||||
GL_STUB(glIsRenderbufferEXT, 816)
|
||||
GL_STUB(glRenderbufferStorageEXT, 817)
|
||||
GL_STUB(gl_dispatch_stub_818, 818)
|
||||
HIDDEN(gl_dispatch_stub_818)
|
||||
GL_STUB(gl_dispatch_stub_819, 819)
|
||||
HIDDEN(gl_dispatch_stub_819)
|
||||
GL_STUB(gl_dispatch_stub_820, 820)
|
||||
HIDDEN(gl_dispatch_stub_820)
|
||||
GL_STUB(glBindFragDataLocationEXT, 821)
|
||||
GL_STUB(glGetFragDataLocationEXT, 822)
|
||||
GL_STUB(glGetUniformuivEXT, 823)
|
||||
GL_STUB(glGetVertexAttribIivEXT, 824)
|
||||
GL_STUB(glGetVertexAttribIuivEXT, 825)
|
||||
GL_STUB(glUniform1uiEXT, 826)
|
||||
GL_STUB(glUniform1uivEXT, 827)
|
||||
GL_STUB(glUniform2uiEXT, 828)
|
||||
GL_STUB(glUniform2uivEXT, 829)
|
||||
GL_STUB(glUniform3uiEXT, 830)
|
||||
GL_STUB(glUniform3uivEXT, 831)
|
||||
GL_STUB(glUniform4uiEXT, 832)
|
||||
GL_STUB(glUniform4uivEXT, 833)
|
||||
GL_STUB(glVertexAttribI1iEXT, 834)
|
||||
GL_STUB(glVertexAttribI1ivEXT, 835)
|
||||
GL_STUB(glVertexAttribI1uiEXT, 836)
|
||||
GL_STUB(glVertexAttribI1uivEXT, 837)
|
||||
GL_STUB(glVertexAttribI2iEXT, 838)
|
||||
GL_STUB(glVertexAttribI2ivEXT, 839)
|
||||
GL_STUB(glVertexAttribI2uiEXT, 840)
|
||||
GL_STUB(glVertexAttribI2uivEXT, 841)
|
||||
GL_STUB(glVertexAttribI3iEXT, 842)
|
||||
GL_STUB(glVertexAttribI3ivEXT, 843)
|
||||
GL_STUB(glVertexAttribI3uiEXT, 844)
|
||||
GL_STUB(glVertexAttribI3uivEXT, 845)
|
||||
GL_STUB(glVertexAttribI4bvEXT, 846)
|
||||
GL_STUB(glVertexAttribI4iEXT, 847)
|
||||
GL_STUB(glVertexAttribI4ivEXT, 848)
|
||||
GL_STUB(glVertexAttribI4svEXT, 849)
|
||||
GL_STUB(glVertexAttribI4ubvEXT, 850)
|
||||
GL_STUB(glVertexAttribI4uiEXT, 851)
|
||||
GL_STUB(glVertexAttribI4uivEXT, 852)
|
||||
GL_STUB(glVertexAttribI4usvEXT, 853)
|
||||
GL_STUB(glVertexAttribIPointerEXT, 854)
|
||||
GL_STUB(glFramebufferTextureLayerEXT, 855)
|
||||
GL_STUB(glColorMaskIndexedEXT, 856)
|
||||
GL_STUB(glDisableIndexedEXT, 857)
|
||||
GL_STUB(glEnableIndexedEXT, 858)
|
||||
GL_STUB(glGetBooleanIndexedvEXT, 859)
|
||||
GL_STUB(glGetIntegerIndexedvEXT, 860)
|
||||
GL_STUB(glIsEnabledIndexedEXT, 861)
|
||||
GL_STUB(glClearColorIiEXT, 862)
|
||||
GL_STUB(glClearColorIuiEXT, 863)
|
||||
GL_STUB(glGetTexParameterIivEXT, 864)
|
||||
GL_STUB(glGetTexParameterIuivEXT, 865)
|
||||
GL_STUB(glTexParameterIivEXT, 866)
|
||||
GL_STUB(glTexParameterIuivEXT, 867)
|
||||
GL_STUB(glBeginConditionalRenderNV, 868)
|
||||
GL_STUB(glEndConditionalRenderNV, 869)
|
||||
GL_STUB(glBeginTransformFeedbackEXT, 870)
|
||||
GL_STUB(glBindBufferBaseEXT, 871)
|
||||
GL_STUB(glBindBufferOffsetEXT, 872)
|
||||
GL_STUB(glBindBufferRangeEXT, 873)
|
||||
GL_STUB(glEndTransformFeedbackEXT, 874)
|
||||
GL_STUB(glGetTransformFeedbackVaryingEXT, 875)
|
||||
GL_STUB(glTransformFeedbackVaryingsEXT, 876)
|
||||
GL_STUB(glProvokingVertexEXT, 877)
|
||||
GL_STUB(gl_dispatch_stub_878, 878)
|
||||
HIDDEN(gl_dispatch_stub_878)
|
||||
GL_STUB(gl_dispatch_stub_879, 879)
|
||||
HIDDEN(gl_dispatch_stub_879)
|
||||
GL_STUB(glGetObjectParameterivAPPLE, 880)
|
||||
GL_STUB(glObjectPurgeableAPPLE, 881)
|
||||
GL_STUB(glObjectUnpurgeableAPPLE, 882)
|
||||
GL_STUB(glActiveProgramEXT, 883)
|
||||
GL_STUB(glCreateShaderProgramEXT, 884)
|
||||
GL_STUB(glUseShaderProgramEXT, 885)
|
||||
GL_STUB(glTextureBarrierNV, 886)
|
||||
GL_STUB(gl_dispatch_stub_887, 887)
|
||||
HIDDEN(gl_dispatch_stub_887)
|
||||
GL_STUB(gl_dispatch_stub_888, 888)
|
||||
HIDDEN(gl_dispatch_stub_888)
|
||||
GL_STUB(gl_dispatch_stub_889, 889)
|
||||
HIDDEN(gl_dispatch_stub_889)
|
||||
GL_STUB(gl_dispatch_stub_890, 890)
|
||||
HIDDEN(gl_dispatch_stub_890)
|
||||
GL_STUB(gl_dispatch_stub_891, 891)
|
||||
HIDDEN(gl_dispatch_stub_891)
|
||||
GL_STUB(glEGLImageTargetRenderbufferStorageOES, 892)
|
||||
GL_STUB(glEGLImageTargetTexture2DOES, 893)
|
||||
GL_STUB(gl_dispatch_stub_801, 801)
|
||||
HIDDEN(gl_dispatch_stub_801)
|
||||
GL_STUB(gl_dispatch_stub_802, 802)
|
||||
HIDDEN(gl_dispatch_stub_802)
|
||||
GL_STUB(gl_dispatch_stub_803, 803)
|
||||
HIDDEN(gl_dispatch_stub_803)
|
||||
GL_STUB(gl_dispatch_stub_804, 804)
|
||||
HIDDEN(gl_dispatch_stub_804)
|
||||
GL_STUB(glGetProgramNamedParameterdvNV, 805)
|
||||
GL_STUB(glGetProgramNamedParameterfvNV, 806)
|
||||
GL_STUB(glProgramNamedParameter4dNV, 807)
|
||||
GL_STUB(glProgramNamedParameter4dvNV, 808)
|
||||
GL_STUB(glProgramNamedParameter4fNV, 809)
|
||||
GL_STUB(glProgramNamedParameter4fvNV, 810)
|
||||
GL_STUB(glPrimitiveRestartIndexNV, 811)
|
||||
GL_STUB(glPrimitiveRestartNV, 812)
|
||||
GL_STUB(gl_dispatch_stub_813, 813)
|
||||
HIDDEN(gl_dispatch_stub_813)
|
||||
GL_STUB(gl_dispatch_stub_814, 814)
|
||||
HIDDEN(gl_dispatch_stub_814)
|
||||
GL_STUB(glBindFramebufferEXT, 815)
|
||||
GL_STUB(glBindRenderbufferEXT, 816)
|
||||
GL_STUB(glCheckFramebufferStatusEXT, 817)
|
||||
GL_STUB(glDeleteFramebuffersEXT, 818)
|
||||
GL_STUB(glDeleteRenderbuffersEXT, 819)
|
||||
GL_STUB(glFramebufferRenderbufferEXT, 820)
|
||||
GL_STUB(glFramebufferTexture1DEXT, 821)
|
||||
GL_STUB(glFramebufferTexture2DEXT, 822)
|
||||
GL_STUB(glFramebufferTexture3DEXT, 823)
|
||||
GL_STUB(glGenFramebuffersEXT, 824)
|
||||
GL_STUB(glGenRenderbuffersEXT, 825)
|
||||
GL_STUB(glGenerateMipmapEXT, 826)
|
||||
GL_STUB(glGetFramebufferAttachmentParameterivEXT, 827)
|
||||
GL_STUB(glGetRenderbufferParameterivEXT, 828)
|
||||
GL_STUB(glIsFramebufferEXT, 829)
|
||||
GL_STUB(glIsRenderbufferEXT, 830)
|
||||
GL_STUB(glRenderbufferStorageEXT, 831)
|
||||
GL_STUB(gl_dispatch_stub_832, 832)
|
||||
HIDDEN(gl_dispatch_stub_832)
|
||||
GL_STUB(gl_dispatch_stub_833, 833)
|
||||
HIDDEN(gl_dispatch_stub_833)
|
||||
GL_STUB(gl_dispatch_stub_834, 834)
|
||||
HIDDEN(gl_dispatch_stub_834)
|
||||
GL_STUB(glBindFragDataLocationEXT, 835)
|
||||
GL_STUB(glGetFragDataLocationEXT, 836)
|
||||
GL_STUB(glGetUniformuivEXT, 837)
|
||||
GL_STUB(glGetVertexAttribIivEXT, 838)
|
||||
GL_STUB(glGetVertexAttribIuivEXT, 839)
|
||||
GL_STUB(glUniform1uiEXT, 840)
|
||||
GL_STUB(glUniform1uivEXT, 841)
|
||||
GL_STUB(glUniform2uiEXT, 842)
|
||||
GL_STUB(glUniform2uivEXT, 843)
|
||||
GL_STUB(glUniform3uiEXT, 844)
|
||||
GL_STUB(glUniform3uivEXT, 845)
|
||||
GL_STUB(glUniform4uiEXT, 846)
|
||||
GL_STUB(glUniform4uivEXT, 847)
|
||||
GL_STUB(glVertexAttribI1iEXT, 848)
|
||||
GL_STUB(glVertexAttribI1ivEXT, 849)
|
||||
GL_STUB(glVertexAttribI1uiEXT, 850)
|
||||
GL_STUB(glVertexAttribI1uivEXT, 851)
|
||||
GL_STUB(glVertexAttribI2iEXT, 852)
|
||||
GL_STUB(glVertexAttribI2ivEXT, 853)
|
||||
GL_STUB(glVertexAttribI2uiEXT, 854)
|
||||
GL_STUB(glVertexAttribI2uivEXT, 855)
|
||||
GL_STUB(glVertexAttribI3iEXT, 856)
|
||||
GL_STUB(glVertexAttribI3ivEXT, 857)
|
||||
GL_STUB(glVertexAttribI3uiEXT, 858)
|
||||
GL_STUB(glVertexAttribI3uivEXT, 859)
|
||||
GL_STUB(glVertexAttribI4bvEXT, 860)
|
||||
GL_STUB(glVertexAttribI4iEXT, 861)
|
||||
GL_STUB(glVertexAttribI4ivEXT, 862)
|
||||
GL_STUB(glVertexAttribI4svEXT, 863)
|
||||
GL_STUB(glVertexAttribI4ubvEXT, 864)
|
||||
GL_STUB(glVertexAttribI4uiEXT, 865)
|
||||
GL_STUB(glVertexAttribI4uivEXT, 866)
|
||||
GL_STUB(glVertexAttribI4usvEXT, 867)
|
||||
GL_STUB(glVertexAttribIPointerEXT, 868)
|
||||
GL_STUB(glFramebufferTextureLayerEXT, 869)
|
||||
GL_STUB(glColorMaskIndexedEXT, 870)
|
||||
GL_STUB(glDisableIndexedEXT, 871)
|
||||
GL_STUB(glEnableIndexedEXT, 872)
|
||||
GL_STUB(glGetBooleanIndexedvEXT, 873)
|
||||
GL_STUB(glGetIntegerIndexedvEXT, 874)
|
||||
GL_STUB(glIsEnabledIndexedEXT, 875)
|
||||
GL_STUB(glClearColorIiEXT, 876)
|
||||
GL_STUB(glClearColorIuiEXT, 877)
|
||||
GL_STUB(glGetTexParameterIivEXT, 878)
|
||||
GL_STUB(glGetTexParameterIuivEXT, 879)
|
||||
GL_STUB(glTexParameterIivEXT, 880)
|
||||
GL_STUB(glTexParameterIuivEXT, 881)
|
||||
GL_STUB(glBeginConditionalRenderNV, 882)
|
||||
GL_STUB(glEndConditionalRenderNV, 883)
|
||||
GL_STUB(glBeginTransformFeedbackEXT, 884)
|
||||
GL_STUB(glBindBufferBaseEXT, 885)
|
||||
GL_STUB(glBindBufferOffsetEXT, 886)
|
||||
GL_STUB(glBindBufferRangeEXT, 887)
|
||||
GL_STUB(glEndTransformFeedbackEXT, 888)
|
||||
GL_STUB(glGetTransformFeedbackVaryingEXT, 889)
|
||||
GL_STUB(glTransformFeedbackVaryingsEXT, 890)
|
||||
GL_STUB(glProvokingVertexEXT, 891)
|
||||
GL_STUB(gl_dispatch_stub_892, 892)
|
||||
HIDDEN(gl_dispatch_stub_892)
|
||||
GL_STUB(gl_dispatch_stub_893, 893)
|
||||
HIDDEN(gl_dispatch_stub_893)
|
||||
GL_STUB(glGetObjectParameterivAPPLE, 894)
|
||||
GL_STUB(glObjectPurgeableAPPLE, 895)
|
||||
GL_STUB(glObjectUnpurgeableAPPLE, 896)
|
||||
GL_STUB(glActiveProgramEXT, 897)
|
||||
GL_STUB(glCreateShaderProgramEXT, 898)
|
||||
GL_STUB(glUseShaderProgramEXT, 899)
|
||||
GL_STUB(glTextureBarrierNV, 900)
|
||||
GL_STUB(gl_dispatch_stub_901, 901)
|
||||
HIDDEN(gl_dispatch_stub_901)
|
||||
GL_STUB(gl_dispatch_stub_902, 902)
|
||||
HIDDEN(gl_dispatch_stub_902)
|
||||
GL_STUB(gl_dispatch_stub_903, 903)
|
||||
HIDDEN(gl_dispatch_stub_903)
|
||||
GL_STUB(gl_dispatch_stub_904, 904)
|
||||
HIDDEN(gl_dispatch_stub_904)
|
||||
GL_STUB(gl_dispatch_stub_905, 905)
|
||||
HIDDEN(gl_dispatch_stub_905)
|
||||
GL_STUB(glEGLImageTargetRenderbufferStorageOES, 906)
|
||||
GL_STUB(glEGLImageTargetTexture2DOES, 907)
|
||||
GL_STUB_ALIAS(glArrayElementEXT, glArrayElement)
|
||||
GL_STUB_ALIAS(glBindTextureEXT, glBindTexture)
|
||||
GL_STUB_ALIAS(glDrawArraysEXT, glDrawArrays)
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -750,335 +750,349 @@ GLNAME(gl_dispatch_functions_start):
|
|||
GL_STUB(BlendEquationiARB, 597, BlendEquationiARB@8)
|
||||
GL_STUB(BlendFuncSeparateiARB, 598, BlendFuncSeparateiARB@20)
|
||||
GL_STUB(BlendFunciARB, 599, BlendFunciARB@12)
|
||||
GL_STUB(BindTransformFeedback, 600, BindTransformFeedback@8)
|
||||
GL_STUB(DeleteTransformFeedbacks, 601, DeleteTransformFeedbacks@8)
|
||||
GL_STUB(DrawTransformFeedback, 602, DrawTransformFeedback@8)
|
||||
GL_STUB(GenTransformFeedbacks, 603, GenTransformFeedbacks@8)
|
||||
GL_STUB(IsTransformFeedback, 604, IsTransformFeedback@4)
|
||||
GL_STUB(PauseTransformFeedback, 605, PauseTransformFeedback@0)
|
||||
GL_STUB(ResumeTransformFeedback, 606, ResumeTransformFeedback@0)
|
||||
GL_STUB(ClearDepthf, 607, ClearDepthf@4)
|
||||
GL_STUB(DepthRangef, 608, DepthRangef@8)
|
||||
GL_STUB(GetShaderPrecisionFormat, 609, GetShaderPrecisionFormat@16)
|
||||
GL_STUB(ReleaseShaderCompiler, 610, ReleaseShaderCompiler@0)
|
||||
GL_STUB(ShaderBinary, 611, ShaderBinary@20)
|
||||
GL_STUB(PolygonOffsetEXT, 612, PolygonOffsetEXT@8)
|
||||
GL_STUB(_dispatch_stub_613, 613, _dispatch_stub_613@8)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_613, _dispatch_stub_613@8))
|
||||
GL_STUB(_dispatch_stub_614, 614, _dispatch_stub_614@8)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_614, _dispatch_stub_614@8))
|
||||
GL_STUB(_dispatch_stub_615, 615, _dispatch_stub_615@8)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_615, _dispatch_stub_615@8))
|
||||
GL_STUB(_dispatch_stub_616, 616, _dispatch_stub_616@8)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_616, _dispatch_stub_616@8))
|
||||
GL_STUB(_dispatch_stub_617, 617, _dispatch_stub_617@8)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_617, _dispatch_stub_617@8))
|
||||
GL_STUB(_dispatch_stub_618, 618, _dispatch_stub_618@8)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_618, _dispatch_stub_618@8))
|
||||
GL_STUB(_dispatch_stub_619, 619, _dispatch_stub_619@8)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_619, _dispatch_stub_619@8))
|
||||
GL_STUB(_dispatch_stub_620, 620, _dispatch_stub_620@4)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_620, _dispatch_stub_620@4))
|
||||
GL_STUB(ColorPointerEXT, 621, ColorPointerEXT@20)
|
||||
GL_STUB(EdgeFlagPointerEXT, 622, EdgeFlagPointerEXT@12)
|
||||
GL_STUB(IndexPointerEXT, 623, IndexPointerEXT@16)
|
||||
GL_STUB(NormalPointerEXT, 624, NormalPointerEXT@16)
|
||||
GL_STUB(TexCoordPointerEXT, 625, TexCoordPointerEXT@20)
|
||||
GL_STUB(VertexPointerEXT, 626, VertexPointerEXT@20)
|
||||
GL_STUB(PointParameterfEXT, 627, PointParameterfEXT@8)
|
||||
GL_STUB(PointParameterfvEXT, 628, PointParameterfvEXT@8)
|
||||
GL_STUB(LockArraysEXT, 629, LockArraysEXT@8)
|
||||
GL_STUB(UnlockArraysEXT, 630, UnlockArraysEXT@0)
|
||||
GL_STUB(SecondaryColor3bEXT, 631, SecondaryColor3bEXT@12)
|
||||
GL_STUB(SecondaryColor3bvEXT, 632, SecondaryColor3bvEXT@4)
|
||||
GL_STUB(SecondaryColor3dEXT, 633, SecondaryColor3dEXT@24)
|
||||
GL_STUB(SecondaryColor3dvEXT, 634, SecondaryColor3dvEXT@4)
|
||||
GL_STUB(SecondaryColor3fEXT, 635, SecondaryColor3fEXT@12)
|
||||
GL_STUB(SecondaryColor3fvEXT, 636, SecondaryColor3fvEXT@4)
|
||||
GL_STUB(SecondaryColor3iEXT, 637, SecondaryColor3iEXT@12)
|
||||
GL_STUB(SecondaryColor3ivEXT, 638, SecondaryColor3ivEXT@4)
|
||||
GL_STUB(SecondaryColor3sEXT, 639, SecondaryColor3sEXT@12)
|
||||
GL_STUB(SecondaryColor3svEXT, 640, SecondaryColor3svEXT@4)
|
||||
GL_STUB(SecondaryColor3ubEXT, 641, SecondaryColor3ubEXT@12)
|
||||
GL_STUB(SecondaryColor3ubvEXT, 642, SecondaryColor3ubvEXT@4)
|
||||
GL_STUB(SecondaryColor3uiEXT, 643, SecondaryColor3uiEXT@12)
|
||||
GL_STUB(SecondaryColor3uivEXT, 644, SecondaryColor3uivEXT@4)
|
||||
GL_STUB(SecondaryColor3usEXT, 645, SecondaryColor3usEXT@12)
|
||||
GL_STUB(SecondaryColor3usvEXT, 646, SecondaryColor3usvEXT@4)
|
||||
GL_STUB(SecondaryColorPointerEXT, 647, SecondaryColorPointerEXT@16)
|
||||
GL_STUB(MultiDrawArraysEXT, 648, MultiDrawArraysEXT@16)
|
||||
GL_STUB(MultiDrawElementsEXT, 649, MultiDrawElementsEXT@20)
|
||||
GL_STUB(FogCoordPointerEXT, 650, FogCoordPointerEXT@12)
|
||||
GL_STUB(FogCoorddEXT, 651, FogCoorddEXT@8)
|
||||
GL_STUB(FogCoorddvEXT, 652, FogCoorddvEXT@4)
|
||||
GL_STUB(FogCoordfEXT, 653, FogCoordfEXT@4)
|
||||
GL_STUB(FogCoordfvEXT, 654, FogCoordfvEXT@4)
|
||||
GL_STUB(_dispatch_stub_655, 655, _dispatch_stub_655@4)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_655, _dispatch_stub_655@4))
|
||||
GL_STUB(BlendFuncSeparateEXT, 656, BlendFuncSeparateEXT@16)
|
||||
GL_STUB(FlushVertexArrayRangeNV, 657, FlushVertexArrayRangeNV@0)
|
||||
GL_STUB(VertexArrayRangeNV, 658, VertexArrayRangeNV@8)
|
||||
GL_STUB(CombinerInputNV, 659, CombinerInputNV@24)
|
||||
GL_STUB(CombinerOutputNV, 660, CombinerOutputNV@40)
|
||||
GL_STUB(CombinerParameterfNV, 661, CombinerParameterfNV@8)
|
||||
GL_STUB(CombinerParameterfvNV, 662, CombinerParameterfvNV@8)
|
||||
GL_STUB(CombinerParameteriNV, 663, CombinerParameteriNV@8)
|
||||
GL_STUB(CombinerParameterivNV, 664, CombinerParameterivNV@8)
|
||||
GL_STUB(FinalCombinerInputNV, 665, FinalCombinerInputNV@16)
|
||||
GL_STUB(GetCombinerInputParameterfvNV, 666, GetCombinerInputParameterfvNV@20)
|
||||
GL_STUB(GetCombinerInputParameterivNV, 667, GetCombinerInputParameterivNV@20)
|
||||
GL_STUB(GetCombinerOutputParameterfvNV, 668, GetCombinerOutputParameterfvNV@16)
|
||||
GL_STUB(GetCombinerOutputParameterivNV, 669, GetCombinerOutputParameterivNV@16)
|
||||
GL_STUB(GetFinalCombinerInputParameterfvNV, 670, GetFinalCombinerInputParameterfvNV@12)
|
||||
GL_STUB(GetFinalCombinerInputParameterivNV, 671, GetFinalCombinerInputParameterivNV@12)
|
||||
GL_STUB(ResizeBuffersMESA, 672, ResizeBuffersMESA@0)
|
||||
GL_STUB(WindowPos2dMESA, 673, WindowPos2dMESA@16)
|
||||
GL_STUB(WindowPos2dvMESA, 674, WindowPos2dvMESA@4)
|
||||
GL_STUB(WindowPos2fMESA, 675, WindowPos2fMESA@8)
|
||||
GL_STUB(WindowPos2fvMESA, 676, WindowPos2fvMESA@4)
|
||||
GL_STUB(WindowPos2iMESA, 677, WindowPos2iMESA@8)
|
||||
GL_STUB(WindowPos2ivMESA, 678, WindowPos2ivMESA@4)
|
||||
GL_STUB(WindowPos2sMESA, 679, WindowPos2sMESA@8)
|
||||
GL_STUB(WindowPos2svMESA, 680, WindowPos2svMESA@4)
|
||||
GL_STUB(WindowPos3dMESA, 681, WindowPos3dMESA@24)
|
||||
GL_STUB(WindowPos3dvMESA, 682, WindowPos3dvMESA@4)
|
||||
GL_STUB(WindowPos3fMESA, 683, WindowPos3fMESA@12)
|
||||
GL_STUB(WindowPos3fvMESA, 684, WindowPos3fvMESA@4)
|
||||
GL_STUB(WindowPos3iMESA, 685, WindowPos3iMESA@12)
|
||||
GL_STUB(WindowPos3ivMESA, 686, WindowPos3ivMESA@4)
|
||||
GL_STUB(WindowPos3sMESA, 687, WindowPos3sMESA@12)
|
||||
GL_STUB(WindowPos3svMESA, 688, WindowPos3svMESA@4)
|
||||
GL_STUB(WindowPos4dMESA, 689, WindowPos4dMESA@32)
|
||||
GL_STUB(WindowPos4dvMESA, 690, WindowPos4dvMESA@4)
|
||||
GL_STUB(WindowPos4fMESA, 691, WindowPos4fMESA@16)
|
||||
GL_STUB(WindowPos4fvMESA, 692, WindowPos4fvMESA@4)
|
||||
GL_STUB(WindowPos4iMESA, 693, WindowPos4iMESA@16)
|
||||
GL_STUB(WindowPos4ivMESA, 694, WindowPos4ivMESA@4)
|
||||
GL_STUB(WindowPos4sMESA, 695, WindowPos4sMESA@16)
|
||||
GL_STUB(WindowPos4svMESA, 696, WindowPos4svMESA@4)
|
||||
GL_STUB(_dispatch_stub_697, 697, _dispatch_stub_697@20)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_697, _dispatch_stub_697@20))
|
||||
GL_STUB(_dispatch_stub_698, 698, _dispatch_stub_698@24)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_698, _dispatch_stub_698@24))
|
||||
GL_STUB(_dispatch_stub_699, 699, _dispatch_stub_699@8)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_699, _dispatch_stub_699@8))
|
||||
GL_STUB(_dispatch_stub_700, 700, _dispatch_stub_700@4)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_700, _dispatch_stub_700@4))
|
||||
GL_STUB(_dispatch_stub_701, 701, _dispatch_stub_701@8)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_701, _dispatch_stub_701@8))
|
||||
GL_STUB(_dispatch_stub_702, 702, _dispatch_stub_702@12)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_702, _dispatch_stub_702@12))
|
||||
GL_STUB(_dispatch_stub_703, 703, _dispatch_stub_703@4)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_703, _dispatch_stub_703@4))
|
||||
GL_STUB(_dispatch_stub_704, 704, _dispatch_stub_704@8)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_704, _dispatch_stub_704@8))
|
||||
GL_STUB(_dispatch_stub_705, 705, _dispatch_stub_705@4)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_705, _dispatch_stub_705@4))
|
||||
GL_STUB(AreProgramsResidentNV, 706, AreProgramsResidentNV@12)
|
||||
GL_STUB(BindProgramNV, 707, BindProgramNV@8)
|
||||
GL_STUB(DeleteProgramsNV, 708, DeleteProgramsNV@8)
|
||||
GL_STUB(ExecuteProgramNV, 709, ExecuteProgramNV@12)
|
||||
GL_STUB(GenProgramsNV, 710, GenProgramsNV@8)
|
||||
GL_STUB(GetProgramParameterdvNV, 711, GetProgramParameterdvNV@16)
|
||||
GL_STUB(GetProgramParameterfvNV, 712, GetProgramParameterfvNV@16)
|
||||
GL_STUB(GetProgramStringNV, 713, GetProgramStringNV@12)
|
||||
GL_STUB(GetProgramivNV, 714, GetProgramivNV@12)
|
||||
GL_STUB(GetTrackMatrixivNV, 715, GetTrackMatrixivNV@16)
|
||||
GL_STUB(GetVertexAttribPointervNV, 716, GetVertexAttribPointervNV@12)
|
||||
GL_STUB(GetVertexAttribdvNV, 717, GetVertexAttribdvNV@12)
|
||||
GL_STUB(GetVertexAttribfvNV, 718, GetVertexAttribfvNV@12)
|
||||
GL_STUB(GetVertexAttribivNV, 719, GetVertexAttribivNV@12)
|
||||
GL_STUB(IsProgramNV, 720, IsProgramNV@4)
|
||||
GL_STUB(LoadProgramNV, 721, LoadProgramNV@16)
|
||||
GL_STUB(ProgramParameters4dvNV, 722, ProgramParameters4dvNV@16)
|
||||
GL_STUB(ProgramParameters4fvNV, 723, ProgramParameters4fvNV@16)
|
||||
GL_STUB(RequestResidentProgramsNV, 724, RequestResidentProgramsNV@8)
|
||||
GL_STUB(TrackMatrixNV, 725, TrackMatrixNV@16)
|
||||
GL_STUB(VertexAttrib1dNV, 726, VertexAttrib1dNV@12)
|
||||
GL_STUB(VertexAttrib1dvNV, 727, VertexAttrib1dvNV@8)
|
||||
GL_STUB(VertexAttrib1fNV, 728, VertexAttrib1fNV@8)
|
||||
GL_STUB(VertexAttrib1fvNV, 729, VertexAttrib1fvNV@8)
|
||||
GL_STUB(VertexAttrib1sNV, 730, VertexAttrib1sNV@8)
|
||||
GL_STUB(VertexAttrib1svNV, 731, VertexAttrib1svNV@8)
|
||||
GL_STUB(VertexAttrib2dNV, 732, VertexAttrib2dNV@20)
|
||||
GL_STUB(VertexAttrib2dvNV, 733, VertexAttrib2dvNV@8)
|
||||
GL_STUB(VertexAttrib2fNV, 734, VertexAttrib2fNV@12)
|
||||
GL_STUB(VertexAttrib2fvNV, 735, VertexAttrib2fvNV@8)
|
||||
GL_STUB(VertexAttrib2sNV, 736, VertexAttrib2sNV@12)
|
||||
GL_STUB(VertexAttrib2svNV, 737, VertexAttrib2svNV@8)
|
||||
GL_STUB(VertexAttrib3dNV, 738, VertexAttrib3dNV@28)
|
||||
GL_STUB(VertexAttrib3dvNV, 739, VertexAttrib3dvNV@8)
|
||||
GL_STUB(VertexAttrib3fNV, 740, VertexAttrib3fNV@16)
|
||||
GL_STUB(VertexAttrib3fvNV, 741, VertexAttrib3fvNV@8)
|
||||
GL_STUB(VertexAttrib3sNV, 742, VertexAttrib3sNV@16)
|
||||
GL_STUB(VertexAttrib3svNV, 743, VertexAttrib3svNV@8)
|
||||
GL_STUB(VertexAttrib4dNV, 744, VertexAttrib4dNV@36)
|
||||
GL_STUB(VertexAttrib4dvNV, 745, VertexAttrib4dvNV@8)
|
||||
GL_STUB(VertexAttrib4fNV, 746, VertexAttrib4fNV@20)
|
||||
GL_STUB(VertexAttrib4fvNV, 747, VertexAttrib4fvNV@8)
|
||||
GL_STUB(VertexAttrib4sNV, 748, VertexAttrib4sNV@20)
|
||||
GL_STUB(VertexAttrib4svNV, 749, VertexAttrib4svNV@8)
|
||||
GL_STUB(VertexAttrib4ubNV, 750, VertexAttrib4ubNV@20)
|
||||
GL_STUB(VertexAttrib4ubvNV, 751, VertexAttrib4ubvNV@8)
|
||||
GL_STUB(VertexAttribPointerNV, 752, VertexAttribPointerNV@20)
|
||||
GL_STUB(VertexAttribs1dvNV, 753, VertexAttribs1dvNV@12)
|
||||
GL_STUB(VertexAttribs1fvNV, 754, VertexAttribs1fvNV@12)
|
||||
GL_STUB(VertexAttribs1svNV, 755, VertexAttribs1svNV@12)
|
||||
GL_STUB(VertexAttribs2dvNV, 756, VertexAttribs2dvNV@12)
|
||||
GL_STUB(VertexAttribs2fvNV, 757, VertexAttribs2fvNV@12)
|
||||
GL_STUB(VertexAttribs2svNV, 758, VertexAttribs2svNV@12)
|
||||
GL_STUB(VertexAttribs3dvNV, 759, VertexAttribs3dvNV@12)
|
||||
GL_STUB(VertexAttribs3fvNV, 760, VertexAttribs3fvNV@12)
|
||||
GL_STUB(VertexAttribs3svNV, 761, VertexAttribs3svNV@12)
|
||||
GL_STUB(VertexAttribs4dvNV, 762, VertexAttribs4dvNV@12)
|
||||
GL_STUB(VertexAttribs4fvNV, 763, VertexAttribs4fvNV@12)
|
||||
GL_STUB(VertexAttribs4svNV, 764, VertexAttribs4svNV@12)
|
||||
GL_STUB(VertexAttribs4ubvNV, 765, VertexAttribs4ubvNV@12)
|
||||
GL_STUB(GetTexBumpParameterfvATI, 766, GetTexBumpParameterfvATI@8)
|
||||
GL_STUB(GetTexBumpParameterivATI, 767, GetTexBumpParameterivATI@8)
|
||||
GL_STUB(TexBumpParameterfvATI, 768, TexBumpParameterfvATI@8)
|
||||
GL_STUB(TexBumpParameterivATI, 769, TexBumpParameterivATI@8)
|
||||
GL_STUB(AlphaFragmentOp1ATI, 770, AlphaFragmentOp1ATI@24)
|
||||
GL_STUB(AlphaFragmentOp2ATI, 771, AlphaFragmentOp2ATI@36)
|
||||
GL_STUB(AlphaFragmentOp3ATI, 772, AlphaFragmentOp3ATI@48)
|
||||
GL_STUB(BeginFragmentShaderATI, 773, BeginFragmentShaderATI@0)
|
||||
GL_STUB(BindFragmentShaderATI, 774, BindFragmentShaderATI@4)
|
||||
GL_STUB(ColorFragmentOp1ATI, 775, ColorFragmentOp1ATI@28)
|
||||
GL_STUB(ColorFragmentOp2ATI, 776, ColorFragmentOp2ATI@40)
|
||||
GL_STUB(ColorFragmentOp3ATI, 777, ColorFragmentOp3ATI@52)
|
||||
GL_STUB(DeleteFragmentShaderATI, 778, DeleteFragmentShaderATI@4)
|
||||
GL_STUB(EndFragmentShaderATI, 779, EndFragmentShaderATI@0)
|
||||
GL_STUB(GenFragmentShadersATI, 780, GenFragmentShadersATI@4)
|
||||
GL_STUB(PassTexCoordATI, 781, PassTexCoordATI@12)
|
||||
GL_STUB(SampleMapATI, 782, SampleMapATI@12)
|
||||
GL_STUB(SetFragmentShaderConstantATI, 783, SetFragmentShaderConstantATI@8)
|
||||
GL_STUB(PointParameteriNV, 784, PointParameteriNV@8)
|
||||
GL_STUB(PointParameterivNV, 785, PointParameterivNV@8)
|
||||
GL_STUB(_dispatch_stub_786, 786, _dispatch_stub_786@4)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_786, _dispatch_stub_786@4))
|
||||
GL_STUB(_dispatch_stub_787, 787, _dispatch_stub_787@4)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_787, _dispatch_stub_787@4))
|
||||
GL_STUB(_dispatch_stub_788, 788, _dispatch_stub_788@8)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_788, _dispatch_stub_788@8))
|
||||
GL_STUB(_dispatch_stub_789, 789, _dispatch_stub_789@8)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_789, _dispatch_stub_789@8))
|
||||
GL_STUB(_dispatch_stub_790, 790, _dispatch_stub_790@4)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_790, _dispatch_stub_790@4))
|
||||
GL_STUB(GetProgramNamedParameterdvNV, 791, GetProgramNamedParameterdvNV@16)
|
||||
GL_STUB(GetProgramNamedParameterfvNV, 792, GetProgramNamedParameterfvNV@16)
|
||||
GL_STUB(ProgramNamedParameter4dNV, 793, ProgramNamedParameter4dNV@44)
|
||||
GL_STUB(ProgramNamedParameter4dvNV, 794, ProgramNamedParameter4dvNV@16)
|
||||
GL_STUB(ProgramNamedParameter4fNV, 795, ProgramNamedParameter4fNV@28)
|
||||
GL_STUB(ProgramNamedParameter4fvNV, 796, ProgramNamedParameter4fvNV@16)
|
||||
GL_STUB(PrimitiveRestartIndexNV, 797, PrimitiveRestartIndexNV@4)
|
||||
GL_STUB(PrimitiveRestartNV, 798, PrimitiveRestartNV@0)
|
||||
GL_STUB(_dispatch_stub_799, 799, _dispatch_stub_799@16)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_799, _dispatch_stub_799@16))
|
||||
GL_STUB(_dispatch_stub_800, 800, _dispatch_stub_800@8)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_800, _dispatch_stub_800@8))
|
||||
GL_STUB(BindFramebufferEXT, 801, BindFramebufferEXT@8)
|
||||
GL_STUB(BindRenderbufferEXT, 802, BindRenderbufferEXT@8)
|
||||
GL_STUB(CheckFramebufferStatusEXT, 803, CheckFramebufferStatusEXT@4)
|
||||
GL_STUB(DeleteFramebuffersEXT, 804, DeleteFramebuffersEXT@8)
|
||||
GL_STUB(DeleteRenderbuffersEXT, 805, DeleteRenderbuffersEXT@8)
|
||||
GL_STUB(FramebufferRenderbufferEXT, 806, FramebufferRenderbufferEXT@16)
|
||||
GL_STUB(FramebufferTexture1DEXT, 807, FramebufferTexture1DEXT@20)
|
||||
GL_STUB(FramebufferTexture2DEXT, 808, FramebufferTexture2DEXT@20)
|
||||
GL_STUB(FramebufferTexture3DEXT, 809, FramebufferTexture3DEXT@24)
|
||||
GL_STUB(GenFramebuffersEXT, 810, GenFramebuffersEXT@8)
|
||||
GL_STUB(GenRenderbuffersEXT, 811, GenRenderbuffersEXT@8)
|
||||
GL_STUB(GenerateMipmapEXT, 812, GenerateMipmapEXT@4)
|
||||
GL_STUB(GetFramebufferAttachmentParameterivEXT, 813, GetFramebufferAttachmentParameterivEXT@16)
|
||||
GL_STUB(GetRenderbufferParameterivEXT, 814, GetRenderbufferParameterivEXT@12)
|
||||
GL_STUB(IsFramebufferEXT, 815, IsFramebufferEXT@4)
|
||||
GL_STUB(IsRenderbufferEXT, 816, IsRenderbufferEXT@4)
|
||||
GL_STUB(RenderbufferStorageEXT, 817, RenderbufferStorageEXT@16)
|
||||
GL_STUB(_dispatch_stub_818, 818, _dispatch_stub_818@40)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_818, _dispatch_stub_818@40))
|
||||
GL_STUB(_dispatch_stub_819, 819, _dispatch_stub_819@12)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_819, _dispatch_stub_819@12))
|
||||
GL_STUB(_dispatch_stub_820, 820, _dispatch_stub_820@12)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_820, _dispatch_stub_820@12))
|
||||
GL_STUB(BindFragDataLocationEXT, 821, BindFragDataLocationEXT@12)
|
||||
GL_STUB(GetFragDataLocationEXT, 822, GetFragDataLocationEXT@8)
|
||||
GL_STUB(GetUniformuivEXT, 823, GetUniformuivEXT@12)
|
||||
GL_STUB(GetVertexAttribIivEXT, 824, GetVertexAttribIivEXT@12)
|
||||
GL_STUB(GetVertexAttribIuivEXT, 825, GetVertexAttribIuivEXT@12)
|
||||
GL_STUB(Uniform1uiEXT, 826, Uniform1uiEXT@8)
|
||||
GL_STUB(Uniform1uivEXT, 827, Uniform1uivEXT@12)
|
||||
GL_STUB(Uniform2uiEXT, 828, Uniform2uiEXT@12)
|
||||
GL_STUB(Uniform2uivEXT, 829, Uniform2uivEXT@12)
|
||||
GL_STUB(Uniform3uiEXT, 830, Uniform3uiEXT@16)
|
||||
GL_STUB(Uniform3uivEXT, 831, Uniform3uivEXT@12)
|
||||
GL_STUB(Uniform4uiEXT, 832, Uniform4uiEXT@20)
|
||||
GL_STUB(Uniform4uivEXT, 833, Uniform4uivEXT@12)
|
||||
GL_STUB(VertexAttribI1iEXT, 834, VertexAttribI1iEXT@8)
|
||||
GL_STUB(VertexAttribI1ivEXT, 835, VertexAttribI1ivEXT@8)
|
||||
GL_STUB(VertexAttribI1uiEXT, 836, VertexAttribI1uiEXT@8)
|
||||
GL_STUB(VertexAttribI1uivEXT, 837, VertexAttribI1uivEXT@8)
|
||||
GL_STUB(VertexAttribI2iEXT, 838, VertexAttribI2iEXT@12)
|
||||
GL_STUB(VertexAttribI2ivEXT, 839, VertexAttribI2ivEXT@8)
|
||||
GL_STUB(VertexAttribI2uiEXT, 840, VertexAttribI2uiEXT@12)
|
||||
GL_STUB(VertexAttribI2uivEXT, 841, VertexAttribI2uivEXT@8)
|
||||
GL_STUB(VertexAttribI3iEXT, 842, VertexAttribI3iEXT@16)
|
||||
GL_STUB(VertexAttribI3ivEXT, 843, VertexAttribI3ivEXT@8)
|
||||
GL_STUB(VertexAttribI3uiEXT, 844, VertexAttribI3uiEXT@16)
|
||||
GL_STUB(VertexAttribI3uivEXT, 845, VertexAttribI3uivEXT@8)
|
||||
GL_STUB(VertexAttribI4bvEXT, 846, VertexAttribI4bvEXT@8)
|
||||
GL_STUB(VertexAttribI4iEXT, 847, VertexAttribI4iEXT@20)
|
||||
GL_STUB(VertexAttribI4ivEXT, 848, VertexAttribI4ivEXT@8)
|
||||
GL_STUB(VertexAttribI4svEXT, 849, VertexAttribI4svEXT@8)
|
||||
GL_STUB(VertexAttribI4ubvEXT, 850, VertexAttribI4ubvEXT@8)
|
||||
GL_STUB(VertexAttribI4uiEXT, 851, VertexAttribI4uiEXT@20)
|
||||
GL_STUB(VertexAttribI4uivEXT, 852, VertexAttribI4uivEXT@8)
|
||||
GL_STUB(VertexAttribI4usvEXT, 853, VertexAttribI4usvEXT@8)
|
||||
GL_STUB(VertexAttribIPointerEXT, 854, VertexAttribIPointerEXT@20)
|
||||
GL_STUB(FramebufferTextureLayerEXT, 855, FramebufferTextureLayerEXT@20)
|
||||
GL_STUB(ColorMaskIndexedEXT, 856, ColorMaskIndexedEXT@20)
|
||||
GL_STUB(DisableIndexedEXT, 857, DisableIndexedEXT@8)
|
||||
GL_STUB(EnableIndexedEXT, 858, EnableIndexedEXT@8)
|
||||
GL_STUB(GetBooleanIndexedvEXT, 859, GetBooleanIndexedvEXT@12)
|
||||
GL_STUB(GetIntegerIndexedvEXT, 860, GetIntegerIndexedvEXT@12)
|
||||
GL_STUB(IsEnabledIndexedEXT, 861, IsEnabledIndexedEXT@8)
|
||||
GL_STUB(ClearColorIiEXT, 862, ClearColorIiEXT@16)
|
||||
GL_STUB(ClearColorIuiEXT, 863, ClearColorIuiEXT@16)
|
||||
GL_STUB(GetTexParameterIivEXT, 864, GetTexParameterIivEXT@12)
|
||||
GL_STUB(GetTexParameterIuivEXT, 865, GetTexParameterIuivEXT@12)
|
||||
GL_STUB(TexParameterIivEXT, 866, TexParameterIivEXT@12)
|
||||
GL_STUB(TexParameterIuivEXT, 867, TexParameterIuivEXT@12)
|
||||
GL_STUB(BeginConditionalRenderNV, 868, BeginConditionalRenderNV@8)
|
||||
GL_STUB(EndConditionalRenderNV, 869, EndConditionalRenderNV@0)
|
||||
GL_STUB(BeginTransformFeedbackEXT, 870, BeginTransformFeedbackEXT@4)
|
||||
GL_STUB(BindBufferBaseEXT, 871, BindBufferBaseEXT@12)
|
||||
GL_STUB(BindBufferOffsetEXT, 872, BindBufferOffsetEXT@16)
|
||||
GL_STUB(BindBufferRangeEXT, 873, BindBufferRangeEXT@20)
|
||||
GL_STUB(EndTransformFeedbackEXT, 874, EndTransformFeedbackEXT@0)
|
||||
GL_STUB(GetTransformFeedbackVaryingEXT, 875, GetTransformFeedbackVaryingEXT@28)
|
||||
GL_STUB(TransformFeedbackVaryingsEXT, 876, TransformFeedbackVaryingsEXT@16)
|
||||
GL_STUB(ProvokingVertexEXT, 877, ProvokingVertexEXT@4)
|
||||
GL_STUB(_dispatch_stub_878, 878, _dispatch_stub_878@12)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_878, _dispatch_stub_878@12))
|
||||
GL_STUB(_dispatch_stub_879, 879, _dispatch_stub_879@12)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_879, _dispatch_stub_879@12))
|
||||
GL_STUB(GetObjectParameterivAPPLE, 880, GetObjectParameterivAPPLE@16)
|
||||
GL_STUB(ObjectPurgeableAPPLE, 881, ObjectPurgeableAPPLE@12)
|
||||
GL_STUB(ObjectUnpurgeableAPPLE, 882, ObjectUnpurgeableAPPLE@12)
|
||||
GL_STUB(ActiveProgramEXT, 883, ActiveProgramEXT@4)
|
||||
GL_STUB(CreateShaderProgramEXT, 884, CreateShaderProgramEXT@8)
|
||||
GL_STUB(UseShaderProgramEXT, 885, UseShaderProgramEXT@8)
|
||||
GL_STUB(TextureBarrierNV, 886, TextureBarrierNV@0)
|
||||
GL_STUB(_dispatch_stub_887, 887, _dispatch_stub_887@16)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_887, _dispatch_stub_887@16))
|
||||
GL_STUB(_dispatch_stub_888, 888, _dispatch_stub_888@16)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_888, _dispatch_stub_888@16))
|
||||
GL_STUB(_dispatch_stub_889, 889, _dispatch_stub_889@16)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_889, _dispatch_stub_889@16))
|
||||
GL_STUB(_dispatch_stub_890, 890, _dispatch_stub_890@12)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_890, _dispatch_stub_890@12))
|
||||
GL_STUB(_dispatch_stub_891, 891, _dispatch_stub_891@12)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_891, _dispatch_stub_891@12))
|
||||
GL_STUB(EGLImageTargetRenderbufferStorageOES, 892, EGLImageTargetRenderbufferStorageOES@8)
|
||||
GL_STUB(EGLImageTargetTexture2DOES, 893, EGLImageTargetTexture2DOES@8)
|
||||
GL_STUB(BindSampler, 600, BindSampler@8)
|
||||
GL_STUB(DeleteSamplers, 601, DeleteSamplers@8)
|
||||
GL_STUB(GenSamplers, 602, GenSamplers@8)
|
||||
GL_STUB(GetSamplerParameterIiv, 603, GetSamplerParameterIiv@12)
|
||||
GL_STUB(GetSamplerParameterIuiv, 604, GetSamplerParameterIuiv@12)
|
||||
GL_STUB(GetSamplerParameterfv, 605, GetSamplerParameterfv@12)
|
||||
GL_STUB(GetSamplerParameteriv, 606, GetSamplerParameteriv@12)
|
||||
GL_STUB(IsSampler, 607, IsSampler@4)
|
||||
GL_STUB(SamplerParameterIiv, 608, SamplerParameterIiv@12)
|
||||
GL_STUB(SamplerParameterIuiv, 609, SamplerParameterIuiv@12)
|
||||
GL_STUB(SamplerParameterf, 610, SamplerParameterf@12)
|
||||
GL_STUB(SamplerParameterfv, 611, SamplerParameterfv@12)
|
||||
GL_STUB(SamplerParameteri, 612, SamplerParameteri@12)
|
||||
GL_STUB(SamplerParameteriv, 613, SamplerParameteriv@12)
|
||||
GL_STUB(BindTransformFeedback, 614, BindTransformFeedback@8)
|
||||
GL_STUB(DeleteTransformFeedbacks, 615, DeleteTransformFeedbacks@8)
|
||||
GL_STUB(DrawTransformFeedback, 616, DrawTransformFeedback@8)
|
||||
GL_STUB(GenTransformFeedbacks, 617, GenTransformFeedbacks@8)
|
||||
GL_STUB(IsTransformFeedback, 618, IsTransformFeedback@4)
|
||||
GL_STUB(PauseTransformFeedback, 619, PauseTransformFeedback@0)
|
||||
GL_STUB(ResumeTransformFeedback, 620, ResumeTransformFeedback@0)
|
||||
GL_STUB(ClearDepthf, 621, ClearDepthf@4)
|
||||
GL_STUB(DepthRangef, 622, DepthRangef@8)
|
||||
GL_STUB(GetShaderPrecisionFormat, 623, GetShaderPrecisionFormat@16)
|
||||
GL_STUB(ReleaseShaderCompiler, 624, ReleaseShaderCompiler@0)
|
||||
GL_STUB(ShaderBinary, 625, ShaderBinary@20)
|
||||
GL_STUB(PolygonOffsetEXT, 626, PolygonOffsetEXT@8)
|
||||
GL_STUB(_dispatch_stub_627, 627, _dispatch_stub_627@8)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_627, _dispatch_stub_627@8))
|
||||
GL_STUB(_dispatch_stub_628, 628, _dispatch_stub_628@8)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_628, _dispatch_stub_628@8))
|
||||
GL_STUB(_dispatch_stub_629, 629, _dispatch_stub_629@8)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_629, _dispatch_stub_629@8))
|
||||
GL_STUB(_dispatch_stub_630, 630, _dispatch_stub_630@8)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_630, _dispatch_stub_630@8))
|
||||
GL_STUB(_dispatch_stub_631, 631, _dispatch_stub_631@8)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_631, _dispatch_stub_631@8))
|
||||
GL_STUB(_dispatch_stub_632, 632, _dispatch_stub_632@8)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_632, _dispatch_stub_632@8))
|
||||
GL_STUB(_dispatch_stub_633, 633, _dispatch_stub_633@8)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_633, _dispatch_stub_633@8))
|
||||
GL_STUB(_dispatch_stub_634, 634, _dispatch_stub_634@4)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_634, _dispatch_stub_634@4))
|
||||
GL_STUB(ColorPointerEXT, 635, ColorPointerEXT@20)
|
||||
GL_STUB(EdgeFlagPointerEXT, 636, EdgeFlagPointerEXT@12)
|
||||
GL_STUB(IndexPointerEXT, 637, IndexPointerEXT@16)
|
||||
GL_STUB(NormalPointerEXT, 638, NormalPointerEXT@16)
|
||||
GL_STUB(TexCoordPointerEXT, 639, TexCoordPointerEXT@20)
|
||||
GL_STUB(VertexPointerEXT, 640, VertexPointerEXT@20)
|
||||
GL_STUB(PointParameterfEXT, 641, PointParameterfEXT@8)
|
||||
GL_STUB(PointParameterfvEXT, 642, PointParameterfvEXT@8)
|
||||
GL_STUB(LockArraysEXT, 643, LockArraysEXT@8)
|
||||
GL_STUB(UnlockArraysEXT, 644, UnlockArraysEXT@0)
|
||||
GL_STUB(SecondaryColor3bEXT, 645, SecondaryColor3bEXT@12)
|
||||
GL_STUB(SecondaryColor3bvEXT, 646, SecondaryColor3bvEXT@4)
|
||||
GL_STUB(SecondaryColor3dEXT, 647, SecondaryColor3dEXT@24)
|
||||
GL_STUB(SecondaryColor3dvEXT, 648, SecondaryColor3dvEXT@4)
|
||||
GL_STUB(SecondaryColor3fEXT, 649, SecondaryColor3fEXT@12)
|
||||
GL_STUB(SecondaryColor3fvEXT, 650, SecondaryColor3fvEXT@4)
|
||||
GL_STUB(SecondaryColor3iEXT, 651, SecondaryColor3iEXT@12)
|
||||
GL_STUB(SecondaryColor3ivEXT, 652, SecondaryColor3ivEXT@4)
|
||||
GL_STUB(SecondaryColor3sEXT, 653, SecondaryColor3sEXT@12)
|
||||
GL_STUB(SecondaryColor3svEXT, 654, SecondaryColor3svEXT@4)
|
||||
GL_STUB(SecondaryColor3ubEXT, 655, SecondaryColor3ubEXT@12)
|
||||
GL_STUB(SecondaryColor3ubvEXT, 656, SecondaryColor3ubvEXT@4)
|
||||
GL_STUB(SecondaryColor3uiEXT, 657, SecondaryColor3uiEXT@12)
|
||||
GL_STUB(SecondaryColor3uivEXT, 658, SecondaryColor3uivEXT@4)
|
||||
GL_STUB(SecondaryColor3usEXT, 659, SecondaryColor3usEXT@12)
|
||||
GL_STUB(SecondaryColor3usvEXT, 660, SecondaryColor3usvEXT@4)
|
||||
GL_STUB(SecondaryColorPointerEXT, 661, SecondaryColorPointerEXT@16)
|
||||
GL_STUB(MultiDrawArraysEXT, 662, MultiDrawArraysEXT@16)
|
||||
GL_STUB(MultiDrawElementsEXT, 663, MultiDrawElementsEXT@20)
|
||||
GL_STUB(FogCoordPointerEXT, 664, FogCoordPointerEXT@12)
|
||||
GL_STUB(FogCoorddEXT, 665, FogCoorddEXT@8)
|
||||
GL_STUB(FogCoorddvEXT, 666, FogCoorddvEXT@4)
|
||||
GL_STUB(FogCoordfEXT, 667, FogCoordfEXT@4)
|
||||
GL_STUB(FogCoordfvEXT, 668, FogCoordfvEXT@4)
|
||||
GL_STUB(_dispatch_stub_669, 669, _dispatch_stub_669@4)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_669, _dispatch_stub_669@4))
|
||||
GL_STUB(BlendFuncSeparateEXT, 670, BlendFuncSeparateEXT@16)
|
||||
GL_STUB(FlushVertexArrayRangeNV, 671, FlushVertexArrayRangeNV@0)
|
||||
GL_STUB(VertexArrayRangeNV, 672, VertexArrayRangeNV@8)
|
||||
GL_STUB(CombinerInputNV, 673, CombinerInputNV@24)
|
||||
GL_STUB(CombinerOutputNV, 674, CombinerOutputNV@40)
|
||||
GL_STUB(CombinerParameterfNV, 675, CombinerParameterfNV@8)
|
||||
GL_STUB(CombinerParameterfvNV, 676, CombinerParameterfvNV@8)
|
||||
GL_STUB(CombinerParameteriNV, 677, CombinerParameteriNV@8)
|
||||
GL_STUB(CombinerParameterivNV, 678, CombinerParameterivNV@8)
|
||||
GL_STUB(FinalCombinerInputNV, 679, FinalCombinerInputNV@16)
|
||||
GL_STUB(GetCombinerInputParameterfvNV, 680, GetCombinerInputParameterfvNV@20)
|
||||
GL_STUB(GetCombinerInputParameterivNV, 681, GetCombinerInputParameterivNV@20)
|
||||
GL_STUB(GetCombinerOutputParameterfvNV, 682, GetCombinerOutputParameterfvNV@16)
|
||||
GL_STUB(GetCombinerOutputParameterivNV, 683, GetCombinerOutputParameterivNV@16)
|
||||
GL_STUB(GetFinalCombinerInputParameterfvNV, 684, GetFinalCombinerInputParameterfvNV@12)
|
||||
GL_STUB(GetFinalCombinerInputParameterivNV, 685, GetFinalCombinerInputParameterivNV@12)
|
||||
GL_STUB(ResizeBuffersMESA, 686, ResizeBuffersMESA@0)
|
||||
GL_STUB(WindowPos2dMESA, 687, WindowPos2dMESA@16)
|
||||
GL_STUB(WindowPos2dvMESA, 688, WindowPos2dvMESA@4)
|
||||
GL_STUB(WindowPos2fMESA, 689, WindowPos2fMESA@8)
|
||||
GL_STUB(WindowPos2fvMESA, 690, WindowPos2fvMESA@4)
|
||||
GL_STUB(WindowPos2iMESA, 691, WindowPos2iMESA@8)
|
||||
GL_STUB(WindowPos2ivMESA, 692, WindowPos2ivMESA@4)
|
||||
GL_STUB(WindowPos2sMESA, 693, WindowPos2sMESA@8)
|
||||
GL_STUB(WindowPos2svMESA, 694, WindowPos2svMESA@4)
|
||||
GL_STUB(WindowPos3dMESA, 695, WindowPos3dMESA@24)
|
||||
GL_STUB(WindowPos3dvMESA, 696, WindowPos3dvMESA@4)
|
||||
GL_STUB(WindowPos3fMESA, 697, WindowPos3fMESA@12)
|
||||
GL_STUB(WindowPos3fvMESA, 698, WindowPos3fvMESA@4)
|
||||
GL_STUB(WindowPos3iMESA, 699, WindowPos3iMESA@12)
|
||||
GL_STUB(WindowPos3ivMESA, 700, WindowPos3ivMESA@4)
|
||||
GL_STUB(WindowPos3sMESA, 701, WindowPos3sMESA@12)
|
||||
GL_STUB(WindowPos3svMESA, 702, WindowPos3svMESA@4)
|
||||
GL_STUB(WindowPos4dMESA, 703, WindowPos4dMESA@32)
|
||||
GL_STUB(WindowPos4dvMESA, 704, WindowPos4dvMESA@4)
|
||||
GL_STUB(WindowPos4fMESA, 705, WindowPos4fMESA@16)
|
||||
GL_STUB(WindowPos4fvMESA, 706, WindowPos4fvMESA@4)
|
||||
GL_STUB(WindowPos4iMESA, 707, WindowPos4iMESA@16)
|
||||
GL_STUB(WindowPos4ivMESA, 708, WindowPos4ivMESA@4)
|
||||
GL_STUB(WindowPos4sMESA, 709, WindowPos4sMESA@16)
|
||||
GL_STUB(WindowPos4svMESA, 710, WindowPos4svMESA@4)
|
||||
GL_STUB(_dispatch_stub_711, 711, _dispatch_stub_711@20)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_711, _dispatch_stub_711@20))
|
||||
GL_STUB(_dispatch_stub_712, 712, _dispatch_stub_712@24)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_712, _dispatch_stub_712@24))
|
||||
GL_STUB(_dispatch_stub_713, 713, _dispatch_stub_713@8)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_713, _dispatch_stub_713@8))
|
||||
GL_STUB(_dispatch_stub_714, 714, _dispatch_stub_714@4)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_714, _dispatch_stub_714@4))
|
||||
GL_STUB(_dispatch_stub_715, 715, _dispatch_stub_715@8)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_715, _dispatch_stub_715@8))
|
||||
GL_STUB(_dispatch_stub_716, 716, _dispatch_stub_716@12)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_716, _dispatch_stub_716@12))
|
||||
GL_STUB(_dispatch_stub_717, 717, _dispatch_stub_717@4)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_717, _dispatch_stub_717@4))
|
||||
GL_STUB(_dispatch_stub_718, 718, _dispatch_stub_718@8)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_718, _dispatch_stub_718@8))
|
||||
GL_STUB(_dispatch_stub_719, 719, _dispatch_stub_719@4)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_719, _dispatch_stub_719@4))
|
||||
GL_STUB(AreProgramsResidentNV, 720, AreProgramsResidentNV@12)
|
||||
GL_STUB(BindProgramNV, 721, BindProgramNV@8)
|
||||
GL_STUB(DeleteProgramsNV, 722, DeleteProgramsNV@8)
|
||||
GL_STUB(ExecuteProgramNV, 723, ExecuteProgramNV@12)
|
||||
GL_STUB(GenProgramsNV, 724, GenProgramsNV@8)
|
||||
GL_STUB(GetProgramParameterdvNV, 725, GetProgramParameterdvNV@16)
|
||||
GL_STUB(GetProgramParameterfvNV, 726, GetProgramParameterfvNV@16)
|
||||
GL_STUB(GetProgramStringNV, 727, GetProgramStringNV@12)
|
||||
GL_STUB(GetProgramivNV, 728, GetProgramivNV@12)
|
||||
GL_STUB(GetTrackMatrixivNV, 729, GetTrackMatrixivNV@16)
|
||||
GL_STUB(GetVertexAttribPointervNV, 730, GetVertexAttribPointervNV@12)
|
||||
GL_STUB(GetVertexAttribdvNV, 731, GetVertexAttribdvNV@12)
|
||||
GL_STUB(GetVertexAttribfvNV, 732, GetVertexAttribfvNV@12)
|
||||
GL_STUB(GetVertexAttribivNV, 733, GetVertexAttribivNV@12)
|
||||
GL_STUB(IsProgramNV, 734, IsProgramNV@4)
|
||||
GL_STUB(LoadProgramNV, 735, LoadProgramNV@16)
|
||||
GL_STUB(ProgramParameters4dvNV, 736, ProgramParameters4dvNV@16)
|
||||
GL_STUB(ProgramParameters4fvNV, 737, ProgramParameters4fvNV@16)
|
||||
GL_STUB(RequestResidentProgramsNV, 738, RequestResidentProgramsNV@8)
|
||||
GL_STUB(TrackMatrixNV, 739, TrackMatrixNV@16)
|
||||
GL_STUB(VertexAttrib1dNV, 740, VertexAttrib1dNV@12)
|
||||
GL_STUB(VertexAttrib1dvNV, 741, VertexAttrib1dvNV@8)
|
||||
GL_STUB(VertexAttrib1fNV, 742, VertexAttrib1fNV@8)
|
||||
GL_STUB(VertexAttrib1fvNV, 743, VertexAttrib1fvNV@8)
|
||||
GL_STUB(VertexAttrib1sNV, 744, VertexAttrib1sNV@8)
|
||||
GL_STUB(VertexAttrib1svNV, 745, VertexAttrib1svNV@8)
|
||||
GL_STUB(VertexAttrib2dNV, 746, VertexAttrib2dNV@20)
|
||||
GL_STUB(VertexAttrib2dvNV, 747, VertexAttrib2dvNV@8)
|
||||
GL_STUB(VertexAttrib2fNV, 748, VertexAttrib2fNV@12)
|
||||
GL_STUB(VertexAttrib2fvNV, 749, VertexAttrib2fvNV@8)
|
||||
GL_STUB(VertexAttrib2sNV, 750, VertexAttrib2sNV@12)
|
||||
GL_STUB(VertexAttrib2svNV, 751, VertexAttrib2svNV@8)
|
||||
GL_STUB(VertexAttrib3dNV, 752, VertexAttrib3dNV@28)
|
||||
GL_STUB(VertexAttrib3dvNV, 753, VertexAttrib3dvNV@8)
|
||||
GL_STUB(VertexAttrib3fNV, 754, VertexAttrib3fNV@16)
|
||||
GL_STUB(VertexAttrib3fvNV, 755, VertexAttrib3fvNV@8)
|
||||
GL_STUB(VertexAttrib3sNV, 756, VertexAttrib3sNV@16)
|
||||
GL_STUB(VertexAttrib3svNV, 757, VertexAttrib3svNV@8)
|
||||
GL_STUB(VertexAttrib4dNV, 758, VertexAttrib4dNV@36)
|
||||
GL_STUB(VertexAttrib4dvNV, 759, VertexAttrib4dvNV@8)
|
||||
GL_STUB(VertexAttrib4fNV, 760, VertexAttrib4fNV@20)
|
||||
GL_STUB(VertexAttrib4fvNV, 761, VertexAttrib4fvNV@8)
|
||||
GL_STUB(VertexAttrib4sNV, 762, VertexAttrib4sNV@20)
|
||||
GL_STUB(VertexAttrib4svNV, 763, VertexAttrib4svNV@8)
|
||||
GL_STUB(VertexAttrib4ubNV, 764, VertexAttrib4ubNV@20)
|
||||
GL_STUB(VertexAttrib4ubvNV, 765, VertexAttrib4ubvNV@8)
|
||||
GL_STUB(VertexAttribPointerNV, 766, VertexAttribPointerNV@20)
|
||||
GL_STUB(VertexAttribs1dvNV, 767, VertexAttribs1dvNV@12)
|
||||
GL_STUB(VertexAttribs1fvNV, 768, VertexAttribs1fvNV@12)
|
||||
GL_STUB(VertexAttribs1svNV, 769, VertexAttribs1svNV@12)
|
||||
GL_STUB(VertexAttribs2dvNV, 770, VertexAttribs2dvNV@12)
|
||||
GL_STUB(VertexAttribs2fvNV, 771, VertexAttribs2fvNV@12)
|
||||
GL_STUB(VertexAttribs2svNV, 772, VertexAttribs2svNV@12)
|
||||
GL_STUB(VertexAttribs3dvNV, 773, VertexAttribs3dvNV@12)
|
||||
GL_STUB(VertexAttribs3fvNV, 774, VertexAttribs3fvNV@12)
|
||||
GL_STUB(VertexAttribs3svNV, 775, VertexAttribs3svNV@12)
|
||||
GL_STUB(VertexAttribs4dvNV, 776, VertexAttribs4dvNV@12)
|
||||
GL_STUB(VertexAttribs4fvNV, 777, VertexAttribs4fvNV@12)
|
||||
GL_STUB(VertexAttribs4svNV, 778, VertexAttribs4svNV@12)
|
||||
GL_STUB(VertexAttribs4ubvNV, 779, VertexAttribs4ubvNV@12)
|
||||
GL_STUB(GetTexBumpParameterfvATI, 780, GetTexBumpParameterfvATI@8)
|
||||
GL_STUB(GetTexBumpParameterivATI, 781, GetTexBumpParameterivATI@8)
|
||||
GL_STUB(TexBumpParameterfvATI, 782, TexBumpParameterfvATI@8)
|
||||
GL_STUB(TexBumpParameterivATI, 783, TexBumpParameterivATI@8)
|
||||
GL_STUB(AlphaFragmentOp1ATI, 784, AlphaFragmentOp1ATI@24)
|
||||
GL_STUB(AlphaFragmentOp2ATI, 785, AlphaFragmentOp2ATI@36)
|
||||
GL_STUB(AlphaFragmentOp3ATI, 786, AlphaFragmentOp3ATI@48)
|
||||
GL_STUB(BeginFragmentShaderATI, 787, BeginFragmentShaderATI@0)
|
||||
GL_STUB(BindFragmentShaderATI, 788, BindFragmentShaderATI@4)
|
||||
GL_STUB(ColorFragmentOp1ATI, 789, ColorFragmentOp1ATI@28)
|
||||
GL_STUB(ColorFragmentOp2ATI, 790, ColorFragmentOp2ATI@40)
|
||||
GL_STUB(ColorFragmentOp3ATI, 791, ColorFragmentOp3ATI@52)
|
||||
GL_STUB(DeleteFragmentShaderATI, 792, DeleteFragmentShaderATI@4)
|
||||
GL_STUB(EndFragmentShaderATI, 793, EndFragmentShaderATI@0)
|
||||
GL_STUB(GenFragmentShadersATI, 794, GenFragmentShadersATI@4)
|
||||
GL_STUB(PassTexCoordATI, 795, PassTexCoordATI@12)
|
||||
GL_STUB(SampleMapATI, 796, SampleMapATI@12)
|
||||
GL_STUB(SetFragmentShaderConstantATI, 797, SetFragmentShaderConstantATI@8)
|
||||
GL_STUB(PointParameteriNV, 798, PointParameteriNV@8)
|
||||
GL_STUB(PointParameterivNV, 799, PointParameterivNV@8)
|
||||
GL_STUB(_dispatch_stub_800, 800, _dispatch_stub_800@4)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_800, _dispatch_stub_800@4))
|
||||
GL_STUB(_dispatch_stub_801, 801, _dispatch_stub_801@4)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_801, _dispatch_stub_801@4))
|
||||
GL_STUB(_dispatch_stub_802, 802, _dispatch_stub_802@8)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_802, _dispatch_stub_802@8))
|
||||
GL_STUB(_dispatch_stub_803, 803, _dispatch_stub_803@8)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_803, _dispatch_stub_803@8))
|
||||
GL_STUB(_dispatch_stub_804, 804, _dispatch_stub_804@4)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_804, _dispatch_stub_804@4))
|
||||
GL_STUB(GetProgramNamedParameterdvNV, 805, GetProgramNamedParameterdvNV@16)
|
||||
GL_STUB(GetProgramNamedParameterfvNV, 806, GetProgramNamedParameterfvNV@16)
|
||||
GL_STUB(ProgramNamedParameter4dNV, 807, ProgramNamedParameter4dNV@44)
|
||||
GL_STUB(ProgramNamedParameter4dvNV, 808, ProgramNamedParameter4dvNV@16)
|
||||
GL_STUB(ProgramNamedParameter4fNV, 809, ProgramNamedParameter4fNV@28)
|
||||
GL_STUB(ProgramNamedParameter4fvNV, 810, ProgramNamedParameter4fvNV@16)
|
||||
GL_STUB(PrimitiveRestartIndexNV, 811, PrimitiveRestartIndexNV@4)
|
||||
GL_STUB(PrimitiveRestartNV, 812, PrimitiveRestartNV@0)
|
||||
GL_STUB(_dispatch_stub_813, 813, _dispatch_stub_813@16)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_813, _dispatch_stub_813@16))
|
||||
GL_STUB(_dispatch_stub_814, 814, _dispatch_stub_814@8)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_814, _dispatch_stub_814@8))
|
||||
GL_STUB(BindFramebufferEXT, 815, BindFramebufferEXT@8)
|
||||
GL_STUB(BindRenderbufferEXT, 816, BindRenderbufferEXT@8)
|
||||
GL_STUB(CheckFramebufferStatusEXT, 817, CheckFramebufferStatusEXT@4)
|
||||
GL_STUB(DeleteFramebuffersEXT, 818, DeleteFramebuffersEXT@8)
|
||||
GL_STUB(DeleteRenderbuffersEXT, 819, DeleteRenderbuffersEXT@8)
|
||||
GL_STUB(FramebufferRenderbufferEXT, 820, FramebufferRenderbufferEXT@16)
|
||||
GL_STUB(FramebufferTexture1DEXT, 821, FramebufferTexture1DEXT@20)
|
||||
GL_STUB(FramebufferTexture2DEXT, 822, FramebufferTexture2DEXT@20)
|
||||
GL_STUB(FramebufferTexture3DEXT, 823, FramebufferTexture3DEXT@24)
|
||||
GL_STUB(GenFramebuffersEXT, 824, GenFramebuffersEXT@8)
|
||||
GL_STUB(GenRenderbuffersEXT, 825, GenRenderbuffersEXT@8)
|
||||
GL_STUB(GenerateMipmapEXT, 826, GenerateMipmapEXT@4)
|
||||
GL_STUB(GetFramebufferAttachmentParameterivEXT, 827, GetFramebufferAttachmentParameterivEXT@16)
|
||||
GL_STUB(GetRenderbufferParameterivEXT, 828, GetRenderbufferParameterivEXT@12)
|
||||
GL_STUB(IsFramebufferEXT, 829, IsFramebufferEXT@4)
|
||||
GL_STUB(IsRenderbufferEXT, 830, IsRenderbufferEXT@4)
|
||||
GL_STUB(RenderbufferStorageEXT, 831, RenderbufferStorageEXT@16)
|
||||
GL_STUB(_dispatch_stub_832, 832, _dispatch_stub_832@40)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_832, _dispatch_stub_832@40))
|
||||
GL_STUB(_dispatch_stub_833, 833, _dispatch_stub_833@12)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_833, _dispatch_stub_833@12))
|
||||
GL_STUB(_dispatch_stub_834, 834, _dispatch_stub_834@12)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_834, _dispatch_stub_834@12))
|
||||
GL_STUB(BindFragDataLocationEXT, 835, BindFragDataLocationEXT@12)
|
||||
GL_STUB(GetFragDataLocationEXT, 836, GetFragDataLocationEXT@8)
|
||||
GL_STUB(GetUniformuivEXT, 837, GetUniformuivEXT@12)
|
||||
GL_STUB(GetVertexAttribIivEXT, 838, GetVertexAttribIivEXT@12)
|
||||
GL_STUB(GetVertexAttribIuivEXT, 839, GetVertexAttribIuivEXT@12)
|
||||
GL_STUB(Uniform1uiEXT, 840, Uniform1uiEXT@8)
|
||||
GL_STUB(Uniform1uivEXT, 841, Uniform1uivEXT@12)
|
||||
GL_STUB(Uniform2uiEXT, 842, Uniform2uiEXT@12)
|
||||
GL_STUB(Uniform2uivEXT, 843, Uniform2uivEXT@12)
|
||||
GL_STUB(Uniform3uiEXT, 844, Uniform3uiEXT@16)
|
||||
GL_STUB(Uniform3uivEXT, 845, Uniform3uivEXT@12)
|
||||
GL_STUB(Uniform4uiEXT, 846, Uniform4uiEXT@20)
|
||||
GL_STUB(Uniform4uivEXT, 847, Uniform4uivEXT@12)
|
||||
GL_STUB(VertexAttribI1iEXT, 848, VertexAttribI1iEXT@8)
|
||||
GL_STUB(VertexAttribI1ivEXT, 849, VertexAttribI1ivEXT@8)
|
||||
GL_STUB(VertexAttribI1uiEXT, 850, VertexAttribI1uiEXT@8)
|
||||
GL_STUB(VertexAttribI1uivEXT, 851, VertexAttribI1uivEXT@8)
|
||||
GL_STUB(VertexAttribI2iEXT, 852, VertexAttribI2iEXT@12)
|
||||
GL_STUB(VertexAttribI2ivEXT, 853, VertexAttribI2ivEXT@8)
|
||||
GL_STUB(VertexAttribI2uiEXT, 854, VertexAttribI2uiEXT@12)
|
||||
GL_STUB(VertexAttribI2uivEXT, 855, VertexAttribI2uivEXT@8)
|
||||
GL_STUB(VertexAttribI3iEXT, 856, VertexAttribI3iEXT@16)
|
||||
GL_STUB(VertexAttribI3ivEXT, 857, VertexAttribI3ivEXT@8)
|
||||
GL_STUB(VertexAttribI3uiEXT, 858, VertexAttribI3uiEXT@16)
|
||||
GL_STUB(VertexAttribI3uivEXT, 859, VertexAttribI3uivEXT@8)
|
||||
GL_STUB(VertexAttribI4bvEXT, 860, VertexAttribI4bvEXT@8)
|
||||
GL_STUB(VertexAttribI4iEXT, 861, VertexAttribI4iEXT@20)
|
||||
GL_STUB(VertexAttribI4ivEXT, 862, VertexAttribI4ivEXT@8)
|
||||
GL_STUB(VertexAttribI4svEXT, 863, VertexAttribI4svEXT@8)
|
||||
GL_STUB(VertexAttribI4ubvEXT, 864, VertexAttribI4ubvEXT@8)
|
||||
GL_STUB(VertexAttribI4uiEXT, 865, VertexAttribI4uiEXT@20)
|
||||
GL_STUB(VertexAttribI4uivEXT, 866, VertexAttribI4uivEXT@8)
|
||||
GL_STUB(VertexAttribI4usvEXT, 867, VertexAttribI4usvEXT@8)
|
||||
GL_STUB(VertexAttribIPointerEXT, 868, VertexAttribIPointerEXT@20)
|
||||
GL_STUB(FramebufferTextureLayerEXT, 869, FramebufferTextureLayerEXT@20)
|
||||
GL_STUB(ColorMaskIndexedEXT, 870, ColorMaskIndexedEXT@20)
|
||||
GL_STUB(DisableIndexedEXT, 871, DisableIndexedEXT@8)
|
||||
GL_STUB(EnableIndexedEXT, 872, EnableIndexedEXT@8)
|
||||
GL_STUB(GetBooleanIndexedvEXT, 873, GetBooleanIndexedvEXT@12)
|
||||
GL_STUB(GetIntegerIndexedvEXT, 874, GetIntegerIndexedvEXT@12)
|
||||
GL_STUB(IsEnabledIndexedEXT, 875, IsEnabledIndexedEXT@8)
|
||||
GL_STUB(ClearColorIiEXT, 876, ClearColorIiEXT@16)
|
||||
GL_STUB(ClearColorIuiEXT, 877, ClearColorIuiEXT@16)
|
||||
GL_STUB(GetTexParameterIivEXT, 878, GetTexParameterIivEXT@12)
|
||||
GL_STUB(GetTexParameterIuivEXT, 879, GetTexParameterIuivEXT@12)
|
||||
GL_STUB(TexParameterIivEXT, 880, TexParameterIivEXT@12)
|
||||
GL_STUB(TexParameterIuivEXT, 881, TexParameterIuivEXT@12)
|
||||
GL_STUB(BeginConditionalRenderNV, 882, BeginConditionalRenderNV@8)
|
||||
GL_STUB(EndConditionalRenderNV, 883, EndConditionalRenderNV@0)
|
||||
GL_STUB(BeginTransformFeedbackEXT, 884, BeginTransformFeedbackEXT@4)
|
||||
GL_STUB(BindBufferBaseEXT, 885, BindBufferBaseEXT@12)
|
||||
GL_STUB(BindBufferOffsetEXT, 886, BindBufferOffsetEXT@16)
|
||||
GL_STUB(BindBufferRangeEXT, 887, BindBufferRangeEXT@20)
|
||||
GL_STUB(EndTransformFeedbackEXT, 888, EndTransformFeedbackEXT@0)
|
||||
GL_STUB(GetTransformFeedbackVaryingEXT, 889, GetTransformFeedbackVaryingEXT@28)
|
||||
GL_STUB(TransformFeedbackVaryingsEXT, 890, TransformFeedbackVaryingsEXT@16)
|
||||
GL_STUB(ProvokingVertexEXT, 891, ProvokingVertexEXT@4)
|
||||
GL_STUB(_dispatch_stub_892, 892, _dispatch_stub_892@12)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_892, _dispatch_stub_892@12))
|
||||
GL_STUB(_dispatch_stub_893, 893, _dispatch_stub_893@12)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_893, _dispatch_stub_893@12))
|
||||
GL_STUB(GetObjectParameterivAPPLE, 894, GetObjectParameterivAPPLE@16)
|
||||
GL_STUB(ObjectPurgeableAPPLE, 895, ObjectPurgeableAPPLE@12)
|
||||
GL_STUB(ObjectUnpurgeableAPPLE, 896, ObjectUnpurgeableAPPLE@12)
|
||||
GL_STUB(ActiveProgramEXT, 897, ActiveProgramEXT@4)
|
||||
GL_STUB(CreateShaderProgramEXT, 898, CreateShaderProgramEXT@8)
|
||||
GL_STUB(UseShaderProgramEXT, 899, UseShaderProgramEXT@8)
|
||||
GL_STUB(TextureBarrierNV, 900, TextureBarrierNV@0)
|
||||
GL_STUB(_dispatch_stub_901, 901, _dispatch_stub_901@16)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_901, _dispatch_stub_901@16))
|
||||
GL_STUB(_dispatch_stub_902, 902, _dispatch_stub_902@16)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_902, _dispatch_stub_902@16))
|
||||
GL_STUB(_dispatch_stub_903, 903, _dispatch_stub_903@16)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_903, _dispatch_stub_903@16))
|
||||
GL_STUB(_dispatch_stub_904, 904, _dispatch_stub_904@12)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_904, _dispatch_stub_904@12))
|
||||
GL_STUB(_dispatch_stub_905, 905, _dispatch_stub_905@12)
|
||||
HIDDEN(GL_PREFIX(_dispatch_stub_905, _dispatch_stub_905@12))
|
||||
GL_STUB(EGLImageTargetRenderbufferStorageOES, 906, EGLImageTargetRenderbufferStorageOES@8)
|
||||
GL_STUB(EGLImageTargetTexture2DOES, 907, EGLImageTargetTexture2DOES@8)
|
||||
GL_STUB_ALIAS(ArrayElementEXT, 306, ArrayElementEXT@4, ArrayElement, ArrayElement@4)
|
||||
GL_STUB_ALIAS(BindTextureEXT, 307, BindTextureEXT@8, BindTexture, BindTexture@8)
|
||||
GL_STUB_ALIAS(DrawArraysEXT, 310, DrawArraysEXT@12, DrawArrays, DrawArrays@12)
|
||||
|
|
@ -1268,151 +1282,151 @@ GLNAME(gl_dispatch_functions_start):
|
|||
GL_STUB_ALIAS(DrawElementsInstancedEXT, 574, DrawElementsInstancedEXT@20, DrawElementsInstancedARB, DrawElementsInstancedARB@20)
|
||||
GL_STUB_ALIAS(DrawElementsInstanced, 574, DrawElementsInstanced@20, DrawElementsInstancedARB, DrawElementsInstancedARB@20)
|
||||
GL_STUB_ALIAS(RenderbufferStorageMultisampleEXT, 575, RenderbufferStorageMultisampleEXT@20, RenderbufferStorageMultisample, RenderbufferStorageMultisample@20)
|
||||
GL_STUB_ALIAS(PointParameterf, 627, PointParameterf@8, PointParameterfEXT, PointParameterfEXT@8)
|
||||
GL_STUB_ALIAS(PointParameterfARB, 627, PointParameterfARB@8, PointParameterfEXT, PointParameterfEXT@8)
|
||||
GL_STUB_ALIAS(PointParameterfv, 628, PointParameterfv@8, PointParameterfvEXT, PointParameterfvEXT@8)
|
||||
GL_STUB_ALIAS(PointParameterfvARB, 628, PointParameterfvARB@8, PointParameterfvEXT, PointParameterfvEXT@8)
|
||||
GL_STUB_ALIAS(SecondaryColor3b, 631, SecondaryColor3b@12, SecondaryColor3bEXT, SecondaryColor3bEXT@12)
|
||||
GL_STUB_ALIAS(SecondaryColor3bv, 632, SecondaryColor3bv@4, SecondaryColor3bvEXT, SecondaryColor3bvEXT@4)
|
||||
GL_STUB_ALIAS(SecondaryColor3d, 633, SecondaryColor3d@24, SecondaryColor3dEXT, SecondaryColor3dEXT@24)
|
||||
GL_STUB_ALIAS(SecondaryColor3dv, 634, SecondaryColor3dv@4, SecondaryColor3dvEXT, SecondaryColor3dvEXT@4)
|
||||
GL_STUB_ALIAS(SecondaryColor3f, 635, SecondaryColor3f@12, SecondaryColor3fEXT, SecondaryColor3fEXT@12)
|
||||
GL_STUB_ALIAS(SecondaryColor3fv, 636, SecondaryColor3fv@4, SecondaryColor3fvEXT, SecondaryColor3fvEXT@4)
|
||||
GL_STUB_ALIAS(SecondaryColor3i, 637, SecondaryColor3i@12, SecondaryColor3iEXT, SecondaryColor3iEXT@12)
|
||||
GL_STUB_ALIAS(SecondaryColor3iv, 638, SecondaryColor3iv@4, SecondaryColor3ivEXT, SecondaryColor3ivEXT@4)
|
||||
GL_STUB_ALIAS(SecondaryColor3s, 639, SecondaryColor3s@12, SecondaryColor3sEXT, SecondaryColor3sEXT@12)
|
||||
GL_STUB_ALIAS(SecondaryColor3sv, 640, SecondaryColor3sv@4, SecondaryColor3svEXT, SecondaryColor3svEXT@4)
|
||||
GL_STUB_ALIAS(SecondaryColor3ub, 641, SecondaryColor3ub@12, SecondaryColor3ubEXT, SecondaryColor3ubEXT@12)
|
||||
GL_STUB_ALIAS(SecondaryColor3ubv, 642, SecondaryColor3ubv@4, SecondaryColor3ubvEXT, SecondaryColor3ubvEXT@4)
|
||||
GL_STUB_ALIAS(SecondaryColor3ui, 643, SecondaryColor3ui@12, SecondaryColor3uiEXT, SecondaryColor3uiEXT@12)
|
||||
GL_STUB_ALIAS(SecondaryColor3uiv, 644, SecondaryColor3uiv@4, SecondaryColor3uivEXT, SecondaryColor3uivEXT@4)
|
||||
GL_STUB_ALIAS(SecondaryColor3us, 645, SecondaryColor3us@12, SecondaryColor3usEXT, SecondaryColor3usEXT@12)
|
||||
GL_STUB_ALIAS(SecondaryColor3usv, 646, SecondaryColor3usv@4, SecondaryColor3usvEXT, SecondaryColor3usvEXT@4)
|
||||
GL_STUB_ALIAS(SecondaryColorPointer, 647, SecondaryColorPointer@16, SecondaryColorPointerEXT, SecondaryColorPointerEXT@16)
|
||||
GL_STUB_ALIAS(MultiDrawArrays, 648, MultiDrawArrays@16, MultiDrawArraysEXT, MultiDrawArraysEXT@16)
|
||||
GL_STUB_ALIAS(MultiDrawElements, 649, MultiDrawElements@20, MultiDrawElementsEXT, MultiDrawElementsEXT@20)
|
||||
GL_STUB_ALIAS(FogCoordPointer, 650, FogCoordPointer@12, FogCoordPointerEXT, FogCoordPointerEXT@12)
|
||||
GL_STUB_ALIAS(FogCoordd, 651, FogCoordd@8, FogCoorddEXT, FogCoorddEXT@8)
|
||||
GL_STUB_ALIAS(FogCoorddv, 652, FogCoorddv@4, FogCoorddvEXT, FogCoorddvEXT@4)
|
||||
GL_STUB_ALIAS(FogCoordf, 653, FogCoordf@4, FogCoordfEXT, FogCoordfEXT@4)
|
||||
GL_STUB_ALIAS(FogCoordfv, 654, FogCoordfv@4, FogCoordfvEXT, FogCoordfvEXT@4)
|
||||
GL_STUB_ALIAS(BlendFuncSeparate, 656, BlendFuncSeparate@16, BlendFuncSeparateEXT, BlendFuncSeparateEXT@16)
|
||||
GL_STUB_ALIAS(WindowPos2d, 673, WindowPos2d@16, WindowPos2dMESA, WindowPos2dMESA@16)
|
||||
GL_STUB_ALIAS(WindowPos2dARB, 673, WindowPos2dARB@16, WindowPos2dMESA, WindowPos2dMESA@16)
|
||||
GL_STUB_ALIAS(WindowPos2dv, 674, WindowPos2dv@4, WindowPos2dvMESA, WindowPos2dvMESA@4)
|
||||
GL_STUB_ALIAS(WindowPos2dvARB, 674, WindowPos2dvARB@4, WindowPos2dvMESA, WindowPos2dvMESA@4)
|
||||
GL_STUB_ALIAS(WindowPos2f, 675, WindowPos2f@8, WindowPos2fMESA, WindowPos2fMESA@8)
|
||||
GL_STUB_ALIAS(WindowPos2fARB, 675, WindowPos2fARB@8, WindowPos2fMESA, WindowPos2fMESA@8)
|
||||
GL_STUB_ALIAS(WindowPos2fv, 676, WindowPos2fv@4, WindowPos2fvMESA, WindowPos2fvMESA@4)
|
||||
GL_STUB_ALIAS(WindowPos2fvARB, 676, WindowPos2fvARB@4, WindowPos2fvMESA, WindowPos2fvMESA@4)
|
||||
GL_STUB_ALIAS(WindowPos2i, 677, WindowPos2i@8, WindowPos2iMESA, WindowPos2iMESA@8)
|
||||
GL_STUB_ALIAS(WindowPos2iARB, 677, WindowPos2iARB@8, WindowPos2iMESA, WindowPos2iMESA@8)
|
||||
GL_STUB_ALIAS(WindowPos2iv, 678, WindowPos2iv@4, WindowPos2ivMESA, WindowPos2ivMESA@4)
|
||||
GL_STUB_ALIAS(WindowPos2ivARB, 678, WindowPos2ivARB@4, WindowPos2ivMESA, WindowPos2ivMESA@4)
|
||||
GL_STUB_ALIAS(WindowPos2s, 679, WindowPos2s@8, WindowPos2sMESA, WindowPos2sMESA@8)
|
||||
GL_STUB_ALIAS(WindowPos2sARB, 679, WindowPos2sARB@8, WindowPos2sMESA, WindowPos2sMESA@8)
|
||||
GL_STUB_ALIAS(WindowPos2sv, 680, WindowPos2sv@4, WindowPos2svMESA, WindowPos2svMESA@4)
|
||||
GL_STUB_ALIAS(WindowPos2svARB, 680, WindowPos2svARB@4, WindowPos2svMESA, WindowPos2svMESA@4)
|
||||
GL_STUB_ALIAS(WindowPos3d, 681, WindowPos3d@24, WindowPos3dMESA, WindowPos3dMESA@24)
|
||||
GL_STUB_ALIAS(WindowPos3dARB, 681, WindowPos3dARB@24, WindowPos3dMESA, WindowPos3dMESA@24)
|
||||
GL_STUB_ALIAS(WindowPos3dv, 682, WindowPos3dv@4, WindowPos3dvMESA, WindowPos3dvMESA@4)
|
||||
GL_STUB_ALIAS(WindowPos3dvARB, 682, WindowPos3dvARB@4, WindowPos3dvMESA, WindowPos3dvMESA@4)
|
||||
GL_STUB_ALIAS(WindowPos3f, 683, WindowPos3f@12, WindowPos3fMESA, WindowPos3fMESA@12)
|
||||
GL_STUB_ALIAS(WindowPos3fARB, 683, WindowPos3fARB@12, WindowPos3fMESA, WindowPos3fMESA@12)
|
||||
GL_STUB_ALIAS(WindowPos3fv, 684, WindowPos3fv@4, WindowPos3fvMESA, WindowPos3fvMESA@4)
|
||||
GL_STUB_ALIAS(WindowPos3fvARB, 684, WindowPos3fvARB@4, WindowPos3fvMESA, WindowPos3fvMESA@4)
|
||||
GL_STUB_ALIAS(WindowPos3i, 685, WindowPos3i@12, WindowPos3iMESA, WindowPos3iMESA@12)
|
||||
GL_STUB_ALIAS(WindowPos3iARB, 685, WindowPos3iARB@12, WindowPos3iMESA, WindowPos3iMESA@12)
|
||||
GL_STUB_ALIAS(WindowPos3iv, 686, WindowPos3iv@4, WindowPos3ivMESA, WindowPos3ivMESA@4)
|
||||
GL_STUB_ALIAS(WindowPos3ivARB, 686, WindowPos3ivARB@4, WindowPos3ivMESA, WindowPos3ivMESA@4)
|
||||
GL_STUB_ALIAS(WindowPos3s, 687, WindowPos3s@12, WindowPos3sMESA, WindowPos3sMESA@12)
|
||||
GL_STUB_ALIAS(WindowPos3sARB, 687, WindowPos3sARB@12, WindowPos3sMESA, WindowPos3sMESA@12)
|
||||
GL_STUB_ALIAS(WindowPos3sv, 688, WindowPos3sv@4, WindowPos3svMESA, WindowPos3svMESA@4)
|
||||
GL_STUB_ALIAS(WindowPos3svARB, 688, WindowPos3svARB@4, WindowPos3svMESA, WindowPos3svMESA@4)
|
||||
GL_STUB_ALIAS(BindProgramARB, 707, BindProgramARB@8, BindProgramNV, BindProgramNV@8)
|
||||
GL_STUB_ALIAS(DeleteProgramsARB, 708, DeleteProgramsARB@8, DeleteProgramsNV, DeleteProgramsNV@8)
|
||||
GL_STUB_ALIAS(GenProgramsARB, 710, GenProgramsARB@8, GenProgramsNV, GenProgramsNV@8)
|
||||
GL_STUB_ALIAS(GetVertexAttribPointerv, 716, GetVertexAttribPointerv@12, GetVertexAttribPointervNV, GetVertexAttribPointervNV@12)
|
||||
GL_STUB_ALIAS(GetVertexAttribPointervARB, 716, GetVertexAttribPointervARB@12, GetVertexAttribPointervNV, GetVertexAttribPointervNV@12)
|
||||
GL_STUB_ALIAS(IsProgramARB, 720, IsProgramARB@4, IsProgramNV, IsProgramNV@4)
|
||||
GL_STUB_ALIAS(PointParameteri, 784, PointParameteri@8, PointParameteriNV, PointParameteriNV@8)
|
||||
GL_STUB_ALIAS(PointParameteriv, 785, PointParameteriv@8, PointParameterivNV, PointParameterivNV@8)
|
||||
GL_STUB_ALIAS(DeleteVertexArrays, 788, DeleteVertexArrays@8, _dispatch_stub_788, _dispatch_stub_788@8)
|
||||
GL_STUB_ALIAS(IsVertexArray, 790, IsVertexArray@4, _dispatch_stub_790, _dispatch_stub_790@4)
|
||||
GL_STUB_ALIAS(PrimitiveRestartIndex, 797, PrimitiveRestartIndex@4, PrimitiveRestartIndexNV, PrimitiveRestartIndexNV@4)
|
||||
GL_STUB_ALIAS(BlendEquationSeparate, 800, BlendEquationSeparate@8, _dispatch_stub_800, _dispatch_stub_800@8)
|
||||
GL_STUB_ALIAS(BindFramebuffer, 801, BindFramebuffer@8, BindFramebufferEXT, BindFramebufferEXT@8)
|
||||
GL_STUB_ALIAS(BindRenderbuffer, 802, BindRenderbuffer@8, BindRenderbufferEXT, BindRenderbufferEXT@8)
|
||||
GL_STUB_ALIAS(CheckFramebufferStatus, 803, CheckFramebufferStatus@4, CheckFramebufferStatusEXT, CheckFramebufferStatusEXT@4)
|
||||
GL_STUB_ALIAS(DeleteFramebuffers, 804, DeleteFramebuffers@8, DeleteFramebuffersEXT, DeleteFramebuffersEXT@8)
|
||||
GL_STUB_ALIAS(DeleteRenderbuffers, 805, DeleteRenderbuffers@8, DeleteRenderbuffersEXT, DeleteRenderbuffersEXT@8)
|
||||
GL_STUB_ALIAS(FramebufferRenderbuffer, 806, FramebufferRenderbuffer@16, FramebufferRenderbufferEXT, FramebufferRenderbufferEXT@16)
|
||||
GL_STUB_ALIAS(FramebufferTexture1D, 807, FramebufferTexture1D@20, FramebufferTexture1DEXT, FramebufferTexture1DEXT@20)
|
||||
GL_STUB_ALIAS(FramebufferTexture2D, 808, FramebufferTexture2D@20, FramebufferTexture2DEXT, FramebufferTexture2DEXT@20)
|
||||
GL_STUB_ALIAS(FramebufferTexture3D, 809, FramebufferTexture3D@24, FramebufferTexture3DEXT, FramebufferTexture3DEXT@24)
|
||||
GL_STUB_ALIAS(GenFramebuffers, 810, GenFramebuffers@8, GenFramebuffersEXT, GenFramebuffersEXT@8)
|
||||
GL_STUB_ALIAS(GenRenderbuffers, 811, GenRenderbuffers@8, GenRenderbuffersEXT, GenRenderbuffersEXT@8)
|
||||
GL_STUB_ALIAS(GenerateMipmap, 812, GenerateMipmap@4, GenerateMipmapEXT, GenerateMipmapEXT@4)
|
||||
GL_STUB_ALIAS(GetFramebufferAttachmentParameteriv, 813, GetFramebufferAttachmentParameteriv@16, GetFramebufferAttachmentParameterivEXT, GetFramebufferAttachmentParameterivEXT@16)
|
||||
GL_STUB_ALIAS(GetRenderbufferParameteriv, 814, GetRenderbufferParameteriv@12, GetRenderbufferParameterivEXT, GetRenderbufferParameterivEXT@12)
|
||||
GL_STUB_ALIAS(IsFramebuffer, 815, IsFramebuffer@4, IsFramebufferEXT, IsFramebufferEXT@4)
|
||||
GL_STUB_ALIAS(IsRenderbuffer, 816, IsRenderbuffer@4, IsRenderbufferEXT, IsRenderbufferEXT@4)
|
||||
GL_STUB_ALIAS(RenderbufferStorage, 817, RenderbufferStorage@16, RenderbufferStorageEXT, RenderbufferStorageEXT@16)
|
||||
GL_STUB_ALIAS(BlitFramebuffer, 818, BlitFramebuffer@40, _dispatch_stub_818, _dispatch_stub_818@40)
|
||||
GL_STUB_ALIAS(BindFragDataLocation, 821, BindFragDataLocation@12, BindFragDataLocationEXT, BindFragDataLocationEXT@12)
|
||||
GL_STUB_ALIAS(GetFragDataLocation, 822, GetFragDataLocation@8, GetFragDataLocationEXT, GetFragDataLocationEXT@8)
|
||||
GL_STUB_ALIAS(GetUniformuiv, 823, GetUniformuiv@12, GetUniformuivEXT, GetUniformuivEXT@12)
|
||||
GL_STUB_ALIAS(GetVertexAttribIiv, 824, GetVertexAttribIiv@12, GetVertexAttribIivEXT, GetVertexAttribIivEXT@12)
|
||||
GL_STUB_ALIAS(GetVertexAttribIuiv, 825, GetVertexAttribIuiv@12, GetVertexAttribIuivEXT, GetVertexAttribIuivEXT@12)
|
||||
GL_STUB_ALIAS(Uniform1ui, 826, Uniform1ui@8, Uniform1uiEXT, Uniform1uiEXT@8)
|
||||
GL_STUB_ALIAS(Uniform1uiv, 827, Uniform1uiv@12, Uniform1uivEXT, Uniform1uivEXT@12)
|
||||
GL_STUB_ALIAS(Uniform2ui, 828, Uniform2ui@12, Uniform2uiEXT, Uniform2uiEXT@12)
|
||||
GL_STUB_ALIAS(Uniform2uiv, 829, Uniform2uiv@12, Uniform2uivEXT, Uniform2uivEXT@12)
|
||||
GL_STUB_ALIAS(Uniform3ui, 830, Uniform3ui@16, Uniform3uiEXT, Uniform3uiEXT@16)
|
||||
GL_STUB_ALIAS(Uniform3uiv, 831, Uniform3uiv@12, Uniform3uivEXT, Uniform3uivEXT@12)
|
||||
GL_STUB_ALIAS(Uniform4ui, 832, Uniform4ui@20, Uniform4uiEXT, Uniform4uiEXT@20)
|
||||
GL_STUB_ALIAS(Uniform4uiv, 833, Uniform4uiv@12, Uniform4uivEXT, Uniform4uivEXT@12)
|
||||
GL_STUB_ALIAS(VertexAttribI1i, 834, VertexAttribI1i@8, VertexAttribI1iEXT, VertexAttribI1iEXT@8)
|
||||
GL_STUB_ALIAS(VertexAttribI1iv, 835, VertexAttribI1iv@8, VertexAttribI1ivEXT, VertexAttribI1ivEXT@8)
|
||||
GL_STUB_ALIAS(VertexAttribI1ui, 836, VertexAttribI1ui@8, VertexAttribI1uiEXT, VertexAttribI1uiEXT@8)
|
||||
GL_STUB_ALIAS(VertexAttribI1uiv, 837, VertexAttribI1uiv@8, VertexAttribI1uivEXT, VertexAttribI1uivEXT@8)
|
||||
GL_STUB_ALIAS(VertexAttribI2i, 838, VertexAttribI2i@12, VertexAttribI2iEXT, VertexAttribI2iEXT@12)
|
||||
GL_STUB_ALIAS(VertexAttribI2iv, 839, VertexAttribI2iv@8, VertexAttribI2ivEXT, VertexAttribI2ivEXT@8)
|
||||
GL_STUB_ALIAS(VertexAttribI2ui, 840, VertexAttribI2ui@12, VertexAttribI2uiEXT, VertexAttribI2uiEXT@12)
|
||||
GL_STUB_ALIAS(VertexAttribI2uiv, 841, VertexAttribI2uiv@8, VertexAttribI2uivEXT, VertexAttribI2uivEXT@8)
|
||||
GL_STUB_ALIAS(VertexAttribI3i, 842, VertexAttribI3i@16, VertexAttribI3iEXT, VertexAttribI3iEXT@16)
|
||||
GL_STUB_ALIAS(VertexAttribI3iv, 843, VertexAttribI3iv@8, VertexAttribI3ivEXT, VertexAttribI3ivEXT@8)
|
||||
GL_STUB_ALIAS(VertexAttribI3ui, 844, VertexAttribI3ui@16, VertexAttribI3uiEXT, VertexAttribI3uiEXT@16)
|
||||
GL_STUB_ALIAS(VertexAttribI3uiv, 845, VertexAttribI3uiv@8, VertexAttribI3uivEXT, VertexAttribI3uivEXT@8)
|
||||
GL_STUB_ALIAS(VertexAttribI4bv, 846, VertexAttribI4bv@8, VertexAttribI4bvEXT, VertexAttribI4bvEXT@8)
|
||||
GL_STUB_ALIAS(VertexAttribI4i, 847, VertexAttribI4i@20, VertexAttribI4iEXT, VertexAttribI4iEXT@20)
|
||||
GL_STUB_ALIAS(VertexAttribI4iv, 848, VertexAttribI4iv@8, VertexAttribI4ivEXT, VertexAttribI4ivEXT@8)
|
||||
GL_STUB_ALIAS(VertexAttribI4sv, 849, VertexAttribI4sv@8, VertexAttribI4svEXT, VertexAttribI4svEXT@8)
|
||||
GL_STUB_ALIAS(VertexAttribI4ubv, 850, VertexAttribI4ubv@8, VertexAttribI4ubvEXT, VertexAttribI4ubvEXT@8)
|
||||
GL_STUB_ALIAS(VertexAttribI4ui, 851, VertexAttribI4ui@20, VertexAttribI4uiEXT, VertexAttribI4uiEXT@20)
|
||||
GL_STUB_ALIAS(VertexAttribI4uiv, 852, VertexAttribI4uiv@8, VertexAttribI4uivEXT, VertexAttribI4uivEXT@8)
|
||||
GL_STUB_ALIAS(VertexAttribI4usv, 853, VertexAttribI4usv@8, VertexAttribI4usvEXT, VertexAttribI4usvEXT@8)
|
||||
GL_STUB_ALIAS(VertexAttribIPointer, 854, VertexAttribIPointer@20, VertexAttribIPointerEXT, VertexAttribIPointerEXT@20)
|
||||
GL_STUB_ALIAS(FramebufferTextureLayer, 855, FramebufferTextureLayer@20, FramebufferTextureLayerEXT, FramebufferTextureLayerEXT@20)
|
||||
GL_STUB_ALIAS(ColorMaski, 856, ColorMaski@20, ColorMaskIndexedEXT, ColorMaskIndexedEXT@20)
|
||||
GL_STUB_ALIAS(Disablei, 857, Disablei@8, DisableIndexedEXT, DisableIndexedEXT@8)
|
||||
GL_STUB_ALIAS(Enablei, 858, Enablei@8, EnableIndexedEXT, EnableIndexedEXT@8)
|
||||
GL_STUB_ALIAS(GetBooleani_v, 859, GetBooleani_v@12, GetBooleanIndexedvEXT, GetBooleanIndexedvEXT@12)
|
||||
GL_STUB_ALIAS(GetIntegeri_v, 860, GetIntegeri_v@12, GetIntegerIndexedvEXT, GetIntegerIndexedvEXT@12)
|
||||
GL_STUB_ALIAS(IsEnabledi, 861, IsEnabledi@8, IsEnabledIndexedEXT, IsEnabledIndexedEXT@8)
|
||||
GL_STUB_ALIAS(GetTexParameterIiv, 864, GetTexParameterIiv@12, GetTexParameterIivEXT, GetTexParameterIivEXT@12)
|
||||
GL_STUB_ALIAS(GetTexParameterIuiv, 865, GetTexParameterIuiv@12, GetTexParameterIuivEXT, GetTexParameterIuivEXT@12)
|
||||
GL_STUB_ALIAS(TexParameterIiv, 866, TexParameterIiv@12, TexParameterIivEXT, TexParameterIivEXT@12)
|
||||
GL_STUB_ALIAS(TexParameterIuiv, 867, TexParameterIuiv@12, TexParameterIuivEXT, TexParameterIuivEXT@12)
|
||||
GL_STUB_ALIAS(BeginConditionalRender, 868, BeginConditionalRender@8, BeginConditionalRenderNV, BeginConditionalRenderNV@8)
|
||||
GL_STUB_ALIAS(EndConditionalRender, 869, EndConditionalRender@0, EndConditionalRenderNV, EndConditionalRenderNV@0)
|
||||
GL_STUB_ALIAS(BeginTransformFeedback, 870, BeginTransformFeedback@4, BeginTransformFeedbackEXT, BeginTransformFeedbackEXT@4)
|
||||
GL_STUB_ALIAS(BindBufferBase, 871, BindBufferBase@12, BindBufferBaseEXT, BindBufferBaseEXT@12)
|
||||
GL_STUB_ALIAS(BindBufferRange, 873, BindBufferRange@20, BindBufferRangeEXT, BindBufferRangeEXT@20)
|
||||
GL_STUB_ALIAS(EndTransformFeedback, 874, EndTransformFeedback@0, EndTransformFeedbackEXT, EndTransformFeedbackEXT@0)
|
||||
GL_STUB_ALIAS(GetTransformFeedbackVarying, 875, GetTransformFeedbackVarying@28, GetTransformFeedbackVaryingEXT, GetTransformFeedbackVaryingEXT@28)
|
||||
GL_STUB_ALIAS(TransformFeedbackVaryings, 876, TransformFeedbackVaryings@16, TransformFeedbackVaryingsEXT, TransformFeedbackVaryingsEXT@16)
|
||||
GL_STUB_ALIAS(ProvokingVertex, 877, ProvokingVertex@4, ProvokingVertexEXT, ProvokingVertexEXT@4)
|
||||
GL_STUB_ALIAS(PointParameterf, 641, PointParameterf@8, PointParameterfEXT, PointParameterfEXT@8)
|
||||
GL_STUB_ALIAS(PointParameterfARB, 641, PointParameterfARB@8, PointParameterfEXT, PointParameterfEXT@8)
|
||||
GL_STUB_ALIAS(PointParameterfv, 642, PointParameterfv@8, PointParameterfvEXT, PointParameterfvEXT@8)
|
||||
GL_STUB_ALIAS(PointParameterfvARB, 642, PointParameterfvARB@8, PointParameterfvEXT, PointParameterfvEXT@8)
|
||||
GL_STUB_ALIAS(SecondaryColor3b, 645, SecondaryColor3b@12, SecondaryColor3bEXT, SecondaryColor3bEXT@12)
|
||||
GL_STUB_ALIAS(SecondaryColor3bv, 646, SecondaryColor3bv@4, SecondaryColor3bvEXT, SecondaryColor3bvEXT@4)
|
||||
GL_STUB_ALIAS(SecondaryColor3d, 647, SecondaryColor3d@24, SecondaryColor3dEXT, SecondaryColor3dEXT@24)
|
||||
GL_STUB_ALIAS(SecondaryColor3dv, 648, SecondaryColor3dv@4, SecondaryColor3dvEXT, SecondaryColor3dvEXT@4)
|
||||
GL_STUB_ALIAS(SecondaryColor3f, 649, SecondaryColor3f@12, SecondaryColor3fEXT, SecondaryColor3fEXT@12)
|
||||
GL_STUB_ALIAS(SecondaryColor3fv, 650, SecondaryColor3fv@4, SecondaryColor3fvEXT, SecondaryColor3fvEXT@4)
|
||||
GL_STUB_ALIAS(SecondaryColor3i, 651, SecondaryColor3i@12, SecondaryColor3iEXT, SecondaryColor3iEXT@12)
|
||||
GL_STUB_ALIAS(SecondaryColor3iv, 652, SecondaryColor3iv@4, SecondaryColor3ivEXT, SecondaryColor3ivEXT@4)
|
||||
GL_STUB_ALIAS(SecondaryColor3s, 653, SecondaryColor3s@12, SecondaryColor3sEXT, SecondaryColor3sEXT@12)
|
||||
GL_STUB_ALIAS(SecondaryColor3sv, 654, SecondaryColor3sv@4, SecondaryColor3svEXT, SecondaryColor3svEXT@4)
|
||||
GL_STUB_ALIAS(SecondaryColor3ub, 655, SecondaryColor3ub@12, SecondaryColor3ubEXT, SecondaryColor3ubEXT@12)
|
||||
GL_STUB_ALIAS(SecondaryColor3ubv, 656, SecondaryColor3ubv@4, SecondaryColor3ubvEXT, SecondaryColor3ubvEXT@4)
|
||||
GL_STUB_ALIAS(SecondaryColor3ui, 657, SecondaryColor3ui@12, SecondaryColor3uiEXT, SecondaryColor3uiEXT@12)
|
||||
GL_STUB_ALIAS(SecondaryColor3uiv, 658, SecondaryColor3uiv@4, SecondaryColor3uivEXT, SecondaryColor3uivEXT@4)
|
||||
GL_STUB_ALIAS(SecondaryColor3us, 659, SecondaryColor3us@12, SecondaryColor3usEXT, SecondaryColor3usEXT@12)
|
||||
GL_STUB_ALIAS(SecondaryColor3usv, 660, SecondaryColor3usv@4, SecondaryColor3usvEXT, SecondaryColor3usvEXT@4)
|
||||
GL_STUB_ALIAS(SecondaryColorPointer, 661, SecondaryColorPointer@16, SecondaryColorPointerEXT, SecondaryColorPointerEXT@16)
|
||||
GL_STUB_ALIAS(MultiDrawArrays, 662, MultiDrawArrays@16, MultiDrawArraysEXT, MultiDrawArraysEXT@16)
|
||||
GL_STUB_ALIAS(MultiDrawElements, 663, MultiDrawElements@20, MultiDrawElementsEXT, MultiDrawElementsEXT@20)
|
||||
GL_STUB_ALIAS(FogCoordPointer, 664, FogCoordPointer@12, FogCoordPointerEXT, FogCoordPointerEXT@12)
|
||||
GL_STUB_ALIAS(FogCoordd, 665, FogCoordd@8, FogCoorddEXT, FogCoorddEXT@8)
|
||||
GL_STUB_ALIAS(FogCoorddv, 666, FogCoorddv@4, FogCoorddvEXT, FogCoorddvEXT@4)
|
||||
GL_STUB_ALIAS(FogCoordf, 667, FogCoordf@4, FogCoordfEXT, FogCoordfEXT@4)
|
||||
GL_STUB_ALIAS(FogCoordfv, 668, FogCoordfv@4, FogCoordfvEXT, FogCoordfvEXT@4)
|
||||
GL_STUB_ALIAS(BlendFuncSeparate, 670, BlendFuncSeparate@16, BlendFuncSeparateEXT, BlendFuncSeparateEXT@16)
|
||||
GL_STUB_ALIAS(WindowPos2d, 687, WindowPos2d@16, WindowPos2dMESA, WindowPos2dMESA@16)
|
||||
GL_STUB_ALIAS(WindowPos2dARB, 687, WindowPos2dARB@16, WindowPos2dMESA, WindowPos2dMESA@16)
|
||||
GL_STUB_ALIAS(WindowPos2dv, 688, WindowPos2dv@4, WindowPos2dvMESA, WindowPos2dvMESA@4)
|
||||
GL_STUB_ALIAS(WindowPos2dvARB, 688, WindowPos2dvARB@4, WindowPos2dvMESA, WindowPos2dvMESA@4)
|
||||
GL_STUB_ALIAS(WindowPos2f, 689, WindowPos2f@8, WindowPos2fMESA, WindowPos2fMESA@8)
|
||||
GL_STUB_ALIAS(WindowPos2fARB, 689, WindowPos2fARB@8, WindowPos2fMESA, WindowPos2fMESA@8)
|
||||
GL_STUB_ALIAS(WindowPos2fv, 690, WindowPos2fv@4, WindowPos2fvMESA, WindowPos2fvMESA@4)
|
||||
GL_STUB_ALIAS(WindowPos2fvARB, 690, WindowPos2fvARB@4, WindowPos2fvMESA, WindowPos2fvMESA@4)
|
||||
GL_STUB_ALIAS(WindowPos2i, 691, WindowPos2i@8, WindowPos2iMESA, WindowPos2iMESA@8)
|
||||
GL_STUB_ALIAS(WindowPos2iARB, 691, WindowPos2iARB@8, WindowPos2iMESA, WindowPos2iMESA@8)
|
||||
GL_STUB_ALIAS(WindowPos2iv, 692, WindowPos2iv@4, WindowPos2ivMESA, WindowPos2ivMESA@4)
|
||||
GL_STUB_ALIAS(WindowPos2ivARB, 692, WindowPos2ivARB@4, WindowPos2ivMESA, WindowPos2ivMESA@4)
|
||||
GL_STUB_ALIAS(WindowPos2s, 693, WindowPos2s@8, WindowPos2sMESA, WindowPos2sMESA@8)
|
||||
GL_STUB_ALIAS(WindowPos2sARB, 693, WindowPos2sARB@8, WindowPos2sMESA, WindowPos2sMESA@8)
|
||||
GL_STUB_ALIAS(WindowPos2sv, 694, WindowPos2sv@4, WindowPos2svMESA, WindowPos2svMESA@4)
|
||||
GL_STUB_ALIAS(WindowPos2svARB, 694, WindowPos2svARB@4, WindowPos2svMESA, WindowPos2svMESA@4)
|
||||
GL_STUB_ALIAS(WindowPos3d, 695, WindowPos3d@24, WindowPos3dMESA, WindowPos3dMESA@24)
|
||||
GL_STUB_ALIAS(WindowPos3dARB, 695, WindowPos3dARB@24, WindowPos3dMESA, WindowPos3dMESA@24)
|
||||
GL_STUB_ALIAS(WindowPos3dv, 696, WindowPos3dv@4, WindowPos3dvMESA, WindowPos3dvMESA@4)
|
||||
GL_STUB_ALIAS(WindowPos3dvARB, 696, WindowPos3dvARB@4, WindowPos3dvMESA, WindowPos3dvMESA@4)
|
||||
GL_STUB_ALIAS(WindowPos3f, 697, WindowPos3f@12, WindowPos3fMESA, WindowPos3fMESA@12)
|
||||
GL_STUB_ALIAS(WindowPos3fARB, 697, WindowPos3fARB@12, WindowPos3fMESA, WindowPos3fMESA@12)
|
||||
GL_STUB_ALIAS(WindowPos3fv, 698, WindowPos3fv@4, WindowPos3fvMESA, WindowPos3fvMESA@4)
|
||||
GL_STUB_ALIAS(WindowPos3fvARB, 698, WindowPos3fvARB@4, WindowPos3fvMESA, WindowPos3fvMESA@4)
|
||||
GL_STUB_ALIAS(WindowPos3i, 699, WindowPos3i@12, WindowPos3iMESA, WindowPos3iMESA@12)
|
||||
GL_STUB_ALIAS(WindowPos3iARB, 699, WindowPos3iARB@12, WindowPos3iMESA, WindowPos3iMESA@12)
|
||||
GL_STUB_ALIAS(WindowPos3iv, 700, WindowPos3iv@4, WindowPos3ivMESA, WindowPos3ivMESA@4)
|
||||
GL_STUB_ALIAS(WindowPos3ivARB, 700, WindowPos3ivARB@4, WindowPos3ivMESA, WindowPos3ivMESA@4)
|
||||
GL_STUB_ALIAS(WindowPos3s, 701, WindowPos3s@12, WindowPos3sMESA, WindowPos3sMESA@12)
|
||||
GL_STUB_ALIAS(WindowPos3sARB, 701, WindowPos3sARB@12, WindowPos3sMESA, WindowPos3sMESA@12)
|
||||
GL_STUB_ALIAS(WindowPos3sv, 702, WindowPos3sv@4, WindowPos3svMESA, WindowPos3svMESA@4)
|
||||
GL_STUB_ALIAS(WindowPos3svARB, 702, WindowPos3svARB@4, WindowPos3svMESA, WindowPos3svMESA@4)
|
||||
GL_STUB_ALIAS(BindProgramARB, 721, BindProgramARB@8, BindProgramNV, BindProgramNV@8)
|
||||
GL_STUB_ALIAS(DeleteProgramsARB, 722, DeleteProgramsARB@8, DeleteProgramsNV, DeleteProgramsNV@8)
|
||||
GL_STUB_ALIAS(GenProgramsARB, 724, GenProgramsARB@8, GenProgramsNV, GenProgramsNV@8)
|
||||
GL_STUB_ALIAS(GetVertexAttribPointerv, 730, GetVertexAttribPointerv@12, GetVertexAttribPointervNV, GetVertexAttribPointervNV@12)
|
||||
GL_STUB_ALIAS(GetVertexAttribPointervARB, 730, GetVertexAttribPointervARB@12, GetVertexAttribPointervNV, GetVertexAttribPointervNV@12)
|
||||
GL_STUB_ALIAS(IsProgramARB, 734, IsProgramARB@4, IsProgramNV, IsProgramNV@4)
|
||||
GL_STUB_ALIAS(PointParameteri, 798, PointParameteri@8, PointParameteriNV, PointParameteriNV@8)
|
||||
GL_STUB_ALIAS(PointParameteriv, 799, PointParameteriv@8, PointParameterivNV, PointParameterivNV@8)
|
||||
GL_STUB_ALIAS(DeleteVertexArrays, 802, DeleteVertexArrays@8, _dispatch_stub_802, _dispatch_stub_802@8)
|
||||
GL_STUB_ALIAS(IsVertexArray, 804, IsVertexArray@4, _dispatch_stub_804, _dispatch_stub_804@4)
|
||||
GL_STUB_ALIAS(PrimitiveRestartIndex, 811, PrimitiveRestartIndex@4, PrimitiveRestartIndexNV, PrimitiveRestartIndexNV@4)
|
||||
GL_STUB_ALIAS(BlendEquationSeparate, 814, BlendEquationSeparate@8, _dispatch_stub_814, _dispatch_stub_814@8)
|
||||
GL_STUB_ALIAS(BindFramebuffer, 815, BindFramebuffer@8, BindFramebufferEXT, BindFramebufferEXT@8)
|
||||
GL_STUB_ALIAS(BindRenderbuffer, 816, BindRenderbuffer@8, BindRenderbufferEXT, BindRenderbufferEXT@8)
|
||||
GL_STUB_ALIAS(CheckFramebufferStatus, 817, CheckFramebufferStatus@4, CheckFramebufferStatusEXT, CheckFramebufferStatusEXT@4)
|
||||
GL_STUB_ALIAS(DeleteFramebuffers, 818, DeleteFramebuffers@8, DeleteFramebuffersEXT, DeleteFramebuffersEXT@8)
|
||||
GL_STUB_ALIAS(DeleteRenderbuffers, 819, DeleteRenderbuffers@8, DeleteRenderbuffersEXT, DeleteRenderbuffersEXT@8)
|
||||
GL_STUB_ALIAS(FramebufferRenderbuffer, 820, FramebufferRenderbuffer@16, FramebufferRenderbufferEXT, FramebufferRenderbufferEXT@16)
|
||||
GL_STUB_ALIAS(FramebufferTexture1D, 821, FramebufferTexture1D@20, FramebufferTexture1DEXT, FramebufferTexture1DEXT@20)
|
||||
GL_STUB_ALIAS(FramebufferTexture2D, 822, FramebufferTexture2D@20, FramebufferTexture2DEXT, FramebufferTexture2DEXT@20)
|
||||
GL_STUB_ALIAS(FramebufferTexture3D, 823, FramebufferTexture3D@24, FramebufferTexture3DEXT, FramebufferTexture3DEXT@24)
|
||||
GL_STUB_ALIAS(GenFramebuffers, 824, GenFramebuffers@8, GenFramebuffersEXT, GenFramebuffersEXT@8)
|
||||
GL_STUB_ALIAS(GenRenderbuffers, 825, GenRenderbuffers@8, GenRenderbuffersEXT, GenRenderbuffersEXT@8)
|
||||
GL_STUB_ALIAS(GenerateMipmap, 826, GenerateMipmap@4, GenerateMipmapEXT, GenerateMipmapEXT@4)
|
||||
GL_STUB_ALIAS(GetFramebufferAttachmentParameteriv, 827, GetFramebufferAttachmentParameteriv@16, GetFramebufferAttachmentParameterivEXT, GetFramebufferAttachmentParameterivEXT@16)
|
||||
GL_STUB_ALIAS(GetRenderbufferParameteriv, 828, GetRenderbufferParameteriv@12, GetRenderbufferParameterivEXT, GetRenderbufferParameterivEXT@12)
|
||||
GL_STUB_ALIAS(IsFramebuffer, 829, IsFramebuffer@4, IsFramebufferEXT, IsFramebufferEXT@4)
|
||||
GL_STUB_ALIAS(IsRenderbuffer, 830, IsRenderbuffer@4, IsRenderbufferEXT, IsRenderbufferEXT@4)
|
||||
GL_STUB_ALIAS(RenderbufferStorage, 831, RenderbufferStorage@16, RenderbufferStorageEXT, RenderbufferStorageEXT@16)
|
||||
GL_STUB_ALIAS(BlitFramebuffer, 832, BlitFramebuffer@40, _dispatch_stub_832, _dispatch_stub_832@40)
|
||||
GL_STUB_ALIAS(BindFragDataLocation, 835, BindFragDataLocation@12, BindFragDataLocationEXT, BindFragDataLocationEXT@12)
|
||||
GL_STUB_ALIAS(GetFragDataLocation, 836, GetFragDataLocation@8, GetFragDataLocationEXT, GetFragDataLocationEXT@8)
|
||||
GL_STUB_ALIAS(GetUniformuiv, 837, GetUniformuiv@12, GetUniformuivEXT, GetUniformuivEXT@12)
|
||||
GL_STUB_ALIAS(GetVertexAttribIiv, 838, GetVertexAttribIiv@12, GetVertexAttribIivEXT, GetVertexAttribIivEXT@12)
|
||||
GL_STUB_ALIAS(GetVertexAttribIuiv, 839, GetVertexAttribIuiv@12, GetVertexAttribIuivEXT, GetVertexAttribIuivEXT@12)
|
||||
GL_STUB_ALIAS(Uniform1ui, 840, Uniform1ui@8, Uniform1uiEXT, Uniform1uiEXT@8)
|
||||
GL_STUB_ALIAS(Uniform1uiv, 841, Uniform1uiv@12, Uniform1uivEXT, Uniform1uivEXT@12)
|
||||
GL_STUB_ALIAS(Uniform2ui, 842, Uniform2ui@12, Uniform2uiEXT, Uniform2uiEXT@12)
|
||||
GL_STUB_ALIAS(Uniform2uiv, 843, Uniform2uiv@12, Uniform2uivEXT, Uniform2uivEXT@12)
|
||||
GL_STUB_ALIAS(Uniform3ui, 844, Uniform3ui@16, Uniform3uiEXT, Uniform3uiEXT@16)
|
||||
GL_STUB_ALIAS(Uniform3uiv, 845, Uniform3uiv@12, Uniform3uivEXT, Uniform3uivEXT@12)
|
||||
GL_STUB_ALIAS(Uniform4ui, 846, Uniform4ui@20, Uniform4uiEXT, Uniform4uiEXT@20)
|
||||
GL_STUB_ALIAS(Uniform4uiv, 847, Uniform4uiv@12, Uniform4uivEXT, Uniform4uivEXT@12)
|
||||
GL_STUB_ALIAS(VertexAttribI1i, 848, VertexAttribI1i@8, VertexAttribI1iEXT, VertexAttribI1iEXT@8)
|
||||
GL_STUB_ALIAS(VertexAttribI1iv, 849, VertexAttribI1iv@8, VertexAttribI1ivEXT, VertexAttribI1ivEXT@8)
|
||||
GL_STUB_ALIAS(VertexAttribI1ui, 850, VertexAttribI1ui@8, VertexAttribI1uiEXT, VertexAttribI1uiEXT@8)
|
||||
GL_STUB_ALIAS(VertexAttribI1uiv, 851, VertexAttribI1uiv@8, VertexAttribI1uivEXT, VertexAttribI1uivEXT@8)
|
||||
GL_STUB_ALIAS(VertexAttribI2i, 852, VertexAttribI2i@12, VertexAttribI2iEXT, VertexAttribI2iEXT@12)
|
||||
GL_STUB_ALIAS(VertexAttribI2iv, 853, VertexAttribI2iv@8, VertexAttribI2ivEXT, VertexAttribI2ivEXT@8)
|
||||
GL_STUB_ALIAS(VertexAttribI2ui, 854, VertexAttribI2ui@12, VertexAttribI2uiEXT, VertexAttribI2uiEXT@12)
|
||||
GL_STUB_ALIAS(VertexAttribI2uiv, 855, VertexAttribI2uiv@8, VertexAttribI2uivEXT, VertexAttribI2uivEXT@8)
|
||||
GL_STUB_ALIAS(VertexAttribI3i, 856, VertexAttribI3i@16, VertexAttribI3iEXT, VertexAttribI3iEXT@16)
|
||||
GL_STUB_ALIAS(VertexAttribI3iv, 857, VertexAttribI3iv@8, VertexAttribI3ivEXT, VertexAttribI3ivEXT@8)
|
||||
GL_STUB_ALIAS(VertexAttribI3ui, 858, VertexAttribI3ui@16, VertexAttribI3uiEXT, VertexAttribI3uiEXT@16)
|
||||
GL_STUB_ALIAS(VertexAttribI3uiv, 859, VertexAttribI3uiv@8, VertexAttribI3uivEXT, VertexAttribI3uivEXT@8)
|
||||
GL_STUB_ALIAS(VertexAttribI4bv, 860, VertexAttribI4bv@8, VertexAttribI4bvEXT, VertexAttribI4bvEXT@8)
|
||||
GL_STUB_ALIAS(VertexAttribI4i, 861, VertexAttribI4i@20, VertexAttribI4iEXT, VertexAttribI4iEXT@20)
|
||||
GL_STUB_ALIAS(VertexAttribI4iv, 862, VertexAttribI4iv@8, VertexAttribI4ivEXT, VertexAttribI4ivEXT@8)
|
||||
GL_STUB_ALIAS(VertexAttribI4sv, 863, VertexAttribI4sv@8, VertexAttribI4svEXT, VertexAttribI4svEXT@8)
|
||||
GL_STUB_ALIAS(VertexAttribI4ubv, 864, VertexAttribI4ubv@8, VertexAttribI4ubvEXT, VertexAttribI4ubvEXT@8)
|
||||
GL_STUB_ALIAS(VertexAttribI4ui, 865, VertexAttribI4ui@20, VertexAttribI4uiEXT, VertexAttribI4uiEXT@20)
|
||||
GL_STUB_ALIAS(VertexAttribI4uiv, 866, VertexAttribI4uiv@8, VertexAttribI4uivEXT, VertexAttribI4uivEXT@8)
|
||||
GL_STUB_ALIAS(VertexAttribI4usv, 867, VertexAttribI4usv@8, VertexAttribI4usvEXT, VertexAttribI4usvEXT@8)
|
||||
GL_STUB_ALIAS(VertexAttribIPointer, 868, VertexAttribIPointer@20, VertexAttribIPointerEXT, VertexAttribIPointerEXT@20)
|
||||
GL_STUB_ALIAS(FramebufferTextureLayer, 869, FramebufferTextureLayer@20, FramebufferTextureLayerEXT, FramebufferTextureLayerEXT@20)
|
||||
GL_STUB_ALIAS(ColorMaski, 870, ColorMaski@20, ColorMaskIndexedEXT, ColorMaskIndexedEXT@20)
|
||||
GL_STUB_ALIAS(Disablei, 871, Disablei@8, DisableIndexedEXT, DisableIndexedEXT@8)
|
||||
GL_STUB_ALIAS(Enablei, 872, Enablei@8, EnableIndexedEXT, EnableIndexedEXT@8)
|
||||
GL_STUB_ALIAS(GetBooleani_v, 873, GetBooleani_v@12, GetBooleanIndexedvEXT, GetBooleanIndexedvEXT@12)
|
||||
GL_STUB_ALIAS(GetIntegeri_v, 874, GetIntegeri_v@12, GetIntegerIndexedvEXT, GetIntegerIndexedvEXT@12)
|
||||
GL_STUB_ALIAS(IsEnabledi, 875, IsEnabledi@8, IsEnabledIndexedEXT, IsEnabledIndexedEXT@8)
|
||||
GL_STUB_ALIAS(GetTexParameterIiv, 878, GetTexParameterIiv@12, GetTexParameterIivEXT, GetTexParameterIivEXT@12)
|
||||
GL_STUB_ALIAS(GetTexParameterIuiv, 879, GetTexParameterIuiv@12, GetTexParameterIuivEXT, GetTexParameterIuivEXT@12)
|
||||
GL_STUB_ALIAS(TexParameterIiv, 880, TexParameterIiv@12, TexParameterIivEXT, TexParameterIivEXT@12)
|
||||
GL_STUB_ALIAS(TexParameterIuiv, 881, TexParameterIuiv@12, TexParameterIuivEXT, TexParameterIuivEXT@12)
|
||||
GL_STUB_ALIAS(BeginConditionalRender, 882, BeginConditionalRender@8, BeginConditionalRenderNV, BeginConditionalRenderNV@8)
|
||||
GL_STUB_ALIAS(EndConditionalRender, 883, EndConditionalRender@0, EndConditionalRenderNV, EndConditionalRenderNV@0)
|
||||
GL_STUB_ALIAS(BeginTransformFeedback, 884, BeginTransformFeedback@4, BeginTransformFeedbackEXT, BeginTransformFeedbackEXT@4)
|
||||
GL_STUB_ALIAS(BindBufferBase, 885, BindBufferBase@12, BindBufferBaseEXT, BindBufferBaseEXT@12)
|
||||
GL_STUB_ALIAS(BindBufferRange, 887, BindBufferRange@20, BindBufferRangeEXT, BindBufferRangeEXT@20)
|
||||
GL_STUB_ALIAS(EndTransformFeedback, 888, EndTransformFeedback@0, EndTransformFeedbackEXT, EndTransformFeedbackEXT@0)
|
||||
GL_STUB_ALIAS(GetTransformFeedbackVarying, 889, GetTransformFeedbackVarying@28, GetTransformFeedbackVaryingEXT, GetTransformFeedbackVaryingEXT@28)
|
||||
GL_STUB_ALIAS(TransformFeedbackVaryings, 890, TransformFeedbackVaryings@16, TransformFeedbackVaryingsEXT, TransformFeedbackVaryingsEXT@16)
|
||||
GL_STUB_ALIAS(ProvokingVertex, 891, ProvokingVertex@4, ProvokingVertexEXT, ProvokingVertexEXT@4)
|
||||
|
||||
GLOBL GLNAME(gl_dispatch_functions_end)
|
||||
HIDDEN(GLNAME(gl_dispatch_functions_end))
|
||||
|
|
|
|||
|
|
@ -640,300 +640,314 @@ struct _glapi_table
|
|||
void (GLAPIENTRYP BlendEquationiARB)(GLuint buf, GLenum mode); /* 597 */
|
||||
void (GLAPIENTRYP BlendFuncSeparateiARB)(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcA, GLenum dstA); /* 598 */
|
||||
void (GLAPIENTRYP BlendFunciARB)(GLuint buf, GLenum src, GLenum dst); /* 599 */
|
||||
void (GLAPIENTRYP BindTransformFeedback)(GLenum target, GLuint id); /* 600 */
|
||||
void (GLAPIENTRYP DeleteTransformFeedbacks)(GLsizei n, const GLuint * ids); /* 601 */
|
||||
void (GLAPIENTRYP DrawTransformFeedback)(GLenum mode, GLuint id); /* 602 */
|
||||
void (GLAPIENTRYP GenTransformFeedbacks)(GLsizei n, GLuint * ids); /* 603 */
|
||||
GLboolean (GLAPIENTRYP IsTransformFeedback)(GLuint id); /* 604 */
|
||||
void (GLAPIENTRYP PauseTransformFeedback)(void); /* 605 */
|
||||
void (GLAPIENTRYP ResumeTransformFeedback)(void); /* 606 */
|
||||
void (GLAPIENTRYP ClearDepthf)(GLclampf depth); /* 607 */
|
||||
void (GLAPIENTRYP DepthRangef)(GLclampf zNear, GLclampf zFar); /* 608 */
|
||||
void (GLAPIENTRYP GetShaderPrecisionFormat)(GLenum shadertype, GLenum precisiontype, GLint * range, GLint * precision); /* 609 */
|
||||
void (GLAPIENTRYP ReleaseShaderCompiler)(void); /* 610 */
|
||||
void (GLAPIENTRYP ShaderBinary)(GLsizei n, const GLuint * shaders, GLenum binaryformat, const GLvoid * binary, GLsizei length); /* 611 */
|
||||
void (GLAPIENTRYP PolygonOffsetEXT)(GLfloat factor, GLfloat bias); /* 612 */
|
||||
void (GLAPIENTRYP GetPixelTexGenParameterfvSGIS)(GLenum pname, GLfloat * params); /* 613 */
|
||||
void (GLAPIENTRYP GetPixelTexGenParameterivSGIS)(GLenum pname, GLint * params); /* 614 */
|
||||
void (GLAPIENTRYP PixelTexGenParameterfSGIS)(GLenum pname, GLfloat param); /* 615 */
|
||||
void (GLAPIENTRYP PixelTexGenParameterfvSGIS)(GLenum pname, const GLfloat * params); /* 616 */
|
||||
void (GLAPIENTRYP PixelTexGenParameteriSGIS)(GLenum pname, GLint param); /* 617 */
|
||||
void (GLAPIENTRYP PixelTexGenParameterivSGIS)(GLenum pname, const GLint * params); /* 618 */
|
||||
void (GLAPIENTRYP SampleMaskSGIS)(GLclampf value, GLboolean invert); /* 619 */
|
||||
void (GLAPIENTRYP SamplePatternSGIS)(GLenum pattern); /* 620 */
|
||||
void (GLAPIENTRYP ColorPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer); /* 621 */
|
||||
void (GLAPIENTRYP EdgeFlagPointerEXT)(GLsizei stride, GLsizei count, const GLboolean * pointer); /* 622 */
|
||||
void (GLAPIENTRYP IndexPointerEXT)(GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer); /* 623 */
|
||||
void (GLAPIENTRYP NormalPointerEXT)(GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer); /* 624 */
|
||||
void (GLAPIENTRYP TexCoordPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer); /* 625 */
|
||||
void (GLAPIENTRYP VertexPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer); /* 626 */
|
||||
void (GLAPIENTRYP PointParameterfEXT)(GLenum pname, GLfloat param); /* 627 */
|
||||
void (GLAPIENTRYP PointParameterfvEXT)(GLenum pname, const GLfloat * params); /* 628 */
|
||||
void (GLAPIENTRYP LockArraysEXT)(GLint first, GLsizei count); /* 629 */
|
||||
void (GLAPIENTRYP UnlockArraysEXT)(void); /* 630 */
|
||||
void (GLAPIENTRYP SecondaryColor3bEXT)(GLbyte red, GLbyte green, GLbyte blue); /* 631 */
|
||||
void (GLAPIENTRYP SecondaryColor3bvEXT)(const GLbyte * v); /* 632 */
|
||||
void (GLAPIENTRYP SecondaryColor3dEXT)(GLdouble red, GLdouble green, GLdouble blue); /* 633 */
|
||||
void (GLAPIENTRYP SecondaryColor3dvEXT)(const GLdouble * v); /* 634 */
|
||||
void (GLAPIENTRYP SecondaryColor3fEXT)(GLfloat red, GLfloat green, GLfloat blue); /* 635 */
|
||||
void (GLAPIENTRYP SecondaryColor3fvEXT)(const GLfloat * v); /* 636 */
|
||||
void (GLAPIENTRYP SecondaryColor3iEXT)(GLint red, GLint green, GLint blue); /* 637 */
|
||||
void (GLAPIENTRYP SecondaryColor3ivEXT)(const GLint * v); /* 638 */
|
||||
void (GLAPIENTRYP SecondaryColor3sEXT)(GLshort red, GLshort green, GLshort blue); /* 639 */
|
||||
void (GLAPIENTRYP SecondaryColor3svEXT)(const GLshort * v); /* 640 */
|
||||
void (GLAPIENTRYP SecondaryColor3ubEXT)(GLubyte red, GLubyte green, GLubyte blue); /* 641 */
|
||||
void (GLAPIENTRYP SecondaryColor3ubvEXT)(const GLubyte * v); /* 642 */
|
||||
void (GLAPIENTRYP SecondaryColor3uiEXT)(GLuint red, GLuint green, GLuint blue); /* 643 */
|
||||
void (GLAPIENTRYP SecondaryColor3uivEXT)(const GLuint * v); /* 644 */
|
||||
void (GLAPIENTRYP SecondaryColor3usEXT)(GLushort red, GLushort green, GLushort blue); /* 645 */
|
||||
void (GLAPIENTRYP SecondaryColor3usvEXT)(const GLushort * v); /* 646 */
|
||||
void (GLAPIENTRYP SecondaryColorPointerEXT)(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); /* 647 */
|
||||
void (GLAPIENTRYP MultiDrawArraysEXT)(GLenum mode, const GLint * first, const GLsizei * count, GLsizei primcount); /* 648 */
|
||||
void (GLAPIENTRYP MultiDrawElementsEXT)(GLenum mode, const GLsizei * count, GLenum type, const GLvoid ** indices, GLsizei primcount); /* 649 */
|
||||
void (GLAPIENTRYP FogCoordPointerEXT)(GLenum type, GLsizei stride, const GLvoid * pointer); /* 650 */
|
||||
void (GLAPIENTRYP FogCoorddEXT)(GLdouble coord); /* 651 */
|
||||
void (GLAPIENTRYP FogCoorddvEXT)(const GLdouble * coord); /* 652 */
|
||||
void (GLAPIENTRYP FogCoordfEXT)(GLfloat coord); /* 653 */
|
||||
void (GLAPIENTRYP FogCoordfvEXT)(const GLfloat * coord); /* 654 */
|
||||
void (GLAPIENTRYP PixelTexGenSGIX)(GLenum mode); /* 655 */
|
||||
void (GLAPIENTRYP BlendFuncSeparateEXT)(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); /* 656 */
|
||||
void (GLAPIENTRYP FlushVertexArrayRangeNV)(void); /* 657 */
|
||||
void (GLAPIENTRYP VertexArrayRangeNV)(GLsizei length, const GLvoid * pointer); /* 658 */
|
||||
void (GLAPIENTRYP CombinerInputNV)(GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); /* 659 */
|
||||
void (GLAPIENTRYP CombinerOutputNV)(GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum); /* 660 */
|
||||
void (GLAPIENTRYP CombinerParameterfNV)(GLenum pname, GLfloat param); /* 661 */
|
||||
void (GLAPIENTRYP CombinerParameterfvNV)(GLenum pname, const GLfloat * params); /* 662 */
|
||||
void (GLAPIENTRYP CombinerParameteriNV)(GLenum pname, GLint param); /* 663 */
|
||||
void (GLAPIENTRYP CombinerParameterivNV)(GLenum pname, const GLint * params); /* 664 */
|
||||
void (GLAPIENTRYP FinalCombinerInputNV)(GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); /* 665 */
|
||||
void (GLAPIENTRYP GetCombinerInputParameterfvNV)(GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat * params); /* 666 */
|
||||
void (GLAPIENTRYP GetCombinerInputParameterivNV)(GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint * params); /* 667 */
|
||||
void (GLAPIENTRYP GetCombinerOutputParameterfvNV)(GLenum stage, GLenum portion, GLenum pname, GLfloat * params); /* 668 */
|
||||
void (GLAPIENTRYP GetCombinerOutputParameterivNV)(GLenum stage, GLenum portion, GLenum pname, GLint * params); /* 669 */
|
||||
void (GLAPIENTRYP GetFinalCombinerInputParameterfvNV)(GLenum variable, GLenum pname, GLfloat * params); /* 670 */
|
||||
void (GLAPIENTRYP GetFinalCombinerInputParameterivNV)(GLenum variable, GLenum pname, GLint * params); /* 671 */
|
||||
void (GLAPIENTRYP ResizeBuffersMESA)(void); /* 672 */
|
||||
void (GLAPIENTRYP WindowPos2dMESA)(GLdouble x, GLdouble y); /* 673 */
|
||||
void (GLAPIENTRYP WindowPos2dvMESA)(const GLdouble * v); /* 674 */
|
||||
void (GLAPIENTRYP WindowPos2fMESA)(GLfloat x, GLfloat y); /* 675 */
|
||||
void (GLAPIENTRYP WindowPos2fvMESA)(const GLfloat * v); /* 676 */
|
||||
void (GLAPIENTRYP WindowPos2iMESA)(GLint x, GLint y); /* 677 */
|
||||
void (GLAPIENTRYP WindowPos2ivMESA)(const GLint * v); /* 678 */
|
||||
void (GLAPIENTRYP WindowPos2sMESA)(GLshort x, GLshort y); /* 679 */
|
||||
void (GLAPIENTRYP WindowPos2svMESA)(const GLshort * v); /* 680 */
|
||||
void (GLAPIENTRYP WindowPos3dMESA)(GLdouble x, GLdouble y, GLdouble z); /* 681 */
|
||||
void (GLAPIENTRYP WindowPos3dvMESA)(const GLdouble * v); /* 682 */
|
||||
void (GLAPIENTRYP WindowPos3fMESA)(GLfloat x, GLfloat y, GLfloat z); /* 683 */
|
||||
void (GLAPIENTRYP WindowPos3fvMESA)(const GLfloat * v); /* 684 */
|
||||
void (GLAPIENTRYP WindowPos3iMESA)(GLint x, GLint y, GLint z); /* 685 */
|
||||
void (GLAPIENTRYP WindowPos3ivMESA)(const GLint * v); /* 686 */
|
||||
void (GLAPIENTRYP WindowPos3sMESA)(GLshort x, GLshort y, GLshort z); /* 687 */
|
||||
void (GLAPIENTRYP WindowPos3svMESA)(const GLshort * v); /* 688 */
|
||||
void (GLAPIENTRYP WindowPos4dMESA)(GLdouble x, GLdouble y, GLdouble z, GLdouble w); /* 689 */
|
||||
void (GLAPIENTRYP WindowPos4dvMESA)(const GLdouble * v); /* 690 */
|
||||
void (GLAPIENTRYP WindowPos4fMESA)(GLfloat x, GLfloat y, GLfloat z, GLfloat w); /* 691 */
|
||||
void (GLAPIENTRYP WindowPos4fvMESA)(const GLfloat * v); /* 692 */
|
||||
void (GLAPIENTRYP WindowPos4iMESA)(GLint x, GLint y, GLint z, GLint w); /* 693 */
|
||||
void (GLAPIENTRYP WindowPos4ivMESA)(const GLint * v); /* 694 */
|
||||
void (GLAPIENTRYP WindowPos4sMESA)(GLshort x, GLshort y, GLshort z, GLshort w); /* 695 */
|
||||
void (GLAPIENTRYP WindowPos4svMESA)(const GLshort * v); /* 696 */
|
||||
void (GLAPIENTRYP MultiModeDrawArraysIBM)(const GLenum * mode, const GLint * first, const GLsizei * count, GLsizei primcount, GLint modestride); /* 697 */
|
||||
void (GLAPIENTRYP MultiModeDrawElementsIBM)(const GLenum * mode, const GLsizei * count, GLenum type, const GLvoid * const * indices, GLsizei primcount, GLint modestride); /* 698 */
|
||||
void (GLAPIENTRYP DeleteFencesNV)(GLsizei n, const GLuint * fences); /* 699 */
|
||||
void (GLAPIENTRYP FinishFenceNV)(GLuint fence); /* 700 */
|
||||
void (GLAPIENTRYP GenFencesNV)(GLsizei n, GLuint * fences); /* 701 */
|
||||
void (GLAPIENTRYP GetFenceivNV)(GLuint fence, GLenum pname, GLint * params); /* 702 */
|
||||
GLboolean (GLAPIENTRYP IsFenceNV)(GLuint fence); /* 703 */
|
||||
void (GLAPIENTRYP SetFenceNV)(GLuint fence, GLenum condition); /* 704 */
|
||||
GLboolean (GLAPIENTRYP TestFenceNV)(GLuint fence); /* 705 */
|
||||
GLboolean (GLAPIENTRYP AreProgramsResidentNV)(GLsizei n, const GLuint * ids, GLboolean * residences); /* 706 */
|
||||
void (GLAPIENTRYP BindProgramNV)(GLenum target, GLuint program); /* 707 */
|
||||
void (GLAPIENTRYP DeleteProgramsNV)(GLsizei n, const GLuint * programs); /* 708 */
|
||||
void (GLAPIENTRYP ExecuteProgramNV)(GLenum target, GLuint id, const GLfloat * params); /* 709 */
|
||||
void (GLAPIENTRYP GenProgramsNV)(GLsizei n, GLuint * programs); /* 710 */
|
||||
void (GLAPIENTRYP GetProgramParameterdvNV)(GLenum target, GLuint index, GLenum pname, GLdouble * params); /* 711 */
|
||||
void (GLAPIENTRYP GetProgramParameterfvNV)(GLenum target, GLuint index, GLenum pname, GLfloat * params); /* 712 */
|
||||
void (GLAPIENTRYP GetProgramStringNV)(GLuint id, GLenum pname, GLubyte * program); /* 713 */
|
||||
void (GLAPIENTRYP GetProgramivNV)(GLuint id, GLenum pname, GLint * params); /* 714 */
|
||||
void (GLAPIENTRYP GetTrackMatrixivNV)(GLenum target, GLuint address, GLenum pname, GLint * params); /* 715 */
|
||||
void (GLAPIENTRYP GetVertexAttribPointervNV)(GLuint index, GLenum pname, GLvoid ** pointer); /* 716 */
|
||||
void (GLAPIENTRYP GetVertexAttribdvNV)(GLuint index, GLenum pname, GLdouble * params); /* 717 */
|
||||
void (GLAPIENTRYP GetVertexAttribfvNV)(GLuint index, GLenum pname, GLfloat * params); /* 718 */
|
||||
void (GLAPIENTRYP GetVertexAttribivNV)(GLuint index, GLenum pname, GLint * params); /* 719 */
|
||||
GLboolean (GLAPIENTRYP IsProgramNV)(GLuint program); /* 720 */
|
||||
void (GLAPIENTRYP LoadProgramNV)(GLenum target, GLuint id, GLsizei len, const GLubyte * program); /* 721 */
|
||||
void (GLAPIENTRYP ProgramParameters4dvNV)(GLenum target, GLuint index, GLsizei num, const GLdouble * params); /* 722 */
|
||||
void (GLAPIENTRYP ProgramParameters4fvNV)(GLenum target, GLuint index, GLsizei num, const GLfloat * params); /* 723 */
|
||||
void (GLAPIENTRYP RequestResidentProgramsNV)(GLsizei n, const GLuint * ids); /* 724 */
|
||||
void (GLAPIENTRYP TrackMatrixNV)(GLenum target, GLuint address, GLenum matrix, GLenum transform); /* 725 */
|
||||
void (GLAPIENTRYP VertexAttrib1dNV)(GLuint index, GLdouble x); /* 726 */
|
||||
void (GLAPIENTRYP VertexAttrib1dvNV)(GLuint index, const GLdouble * v); /* 727 */
|
||||
void (GLAPIENTRYP VertexAttrib1fNV)(GLuint index, GLfloat x); /* 728 */
|
||||
void (GLAPIENTRYP VertexAttrib1fvNV)(GLuint index, const GLfloat * v); /* 729 */
|
||||
void (GLAPIENTRYP VertexAttrib1sNV)(GLuint index, GLshort x); /* 730 */
|
||||
void (GLAPIENTRYP VertexAttrib1svNV)(GLuint index, const GLshort * v); /* 731 */
|
||||
void (GLAPIENTRYP VertexAttrib2dNV)(GLuint index, GLdouble x, GLdouble y); /* 732 */
|
||||
void (GLAPIENTRYP VertexAttrib2dvNV)(GLuint index, const GLdouble * v); /* 733 */
|
||||
void (GLAPIENTRYP VertexAttrib2fNV)(GLuint index, GLfloat x, GLfloat y); /* 734 */
|
||||
void (GLAPIENTRYP VertexAttrib2fvNV)(GLuint index, const GLfloat * v); /* 735 */
|
||||
void (GLAPIENTRYP VertexAttrib2sNV)(GLuint index, GLshort x, GLshort y); /* 736 */
|
||||
void (GLAPIENTRYP VertexAttrib2svNV)(GLuint index, const GLshort * v); /* 737 */
|
||||
void (GLAPIENTRYP VertexAttrib3dNV)(GLuint index, GLdouble x, GLdouble y, GLdouble z); /* 738 */
|
||||
void (GLAPIENTRYP VertexAttrib3dvNV)(GLuint index, const GLdouble * v); /* 739 */
|
||||
void (GLAPIENTRYP VertexAttrib3fNV)(GLuint index, GLfloat x, GLfloat y, GLfloat z); /* 740 */
|
||||
void (GLAPIENTRYP VertexAttrib3fvNV)(GLuint index, const GLfloat * v); /* 741 */
|
||||
void (GLAPIENTRYP VertexAttrib3sNV)(GLuint index, GLshort x, GLshort y, GLshort z); /* 742 */
|
||||
void (GLAPIENTRYP VertexAttrib3svNV)(GLuint index, const GLshort * v); /* 743 */
|
||||
void (GLAPIENTRYP VertexAttrib4dNV)(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); /* 744 */
|
||||
void (GLAPIENTRYP VertexAttrib4dvNV)(GLuint index, const GLdouble * v); /* 745 */
|
||||
void (GLAPIENTRYP VertexAttrib4fNV)(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); /* 746 */
|
||||
void (GLAPIENTRYP VertexAttrib4fvNV)(GLuint index, const GLfloat * v); /* 747 */
|
||||
void (GLAPIENTRYP VertexAttrib4sNV)(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); /* 748 */
|
||||
void (GLAPIENTRYP VertexAttrib4svNV)(GLuint index, const GLshort * v); /* 749 */
|
||||
void (GLAPIENTRYP VertexAttrib4ubNV)(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); /* 750 */
|
||||
void (GLAPIENTRYP VertexAttrib4ubvNV)(GLuint index, const GLubyte * v); /* 751 */
|
||||
void (GLAPIENTRYP VertexAttribPointerNV)(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); /* 752 */
|
||||
void (GLAPIENTRYP VertexAttribs1dvNV)(GLuint index, GLsizei n, const GLdouble * v); /* 753 */
|
||||
void (GLAPIENTRYP VertexAttribs1fvNV)(GLuint index, GLsizei n, const GLfloat * v); /* 754 */
|
||||
void (GLAPIENTRYP VertexAttribs1svNV)(GLuint index, GLsizei n, const GLshort * v); /* 755 */
|
||||
void (GLAPIENTRYP VertexAttribs2dvNV)(GLuint index, GLsizei n, const GLdouble * v); /* 756 */
|
||||
void (GLAPIENTRYP VertexAttribs2fvNV)(GLuint index, GLsizei n, const GLfloat * v); /* 757 */
|
||||
void (GLAPIENTRYP VertexAttribs2svNV)(GLuint index, GLsizei n, const GLshort * v); /* 758 */
|
||||
void (GLAPIENTRYP VertexAttribs3dvNV)(GLuint index, GLsizei n, const GLdouble * v); /* 759 */
|
||||
void (GLAPIENTRYP VertexAttribs3fvNV)(GLuint index, GLsizei n, const GLfloat * v); /* 760 */
|
||||
void (GLAPIENTRYP VertexAttribs3svNV)(GLuint index, GLsizei n, const GLshort * v); /* 761 */
|
||||
void (GLAPIENTRYP VertexAttribs4dvNV)(GLuint index, GLsizei n, const GLdouble * v); /* 762 */
|
||||
void (GLAPIENTRYP VertexAttribs4fvNV)(GLuint index, GLsizei n, const GLfloat * v); /* 763 */
|
||||
void (GLAPIENTRYP VertexAttribs4svNV)(GLuint index, GLsizei n, const GLshort * v); /* 764 */
|
||||
void (GLAPIENTRYP VertexAttribs4ubvNV)(GLuint index, GLsizei n, const GLubyte * v); /* 765 */
|
||||
void (GLAPIENTRYP GetTexBumpParameterfvATI)(GLenum pname, GLfloat * param); /* 766 */
|
||||
void (GLAPIENTRYP GetTexBumpParameterivATI)(GLenum pname, GLint * param); /* 767 */
|
||||
void (GLAPIENTRYP TexBumpParameterfvATI)(GLenum pname, const GLfloat * param); /* 768 */
|
||||
void (GLAPIENTRYP TexBumpParameterivATI)(GLenum pname, const GLint * param); /* 769 */
|
||||
void (GLAPIENTRYP AlphaFragmentOp1ATI)(GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); /* 770 */
|
||||
void (GLAPIENTRYP AlphaFragmentOp2ATI)(GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); /* 771 */
|
||||
void (GLAPIENTRYP AlphaFragmentOp3ATI)(GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); /* 772 */
|
||||
void (GLAPIENTRYP BeginFragmentShaderATI)(void); /* 773 */
|
||||
void (GLAPIENTRYP BindFragmentShaderATI)(GLuint id); /* 774 */
|
||||
void (GLAPIENTRYP ColorFragmentOp1ATI)(GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); /* 775 */
|
||||
void (GLAPIENTRYP ColorFragmentOp2ATI)(GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); /* 776 */
|
||||
void (GLAPIENTRYP ColorFragmentOp3ATI)(GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); /* 777 */
|
||||
void (GLAPIENTRYP DeleteFragmentShaderATI)(GLuint id); /* 778 */
|
||||
void (GLAPIENTRYP EndFragmentShaderATI)(void); /* 779 */
|
||||
GLuint (GLAPIENTRYP GenFragmentShadersATI)(GLuint range); /* 780 */
|
||||
void (GLAPIENTRYP PassTexCoordATI)(GLuint dst, GLuint coord, GLenum swizzle); /* 781 */
|
||||
void (GLAPIENTRYP SampleMapATI)(GLuint dst, GLuint interp, GLenum swizzle); /* 782 */
|
||||
void (GLAPIENTRYP SetFragmentShaderConstantATI)(GLuint dst, const GLfloat * value); /* 783 */
|
||||
void (GLAPIENTRYP PointParameteriNV)(GLenum pname, GLint param); /* 784 */
|
||||
void (GLAPIENTRYP PointParameterivNV)(GLenum pname, const GLint * params); /* 785 */
|
||||
void (GLAPIENTRYP ActiveStencilFaceEXT)(GLenum face); /* 786 */
|
||||
void (GLAPIENTRYP BindVertexArrayAPPLE)(GLuint array); /* 787 */
|
||||
void (GLAPIENTRYP DeleteVertexArraysAPPLE)(GLsizei n, const GLuint * arrays); /* 788 */
|
||||
void (GLAPIENTRYP GenVertexArraysAPPLE)(GLsizei n, GLuint * arrays); /* 789 */
|
||||
GLboolean (GLAPIENTRYP IsVertexArrayAPPLE)(GLuint array); /* 790 */
|
||||
void (GLAPIENTRYP GetProgramNamedParameterdvNV)(GLuint id, GLsizei len, const GLubyte * name, GLdouble * params); /* 791 */
|
||||
void (GLAPIENTRYP GetProgramNamedParameterfvNV)(GLuint id, GLsizei len, const GLubyte * name, GLfloat * params); /* 792 */
|
||||
void (GLAPIENTRYP ProgramNamedParameter4dNV)(GLuint id, GLsizei len, const GLubyte * name, GLdouble x, GLdouble y, GLdouble z, GLdouble w); /* 793 */
|
||||
void (GLAPIENTRYP ProgramNamedParameter4dvNV)(GLuint id, GLsizei len, const GLubyte * name, const GLdouble * v); /* 794 */
|
||||
void (GLAPIENTRYP ProgramNamedParameter4fNV)(GLuint id, GLsizei len, const GLubyte * name, GLfloat x, GLfloat y, GLfloat z, GLfloat w); /* 795 */
|
||||
void (GLAPIENTRYP ProgramNamedParameter4fvNV)(GLuint id, GLsizei len, const GLubyte * name, const GLfloat * v); /* 796 */
|
||||
void (GLAPIENTRYP PrimitiveRestartIndexNV)(GLuint index); /* 797 */
|
||||
void (GLAPIENTRYP PrimitiveRestartNV)(void); /* 798 */
|
||||
void (GLAPIENTRYP DepthBoundsEXT)(GLclampd zmin, GLclampd zmax); /* 799 */
|
||||
void (GLAPIENTRYP BlendEquationSeparateEXT)(GLenum modeRGB, GLenum modeA); /* 800 */
|
||||
void (GLAPIENTRYP BindFramebufferEXT)(GLenum target, GLuint framebuffer); /* 801 */
|
||||
void (GLAPIENTRYP BindRenderbufferEXT)(GLenum target, GLuint renderbuffer); /* 802 */
|
||||
GLenum (GLAPIENTRYP CheckFramebufferStatusEXT)(GLenum target); /* 803 */
|
||||
void (GLAPIENTRYP DeleteFramebuffersEXT)(GLsizei n, const GLuint * framebuffers); /* 804 */
|
||||
void (GLAPIENTRYP DeleteRenderbuffersEXT)(GLsizei n, const GLuint * renderbuffers); /* 805 */
|
||||
void (GLAPIENTRYP FramebufferRenderbufferEXT)(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); /* 806 */
|
||||
void (GLAPIENTRYP FramebufferTexture1DEXT)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); /* 807 */
|
||||
void (GLAPIENTRYP FramebufferTexture2DEXT)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); /* 808 */
|
||||
void (GLAPIENTRYP FramebufferTexture3DEXT)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); /* 809 */
|
||||
void (GLAPIENTRYP GenFramebuffersEXT)(GLsizei n, GLuint * framebuffers); /* 810 */
|
||||
void (GLAPIENTRYP GenRenderbuffersEXT)(GLsizei n, GLuint * renderbuffers); /* 811 */
|
||||
void (GLAPIENTRYP GenerateMipmapEXT)(GLenum target); /* 812 */
|
||||
void (GLAPIENTRYP GetFramebufferAttachmentParameterivEXT)(GLenum target, GLenum attachment, GLenum pname, GLint * params); /* 813 */
|
||||
void (GLAPIENTRYP GetRenderbufferParameterivEXT)(GLenum target, GLenum pname, GLint * params); /* 814 */
|
||||
GLboolean (GLAPIENTRYP IsFramebufferEXT)(GLuint framebuffer); /* 815 */
|
||||
GLboolean (GLAPIENTRYP IsRenderbufferEXT)(GLuint renderbuffer); /* 816 */
|
||||
void (GLAPIENTRYP RenderbufferStorageEXT)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); /* 817 */
|
||||
void (GLAPIENTRYP BlitFramebufferEXT)(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); /* 818 */
|
||||
void (GLAPIENTRYP BufferParameteriAPPLE)(GLenum target, GLenum pname, GLint param); /* 819 */
|
||||
void (GLAPIENTRYP FlushMappedBufferRangeAPPLE)(GLenum target, GLintptr offset, GLsizeiptr size); /* 820 */
|
||||
void (GLAPIENTRYP BindFragDataLocationEXT)(GLuint program, GLuint colorNumber, const GLchar * name); /* 821 */
|
||||
GLint (GLAPIENTRYP GetFragDataLocationEXT)(GLuint program, const GLchar * name); /* 822 */
|
||||
void (GLAPIENTRYP GetUniformuivEXT)(GLuint program, GLint location, GLuint * params); /* 823 */
|
||||
void (GLAPIENTRYP GetVertexAttribIivEXT)(GLuint index, GLenum pname, GLint * params); /* 824 */
|
||||
void (GLAPIENTRYP GetVertexAttribIuivEXT)(GLuint index, GLenum pname, GLuint * params); /* 825 */
|
||||
void (GLAPIENTRYP Uniform1uiEXT)(GLint location, GLuint x); /* 826 */
|
||||
void (GLAPIENTRYP Uniform1uivEXT)(GLint location, GLsizei count, const GLuint * value); /* 827 */
|
||||
void (GLAPIENTRYP Uniform2uiEXT)(GLint location, GLuint x, GLuint y); /* 828 */
|
||||
void (GLAPIENTRYP Uniform2uivEXT)(GLint location, GLsizei count, const GLuint * value); /* 829 */
|
||||
void (GLAPIENTRYP Uniform3uiEXT)(GLint location, GLuint x, GLuint y, GLuint z); /* 830 */
|
||||
void (GLAPIENTRYP Uniform3uivEXT)(GLint location, GLsizei count, const GLuint * value); /* 831 */
|
||||
void (GLAPIENTRYP Uniform4uiEXT)(GLint location, GLuint x, GLuint y, GLuint z, GLuint w); /* 832 */
|
||||
void (GLAPIENTRYP Uniform4uivEXT)(GLint location, GLsizei count, const GLuint * value); /* 833 */
|
||||
void (GLAPIENTRYP VertexAttribI1iEXT)(GLuint index, GLint x); /* 834 */
|
||||
void (GLAPIENTRYP VertexAttribI1ivEXT)(GLuint index, const GLint * v); /* 835 */
|
||||
void (GLAPIENTRYP VertexAttribI1uiEXT)(GLuint index, GLuint x); /* 836 */
|
||||
void (GLAPIENTRYP VertexAttribI1uivEXT)(GLuint index, const GLuint * v); /* 837 */
|
||||
void (GLAPIENTRYP VertexAttribI2iEXT)(GLuint index, GLint x, GLint y); /* 838 */
|
||||
void (GLAPIENTRYP VertexAttribI2ivEXT)(GLuint index, const GLint * v); /* 839 */
|
||||
void (GLAPIENTRYP VertexAttribI2uiEXT)(GLuint index, GLuint x, GLuint y); /* 840 */
|
||||
void (GLAPIENTRYP VertexAttribI2uivEXT)(GLuint index, const GLuint * v); /* 841 */
|
||||
void (GLAPIENTRYP VertexAttribI3iEXT)(GLuint index, GLint x, GLint y, GLint z); /* 842 */
|
||||
void (GLAPIENTRYP VertexAttribI3ivEXT)(GLuint index, const GLint * v); /* 843 */
|
||||
void (GLAPIENTRYP VertexAttribI3uiEXT)(GLuint index, GLuint x, GLuint y, GLuint z); /* 844 */
|
||||
void (GLAPIENTRYP VertexAttribI3uivEXT)(GLuint index, const GLuint * v); /* 845 */
|
||||
void (GLAPIENTRYP VertexAttribI4bvEXT)(GLuint index, const GLbyte * v); /* 846 */
|
||||
void (GLAPIENTRYP VertexAttribI4iEXT)(GLuint index, GLint x, GLint y, GLint z, GLint w); /* 847 */
|
||||
void (GLAPIENTRYP VertexAttribI4ivEXT)(GLuint index, const GLint * v); /* 848 */
|
||||
void (GLAPIENTRYP VertexAttribI4svEXT)(GLuint index, const GLshort * v); /* 849 */
|
||||
void (GLAPIENTRYP VertexAttribI4ubvEXT)(GLuint index, const GLubyte * v); /* 850 */
|
||||
void (GLAPIENTRYP VertexAttribI4uiEXT)(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); /* 851 */
|
||||
void (GLAPIENTRYP VertexAttribI4uivEXT)(GLuint index, const GLuint * v); /* 852 */
|
||||
void (GLAPIENTRYP VertexAttribI4usvEXT)(GLuint index, const GLushort * v); /* 853 */
|
||||
void (GLAPIENTRYP VertexAttribIPointerEXT)(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); /* 854 */
|
||||
void (GLAPIENTRYP FramebufferTextureLayerEXT)(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); /* 855 */
|
||||
void (GLAPIENTRYP ColorMaskIndexedEXT)(GLuint buf, GLboolean r, GLboolean g, GLboolean b, GLboolean a); /* 856 */
|
||||
void (GLAPIENTRYP DisableIndexedEXT)(GLenum target, GLuint index); /* 857 */
|
||||
void (GLAPIENTRYP EnableIndexedEXT)(GLenum target, GLuint index); /* 858 */
|
||||
void (GLAPIENTRYP GetBooleanIndexedvEXT)(GLenum value, GLuint index, GLboolean * data); /* 859 */
|
||||
void (GLAPIENTRYP GetIntegerIndexedvEXT)(GLenum value, GLuint index, GLint * data); /* 860 */
|
||||
GLboolean (GLAPIENTRYP IsEnabledIndexedEXT)(GLenum target, GLuint index); /* 861 */
|
||||
void (GLAPIENTRYP ClearColorIiEXT)(GLint r, GLint g, GLint b, GLint a); /* 862 */
|
||||
void (GLAPIENTRYP ClearColorIuiEXT)(GLuint r, GLuint g, GLuint b, GLuint a); /* 863 */
|
||||
void (GLAPIENTRYP GetTexParameterIivEXT)(GLenum target, GLenum pname, GLint * params); /* 864 */
|
||||
void (GLAPIENTRYP GetTexParameterIuivEXT)(GLenum target, GLenum pname, GLuint * params); /* 865 */
|
||||
void (GLAPIENTRYP TexParameterIivEXT)(GLenum target, GLenum pname, const GLint * params); /* 866 */
|
||||
void (GLAPIENTRYP TexParameterIuivEXT)(GLenum target, GLenum pname, const GLuint * params); /* 867 */
|
||||
void (GLAPIENTRYP BeginConditionalRenderNV)(GLuint query, GLenum mode); /* 868 */
|
||||
void (GLAPIENTRYP EndConditionalRenderNV)(void); /* 869 */
|
||||
void (GLAPIENTRYP BeginTransformFeedbackEXT)(GLenum mode); /* 870 */
|
||||
void (GLAPIENTRYP BindBufferBaseEXT)(GLenum target, GLuint index, GLuint buffer); /* 871 */
|
||||
void (GLAPIENTRYP BindBufferOffsetEXT)(GLenum target, GLuint index, GLuint buffer, GLintptr offset); /* 872 */
|
||||
void (GLAPIENTRYP BindBufferRangeEXT)(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); /* 873 */
|
||||
void (GLAPIENTRYP EndTransformFeedbackEXT)(void); /* 874 */
|
||||
void (GLAPIENTRYP GetTransformFeedbackVaryingEXT)(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLsizei * size, GLenum * type, GLchar * name); /* 875 */
|
||||
void (GLAPIENTRYP TransformFeedbackVaryingsEXT)(GLuint program, GLsizei count, const char ** varyings, GLenum bufferMode); /* 876 */
|
||||
void (GLAPIENTRYP ProvokingVertexEXT)(GLenum mode); /* 877 */
|
||||
void (GLAPIENTRYP GetTexParameterPointervAPPLE)(GLenum target, GLenum pname, GLvoid ** params); /* 878 */
|
||||
void (GLAPIENTRYP TextureRangeAPPLE)(GLenum target, GLsizei length, GLvoid * pointer); /* 879 */
|
||||
void (GLAPIENTRYP GetObjectParameterivAPPLE)(GLenum objectType, GLuint name, GLenum pname, GLint * value); /* 880 */
|
||||
GLenum (GLAPIENTRYP ObjectPurgeableAPPLE)(GLenum objectType, GLuint name, GLenum option); /* 881 */
|
||||
GLenum (GLAPIENTRYP ObjectUnpurgeableAPPLE)(GLenum objectType, GLuint name, GLenum option); /* 882 */
|
||||
void (GLAPIENTRYP ActiveProgramEXT)(GLuint program); /* 883 */
|
||||
GLuint (GLAPIENTRYP CreateShaderProgramEXT)(GLenum type, const GLchar * string); /* 884 */
|
||||
void (GLAPIENTRYP UseShaderProgramEXT)(GLenum type, GLuint program); /* 885 */
|
||||
void (GLAPIENTRYP TextureBarrierNV)(void); /* 886 */
|
||||
void (GLAPIENTRYP StencilFuncSeparateATI)(GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask); /* 887 */
|
||||
void (GLAPIENTRYP ProgramEnvParameters4fvEXT)(GLenum target, GLuint index, GLsizei count, const GLfloat * params); /* 888 */
|
||||
void (GLAPIENTRYP ProgramLocalParameters4fvEXT)(GLenum target, GLuint index, GLsizei count, const GLfloat * params); /* 889 */
|
||||
void (GLAPIENTRYP GetQueryObjecti64vEXT)(GLuint id, GLenum pname, GLint64EXT * params); /* 890 */
|
||||
void (GLAPIENTRYP GetQueryObjectui64vEXT)(GLuint id, GLenum pname, GLuint64EXT * params); /* 891 */
|
||||
void (GLAPIENTRYP EGLImageTargetRenderbufferStorageOES)(GLenum target, GLvoid * writeOffset); /* 892 */
|
||||
void (GLAPIENTRYP EGLImageTargetTexture2DOES)(GLenum target, GLvoid * writeOffset); /* 893 */
|
||||
void (GLAPIENTRYP BindSampler)(GLuint unit, GLuint sampler); /* 600 */
|
||||
void (GLAPIENTRYP DeleteSamplers)(GLsizei count, const GLuint * samplers); /* 601 */
|
||||
void (GLAPIENTRYP GenSamplers)(GLsizei count, GLuint * samplers); /* 602 */
|
||||
void (GLAPIENTRYP GetSamplerParameterIiv)(GLuint sampler, GLenum pname, GLint * params); /* 603 */
|
||||
void (GLAPIENTRYP GetSamplerParameterIuiv)(GLuint sampler, GLenum pname, GLuint * params); /* 604 */
|
||||
void (GLAPIENTRYP GetSamplerParameterfv)(GLuint sampler, GLenum pname, GLfloat * params); /* 605 */
|
||||
void (GLAPIENTRYP GetSamplerParameteriv)(GLuint sampler, GLenum pname, GLint * params); /* 606 */
|
||||
GLboolean (GLAPIENTRYP IsSampler)(GLuint sampler); /* 607 */
|
||||
void (GLAPIENTRYP SamplerParameterIiv)(GLuint sampler, GLenum pname, const GLint * params); /* 608 */
|
||||
void (GLAPIENTRYP SamplerParameterIuiv)(GLuint sampler, GLenum pname, const GLuint * params); /* 609 */
|
||||
void (GLAPIENTRYP SamplerParameterf)(GLuint sampler, GLenum pname, GLfloat param); /* 610 */
|
||||
void (GLAPIENTRYP SamplerParameterfv)(GLuint sampler, GLenum pname, const GLfloat * params); /* 611 */
|
||||
void (GLAPIENTRYP SamplerParameteri)(GLuint sampler, GLenum pname, GLint param); /* 612 */
|
||||
void (GLAPIENTRYP SamplerParameteriv)(GLuint sampler, GLenum pname, const GLint * params); /* 613 */
|
||||
void (GLAPIENTRYP BindTransformFeedback)(GLenum target, GLuint id); /* 614 */
|
||||
void (GLAPIENTRYP DeleteTransformFeedbacks)(GLsizei n, const GLuint * ids); /* 615 */
|
||||
void (GLAPIENTRYP DrawTransformFeedback)(GLenum mode, GLuint id); /* 616 */
|
||||
void (GLAPIENTRYP GenTransformFeedbacks)(GLsizei n, GLuint * ids); /* 617 */
|
||||
GLboolean (GLAPIENTRYP IsTransformFeedback)(GLuint id); /* 618 */
|
||||
void (GLAPIENTRYP PauseTransformFeedback)(void); /* 619 */
|
||||
void (GLAPIENTRYP ResumeTransformFeedback)(void); /* 620 */
|
||||
void (GLAPIENTRYP ClearDepthf)(GLclampf depth); /* 621 */
|
||||
void (GLAPIENTRYP DepthRangef)(GLclampf zNear, GLclampf zFar); /* 622 */
|
||||
void (GLAPIENTRYP GetShaderPrecisionFormat)(GLenum shadertype, GLenum precisiontype, GLint * range, GLint * precision); /* 623 */
|
||||
void (GLAPIENTRYP ReleaseShaderCompiler)(void); /* 624 */
|
||||
void (GLAPIENTRYP ShaderBinary)(GLsizei n, const GLuint * shaders, GLenum binaryformat, const GLvoid * binary, GLsizei length); /* 625 */
|
||||
void (GLAPIENTRYP PolygonOffsetEXT)(GLfloat factor, GLfloat bias); /* 626 */
|
||||
void (GLAPIENTRYP GetPixelTexGenParameterfvSGIS)(GLenum pname, GLfloat * params); /* 627 */
|
||||
void (GLAPIENTRYP GetPixelTexGenParameterivSGIS)(GLenum pname, GLint * params); /* 628 */
|
||||
void (GLAPIENTRYP PixelTexGenParameterfSGIS)(GLenum pname, GLfloat param); /* 629 */
|
||||
void (GLAPIENTRYP PixelTexGenParameterfvSGIS)(GLenum pname, const GLfloat * params); /* 630 */
|
||||
void (GLAPIENTRYP PixelTexGenParameteriSGIS)(GLenum pname, GLint param); /* 631 */
|
||||
void (GLAPIENTRYP PixelTexGenParameterivSGIS)(GLenum pname, const GLint * params); /* 632 */
|
||||
void (GLAPIENTRYP SampleMaskSGIS)(GLclampf value, GLboolean invert); /* 633 */
|
||||
void (GLAPIENTRYP SamplePatternSGIS)(GLenum pattern); /* 634 */
|
||||
void (GLAPIENTRYP ColorPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer); /* 635 */
|
||||
void (GLAPIENTRYP EdgeFlagPointerEXT)(GLsizei stride, GLsizei count, const GLboolean * pointer); /* 636 */
|
||||
void (GLAPIENTRYP IndexPointerEXT)(GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer); /* 637 */
|
||||
void (GLAPIENTRYP NormalPointerEXT)(GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer); /* 638 */
|
||||
void (GLAPIENTRYP TexCoordPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer); /* 639 */
|
||||
void (GLAPIENTRYP VertexPointerEXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid * pointer); /* 640 */
|
||||
void (GLAPIENTRYP PointParameterfEXT)(GLenum pname, GLfloat param); /* 641 */
|
||||
void (GLAPIENTRYP PointParameterfvEXT)(GLenum pname, const GLfloat * params); /* 642 */
|
||||
void (GLAPIENTRYP LockArraysEXT)(GLint first, GLsizei count); /* 643 */
|
||||
void (GLAPIENTRYP UnlockArraysEXT)(void); /* 644 */
|
||||
void (GLAPIENTRYP SecondaryColor3bEXT)(GLbyte red, GLbyte green, GLbyte blue); /* 645 */
|
||||
void (GLAPIENTRYP SecondaryColor3bvEXT)(const GLbyte * v); /* 646 */
|
||||
void (GLAPIENTRYP SecondaryColor3dEXT)(GLdouble red, GLdouble green, GLdouble blue); /* 647 */
|
||||
void (GLAPIENTRYP SecondaryColor3dvEXT)(const GLdouble * v); /* 648 */
|
||||
void (GLAPIENTRYP SecondaryColor3fEXT)(GLfloat red, GLfloat green, GLfloat blue); /* 649 */
|
||||
void (GLAPIENTRYP SecondaryColor3fvEXT)(const GLfloat * v); /* 650 */
|
||||
void (GLAPIENTRYP SecondaryColor3iEXT)(GLint red, GLint green, GLint blue); /* 651 */
|
||||
void (GLAPIENTRYP SecondaryColor3ivEXT)(const GLint * v); /* 652 */
|
||||
void (GLAPIENTRYP SecondaryColor3sEXT)(GLshort red, GLshort green, GLshort blue); /* 653 */
|
||||
void (GLAPIENTRYP SecondaryColor3svEXT)(const GLshort * v); /* 654 */
|
||||
void (GLAPIENTRYP SecondaryColor3ubEXT)(GLubyte red, GLubyte green, GLubyte blue); /* 655 */
|
||||
void (GLAPIENTRYP SecondaryColor3ubvEXT)(const GLubyte * v); /* 656 */
|
||||
void (GLAPIENTRYP SecondaryColor3uiEXT)(GLuint red, GLuint green, GLuint blue); /* 657 */
|
||||
void (GLAPIENTRYP SecondaryColor3uivEXT)(const GLuint * v); /* 658 */
|
||||
void (GLAPIENTRYP SecondaryColor3usEXT)(GLushort red, GLushort green, GLushort blue); /* 659 */
|
||||
void (GLAPIENTRYP SecondaryColor3usvEXT)(const GLushort * v); /* 660 */
|
||||
void (GLAPIENTRYP SecondaryColorPointerEXT)(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); /* 661 */
|
||||
void (GLAPIENTRYP MultiDrawArraysEXT)(GLenum mode, const GLint * first, const GLsizei * count, GLsizei primcount); /* 662 */
|
||||
void (GLAPIENTRYP MultiDrawElementsEXT)(GLenum mode, const GLsizei * count, GLenum type, const GLvoid ** indices, GLsizei primcount); /* 663 */
|
||||
void (GLAPIENTRYP FogCoordPointerEXT)(GLenum type, GLsizei stride, const GLvoid * pointer); /* 664 */
|
||||
void (GLAPIENTRYP FogCoorddEXT)(GLdouble coord); /* 665 */
|
||||
void (GLAPIENTRYP FogCoorddvEXT)(const GLdouble * coord); /* 666 */
|
||||
void (GLAPIENTRYP FogCoordfEXT)(GLfloat coord); /* 667 */
|
||||
void (GLAPIENTRYP FogCoordfvEXT)(const GLfloat * coord); /* 668 */
|
||||
void (GLAPIENTRYP PixelTexGenSGIX)(GLenum mode); /* 669 */
|
||||
void (GLAPIENTRYP BlendFuncSeparateEXT)(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); /* 670 */
|
||||
void (GLAPIENTRYP FlushVertexArrayRangeNV)(void); /* 671 */
|
||||
void (GLAPIENTRYP VertexArrayRangeNV)(GLsizei length, const GLvoid * pointer); /* 672 */
|
||||
void (GLAPIENTRYP CombinerInputNV)(GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); /* 673 */
|
||||
void (GLAPIENTRYP CombinerOutputNV)(GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum); /* 674 */
|
||||
void (GLAPIENTRYP CombinerParameterfNV)(GLenum pname, GLfloat param); /* 675 */
|
||||
void (GLAPIENTRYP CombinerParameterfvNV)(GLenum pname, const GLfloat * params); /* 676 */
|
||||
void (GLAPIENTRYP CombinerParameteriNV)(GLenum pname, GLint param); /* 677 */
|
||||
void (GLAPIENTRYP CombinerParameterivNV)(GLenum pname, const GLint * params); /* 678 */
|
||||
void (GLAPIENTRYP FinalCombinerInputNV)(GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); /* 679 */
|
||||
void (GLAPIENTRYP GetCombinerInputParameterfvNV)(GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat * params); /* 680 */
|
||||
void (GLAPIENTRYP GetCombinerInputParameterivNV)(GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint * params); /* 681 */
|
||||
void (GLAPIENTRYP GetCombinerOutputParameterfvNV)(GLenum stage, GLenum portion, GLenum pname, GLfloat * params); /* 682 */
|
||||
void (GLAPIENTRYP GetCombinerOutputParameterivNV)(GLenum stage, GLenum portion, GLenum pname, GLint * params); /* 683 */
|
||||
void (GLAPIENTRYP GetFinalCombinerInputParameterfvNV)(GLenum variable, GLenum pname, GLfloat * params); /* 684 */
|
||||
void (GLAPIENTRYP GetFinalCombinerInputParameterivNV)(GLenum variable, GLenum pname, GLint * params); /* 685 */
|
||||
void (GLAPIENTRYP ResizeBuffersMESA)(void); /* 686 */
|
||||
void (GLAPIENTRYP WindowPos2dMESA)(GLdouble x, GLdouble y); /* 687 */
|
||||
void (GLAPIENTRYP WindowPos2dvMESA)(const GLdouble * v); /* 688 */
|
||||
void (GLAPIENTRYP WindowPos2fMESA)(GLfloat x, GLfloat y); /* 689 */
|
||||
void (GLAPIENTRYP WindowPos2fvMESA)(const GLfloat * v); /* 690 */
|
||||
void (GLAPIENTRYP WindowPos2iMESA)(GLint x, GLint y); /* 691 */
|
||||
void (GLAPIENTRYP WindowPos2ivMESA)(const GLint * v); /* 692 */
|
||||
void (GLAPIENTRYP WindowPos2sMESA)(GLshort x, GLshort y); /* 693 */
|
||||
void (GLAPIENTRYP WindowPos2svMESA)(const GLshort * v); /* 694 */
|
||||
void (GLAPIENTRYP WindowPos3dMESA)(GLdouble x, GLdouble y, GLdouble z); /* 695 */
|
||||
void (GLAPIENTRYP WindowPos3dvMESA)(const GLdouble * v); /* 696 */
|
||||
void (GLAPIENTRYP WindowPos3fMESA)(GLfloat x, GLfloat y, GLfloat z); /* 697 */
|
||||
void (GLAPIENTRYP WindowPos3fvMESA)(const GLfloat * v); /* 698 */
|
||||
void (GLAPIENTRYP WindowPos3iMESA)(GLint x, GLint y, GLint z); /* 699 */
|
||||
void (GLAPIENTRYP WindowPos3ivMESA)(const GLint * v); /* 700 */
|
||||
void (GLAPIENTRYP WindowPos3sMESA)(GLshort x, GLshort y, GLshort z); /* 701 */
|
||||
void (GLAPIENTRYP WindowPos3svMESA)(const GLshort * v); /* 702 */
|
||||
void (GLAPIENTRYP WindowPos4dMESA)(GLdouble x, GLdouble y, GLdouble z, GLdouble w); /* 703 */
|
||||
void (GLAPIENTRYP WindowPos4dvMESA)(const GLdouble * v); /* 704 */
|
||||
void (GLAPIENTRYP WindowPos4fMESA)(GLfloat x, GLfloat y, GLfloat z, GLfloat w); /* 705 */
|
||||
void (GLAPIENTRYP WindowPos4fvMESA)(const GLfloat * v); /* 706 */
|
||||
void (GLAPIENTRYP WindowPos4iMESA)(GLint x, GLint y, GLint z, GLint w); /* 707 */
|
||||
void (GLAPIENTRYP WindowPos4ivMESA)(const GLint * v); /* 708 */
|
||||
void (GLAPIENTRYP WindowPos4sMESA)(GLshort x, GLshort y, GLshort z, GLshort w); /* 709 */
|
||||
void (GLAPIENTRYP WindowPos4svMESA)(const GLshort * v); /* 710 */
|
||||
void (GLAPIENTRYP MultiModeDrawArraysIBM)(const GLenum * mode, const GLint * first, const GLsizei * count, GLsizei primcount, GLint modestride); /* 711 */
|
||||
void (GLAPIENTRYP MultiModeDrawElementsIBM)(const GLenum * mode, const GLsizei * count, GLenum type, const GLvoid * const * indices, GLsizei primcount, GLint modestride); /* 712 */
|
||||
void (GLAPIENTRYP DeleteFencesNV)(GLsizei n, const GLuint * fences); /* 713 */
|
||||
void (GLAPIENTRYP FinishFenceNV)(GLuint fence); /* 714 */
|
||||
void (GLAPIENTRYP GenFencesNV)(GLsizei n, GLuint * fences); /* 715 */
|
||||
void (GLAPIENTRYP GetFenceivNV)(GLuint fence, GLenum pname, GLint * params); /* 716 */
|
||||
GLboolean (GLAPIENTRYP IsFenceNV)(GLuint fence); /* 717 */
|
||||
void (GLAPIENTRYP SetFenceNV)(GLuint fence, GLenum condition); /* 718 */
|
||||
GLboolean (GLAPIENTRYP TestFenceNV)(GLuint fence); /* 719 */
|
||||
GLboolean (GLAPIENTRYP AreProgramsResidentNV)(GLsizei n, const GLuint * ids, GLboolean * residences); /* 720 */
|
||||
void (GLAPIENTRYP BindProgramNV)(GLenum target, GLuint program); /* 721 */
|
||||
void (GLAPIENTRYP DeleteProgramsNV)(GLsizei n, const GLuint * programs); /* 722 */
|
||||
void (GLAPIENTRYP ExecuteProgramNV)(GLenum target, GLuint id, const GLfloat * params); /* 723 */
|
||||
void (GLAPIENTRYP GenProgramsNV)(GLsizei n, GLuint * programs); /* 724 */
|
||||
void (GLAPIENTRYP GetProgramParameterdvNV)(GLenum target, GLuint index, GLenum pname, GLdouble * params); /* 725 */
|
||||
void (GLAPIENTRYP GetProgramParameterfvNV)(GLenum target, GLuint index, GLenum pname, GLfloat * params); /* 726 */
|
||||
void (GLAPIENTRYP GetProgramStringNV)(GLuint id, GLenum pname, GLubyte * program); /* 727 */
|
||||
void (GLAPIENTRYP GetProgramivNV)(GLuint id, GLenum pname, GLint * params); /* 728 */
|
||||
void (GLAPIENTRYP GetTrackMatrixivNV)(GLenum target, GLuint address, GLenum pname, GLint * params); /* 729 */
|
||||
void (GLAPIENTRYP GetVertexAttribPointervNV)(GLuint index, GLenum pname, GLvoid ** pointer); /* 730 */
|
||||
void (GLAPIENTRYP GetVertexAttribdvNV)(GLuint index, GLenum pname, GLdouble * params); /* 731 */
|
||||
void (GLAPIENTRYP GetVertexAttribfvNV)(GLuint index, GLenum pname, GLfloat * params); /* 732 */
|
||||
void (GLAPIENTRYP GetVertexAttribivNV)(GLuint index, GLenum pname, GLint * params); /* 733 */
|
||||
GLboolean (GLAPIENTRYP IsProgramNV)(GLuint program); /* 734 */
|
||||
void (GLAPIENTRYP LoadProgramNV)(GLenum target, GLuint id, GLsizei len, const GLubyte * program); /* 735 */
|
||||
void (GLAPIENTRYP ProgramParameters4dvNV)(GLenum target, GLuint index, GLsizei num, const GLdouble * params); /* 736 */
|
||||
void (GLAPIENTRYP ProgramParameters4fvNV)(GLenum target, GLuint index, GLsizei num, const GLfloat * params); /* 737 */
|
||||
void (GLAPIENTRYP RequestResidentProgramsNV)(GLsizei n, const GLuint * ids); /* 738 */
|
||||
void (GLAPIENTRYP TrackMatrixNV)(GLenum target, GLuint address, GLenum matrix, GLenum transform); /* 739 */
|
||||
void (GLAPIENTRYP VertexAttrib1dNV)(GLuint index, GLdouble x); /* 740 */
|
||||
void (GLAPIENTRYP VertexAttrib1dvNV)(GLuint index, const GLdouble * v); /* 741 */
|
||||
void (GLAPIENTRYP VertexAttrib1fNV)(GLuint index, GLfloat x); /* 742 */
|
||||
void (GLAPIENTRYP VertexAttrib1fvNV)(GLuint index, const GLfloat * v); /* 743 */
|
||||
void (GLAPIENTRYP VertexAttrib1sNV)(GLuint index, GLshort x); /* 744 */
|
||||
void (GLAPIENTRYP VertexAttrib1svNV)(GLuint index, const GLshort * v); /* 745 */
|
||||
void (GLAPIENTRYP VertexAttrib2dNV)(GLuint index, GLdouble x, GLdouble y); /* 746 */
|
||||
void (GLAPIENTRYP VertexAttrib2dvNV)(GLuint index, const GLdouble * v); /* 747 */
|
||||
void (GLAPIENTRYP VertexAttrib2fNV)(GLuint index, GLfloat x, GLfloat y); /* 748 */
|
||||
void (GLAPIENTRYP VertexAttrib2fvNV)(GLuint index, const GLfloat * v); /* 749 */
|
||||
void (GLAPIENTRYP VertexAttrib2sNV)(GLuint index, GLshort x, GLshort y); /* 750 */
|
||||
void (GLAPIENTRYP VertexAttrib2svNV)(GLuint index, const GLshort * v); /* 751 */
|
||||
void (GLAPIENTRYP VertexAttrib3dNV)(GLuint index, GLdouble x, GLdouble y, GLdouble z); /* 752 */
|
||||
void (GLAPIENTRYP VertexAttrib3dvNV)(GLuint index, const GLdouble * v); /* 753 */
|
||||
void (GLAPIENTRYP VertexAttrib3fNV)(GLuint index, GLfloat x, GLfloat y, GLfloat z); /* 754 */
|
||||
void (GLAPIENTRYP VertexAttrib3fvNV)(GLuint index, const GLfloat * v); /* 755 */
|
||||
void (GLAPIENTRYP VertexAttrib3sNV)(GLuint index, GLshort x, GLshort y, GLshort z); /* 756 */
|
||||
void (GLAPIENTRYP VertexAttrib3svNV)(GLuint index, const GLshort * v); /* 757 */
|
||||
void (GLAPIENTRYP VertexAttrib4dNV)(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); /* 758 */
|
||||
void (GLAPIENTRYP VertexAttrib4dvNV)(GLuint index, const GLdouble * v); /* 759 */
|
||||
void (GLAPIENTRYP VertexAttrib4fNV)(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); /* 760 */
|
||||
void (GLAPIENTRYP VertexAttrib4fvNV)(GLuint index, const GLfloat * v); /* 761 */
|
||||
void (GLAPIENTRYP VertexAttrib4sNV)(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); /* 762 */
|
||||
void (GLAPIENTRYP VertexAttrib4svNV)(GLuint index, const GLshort * v); /* 763 */
|
||||
void (GLAPIENTRYP VertexAttrib4ubNV)(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); /* 764 */
|
||||
void (GLAPIENTRYP VertexAttrib4ubvNV)(GLuint index, const GLubyte * v); /* 765 */
|
||||
void (GLAPIENTRYP VertexAttribPointerNV)(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); /* 766 */
|
||||
void (GLAPIENTRYP VertexAttribs1dvNV)(GLuint index, GLsizei n, const GLdouble * v); /* 767 */
|
||||
void (GLAPIENTRYP VertexAttribs1fvNV)(GLuint index, GLsizei n, const GLfloat * v); /* 768 */
|
||||
void (GLAPIENTRYP VertexAttribs1svNV)(GLuint index, GLsizei n, const GLshort * v); /* 769 */
|
||||
void (GLAPIENTRYP VertexAttribs2dvNV)(GLuint index, GLsizei n, const GLdouble * v); /* 770 */
|
||||
void (GLAPIENTRYP VertexAttribs2fvNV)(GLuint index, GLsizei n, const GLfloat * v); /* 771 */
|
||||
void (GLAPIENTRYP VertexAttribs2svNV)(GLuint index, GLsizei n, const GLshort * v); /* 772 */
|
||||
void (GLAPIENTRYP VertexAttribs3dvNV)(GLuint index, GLsizei n, const GLdouble * v); /* 773 */
|
||||
void (GLAPIENTRYP VertexAttribs3fvNV)(GLuint index, GLsizei n, const GLfloat * v); /* 774 */
|
||||
void (GLAPIENTRYP VertexAttribs3svNV)(GLuint index, GLsizei n, const GLshort * v); /* 775 */
|
||||
void (GLAPIENTRYP VertexAttribs4dvNV)(GLuint index, GLsizei n, const GLdouble * v); /* 776 */
|
||||
void (GLAPIENTRYP VertexAttribs4fvNV)(GLuint index, GLsizei n, const GLfloat * v); /* 777 */
|
||||
void (GLAPIENTRYP VertexAttribs4svNV)(GLuint index, GLsizei n, const GLshort * v); /* 778 */
|
||||
void (GLAPIENTRYP VertexAttribs4ubvNV)(GLuint index, GLsizei n, const GLubyte * v); /* 779 */
|
||||
void (GLAPIENTRYP GetTexBumpParameterfvATI)(GLenum pname, GLfloat * param); /* 780 */
|
||||
void (GLAPIENTRYP GetTexBumpParameterivATI)(GLenum pname, GLint * param); /* 781 */
|
||||
void (GLAPIENTRYP TexBumpParameterfvATI)(GLenum pname, const GLfloat * param); /* 782 */
|
||||
void (GLAPIENTRYP TexBumpParameterivATI)(GLenum pname, const GLint * param); /* 783 */
|
||||
void (GLAPIENTRYP AlphaFragmentOp1ATI)(GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); /* 784 */
|
||||
void (GLAPIENTRYP AlphaFragmentOp2ATI)(GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); /* 785 */
|
||||
void (GLAPIENTRYP AlphaFragmentOp3ATI)(GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); /* 786 */
|
||||
void (GLAPIENTRYP BeginFragmentShaderATI)(void); /* 787 */
|
||||
void (GLAPIENTRYP BindFragmentShaderATI)(GLuint id); /* 788 */
|
||||
void (GLAPIENTRYP ColorFragmentOp1ATI)(GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); /* 789 */
|
||||
void (GLAPIENTRYP ColorFragmentOp2ATI)(GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); /* 790 */
|
||||
void (GLAPIENTRYP ColorFragmentOp3ATI)(GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); /* 791 */
|
||||
void (GLAPIENTRYP DeleteFragmentShaderATI)(GLuint id); /* 792 */
|
||||
void (GLAPIENTRYP EndFragmentShaderATI)(void); /* 793 */
|
||||
GLuint (GLAPIENTRYP GenFragmentShadersATI)(GLuint range); /* 794 */
|
||||
void (GLAPIENTRYP PassTexCoordATI)(GLuint dst, GLuint coord, GLenum swizzle); /* 795 */
|
||||
void (GLAPIENTRYP SampleMapATI)(GLuint dst, GLuint interp, GLenum swizzle); /* 796 */
|
||||
void (GLAPIENTRYP SetFragmentShaderConstantATI)(GLuint dst, const GLfloat * value); /* 797 */
|
||||
void (GLAPIENTRYP PointParameteriNV)(GLenum pname, GLint param); /* 798 */
|
||||
void (GLAPIENTRYP PointParameterivNV)(GLenum pname, const GLint * params); /* 799 */
|
||||
void (GLAPIENTRYP ActiveStencilFaceEXT)(GLenum face); /* 800 */
|
||||
void (GLAPIENTRYP BindVertexArrayAPPLE)(GLuint array); /* 801 */
|
||||
void (GLAPIENTRYP DeleteVertexArraysAPPLE)(GLsizei n, const GLuint * arrays); /* 802 */
|
||||
void (GLAPIENTRYP GenVertexArraysAPPLE)(GLsizei n, GLuint * arrays); /* 803 */
|
||||
GLboolean (GLAPIENTRYP IsVertexArrayAPPLE)(GLuint array); /* 804 */
|
||||
void (GLAPIENTRYP GetProgramNamedParameterdvNV)(GLuint id, GLsizei len, const GLubyte * name, GLdouble * params); /* 805 */
|
||||
void (GLAPIENTRYP GetProgramNamedParameterfvNV)(GLuint id, GLsizei len, const GLubyte * name, GLfloat * params); /* 806 */
|
||||
void (GLAPIENTRYP ProgramNamedParameter4dNV)(GLuint id, GLsizei len, const GLubyte * name, GLdouble x, GLdouble y, GLdouble z, GLdouble w); /* 807 */
|
||||
void (GLAPIENTRYP ProgramNamedParameter4dvNV)(GLuint id, GLsizei len, const GLubyte * name, const GLdouble * v); /* 808 */
|
||||
void (GLAPIENTRYP ProgramNamedParameter4fNV)(GLuint id, GLsizei len, const GLubyte * name, GLfloat x, GLfloat y, GLfloat z, GLfloat w); /* 809 */
|
||||
void (GLAPIENTRYP ProgramNamedParameter4fvNV)(GLuint id, GLsizei len, const GLubyte * name, const GLfloat * v); /* 810 */
|
||||
void (GLAPIENTRYP PrimitiveRestartIndexNV)(GLuint index); /* 811 */
|
||||
void (GLAPIENTRYP PrimitiveRestartNV)(void); /* 812 */
|
||||
void (GLAPIENTRYP DepthBoundsEXT)(GLclampd zmin, GLclampd zmax); /* 813 */
|
||||
void (GLAPIENTRYP BlendEquationSeparateEXT)(GLenum modeRGB, GLenum modeA); /* 814 */
|
||||
void (GLAPIENTRYP BindFramebufferEXT)(GLenum target, GLuint framebuffer); /* 815 */
|
||||
void (GLAPIENTRYP BindRenderbufferEXT)(GLenum target, GLuint renderbuffer); /* 816 */
|
||||
GLenum (GLAPIENTRYP CheckFramebufferStatusEXT)(GLenum target); /* 817 */
|
||||
void (GLAPIENTRYP DeleteFramebuffersEXT)(GLsizei n, const GLuint * framebuffers); /* 818 */
|
||||
void (GLAPIENTRYP DeleteRenderbuffersEXT)(GLsizei n, const GLuint * renderbuffers); /* 819 */
|
||||
void (GLAPIENTRYP FramebufferRenderbufferEXT)(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); /* 820 */
|
||||
void (GLAPIENTRYP FramebufferTexture1DEXT)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); /* 821 */
|
||||
void (GLAPIENTRYP FramebufferTexture2DEXT)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); /* 822 */
|
||||
void (GLAPIENTRYP FramebufferTexture3DEXT)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); /* 823 */
|
||||
void (GLAPIENTRYP GenFramebuffersEXT)(GLsizei n, GLuint * framebuffers); /* 824 */
|
||||
void (GLAPIENTRYP GenRenderbuffersEXT)(GLsizei n, GLuint * renderbuffers); /* 825 */
|
||||
void (GLAPIENTRYP GenerateMipmapEXT)(GLenum target); /* 826 */
|
||||
void (GLAPIENTRYP GetFramebufferAttachmentParameterivEXT)(GLenum target, GLenum attachment, GLenum pname, GLint * params); /* 827 */
|
||||
void (GLAPIENTRYP GetRenderbufferParameterivEXT)(GLenum target, GLenum pname, GLint * params); /* 828 */
|
||||
GLboolean (GLAPIENTRYP IsFramebufferEXT)(GLuint framebuffer); /* 829 */
|
||||
GLboolean (GLAPIENTRYP IsRenderbufferEXT)(GLuint renderbuffer); /* 830 */
|
||||
void (GLAPIENTRYP RenderbufferStorageEXT)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); /* 831 */
|
||||
void (GLAPIENTRYP BlitFramebufferEXT)(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); /* 832 */
|
||||
void (GLAPIENTRYP BufferParameteriAPPLE)(GLenum target, GLenum pname, GLint param); /* 833 */
|
||||
void (GLAPIENTRYP FlushMappedBufferRangeAPPLE)(GLenum target, GLintptr offset, GLsizeiptr size); /* 834 */
|
||||
void (GLAPIENTRYP BindFragDataLocationEXT)(GLuint program, GLuint colorNumber, const GLchar * name); /* 835 */
|
||||
GLint (GLAPIENTRYP GetFragDataLocationEXT)(GLuint program, const GLchar * name); /* 836 */
|
||||
void (GLAPIENTRYP GetUniformuivEXT)(GLuint program, GLint location, GLuint * params); /* 837 */
|
||||
void (GLAPIENTRYP GetVertexAttribIivEXT)(GLuint index, GLenum pname, GLint * params); /* 838 */
|
||||
void (GLAPIENTRYP GetVertexAttribIuivEXT)(GLuint index, GLenum pname, GLuint * params); /* 839 */
|
||||
void (GLAPIENTRYP Uniform1uiEXT)(GLint location, GLuint x); /* 840 */
|
||||
void (GLAPIENTRYP Uniform1uivEXT)(GLint location, GLsizei count, const GLuint * value); /* 841 */
|
||||
void (GLAPIENTRYP Uniform2uiEXT)(GLint location, GLuint x, GLuint y); /* 842 */
|
||||
void (GLAPIENTRYP Uniform2uivEXT)(GLint location, GLsizei count, const GLuint * value); /* 843 */
|
||||
void (GLAPIENTRYP Uniform3uiEXT)(GLint location, GLuint x, GLuint y, GLuint z); /* 844 */
|
||||
void (GLAPIENTRYP Uniform3uivEXT)(GLint location, GLsizei count, const GLuint * value); /* 845 */
|
||||
void (GLAPIENTRYP Uniform4uiEXT)(GLint location, GLuint x, GLuint y, GLuint z, GLuint w); /* 846 */
|
||||
void (GLAPIENTRYP Uniform4uivEXT)(GLint location, GLsizei count, const GLuint * value); /* 847 */
|
||||
void (GLAPIENTRYP VertexAttribI1iEXT)(GLuint index, GLint x); /* 848 */
|
||||
void (GLAPIENTRYP VertexAttribI1ivEXT)(GLuint index, const GLint * v); /* 849 */
|
||||
void (GLAPIENTRYP VertexAttribI1uiEXT)(GLuint index, GLuint x); /* 850 */
|
||||
void (GLAPIENTRYP VertexAttribI1uivEXT)(GLuint index, const GLuint * v); /* 851 */
|
||||
void (GLAPIENTRYP VertexAttribI2iEXT)(GLuint index, GLint x, GLint y); /* 852 */
|
||||
void (GLAPIENTRYP VertexAttribI2ivEXT)(GLuint index, const GLint * v); /* 853 */
|
||||
void (GLAPIENTRYP VertexAttribI2uiEXT)(GLuint index, GLuint x, GLuint y); /* 854 */
|
||||
void (GLAPIENTRYP VertexAttribI2uivEXT)(GLuint index, const GLuint * v); /* 855 */
|
||||
void (GLAPIENTRYP VertexAttribI3iEXT)(GLuint index, GLint x, GLint y, GLint z); /* 856 */
|
||||
void (GLAPIENTRYP VertexAttribI3ivEXT)(GLuint index, const GLint * v); /* 857 */
|
||||
void (GLAPIENTRYP VertexAttribI3uiEXT)(GLuint index, GLuint x, GLuint y, GLuint z); /* 858 */
|
||||
void (GLAPIENTRYP VertexAttribI3uivEXT)(GLuint index, const GLuint * v); /* 859 */
|
||||
void (GLAPIENTRYP VertexAttribI4bvEXT)(GLuint index, const GLbyte * v); /* 860 */
|
||||
void (GLAPIENTRYP VertexAttribI4iEXT)(GLuint index, GLint x, GLint y, GLint z, GLint w); /* 861 */
|
||||
void (GLAPIENTRYP VertexAttribI4ivEXT)(GLuint index, const GLint * v); /* 862 */
|
||||
void (GLAPIENTRYP VertexAttribI4svEXT)(GLuint index, const GLshort * v); /* 863 */
|
||||
void (GLAPIENTRYP VertexAttribI4ubvEXT)(GLuint index, const GLubyte * v); /* 864 */
|
||||
void (GLAPIENTRYP VertexAttribI4uiEXT)(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); /* 865 */
|
||||
void (GLAPIENTRYP VertexAttribI4uivEXT)(GLuint index, const GLuint * v); /* 866 */
|
||||
void (GLAPIENTRYP VertexAttribI4usvEXT)(GLuint index, const GLushort * v); /* 867 */
|
||||
void (GLAPIENTRYP VertexAttribIPointerEXT)(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); /* 868 */
|
||||
void (GLAPIENTRYP FramebufferTextureLayerEXT)(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); /* 869 */
|
||||
void (GLAPIENTRYP ColorMaskIndexedEXT)(GLuint buf, GLboolean r, GLboolean g, GLboolean b, GLboolean a); /* 870 */
|
||||
void (GLAPIENTRYP DisableIndexedEXT)(GLenum target, GLuint index); /* 871 */
|
||||
void (GLAPIENTRYP EnableIndexedEXT)(GLenum target, GLuint index); /* 872 */
|
||||
void (GLAPIENTRYP GetBooleanIndexedvEXT)(GLenum value, GLuint index, GLboolean * data); /* 873 */
|
||||
void (GLAPIENTRYP GetIntegerIndexedvEXT)(GLenum value, GLuint index, GLint * data); /* 874 */
|
||||
GLboolean (GLAPIENTRYP IsEnabledIndexedEXT)(GLenum target, GLuint index); /* 875 */
|
||||
void (GLAPIENTRYP ClearColorIiEXT)(GLint r, GLint g, GLint b, GLint a); /* 876 */
|
||||
void (GLAPIENTRYP ClearColorIuiEXT)(GLuint r, GLuint g, GLuint b, GLuint a); /* 877 */
|
||||
void (GLAPIENTRYP GetTexParameterIivEXT)(GLenum target, GLenum pname, GLint * params); /* 878 */
|
||||
void (GLAPIENTRYP GetTexParameterIuivEXT)(GLenum target, GLenum pname, GLuint * params); /* 879 */
|
||||
void (GLAPIENTRYP TexParameterIivEXT)(GLenum target, GLenum pname, const GLint * params); /* 880 */
|
||||
void (GLAPIENTRYP TexParameterIuivEXT)(GLenum target, GLenum pname, const GLuint * params); /* 881 */
|
||||
void (GLAPIENTRYP BeginConditionalRenderNV)(GLuint query, GLenum mode); /* 882 */
|
||||
void (GLAPIENTRYP EndConditionalRenderNV)(void); /* 883 */
|
||||
void (GLAPIENTRYP BeginTransformFeedbackEXT)(GLenum mode); /* 884 */
|
||||
void (GLAPIENTRYP BindBufferBaseEXT)(GLenum target, GLuint index, GLuint buffer); /* 885 */
|
||||
void (GLAPIENTRYP BindBufferOffsetEXT)(GLenum target, GLuint index, GLuint buffer, GLintptr offset); /* 886 */
|
||||
void (GLAPIENTRYP BindBufferRangeEXT)(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); /* 887 */
|
||||
void (GLAPIENTRYP EndTransformFeedbackEXT)(void); /* 888 */
|
||||
void (GLAPIENTRYP GetTransformFeedbackVaryingEXT)(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLsizei * size, GLenum * type, GLchar * name); /* 889 */
|
||||
void (GLAPIENTRYP TransformFeedbackVaryingsEXT)(GLuint program, GLsizei count, const char ** varyings, GLenum bufferMode); /* 890 */
|
||||
void (GLAPIENTRYP ProvokingVertexEXT)(GLenum mode); /* 891 */
|
||||
void (GLAPIENTRYP GetTexParameterPointervAPPLE)(GLenum target, GLenum pname, GLvoid ** params); /* 892 */
|
||||
void (GLAPIENTRYP TextureRangeAPPLE)(GLenum target, GLsizei length, GLvoid * pointer); /* 893 */
|
||||
void (GLAPIENTRYP GetObjectParameterivAPPLE)(GLenum objectType, GLuint name, GLenum pname, GLint * value); /* 894 */
|
||||
GLenum (GLAPIENTRYP ObjectPurgeableAPPLE)(GLenum objectType, GLuint name, GLenum option); /* 895 */
|
||||
GLenum (GLAPIENTRYP ObjectUnpurgeableAPPLE)(GLenum objectType, GLuint name, GLenum option); /* 896 */
|
||||
void (GLAPIENTRYP ActiveProgramEXT)(GLuint program); /* 897 */
|
||||
GLuint (GLAPIENTRYP CreateShaderProgramEXT)(GLenum type, const GLchar * string); /* 898 */
|
||||
void (GLAPIENTRYP UseShaderProgramEXT)(GLenum type, GLuint program); /* 899 */
|
||||
void (GLAPIENTRYP TextureBarrierNV)(void); /* 900 */
|
||||
void (GLAPIENTRYP StencilFuncSeparateATI)(GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask); /* 901 */
|
||||
void (GLAPIENTRYP ProgramEnvParameters4fvEXT)(GLenum target, GLuint index, GLsizei count, const GLfloat * params); /* 902 */
|
||||
void (GLAPIENTRYP ProgramLocalParameters4fvEXT)(GLenum target, GLuint index, GLsizei count, const GLfloat * params); /* 903 */
|
||||
void (GLAPIENTRYP GetQueryObjecti64vEXT)(GLuint id, GLenum pname, GLint64EXT * params); /* 904 */
|
||||
void (GLAPIENTRYP GetQueryObjectui64vEXT)(GLuint id, GLenum pname, GLuint64EXT * params); /* 905 */
|
||||
void (GLAPIENTRYP EGLImageTargetRenderbufferStorageOES)(GLenum target, GLvoid * writeOffset); /* 906 */
|
||||
void (GLAPIENTRYP EGLImageTargetTexture2DOES)(GLenum target, GLvoid * writeOffset); /* 907 */
|
||||
};
|
||||
|
||||
#endif /* !defined( _GLAPI_TABLE_H_ ) */
|
||||
|
|
|
|||
|
|
@ -4062,6 +4062,76 @@ KEYWORD1 void KEYWORD2 NAME(BlendFunciARB)(GLuint buf, GLenum src, GLenum dst)
|
|||
DISPATCH(BlendFunciARB, (buf, src, dst), (F, "glBlendFunciARB(%d, 0x%x, 0x%x);\n", buf, src, dst));
|
||||
}
|
||||
|
||||
KEYWORD1 void KEYWORD2 NAME(BindSampler)(GLuint unit, GLuint sampler)
|
||||
{
|
||||
DISPATCH(BindSampler, (unit, sampler), (F, "glBindSampler(%d, %d);\n", unit, sampler));
|
||||
}
|
||||
|
||||
KEYWORD1 void KEYWORD2 NAME(DeleteSamplers)(GLsizei count, const GLuint * samplers)
|
||||
{
|
||||
DISPATCH(DeleteSamplers, (count, samplers), (F, "glDeleteSamplers(%d, %p);\n", count, (const void *) samplers));
|
||||
}
|
||||
|
||||
KEYWORD1 void KEYWORD2 NAME(GenSamplers)(GLsizei count, GLuint * samplers)
|
||||
{
|
||||
DISPATCH(GenSamplers, (count, samplers), (F, "glGenSamplers(%d, %p);\n", count, (const void *) samplers));
|
||||
}
|
||||
|
||||
KEYWORD1 void KEYWORD2 NAME(GetSamplerParameterIiv)(GLuint sampler, GLenum pname, GLint * params)
|
||||
{
|
||||
DISPATCH(GetSamplerParameterIiv, (sampler, pname, params), (F, "glGetSamplerParameterIiv(%d, 0x%x, %p);\n", sampler, pname, (const void *) params));
|
||||
}
|
||||
|
||||
KEYWORD1 void KEYWORD2 NAME(GetSamplerParameterIuiv)(GLuint sampler, GLenum pname, GLuint * params)
|
||||
{
|
||||
DISPATCH(GetSamplerParameterIuiv, (sampler, pname, params), (F, "glGetSamplerParameterIuiv(%d, 0x%x, %p);\n", sampler, pname, (const void *) params));
|
||||
}
|
||||
|
||||
KEYWORD1 void KEYWORD2 NAME(GetSamplerParameterfv)(GLuint sampler, GLenum pname, GLfloat * params)
|
||||
{
|
||||
DISPATCH(GetSamplerParameterfv, (sampler, pname, params), (F, "glGetSamplerParameterfv(%d, 0x%x, %p);\n", sampler, pname, (const void *) params));
|
||||
}
|
||||
|
||||
KEYWORD1 void KEYWORD2 NAME(GetSamplerParameteriv)(GLuint sampler, GLenum pname, GLint * params)
|
||||
{
|
||||
DISPATCH(GetSamplerParameteriv, (sampler, pname, params), (F, "glGetSamplerParameteriv(%d, 0x%x, %p);\n", sampler, pname, (const void *) params));
|
||||
}
|
||||
|
||||
KEYWORD1 GLboolean KEYWORD2 NAME(IsSampler)(GLuint sampler)
|
||||
{
|
||||
RETURN_DISPATCH(IsSampler, (sampler), (F, "glIsSampler(%d);\n", sampler));
|
||||
}
|
||||
|
||||
KEYWORD1 void KEYWORD2 NAME(SamplerParameterIiv)(GLuint sampler, GLenum pname, const GLint * params)
|
||||
{
|
||||
DISPATCH(SamplerParameterIiv, (sampler, pname, params), (F, "glSamplerParameterIiv(%d, 0x%x, %p);\n", sampler, pname, (const void *) params));
|
||||
}
|
||||
|
||||
KEYWORD1 void KEYWORD2 NAME(SamplerParameterIuiv)(GLuint sampler, GLenum pname, const GLuint * params)
|
||||
{
|
||||
DISPATCH(SamplerParameterIuiv, (sampler, pname, params), (F, "glSamplerParameterIuiv(%d, 0x%x, %p);\n", sampler, pname, (const void *) params));
|
||||
}
|
||||
|
||||
KEYWORD1 void KEYWORD2 NAME(SamplerParameterf)(GLuint sampler, GLenum pname, GLfloat param)
|
||||
{
|
||||
DISPATCH(SamplerParameterf, (sampler, pname, param), (F, "glSamplerParameterf(%d, 0x%x, %f);\n", sampler, pname, param));
|
||||
}
|
||||
|
||||
KEYWORD1 void KEYWORD2 NAME(SamplerParameterfv)(GLuint sampler, GLenum pname, const GLfloat * params)
|
||||
{
|
||||
DISPATCH(SamplerParameterfv, (sampler, pname, params), (F, "glSamplerParameterfv(%d, 0x%x, %p);\n", sampler, pname, (const void *) params));
|
||||
}
|
||||
|
||||
KEYWORD1 void KEYWORD2 NAME(SamplerParameteri)(GLuint sampler, GLenum pname, GLint param)
|
||||
{
|
||||
DISPATCH(SamplerParameteri, (sampler, pname, param), (F, "glSamplerParameteri(%d, 0x%x, %d);\n", sampler, pname, param));
|
||||
}
|
||||
|
||||
KEYWORD1 void KEYWORD2 NAME(SamplerParameteriv)(GLuint sampler, GLenum pname, const GLint * params)
|
||||
{
|
||||
DISPATCH(SamplerParameteriv, (sampler, pname, params), (F, "glSamplerParameteriv(%d, 0x%x, %p);\n", sampler, pname, (const void *) params));
|
||||
}
|
||||
|
||||
KEYWORD1 void KEYWORD2 NAME(BindTransformFeedback)(GLenum target, GLuint id)
|
||||
{
|
||||
DISPATCH(BindTransformFeedback, (target, id), (F, "glBindTransformFeedback(0x%x, %d);\n", target, id));
|
||||
|
|
@ -4127,58 +4197,58 @@ KEYWORD1 void KEYWORD2 NAME(PolygonOffsetEXT)(GLfloat factor, GLfloat bias)
|
|||
DISPATCH(PolygonOffsetEXT, (factor, bias), (F, "glPolygonOffsetEXT(%f, %f);\n", factor, bias));
|
||||
}
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_613)(GLenum pname, GLfloat * params);
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_627)(GLenum pname, GLfloat * params);
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_613)(GLenum pname, GLfloat * params)
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_627)(GLenum pname, GLfloat * params)
|
||||
{
|
||||
DISPATCH(GetPixelTexGenParameterfvSGIS, (pname, params), (F, "glGetPixelTexGenParameterfvSGIS(0x%x, %p);\n", pname, (const void *) params));
|
||||
}
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_614)(GLenum pname, GLint * params);
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_628)(GLenum pname, GLint * params);
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_614)(GLenum pname, GLint * params)
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_628)(GLenum pname, GLint * params)
|
||||
{
|
||||
DISPATCH(GetPixelTexGenParameterivSGIS, (pname, params), (F, "glGetPixelTexGenParameterivSGIS(0x%x, %p);\n", pname, (const void *) params));
|
||||
}
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_615)(GLenum pname, GLfloat param);
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_629)(GLenum pname, GLfloat param);
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_615)(GLenum pname, GLfloat param)
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_629)(GLenum pname, GLfloat param)
|
||||
{
|
||||
DISPATCH(PixelTexGenParameterfSGIS, (pname, param), (F, "glPixelTexGenParameterfSGIS(0x%x, %f);\n", pname, param));
|
||||
}
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_616)(GLenum pname, const GLfloat * params);
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_630)(GLenum pname, const GLfloat * params);
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_616)(GLenum pname, const GLfloat * params)
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_630)(GLenum pname, const GLfloat * params)
|
||||
{
|
||||
DISPATCH(PixelTexGenParameterfvSGIS, (pname, params), (F, "glPixelTexGenParameterfvSGIS(0x%x, %p);\n", pname, (const void *) params));
|
||||
}
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_617)(GLenum pname, GLint param);
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_631)(GLenum pname, GLint param);
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_617)(GLenum pname, GLint param)
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_631)(GLenum pname, GLint param)
|
||||
{
|
||||
DISPATCH(PixelTexGenParameteriSGIS, (pname, param), (F, "glPixelTexGenParameteriSGIS(0x%x, %d);\n", pname, param));
|
||||
}
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_618)(GLenum pname, const GLint * params);
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_632)(GLenum pname, const GLint * params);
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_618)(GLenum pname, const GLint * params)
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_632)(GLenum pname, const GLint * params)
|
||||
{
|
||||
DISPATCH(PixelTexGenParameterivSGIS, (pname, params), (F, "glPixelTexGenParameterivSGIS(0x%x, %p);\n", pname, (const void *) params));
|
||||
}
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_619)(GLclampf value, GLboolean invert);
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_633)(GLclampf value, GLboolean invert);
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_619)(GLclampf value, GLboolean invert)
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_633)(GLclampf value, GLboolean invert)
|
||||
{
|
||||
DISPATCH(SampleMaskSGIS, (value, invert), (F, "glSampleMaskSGIS(%f, %d);\n", value, invert));
|
||||
}
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_620)(GLenum pattern);
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_634)(GLenum pattern);
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_620)(GLenum pattern)
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_634)(GLenum pattern)
|
||||
{
|
||||
DISPATCH(SamplePatternSGIS, (pattern), (F, "glSamplePatternSGIS(0x%x);\n", pattern));
|
||||
}
|
||||
|
|
@ -4228,9 +4298,9 @@ KEYWORD1 void KEYWORD2 NAME(PointParameterfEXT)(GLenum pname, GLfloat param)
|
|||
DISPATCH(PointParameterfEXT, (pname, param), (F, "glPointParameterfEXT(0x%x, %f);\n", pname, param));
|
||||
}
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_627)(GLenum pname, GLfloat param);
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_641)(GLenum pname, GLfloat param);
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_627)(GLenum pname, GLfloat param)
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_641)(GLenum pname, GLfloat param)
|
||||
{
|
||||
DISPATCH(PointParameterfEXT, (pname, param), (F, "glPointParameterfSGIS(0x%x, %f);\n", pname, param));
|
||||
}
|
||||
|
|
@ -4250,9 +4320,9 @@ KEYWORD1 void KEYWORD2 NAME(PointParameterfvEXT)(GLenum pname, const GLfloat * p
|
|||
DISPATCH(PointParameterfvEXT, (pname, params), (F, "glPointParameterfvEXT(0x%x, %p);\n", pname, (const void *) params));
|
||||
}
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_628)(GLenum pname, const GLfloat * params);
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_642)(GLenum pname, const GLfloat * params);
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_628)(GLenum pname, const GLfloat * params)
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_642)(GLenum pname, const GLfloat * params)
|
||||
{
|
||||
DISPATCH(PointParameterfvEXT, (pname, params), (F, "glPointParameterfvSGIS(0x%x, %p);\n", pname, (const void *) params));
|
||||
}
|
||||
|
|
@ -4507,9 +4577,9 @@ KEYWORD1 void KEYWORD2 NAME(FogCoordfvEXT)(const GLfloat * coord)
|
|||
DISPATCH(FogCoordfvEXT, (coord), (F, "glFogCoordfvEXT(%p);\n", (const void *) coord));
|
||||
}
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_655)(GLenum mode);
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_669)(GLenum mode);
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_655)(GLenum mode)
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_669)(GLenum mode)
|
||||
{
|
||||
DISPATCH(PixelTexGenSGIX, (mode), (F, "glPixelTexGenSGIX(0x%x);\n", mode));
|
||||
}
|
||||
|
|
@ -4524,9 +4594,9 @@ KEYWORD1 void KEYWORD2 NAME(BlendFuncSeparateEXT)(GLenum sfactorRGB, GLenum dfac
|
|||
DISPATCH(BlendFuncSeparateEXT, (sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha), (F, "glBlendFuncSeparateEXT(0x%x, 0x%x, 0x%x, 0x%x);\n", sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha));
|
||||
}
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_656)(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_670)(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_656)(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha)
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_670)(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha)
|
||||
{
|
||||
DISPATCH(BlendFuncSeparateEXT, (sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha), (F, "glBlendFuncSeparateINGR(0x%x, 0x%x, 0x%x, 0x%x);\n", sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha));
|
||||
}
|
||||
|
|
@ -4891,65 +4961,65 @@ KEYWORD1 void KEYWORD2 NAME(WindowPos4svMESA)(const GLshort * v)
|
|||
DISPATCH(WindowPos4svMESA, (v), (F, "glWindowPos4svMESA(%p);\n", (const void *) v));
|
||||
}
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_697)(const GLenum * mode, const GLint * first, const GLsizei * count, GLsizei primcount, GLint modestride);
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_711)(const GLenum * mode, const GLint * first, const GLsizei * count, GLsizei primcount, GLint modestride);
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_697)(const GLenum * mode, const GLint * first, const GLsizei * count, GLsizei primcount, GLint modestride)
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_711)(const GLenum * mode, const GLint * first, const GLsizei * count, GLsizei primcount, GLint modestride)
|
||||
{
|
||||
DISPATCH(MultiModeDrawArraysIBM, (mode, first, count, primcount, modestride), (F, "glMultiModeDrawArraysIBM(%p, %p, %p, %d, %d);\n", (const void *) mode, (const void *) first, (const void *) count, primcount, modestride));
|
||||
}
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_698)(const GLenum * mode, const GLsizei * count, GLenum type, const GLvoid * const * indices, GLsizei primcount, GLint modestride);
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_712)(const GLenum * mode, const GLsizei * count, GLenum type, const GLvoid * const * indices, GLsizei primcount, GLint modestride);
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_698)(const GLenum * mode, const GLsizei * count, GLenum type, const GLvoid * const * indices, GLsizei primcount, GLint modestride)
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_712)(const GLenum * mode, const GLsizei * count, GLenum type, const GLvoid * const * indices, GLsizei primcount, GLint modestride)
|
||||
{
|
||||
DISPATCH(MultiModeDrawElementsIBM, (mode, count, type, indices, primcount, modestride), (F, "glMultiModeDrawElementsIBM(%p, %p, 0x%x, %p, %d, %d);\n", (const void *) mode, (const void *) count, type, (const void *) indices, primcount, modestride));
|
||||
}
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_699)(GLsizei n, const GLuint * fences);
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_713)(GLsizei n, const GLuint * fences);
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_699)(GLsizei n, const GLuint * fences)
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_713)(GLsizei n, const GLuint * fences)
|
||||
{
|
||||
DISPATCH(DeleteFencesNV, (n, fences), (F, "glDeleteFencesNV(%d, %p);\n", n, (const void *) fences));
|
||||
}
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_700)(GLuint fence);
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_714)(GLuint fence);
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_700)(GLuint fence)
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_714)(GLuint fence)
|
||||
{
|
||||
DISPATCH(FinishFenceNV, (fence), (F, "glFinishFenceNV(%d);\n", fence));
|
||||
}
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_701)(GLsizei n, GLuint * fences);
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_715)(GLsizei n, GLuint * fences);
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_701)(GLsizei n, GLuint * fences)
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_715)(GLsizei n, GLuint * fences)
|
||||
{
|
||||
DISPATCH(GenFencesNV, (n, fences), (F, "glGenFencesNV(%d, %p);\n", n, (const void *) fences));
|
||||
}
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_702)(GLuint fence, GLenum pname, GLint * params);
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_716)(GLuint fence, GLenum pname, GLint * params);
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_702)(GLuint fence, GLenum pname, GLint * params)
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_716)(GLuint fence, GLenum pname, GLint * params)
|
||||
{
|
||||
DISPATCH(GetFenceivNV, (fence, pname, params), (F, "glGetFenceivNV(%d, 0x%x, %p);\n", fence, pname, (const void *) params));
|
||||
}
|
||||
|
||||
KEYWORD1_ALT GLboolean KEYWORD2 NAME(_dispatch_stub_703)(GLuint fence);
|
||||
KEYWORD1_ALT GLboolean KEYWORD2 NAME(_dispatch_stub_717)(GLuint fence);
|
||||
|
||||
KEYWORD1_ALT GLboolean KEYWORD2 NAME(_dispatch_stub_703)(GLuint fence)
|
||||
KEYWORD1_ALT GLboolean KEYWORD2 NAME(_dispatch_stub_717)(GLuint fence)
|
||||
{
|
||||
RETURN_DISPATCH(IsFenceNV, (fence), (F, "glIsFenceNV(%d);\n", fence));
|
||||
}
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_704)(GLuint fence, GLenum condition);
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_718)(GLuint fence, GLenum condition);
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_704)(GLuint fence, GLenum condition)
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_718)(GLuint fence, GLenum condition)
|
||||
{
|
||||
DISPATCH(SetFenceNV, (fence, condition), (F, "glSetFenceNV(%d, 0x%x);\n", fence, condition));
|
||||
}
|
||||
|
||||
KEYWORD1_ALT GLboolean KEYWORD2 NAME(_dispatch_stub_705)(GLuint fence);
|
||||
KEYWORD1_ALT GLboolean KEYWORD2 NAME(_dispatch_stub_719)(GLuint fence);
|
||||
|
||||
KEYWORD1_ALT GLboolean KEYWORD2 NAME(_dispatch_stub_705)(GLuint fence)
|
||||
KEYWORD1_ALT GLboolean KEYWORD2 NAME(_dispatch_stub_719)(GLuint fence)
|
||||
{
|
||||
RETURN_DISPATCH(TestFenceNV, (fence), (F, "glTestFenceNV(%d);\n", fence));
|
||||
}
|
||||
|
|
@ -5394,16 +5464,16 @@ KEYWORD1 void KEYWORD2 NAME(PointParameterivNV)(GLenum pname, const GLint * para
|
|||
DISPATCH(PointParameterivNV, (pname, params), (F, "glPointParameterivNV(0x%x, %p);\n", pname, (const void *) params));
|
||||
}
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_786)(GLenum face);
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_800)(GLenum face);
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_786)(GLenum face)
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_800)(GLenum face)
|
||||
{
|
||||
DISPATCH(ActiveStencilFaceEXT, (face), (F, "glActiveStencilFaceEXT(0x%x);\n", face));
|
||||
}
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_787)(GLuint array);
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_801)(GLuint array);
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_787)(GLuint array)
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_801)(GLuint array)
|
||||
{
|
||||
DISPATCH(BindVertexArrayAPPLE, (array), (F, "glBindVertexArrayAPPLE(%d);\n", array));
|
||||
}
|
||||
|
|
@ -5413,16 +5483,16 @@ KEYWORD1 void KEYWORD2 NAME(DeleteVertexArrays)(GLsizei n, const GLuint * arrays
|
|||
DISPATCH(DeleteVertexArraysAPPLE, (n, arrays), (F, "glDeleteVertexArrays(%d, %p);\n", n, (const void *) arrays));
|
||||
}
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_788)(GLsizei n, const GLuint * arrays);
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_802)(GLsizei n, const GLuint * arrays);
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_788)(GLsizei n, const GLuint * arrays)
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_802)(GLsizei n, const GLuint * arrays)
|
||||
{
|
||||
DISPATCH(DeleteVertexArraysAPPLE, (n, arrays), (F, "glDeleteVertexArraysAPPLE(%d, %p);\n", n, (const void *) arrays));
|
||||
}
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_789)(GLsizei n, GLuint * arrays);
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_803)(GLsizei n, GLuint * arrays);
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_789)(GLsizei n, GLuint * arrays)
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_803)(GLsizei n, GLuint * arrays)
|
||||
{
|
||||
DISPATCH(GenVertexArraysAPPLE, (n, arrays), (F, "glGenVertexArraysAPPLE(%d, %p);\n", n, (const void *) arrays));
|
||||
}
|
||||
|
|
@ -5432,9 +5502,9 @@ KEYWORD1 GLboolean KEYWORD2 NAME(IsVertexArray)(GLuint array)
|
|||
RETURN_DISPATCH(IsVertexArrayAPPLE, (array), (F, "glIsVertexArray(%d);\n", array));
|
||||
}
|
||||
|
||||
KEYWORD1_ALT GLboolean KEYWORD2 NAME(_dispatch_stub_790)(GLuint array);
|
||||
KEYWORD1_ALT GLboolean KEYWORD2 NAME(_dispatch_stub_804)(GLuint array);
|
||||
|
||||
KEYWORD1_ALT GLboolean KEYWORD2 NAME(_dispatch_stub_790)(GLuint array)
|
||||
KEYWORD1_ALT GLboolean KEYWORD2 NAME(_dispatch_stub_804)(GLuint array)
|
||||
{
|
||||
RETURN_DISPATCH(IsVertexArrayAPPLE, (array), (F, "glIsVertexArrayAPPLE(%d);\n", array));
|
||||
}
|
||||
|
|
@ -5484,9 +5554,9 @@ KEYWORD1 void KEYWORD2 NAME(PrimitiveRestartNV)(void)
|
|||
DISPATCH(PrimitiveRestartNV, (), (F, "glPrimitiveRestartNV();\n"));
|
||||
}
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_799)(GLclampd zmin, GLclampd zmax);
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_813)(GLclampd zmin, GLclampd zmax);
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_799)(GLclampd zmin, GLclampd zmax)
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_813)(GLclampd zmin, GLclampd zmax)
|
||||
{
|
||||
DISPATCH(DepthBoundsEXT, (zmin, zmax), (F, "glDepthBoundsEXT(%f, %f);\n", zmin, zmax));
|
||||
}
|
||||
|
|
@ -5496,9 +5566,9 @@ KEYWORD1 void KEYWORD2 NAME(BlendEquationSeparate)(GLenum modeRGB, GLenum modeA)
|
|||
DISPATCH(BlendEquationSeparateEXT, (modeRGB, modeA), (F, "glBlendEquationSeparate(0x%x, 0x%x);\n", modeRGB, modeA));
|
||||
}
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_800)(GLenum modeRGB, GLenum modeA);
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_814)(GLenum modeRGB, GLenum modeA);
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_800)(GLenum modeRGB, GLenum modeA)
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_814)(GLenum modeRGB, GLenum modeA)
|
||||
{
|
||||
DISPATCH(BlendEquationSeparateEXT, (modeRGB, modeA), (F, "glBlendEquationSeparateEXT(0x%x, 0x%x);\n", modeRGB, modeA));
|
||||
}
|
||||
|
|
@ -5678,23 +5748,23 @@ KEYWORD1 void KEYWORD2 NAME(BlitFramebuffer)(GLint srcX0, GLint srcY0, GLint src
|
|||
DISPATCH(BlitFramebufferEXT, (srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter), (F, "glBlitFramebuffer(%d, %d, %d, %d, %d, %d, %d, %d, %d, 0x%x);\n", srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter));
|
||||
}
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_818)(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_832)(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_818)(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter)
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_832)(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter)
|
||||
{
|
||||
DISPATCH(BlitFramebufferEXT, (srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter), (F, "glBlitFramebufferEXT(%d, %d, %d, %d, %d, %d, %d, %d, %d, 0x%x);\n", srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter));
|
||||
}
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_819)(GLenum target, GLenum pname, GLint param);
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_833)(GLenum target, GLenum pname, GLint param);
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_819)(GLenum target, GLenum pname, GLint param)
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_833)(GLenum target, GLenum pname, GLint param)
|
||||
{
|
||||
DISPATCH(BufferParameteriAPPLE, (target, pname, param), (F, "glBufferParameteriAPPLE(0x%x, 0x%x, %d);\n", target, pname, param));
|
||||
}
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_820)(GLenum target, GLintptr offset, GLsizeiptr size);
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_834)(GLenum target, GLintptr offset, GLsizeiptr size);
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_820)(GLenum target, GLintptr offset, GLsizeiptr size)
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_834)(GLenum target, GLintptr offset, GLsizeiptr size)
|
||||
{
|
||||
DISPATCH(FlushMappedBufferRangeAPPLE, (target, offset, size), (F, "glFlushMappedBufferRangeAPPLE(0x%x, %d, %d);\n", target, offset, size));
|
||||
}
|
||||
|
|
@ -6254,16 +6324,16 @@ KEYWORD1 void KEYWORD2 NAME(ProvokingVertex)(GLenum mode)
|
|||
DISPATCH(ProvokingVertexEXT, (mode), (F, "glProvokingVertex(0x%x);\n", mode));
|
||||
}
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_878)(GLenum target, GLenum pname, GLvoid ** params);
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_892)(GLenum target, GLenum pname, GLvoid ** params);
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_878)(GLenum target, GLenum pname, GLvoid ** params)
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_892)(GLenum target, GLenum pname, GLvoid ** params)
|
||||
{
|
||||
DISPATCH(GetTexParameterPointervAPPLE, (target, pname, params), (F, "glGetTexParameterPointervAPPLE(0x%x, 0x%x, %p);\n", target, pname, (const void *) params));
|
||||
}
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_879)(GLenum target, GLsizei length, GLvoid * pointer);
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_893)(GLenum target, GLsizei length, GLvoid * pointer);
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_879)(GLenum target, GLsizei length, GLvoid * pointer)
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_893)(GLenum target, GLsizei length, GLvoid * pointer)
|
||||
{
|
||||
DISPATCH(TextureRangeAPPLE, (target, length, pointer), (F, "glTextureRangeAPPLE(0x%x, %d, %p);\n", target, length, (const void *) pointer));
|
||||
}
|
||||
|
|
@ -6303,37 +6373,37 @@ KEYWORD1 void KEYWORD2 NAME(TextureBarrierNV)(void)
|
|||
DISPATCH(TextureBarrierNV, (), (F, "glTextureBarrierNV();\n"));
|
||||
}
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_887)(GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_901)(GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_887)(GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask)
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_901)(GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask)
|
||||
{
|
||||
DISPATCH(StencilFuncSeparateATI, (frontfunc, backfunc, ref, mask), (F, "glStencilFuncSeparateATI(0x%x, 0x%x, %d, %d);\n", frontfunc, backfunc, ref, mask));
|
||||
}
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_888)(GLenum target, GLuint index, GLsizei count, const GLfloat * params);
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_902)(GLenum target, GLuint index, GLsizei count, const GLfloat * params);
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_888)(GLenum target, GLuint index, GLsizei count, const GLfloat * params)
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_902)(GLenum target, GLuint index, GLsizei count, const GLfloat * params)
|
||||
{
|
||||
DISPATCH(ProgramEnvParameters4fvEXT, (target, index, count, params), (F, "glProgramEnvParameters4fvEXT(0x%x, %d, %d, %p);\n", target, index, count, (const void *) params));
|
||||
}
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_889)(GLenum target, GLuint index, GLsizei count, const GLfloat * params);
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_903)(GLenum target, GLuint index, GLsizei count, const GLfloat * params);
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_889)(GLenum target, GLuint index, GLsizei count, const GLfloat * params)
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_903)(GLenum target, GLuint index, GLsizei count, const GLfloat * params)
|
||||
{
|
||||
DISPATCH(ProgramLocalParameters4fvEXT, (target, index, count, params), (F, "glProgramLocalParameters4fvEXT(0x%x, %d, %d, %p);\n", target, index, count, (const void *) params));
|
||||
}
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_890)(GLuint id, GLenum pname, GLint64EXT * params);
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_904)(GLuint id, GLenum pname, GLint64EXT * params);
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_890)(GLuint id, GLenum pname, GLint64EXT * params)
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_904)(GLuint id, GLenum pname, GLint64EXT * params)
|
||||
{
|
||||
DISPATCH(GetQueryObjecti64vEXT, (id, pname, params), (F, "glGetQueryObjecti64vEXT(%d, 0x%x, %p);\n", id, pname, (const void *) params));
|
||||
}
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_891)(GLuint id, GLenum pname, GLuint64EXT * params);
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_905)(GLuint id, GLenum pname, GLuint64EXT * params);
|
||||
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_891)(GLuint id, GLenum pname, GLuint64EXT * params)
|
||||
KEYWORD1_ALT void KEYWORD2 NAME(_dispatch_stub_905)(GLuint id, GLenum pname, GLuint64EXT * params)
|
||||
{
|
||||
DISPATCH(GetQueryObjectui64vEXT, (id, pname, params), (F, "glGetQueryObjectui64vEXT(%d, 0x%x, %p);\n", id, pname, (const void *) params));
|
||||
}
|
||||
|
|
@ -7101,6 +7171,20 @@ _glapi_proc DISPATCH_TABLE_NAME[] = {
|
|||
TABLE_ENTRY(BlendEquationiARB),
|
||||
TABLE_ENTRY(BlendFuncSeparateiARB),
|
||||
TABLE_ENTRY(BlendFunciARB),
|
||||
TABLE_ENTRY(BindSampler),
|
||||
TABLE_ENTRY(DeleteSamplers),
|
||||
TABLE_ENTRY(GenSamplers),
|
||||
TABLE_ENTRY(GetSamplerParameterIiv),
|
||||
TABLE_ENTRY(GetSamplerParameterIuiv),
|
||||
TABLE_ENTRY(GetSamplerParameterfv),
|
||||
TABLE_ENTRY(GetSamplerParameteriv),
|
||||
TABLE_ENTRY(IsSampler),
|
||||
TABLE_ENTRY(SamplerParameterIiv),
|
||||
TABLE_ENTRY(SamplerParameterIuiv),
|
||||
TABLE_ENTRY(SamplerParameterf),
|
||||
TABLE_ENTRY(SamplerParameterfv),
|
||||
TABLE_ENTRY(SamplerParameteri),
|
||||
TABLE_ENTRY(SamplerParameteriv),
|
||||
TABLE_ENTRY(BindTransformFeedback),
|
||||
TABLE_ENTRY(DeleteTransformFeedbacks),
|
||||
TABLE_ENTRY(DrawTransformFeedback),
|
||||
|
|
@ -7114,14 +7198,14 @@ _glapi_proc DISPATCH_TABLE_NAME[] = {
|
|||
TABLE_ENTRY(ReleaseShaderCompiler),
|
||||
TABLE_ENTRY(ShaderBinary),
|
||||
TABLE_ENTRY(PolygonOffsetEXT),
|
||||
TABLE_ENTRY(_dispatch_stub_613),
|
||||
TABLE_ENTRY(_dispatch_stub_614),
|
||||
TABLE_ENTRY(_dispatch_stub_615),
|
||||
TABLE_ENTRY(_dispatch_stub_616),
|
||||
TABLE_ENTRY(_dispatch_stub_617),
|
||||
TABLE_ENTRY(_dispatch_stub_618),
|
||||
TABLE_ENTRY(_dispatch_stub_619),
|
||||
TABLE_ENTRY(_dispatch_stub_620),
|
||||
TABLE_ENTRY(_dispatch_stub_627),
|
||||
TABLE_ENTRY(_dispatch_stub_628),
|
||||
TABLE_ENTRY(_dispatch_stub_629),
|
||||
TABLE_ENTRY(_dispatch_stub_630),
|
||||
TABLE_ENTRY(_dispatch_stub_631),
|
||||
TABLE_ENTRY(_dispatch_stub_632),
|
||||
TABLE_ENTRY(_dispatch_stub_633),
|
||||
TABLE_ENTRY(_dispatch_stub_634),
|
||||
TABLE_ENTRY(ColorPointerEXT),
|
||||
TABLE_ENTRY(EdgeFlagPointerEXT),
|
||||
TABLE_ENTRY(IndexPointerEXT),
|
||||
|
|
@ -7156,7 +7240,7 @@ _glapi_proc DISPATCH_TABLE_NAME[] = {
|
|||
TABLE_ENTRY(FogCoorddvEXT),
|
||||
TABLE_ENTRY(FogCoordfEXT),
|
||||
TABLE_ENTRY(FogCoordfvEXT),
|
||||
TABLE_ENTRY(_dispatch_stub_655),
|
||||
TABLE_ENTRY(_dispatch_stub_669),
|
||||
TABLE_ENTRY(BlendFuncSeparateEXT),
|
||||
TABLE_ENTRY(FlushVertexArrayRangeNV),
|
||||
TABLE_ENTRY(VertexArrayRangeNV),
|
||||
|
|
@ -7198,15 +7282,15 @@ _glapi_proc DISPATCH_TABLE_NAME[] = {
|
|||
TABLE_ENTRY(WindowPos4ivMESA),
|
||||
TABLE_ENTRY(WindowPos4sMESA),
|
||||
TABLE_ENTRY(WindowPos4svMESA),
|
||||
TABLE_ENTRY(_dispatch_stub_697),
|
||||
TABLE_ENTRY(_dispatch_stub_698),
|
||||
TABLE_ENTRY(_dispatch_stub_699),
|
||||
TABLE_ENTRY(_dispatch_stub_700),
|
||||
TABLE_ENTRY(_dispatch_stub_701),
|
||||
TABLE_ENTRY(_dispatch_stub_702),
|
||||
TABLE_ENTRY(_dispatch_stub_703),
|
||||
TABLE_ENTRY(_dispatch_stub_704),
|
||||
TABLE_ENTRY(_dispatch_stub_705),
|
||||
TABLE_ENTRY(_dispatch_stub_711),
|
||||
TABLE_ENTRY(_dispatch_stub_712),
|
||||
TABLE_ENTRY(_dispatch_stub_713),
|
||||
TABLE_ENTRY(_dispatch_stub_714),
|
||||
TABLE_ENTRY(_dispatch_stub_715),
|
||||
TABLE_ENTRY(_dispatch_stub_716),
|
||||
TABLE_ENTRY(_dispatch_stub_717),
|
||||
TABLE_ENTRY(_dispatch_stub_718),
|
||||
TABLE_ENTRY(_dispatch_stub_719),
|
||||
TABLE_ENTRY(AreProgramsResidentNV),
|
||||
TABLE_ENTRY(BindProgramNV),
|
||||
TABLE_ENTRY(DeleteProgramsNV),
|
||||
|
|
@ -7287,11 +7371,11 @@ _glapi_proc DISPATCH_TABLE_NAME[] = {
|
|||
TABLE_ENTRY(SetFragmentShaderConstantATI),
|
||||
TABLE_ENTRY(PointParameteriNV),
|
||||
TABLE_ENTRY(PointParameterivNV),
|
||||
TABLE_ENTRY(_dispatch_stub_786),
|
||||
TABLE_ENTRY(_dispatch_stub_787),
|
||||
TABLE_ENTRY(_dispatch_stub_788),
|
||||
TABLE_ENTRY(_dispatch_stub_789),
|
||||
TABLE_ENTRY(_dispatch_stub_790),
|
||||
TABLE_ENTRY(_dispatch_stub_800),
|
||||
TABLE_ENTRY(_dispatch_stub_801),
|
||||
TABLE_ENTRY(_dispatch_stub_802),
|
||||
TABLE_ENTRY(_dispatch_stub_803),
|
||||
TABLE_ENTRY(_dispatch_stub_804),
|
||||
TABLE_ENTRY(GetProgramNamedParameterdvNV),
|
||||
TABLE_ENTRY(GetProgramNamedParameterfvNV),
|
||||
TABLE_ENTRY(ProgramNamedParameter4dNV),
|
||||
|
|
@ -7300,8 +7384,8 @@ _glapi_proc DISPATCH_TABLE_NAME[] = {
|
|||
TABLE_ENTRY(ProgramNamedParameter4fvNV),
|
||||
TABLE_ENTRY(PrimitiveRestartIndexNV),
|
||||
TABLE_ENTRY(PrimitiveRestartNV),
|
||||
TABLE_ENTRY(_dispatch_stub_799),
|
||||
TABLE_ENTRY(_dispatch_stub_800),
|
||||
TABLE_ENTRY(_dispatch_stub_813),
|
||||
TABLE_ENTRY(_dispatch_stub_814),
|
||||
TABLE_ENTRY(BindFramebufferEXT),
|
||||
TABLE_ENTRY(BindRenderbufferEXT),
|
||||
TABLE_ENTRY(CheckFramebufferStatusEXT),
|
||||
|
|
@ -7319,9 +7403,9 @@ _glapi_proc DISPATCH_TABLE_NAME[] = {
|
|||
TABLE_ENTRY(IsFramebufferEXT),
|
||||
TABLE_ENTRY(IsRenderbufferEXT),
|
||||
TABLE_ENTRY(RenderbufferStorageEXT),
|
||||
TABLE_ENTRY(_dispatch_stub_818),
|
||||
TABLE_ENTRY(_dispatch_stub_819),
|
||||
TABLE_ENTRY(_dispatch_stub_820),
|
||||
TABLE_ENTRY(_dispatch_stub_832),
|
||||
TABLE_ENTRY(_dispatch_stub_833),
|
||||
TABLE_ENTRY(_dispatch_stub_834),
|
||||
TABLE_ENTRY(BindFragDataLocationEXT),
|
||||
TABLE_ENTRY(GetFragDataLocationEXT),
|
||||
TABLE_ENTRY(GetUniformuivEXT),
|
||||
|
|
@ -7379,8 +7463,8 @@ _glapi_proc DISPATCH_TABLE_NAME[] = {
|
|||
TABLE_ENTRY(GetTransformFeedbackVaryingEXT),
|
||||
TABLE_ENTRY(TransformFeedbackVaryingsEXT),
|
||||
TABLE_ENTRY(ProvokingVertexEXT),
|
||||
TABLE_ENTRY(_dispatch_stub_878),
|
||||
TABLE_ENTRY(_dispatch_stub_879),
|
||||
TABLE_ENTRY(_dispatch_stub_892),
|
||||
TABLE_ENTRY(_dispatch_stub_893),
|
||||
TABLE_ENTRY(GetObjectParameterivAPPLE),
|
||||
TABLE_ENTRY(ObjectPurgeableAPPLE),
|
||||
TABLE_ENTRY(ObjectUnpurgeableAPPLE),
|
||||
|
|
@ -7388,11 +7472,11 @@ _glapi_proc DISPATCH_TABLE_NAME[] = {
|
|||
TABLE_ENTRY(CreateShaderProgramEXT),
|
||||
TABLE_ENTRY(UseShaderProgramEXT),
|
||||
TABLE_ENTRY(TextureBarrierNV),
|
||||
TABLE_ENTRY(_dispatch_stub_887),
|
||||
TABLE_ENTRY(_dispatch_stub_888),
|
||||
TABLE_ENTRY(_dispatch_stub_889),
|
||||
TABLE_ENTRY(_dispatch_stub_890),
|
||||
TABLE_ENTRY(_dispatch_stub_891),
|
||||
TABLE_ENTRY(_dispatch_stub_901),
|
||||
TABLE_ENTRY(_dispatch_stub_902),
|
||||
TABLE_ENTRY(_dispatch_stub_903),
|
||||
TABLE_ENTRY(_dispatch_stub_904),
|
||||
TABLE_ENTRY(_dispatch_stub_905),
|
||||
TABLE_ENTRY(EGLImageTargetRenderbufferStorageOES),
|
||||
TABLE_ENTRY(EGLImageTargetTexture2DOES),
|
||||
/* A whole bunch of no-op functions. These might be called
|
||||
|
|
@ -7699,10 +7783,10 @@ _glapi_proc UNUSED_TABLE_NAME[] = {
|
|||
TABLE_ENTRY(RenderbufferStorageMultisampleEXT),
|
||||
TABLE_ENTRY(PointParameterf),
|
||||
TABLE_ENTRY(PointParameterfARB),
|
||||
TABLE_ENTRY(_dispatch_stub_627),
|
||||
TABLE_ENTRY(_dispatch_stub_641),
|
||||
TABLE_ENTRY(PointParameterfv),
|
||||
TABLE_ENTRY(PointParameterfvARB),
|
||||
TABLE_ENTRY(_dispatch_stub_628),
|
||||
TABLE_ENTRY(_dispatch_stub_642),
|
||||
TABLE_ENTRY(SecondaryColor3b),
|
||||
TABLE_ENTRY(SecondaryColor3bv),
|
||||
TABLE_ENTRY(SecondaryColor3d),
|
||||
|
|
@ -7728,7 +7812,7 @@ _glapi_proc UNUSED_TABLE_NAME[] = {
|
|||
TABLE_ENTRY(FogCoordf),
|
||||
TABLE_ENTRY(FogCoordfv),
|
||||
TABLE_ENTRY(BlendFuncSeparate),
|
||||
TABLE_ENTRY(_dispatch_stub_656),
|
||||
TABLE_ENTRY(_dispatch_stub_670),
|
||||
TABLE_ENTRY(WindowPos2d),
|
||||
TABLE_ENTRY(WindowPos2dARB),
|
||||
TABLE_ENTRY(WindowPos2dv),
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -100,6 +100,7 @@ main_sources = [
|
|||
'main/readpix.c',
|
||||
'main/remap.c',
|
||||
'main/renderbuffer.c',
|
||||
'main/samplerobj.c',
|
||||
'main/scissor.c',
|
||||
'main/shaderapi.c',
|
||||
'main/shaderobj.c',
|
||||
|
|
|
|||
|
|
@ -1124,12 +1124,12 @@ blitframebuffer_texture(struct gl_context *ctx,
|
|||
if (readAtt && readAtt->Texture) {
|
||||
const struct gl_texture_object *texObj = readAtt->Texture;
|
||||
const GLuint srcLevel = readAtt->TextureLevel;
|
||||
const GLenum minFilterSave = texObj->MinFilter;
|
||||
const GLenum magFilterSave = texObj->MagFilter;
|
||||
const GLenum minFilterSave = texObj->Sampler.MinFilter;
|
||||
const GLenum magFilterSave = texObj->Sampler.MagFilter;
|
||||
const GLint baseLevelSave = texObj->BaseLevel;
|
||||
const GLint maxLevelSave = texObj->MaxLevel;
|
||||
const GLenum wrapSSave = texObj->WrapS;
|
||||
const GLenum wrapTSave = texObj->WrapT;
|
||||
const GLenum wrapSSave = texObj->Sampler.WrapS;
|
||||
const GLenum wrapTSave = texObj->Sampler.WrapT;
|
||||
const GLenum target = texObj->Target;
|
||||
|
||||
if (drawAtt->Texture == readAtt->Texture) {
|
||||
|
|
@ -2259,13 +2259,13 @@ _mesa_meta_GenerateMipmap(struct gl_context *ctx, GLenum target,
|
|||
struct vertex verts[4];
|
||||
const GLuint baseLevel = texObj->BaseLevel;
|
||||
const GLuint maxLevel = texObj->MaxLevel;
|
||||
const GLenum minFilterSave = texObj->MinFilter;
|
||||
const GLenum magFilterSave = texObj->MagFilter;
|
||||
const GLenum minFilterSave = texObj->Sampler.MinFilter;
|
||||
const GLenum magFilterSave = texObj->Sampler.MagFilter;
|
||||
const GLint maxLevelSave = texObj->MaxLevel;
|
||||
const GLboolean genMipmapSave = texObj->GenerateMipmap;
|
||||
const GLenum wrapSSave = texObj->WrapS;
|
||||
const GLenum wrapTSave = texObj->WrapT;
|
||||
const GLenum wrapRSave = texObj->WrapR;
|
||||
const GLenum wrapSSave = texObj->Sampler.WrapS;
|
||||
const GLenum wrapTSave = texObj->Sampler.WrapT;
|
||||
const GLenum wrapRSave = texObj->Sampler.WrapR;
|
||||
const GLuint fboSave = ctx->DrawBuffer->Name;
|
||||
const GLuint original_active_unit = ctx->Texture.CurrentUnit;
|
||||
GLenum faceTarget;
|
||||
|
|
|
|||
|
|
@ -1264,17 +1264,18 @@ driCalculateTextureFirstLastLevel( driTextureObject * t )
|
|||
case GL_TEXTURE_2D:
|
||||
case GL_TEXTURE_3D:
|
||||
case GL_TEXTURE_CUBE_MAP:
|
||||
if (tObj->MinFilter == GL_NEAREST || tObj->MinFilter == GL_LINEAR) {
|
||||
if (tObj->Sampler.MinFilter == GL_NEAREST ||
|
||||
tObj->Sampler.MinFilter == GL_LINEAR) {
|
||||
/* GL_NEAREST and GL_LINEAR only care about GL_TEXTURE_BASE_LEVEL.
|
||||
*/
|
||||
|
||||
firstLevel = lastLevel = tObj->BaseLevel;
|
||||
}
|
||||
else {
|
||||
firstLevel = tObj->BaseLevel + (GLint)(tObj->MinLod + 0.5);
|
||||
firstLevel = tObj->BaseLevel + (GLint)(tObj->Sampler.MinLod + 0.5);
|
||||
firstLevel = MAX2(firstLevel, tObj->BaseLevel);
|
||||
firstLevel = MIN2(firstLevel, tObj->BaseLevel + baseImage->MaxLog2);
|
||||
lastLevel = tObj->BaseLevel + (GLint)(tObj->MaxLod + 0.5);
|
||||
lastLevel = tObj->BaseLevel + (GLint)(tObj->Sampler.MaxLod + 0.5);
|
||||
lastLevel = MAX2(lastLevel, t->tObj->BaseLevel);
|
||||
lastLevel = MIN2(lastLevel, t->tObj->BaseLevel + baseImage->MaxLog2);
|
||||
lastLevel = MIN2(lastLevel, t->tObj->MaxLevel);
|
||||
|
|
|
|||
|
|
@ -204,10 +204,10 @@ i810AllocTexObj( struct gl_context *ctx, struct gl_texture_object *texObj )
|
|||
|
||||
make_empty_list( & t->base );
|
||||
|
||||
i810SetTexWrapping( t, texObj->WrapS, texObj->WrapT );
|
||||
i810SetTexWrapping( t, texObj->Sampler.WrapS, texObj->Sampler.WrapT );
|
||||
/*i830SetTexMaxAnisotropy( t, texObj->MaxAnisotropy );*/
|
||||
i810SetTexFilter( imesa, t, texObj->MinFilter, texObj->MagFilter, bias );
|
||||
i810SetTexBorderColor( t, texObj->BorderColor.f );
|
||||
i810SetTexFilter( imesa, t, texObj->Sampler.MinFilter, texObj->Sampler.MagFilter, bias );
|
||||
i810SetTexBorderColor( t, texObj->Sampler.BorderColor.f );
|
||||
}
|
||||
|
||||
return t;
|
||||
|
|
@ -238,17 +238,17 @@ static void i810TexParameter( struct gl_context *ctx, GLenum target,
|
|||
case GL_TEXTURE_MAG_FILTER:
|
||||
{
|
||||
GLfloat bias = ctx->Texture.Unit[ctx->Texture.CurrentUnit].LodBias;
|
||||
i810SetTexFilter( imesa, t, tObj->MinFilter, tObj->MagFilter, bias );
|
||||
i810SetTexFilter( imesa, t, tObj->Sampler.MinFilter, tObj->Sampler.MagFilter, bias );
|
||||
}
|
||||
break;
|
||||
|
||||
case GL_TEXTURE_WRAP_S:
|
||||
case GL_TEXTURE_WRAP_T:
|
||||
i810SetTexWrapping( t, tObj->WrapS, tObj->WrapT );
|
||||
i810SetTexWrapping( t, tObj->Sampler.WrapS, tObj->Sampler.WrapT );
|
||||
break;
|
||||
|
||||
case GL_TEXTURE_BORDER_COLOR:
|
||||
i810SetTexBorderColor( t, tObj->BorderColor.f );
|
||||
i810SetTexBorderColor( t, tObj->Sampler.BorderColor.f );
|
||||
break;
|
||||
|
||||
case GL_TEXTURE_BASE_LEVEL:
|
||||
|
|
|
|||
|
|
@ -193,7 +193,7 @@ i830_update_tex_unit(struct intel_context *intel, GLuint unit, GLuint ss3)
|
|||
float maxlod;
|
||||
uint32_t minlod_fixed, maxlod_fixed;
|
||||
|
||||
switch (tObj->MinFilter) {
|
||||
switch (tObj->Sampler.MinFilter) {
|
||||
case GL_NEAREST:
|
||||
minFilt = FILTER_NEAREST;
|
||||
mipFilt = MIPFILTER_NONE;
|
||||
|
|
@ -222,12 +222,12 @@ i830_update_tex_unit(struct intel_context *intel, GLuint unit, GLuint ss3)
|
|||
return GL_FALSE;
|
||||
}
|
||||
|
||||
if (tObj->MaxAnisotropy > 1.0) {
|
||||
if (tObj->Sampler.MaxAnisotropy > 1.0) {
|
||||
minFilt = FILTER_ANISOTROPIC;
|
||||
magFilt = FILTER_ANISOTROPIC;
|
||||
}
|
||||
else {
|
||||
switch (tObj->MagFilter) {
|
||||
switch (tObj->Sampler.MagFilter) {
|
||||
case GL_NEAREST:
|
||||
magFilt = FILTER_NEAREST;
|
||||
break;
|
||||
|
|
@ -239,7 +239,7 @@ i830_update_tex_unit(struct intel_context *intel, GLuint unit, GLuint ss3)
|
|||
}
|
||||
}
|
||||
|
||||
lodbias = (int) ((tUnit->LodBias + tObj->LodBias) * 16.0);
|
||||
lodbias = (int) ((tUnit->LodBias + tObj->Sampler.LodBias) * 16.0);
|
||||
if (lodbias < -64)
|
||||
lodbias = -64;
|
||||
if (lodbias > 63)
|
||||
|
|
@ -259,8 +259,8 @@ i830_update_tex_unit(struct intel_context *intel, GLuint unit, GLuint ss3)
|
|||
* addressable (smallest resolution) LOD. Use it to cover both
|
||||
* MAX_LEVEL and MAX_LOD.
|
||||
*/
|
||||
minlod_fixed = U_FIXED(CLAMP(tObj->MinLod, 0.0, 11), 4);
|
||||
maxlod = MIN2(tObj->MaxLod, tObj->_MaxLevel - tObj->BaseLevel);
|
||||
minlod_fixed = U_FIXED(CLAMP(tObj->Sampler.MinLod, 0.0, 11), 4);
|
||||
maxlod = MIN2(tObj->Sampler.MaxLod, tObj->_MaxLevel - tObj->BaseLevel);
|
||||
if (intel->intelScreen->deviceID == PCI_CHIP_I855_GM ||
|
||||
intel->intelScreen->deviceID == PCI_CHIP_I865_G) {
|
||||
maxlod_fixed = U_FIXED(CLAMP(maxlod, 0.0, 11.75), 2);
|
||||
|
|
@ -279,8 +279,8 @@ i830_update_tex_unit(struct intel_context *intel, GLuint unit, GLuint ss3)
|
|||
}
|
||||
|
||||
{
|
||||
GLenum ws = tObj->WrapS;
|
||||
GLenum wt = tObj->WrapT;
|
||||
GLenum ws = tObj->Sampler.WrapS;
|
||||
GLenum wt = tObj->Sampler.WrapT;
|
||||
|
||||
|
||||
/* 3D textures not available on i830
|
||||
|
|
@ -300,10 +300,10 @@ i830_update_tex_unit(struct intel_context *intel, GLuint unit, GLuint ss3)
|
|||
}
|
||||
|
||||
/* convert border color from float to ubyte */
|
||||
CLAMPED_FLOAT_TO_UBYTE(border[0], tObj->BorderColor.f[0]);
|
||||
CLAMPED_FLOAT_TO_UBYTE(border[1], tObj->BorderColor.f[1]);
|
||||
CLAMPED_FLOAT_TO_UBYTE(border[2], tObj->BorderColor.f[2]);
|
||||
CLAMPED_FLOAT_TO_UBYTE(border[3], tObj->BorderColor.f[3]);
|
||||
CLAMPED_FLOAT_TO_UBYTE(border[0], tObj->Sampler.BorderColor.f[0]);
|
||||
CLAMPED_FLOAT_TO_UBYTE(border[1], tObj->Sampler.BorderColor.f[1]);
|
||||
CLAMPED_FLOAT_TO_UBYTE(border[2], tObj->Sampler.BorderColor.f[2]);
|
||||
CLAMPED_FLOAT_TO_UBYTE(border[3], tObj->Sampler.BorderColor.f[3]);
|
||||
|
||||
state[I830_TEXREG_TM0S4] = PACK_COLOR_8888(border[3],
|
||||
border[0],
|
||||
|
|
|
|||
|
|
@ -164,7 +164,7 @@ i915_update_tex_unit(struct intel_context *intel, GLuint unit, GLuint ss3)
|
|||
|
||||
format = translate_texture_format(firstImage->TexFormat,
|
||||
firstImage->InternalFormat,
|
||||
tObj->DepthMode);
|
||||
tObj->Sampler.DepthMode);
|
||||
pitch = intelObj->mt->region->pitch * intelObj->mt->cpp;
|
||||
|
||||
state[I915_TEXREG_MS3] =
|
||||
|
|
@ -181,7 +181,7 @@ i915_update_tex_unit(struct intel_context *intel, GLuint unit, GLuint ss3)
|
|||
* (lowest resolution) LOD. Use it to cover both MAX_LEVEL and
|
||||
* MAX_LOD.
|
||||
*/
|
||||
maxlod = MIN2(tObj->MaxLod, tObj->_MaxLevel - tObj->BaseLevel);
|
||||
maxlod = MIN2(tObj->Sampler.MaxLod, tObj->_MaxLevel - tObj->BaseLevel);
|
||||
state[I915_TEXREG_MS4] =
|
||||
((((pitch / 4) - 1) << MS4_PITCH_SHIFT) |
|
||||
MS4_CUBE_FACE_ENA_MASK |
|
||||
|
|
@ -192,7 +192,7 @@ i915_update_tex_unit(struct intel_context *intel, GLuint unit, GLuint ss3)
|
|||
{
|
||||
GLuint minFilt, mipFilt, magFilt;
|
||||
|
||||
switch (tObj->MinFilter) {
|
||||
switch (tObj->Sampler.MinFilter) {
|
||||
case GL_NEAREST:
|
||||
minFilt = FILTER_NEAREST;
|
||||
mipFilt = MIPFILTER_NONE;
|
||||
|
|
@ -221,16 +221,16 @@ i915_update_tex_unit(struct intel_context *intel, GLuint unit, GLuint ss3)
|
|||
return GL_FALSE;
|
||||
}
|
||||
|
||||
if (tObj->MaxAnisotropy > 1.0) {
|
||||
if (tObj->Sampler.MaxAnisotropy > 1.0) {
|
||||
minFilt = FILTER_ANISOTROPIC;
|
||||
magFilt = FILTER_ANISOTROPIC;
|
||||
if (tObj->MaxAnisotropy > 2.0)
|
||||
if (tObj->Sampler.MaxAnisotropy > 2.0)
|
||||
aniso = SS2_MAX_ANISO_4;
|
||||
else
|
||||
aniso = SS2_MAX_ANISO_2;
|
||||
}
|
||||
else {
|
||||
switch (tObj->MagFilter) {
|
||||
switch (tObj->Sampler.MagFilter) {
|
||||
case GL_NEAREST:
|
||||
magFilt = FILTER_NEAREST;
|
||||
break;
|
||||
|
|
@ -242,7 +242,7 @@ i915_update_tex_unit(struct intel_context *intel, GLuint unit, GLuint ss3)
|
|||
}
|
||||
}
|
||||
|
||||
lodbias = (int) ((tUnit->LodBias + tObj->LodBias) * 16.0);
|
||||
lodbias = (int) ((tUnit->LodBias + tObj->Sampler.LodBias) * 16.0);
|
||||
if (lodbias < -256)
|
||||
lodbias = -256;
|
||||
if (lodbias > 255)
|
||||
|
|
@ -258,14 +258,14 @@ i915_update_tex_unit(struct intel_context *intel, GLuint unit, GLuint ss3)
|
|||
|
||||
/* Shadow:
|
||||
*/
|
||||
if (tObj->CompareMode == GL_COMPARE_R_TO_TEXTURE_ARB &&
|
||||
if (tObj->Sampler.CompareMode == GL_COMPARE_R_TO_TEXTURE_ARB &&
|
||||
tObj->Target != GL_TEXTURE_3D) {
|
||||
if (tObj->Target == GL_TEXTURE_1D)
|
||||
return GL_FALSE;
|
||||
|
||||
state[I915_TEXREG_SS2] |=
|
||||
(SS2_SHADOW_ENABLE |
|
||||
intel_translate_shadow_compare_func(tObj->CompareFunc));
|
||||
intel_translate_shadow_compare_func(tObj->Sampler.CompareFunc));
|
||||
|
||||
minFilt = FILTER_4X4_FLAT;
|
||||
magFilt = FILTER_4X4_FLAT;
|
||||
|
|
@ -278,9 +278,9 @@ i915_update_tex_unit(struct intel_context *intel, GLuint unit, GLuint ss3)
|
|||
}
|
||||
|
||||
{
|
||||
GLenum ws = tObj->WrapS;
|
||||
GLenum wt = tObj->WrapT;
|
||||
GLenum wr = tObj->WrapR;
|
||||
GLenum ws = tObj->Sampler.WrapS;
|
||||
GLenum wt = tObj->Sampler.WrapT;
|
||||
GLenum wr = tObj->Sampler.WrapR;
|
||||
float minlod;
|
||||
|
||||
/* We program 1D textures as 2D textures, so the 2D texcoord could
|
||||
|
|
@ -298,8 +298,8 @@ i915_update_tex_unit(struct intel_context *intel, GLuint unit, GLuint ss3)
|
|||
* clamp_to_border.
|
||||
*/
|
||||
if (tObj->Target == GL_TEXTURE_3D &&
|
||||
(tObj->MinFilter != GL_NEAREST ||
|
||||
tObj->MagFilter != GL_NEAREST) &&
|
||||
(tObj->Sampler.MinFilter != GL_NEAREST ||
|
||||
tObj->Sampler.MagFilter != GL_NEAREST) &&
|
||||
(ws == GL_CLAMP ||
|
||||
wt == GL_CLAMP ||
|
||||
wr == GL_CLAMP ||
|
||||
|
|
@ -322,7 +322,7 @@ i915_update_tex_unit(struct intel_context *intel, GLuint unit, GLuint ss3)
|
|||
(translate_wrap_mode(wt) << SS3_TCY_ADDR_MODE_SHIFT) |
|
||||
(translate_wrap_mode(wr) << SS3_TCZ_ADDR_MODE_SHIFT));
|
||||
|
||||
minlod = MIN2(tObj->MinLod, tObj->_MaxLevel - tObj->BaseLevel);
|
||||
minlod = MIN2(tObj->Sampler.MinLod, tObj->_MaxLevel - tObj->BaseLevel);
|
||||
state[I915_TEXREG_SS3] |= (unit << SS3_TEXTUREMAP_INDEX_SHIFT);
|
||||
state[I915_TEXREG_SS3] |= (U_FIXED(CLAMP(minlod, 0.0, 11.0), 4) <<
|
||||
SS3_MIN_LOD_SHIFT);
|
||||
|
|
@ -330,10 +330,10 @@ i915_update_tex_unit(struct intel_context *intel, GLuint unit, GLuint ss3)
|
|||
}
|
||||
|
||||
/* convert border color from float to ubyte */
|
||||
CLAMPED_FLOAT_TO_UBYTE(border[0], tObj->BorderColor.f[0]);
|
||||
CLAMPED_FLOAT_TO_UBYTE(border[1], tObj->BorderColor.f[1]);
|
||||
CLAMPED_FLOAT_TO_UBYTE(border[2], tObj->BorderColor.f[2]);
|
||||
CLAMPED_FLOAT_TO_UBYTE(border[3], tObj->BorderColor.f[3]);
|
||||
CLAMPED_FLOAT_TO_UBYTE(border[0], tObj->Sampler.BorderColor.f[0]);
|
||||
CLAMPED_FLOAT_TO_UBYTE(border[1], tObj->Sampler.BorderColor.f[1]);
|
||||
CLAMPED_FLOAT_TO_UBYTE(border[2], tObj->Sampler.BorderColor.f[2]);
|
||||
CLAMPED_FLOAT_TO_UBYTE(border[3], tObj->Sampler.BorderColor.f[3]);
|
||||
|
||||
if (firstImage->_BaseFormat == GL_DEPTH_COMPONENT) {
|
||||
/* GL specs that border color for depth textures is taken from the
|
||||
|
|
|
|||
|
|
@ -271,20 +271,20 @@ static GLboolean check_fallbacks( struct brw_context *brw,
|
|||
struct gl_texture_unit *texUnit = &ctx->Texture.Unit[u];
|
||||
if (texUnit->Enabled) {
|
||||
if (texUnit->Enabled & TEXTURE_1D_BIT) {
|
||||
if (texUnit->CurrentTex[TEXTURE_1D_INDEX]->WrapS == GL_CLAMP) {
|
||||
if (texUnit->CurrentTex[TEXTURE_1D_INDEX]->Sampler.WrapS == GL_CLAMP) {
|
||||
return GL_TRUE;
|
||||
}
|
||||
}
|
||||
if (texUnit->Enabled & TEXTURE_2D_BIT) {
|
||||
if (texUnit->CurrentTex[TEXTURE_2D_INDEX]->WrapS == GL_CLAMP ||
|
||||
texUnit->CurrentTex[TEXTURE_2D_INDEX]->WrapT == GL_CLAMP) {
|
||||
if (texUnit->CurrentTex[TEXTURE_2D_INDEX]->Sampler.WrapS == GL_CLAMP ||
|
||||
texUnit->CurrentTex[TEXTURE_2D_INDEX]->Sampler.WrapT == GL_CLAMP) {
|
||||
return GL_TRUE;
|
||||
}
|
||||
}
|
||||
if (texUnit->Enabled & TEXTURE_3D_BIT) {
|
||||
if (texUnit->CurrentTex[TEXTURE_3D_INDEX]->WrapS == GL_CLAMP ||
|
||||
texUnit->CurrentTex[TEXTURE_3D_INDEX]->WrapT == GL_CLAMP ||
|
||||
texUnit->CurrentTex[TEXTURE_3D_INDEX]->WrapR == GL_CLAMP) {
|
||||
if (texUnit->CurrentTex[TEXTURE_3D_INDEX]->Sampler.WrapS == GL_CLAMP ||
|
||||
texUnit->CurrentTex[TEXTURE_3D_INDEX]->Sampler.WrapT == GL_CLAMP ||
|
||||
texUnit->CurrentTex[TEXTURE_3D_INDEX]->Sampler.WrapR == GL_CLAMP) {
|
||||
return GL_TRUE;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -370,14 +370,14 @@ static void brw_wm_populate_key( struct brw_context *brw,
|
|||
* well and our shadow compares always return the result in
|
||||
* all 4 channels.
|
||||
*/
|
||||
if (t->CompareMode == GL_COMPARE_R_TO_TEXTURE_ARB) {
|
||||
if (t->DepthMode == GL_ALPHA) {
|
||||
if (t->Sampler.CompareMode == GL_COMPARE_R_TO_TEXTURE_ARB) {
|
||||
if (t->Sampler.DepthMode == GL_ALPHA) {
|
||||
swizzles[0] = SWIZZLE_ZERO;
|
||||
swizzles[1] = SWIZZLE_ZERO;
|
||||
swizzles[2] = SWIZZLE_ZERO;
|
||||
} else if (t->DepthMode == GL_LUMINANCE) {
|
||||
} else if (t->Sampler.DepthMode == GL_LUMINANCE) {
|
||||
swizzles[3] = SWIZZLE_ONE;
|
||||
} else if (t->DepthMode == GL_RED) {
|
||||
} else if (t->Sampler.DepthMode == GL_RED) {
|
||||
/* See table 3.23 of the GL 3.0 spec. */
|
||||
swizzles[1] = SWIZZLE_ZERO;
|
||||
swizzles[2] = SWIZZLE_ZERO;
|
||||
|
|
|
|||
|
|
@ -288,26 +288,26 @@ brw_wm_sampler_populate_key(struct brw_context *brw,
|
|||
entry->seamless_cube_map = (texObj->Target == GL_TEXTURE_CUBE_MAP)
|
||||
? ctx->Texture.CubeMapSeamless : GL_FALSE;
|
||||
|
||||
entry->wrap_r = texObj->WrapR;
|
||||
entry->wrap_s = texObj->WrapS;
|
||||
entry->wrap_t = texObj->WrapT;
|
||||
entry->wrap_r = texObj->Sampler.WrapR;
|
||||
entry->wrap_s = texObj->Sampler.WrapS;
|
||||
entry->wrap_t = texObj->Sampler.WrapT;
|
||||
|
||||
entry->maxlod = texObj->MaxLod;
|
||||
entry->minlod = texObj->MinLod;
|
||||
entry->lod_bias = texUnit->LodBias + texObj->LodBias;
|
||||
entry->max_aniso = texObj->MaxAnisotropy;
|
||||
entry->minfilter = texObj->MinFilter;
|
||||
entry->magfilter = texObj->MagFilter;
|
||||
entry->comparemode = texObj->CompareMode;
|
||||
entry->comparefunc = texObj->CompareFunc;
|
||||
entry->maxlod = texObj->Sampler.MaxLod;
|
||||
entry->minlod = texObj->Sampler.MinLod;
|
||||
entry->lod_bias = texUnit->LodBias + texObj->Sampler.LodBias;
|
||||
entry->max_aniso = texObj->Sampler.MaxAnisotropy;
|
||||
entry->minfilter = texObj->Sampler.MinFilter;
|
||||
entry->magfilter = texObj->Sampler.MagFilter;
|
||||
entry->comparemode = texObj->Sampler.CompareMode;
|
||||
entry->comparefunc = texObj->Sampler.CompareFunc;
|
||||
|
||||
drm_intel_bo_unreference(brw->wm.sdc_bo[unit]);
|
||||
if (firstImage->_BaseFormat == GL_DEPTH_COMPONENT) {
|
||||
float bordercolor[4] = {
|
||||
texObj->BorderColor.f[0],
|
||||
texObj->BorderColor.f[0],
|
||||
texObj->BorderColor.f[0],
|
||||
texObj->BorderColor.f[0]
|
||||
texObj->Sampler.BorderColor.f[0],
|
||||
texObj->Sampler.BorderColor.f[0],
|
||||
texObj->Sampler.BorderColor.f[0],
|
||||
texObj->Sampler.BorderColor.f[0]
|
||||
};
|
||||
/* GL specs that border color for depth textures is taken from the
|
||||
* R channel, while the hardware uses A. Spam R into all the
|
||||
|
|
@ -316,7 +316,7 @@ brw_wm_sampler_populate_key(struct brw_context *brw,
|
|||
brw->wm.sdc_bo[unit] = upload_default_color(brw, bordercolor);
|
||||
} else {
|
||||
brw->wm.sdc_bo[unit] = upload_default_color(brw,
|
||||
texObj->BorderColor.f);
|
||||
texObj->Sampler.BorderColor.f);
|
||||
}
|
||||
key->sampler_count = unit + 1;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -201,8 +201,9 @@ brw_update_texture_surface( struct gl_context *ctx, GLuint unit )
|
|||
surf->ss0.mipmap_layout_mode = BRW_SURFACE_MIPMAPLAYOUT_BELOW;
|
||||
surf->ss0.surface_type = translate_tex_target(tObj->Target);
|
||||
surf->ss0.surface_format = translate_tex_format(firstImage->TexFormat,
|
||||
firstImage->InternalFormat,
|
||||
tObj->DepthMode, tObj->sRGBDecode);
|
||||
firstImage->InternalFormat,
|
||||
tObj->Sampler.DepthMode,
|
||||
tObj->Sampler.sRGBDecode);
|
||||
|
||||
/* This is ok for all textures with channel width 8bit or less:
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -112,8 +112,8 @@ intel_miptree_create_for_teximage(struct intel_context *intel,
|
|||
* resizable buffers, or require that buffers implement lazy
|
||||
* pagetable arrangements.
|
||||
*/
|
||||
if ((intelObj->base.MinFilter == GL_NEAREST ||
|
||||
intelObj->base.MinFilter == GL_LINEAR) &&
|
||||
if ((intelObj->base.Sampler.MinFilter == GL_NEAREST ||
|
||||
intelObj->base.Sampler.MinFilter == GL_LINEAR) &&
|
||||
intelImage->level == firstLevel &&
|
||||
(intel->gen < 4 || firstLevel == 0)) {
|
||||
lastLevel = firstLevel;
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ intel_update_max_level(struct intel_context *intel,
|
|||
{
|
||||
struct gl_texture_object *tObj = &intelObj->base;
|
||||
|
||||
if (tObj->MinFilter == GL_NEAREST || tObj->MinFilter == GL_LINEAR) {
|
||||
if (tObj->Sampler.MinFilter == GL_NEAREST || tObj->Sampler.MinFilter == GL_LINEAR) {
|
||||
intelObj->_MaxLevel = tObj->BaseLevel;
|
||||
} else {
|
||||
intelObj->_MaxLevel = tObj->_MaxLevel;
|
||||
|
|
|
|||
|
|
@ -123,9 +123,9 @@ mach64AllocTexObj( struct gl_texture_object *texObj )
|
|||
|
||||
make_empty_list( (driTextureObject *) t );
|
||||
|
||||
mach64SetTexWrap( t, texObj->WrapS, texObj->WrapT );
|
||||
mach64SetTexFilter( t, texObj->MinFilter, texObj->MagFilter );
|
||||
mach64SetTexBorderColor( t, texObj->BorderColor.f );
|
||||
mach64SetTexWrap( t, texObj->Sampler.WrapS, texObj->Sampler.WrapT );
|
||||
mach64SetTexFilter( t, texObj->Sampler.MinFilter, texObj->Sampler.MagFilter );
|
||||
mach64SetTexBorderColor( t, texObj->Sampler.BorderColor.f );
|
||||
|
||||
return t;
|
||||
}
|
||||
|
|
@ -454,18 +454,18 @@ static void mach64DDTexParameter( struct gl_context *ctx, GLenum target,
|
|||
case GL_TEXTURE_MIN_FILTER:
|
||||
case GL_TEXTURE_MAG_FILTER:
|
||||
if ( t->base.bound ) FLUSH_BATCH( mmesa );
|
||||
mach64SetTexFilter( t, tObj->MinFilter, tObj->MagFilter );
|
||||
mach64SetTexFilter( t, tObj->Sampler.MinFilter, tObj->Sampler.MagFilter );
|
||||
break;
|
||||
|
||||
case GL_TEXTURE_WRAP_S:
|
||||
case GL_TEXTURE_WRAP_T:
|
||||
if ( t->base.bound ) FLUSH_BATCH( mmesa );
|
||||
mach64SetTexWrap( t, tObj->WrapS, tObj->WrapT );
|
||||
mach64SetTexWrap( t, tObj->Sampler.WrapS, tObj->Sampler.WrapT );
|
||||
break;
|
||||
|
||||
case GL_TEXTURE_BORDER_COLOR:
|
||||
if ( t->base.bound ) FLUSH_BATCH( mmesa );
|
||||
mach64SetTexBorderColor( t, tObj->BorderColor.f );
|
||||
mach64SetTexBorderColor( t, tObj->Sampler.BorderColor.f );
|
||||
break;
|
||||
|
||||
case GL_TEXTURE_BASE_LEVEL:
|
||||
|
|
|
|||
|
|
@ -327,9 +327,9 @@ mgaAllocTexObj( struct gl_texture_object *tObj )
|
|||
|
||||
make_empty_list( & t->base );
|
||||
|
||||
mgaSetTexWrapping( t, tObj->WrapS, tObj->WrapT );
|
||||
mgaSetTexFilter( t, tObj->MinFilter, tObj->MagFilter );
|
||||
mgaSetTexBorderColor( t, tObj->BorderColor.f );
|
||||
mgaSetTexWrapping( t, tObj->Sampler.WrapS, tObj->Sampler.WrapT );
|
||||
mgaSetTexFilter( t, tObj->Sampler.MinFilter, tObj->Sampler.MagFilter );
|
||||
mgaSetTexBorderColor( t, tObj->Sampler.BorderColor.f );
|
||||
}
|
||||
|
||||
return( t );
|
||||
|
|
@ -447,18 +447,18 @@ mgaTexParameter( struct gl_context *ctx, GLenum target,
|
|||
/* FALLTHROUGH */
|
||||
case GL_TEXTURE_MAG_FILTER:
|
||||
FLUSH_BATCH(mmesa);
|
||||
mgaSetTexFilter( t, tObj->MinFilter, tObj->MagFilter );
|
||||
mgaSetTexFilter( t, tObj->Sampler.MinFilter, tObj->Sampler.MagFilter );
|
||||
break;
|
||||
|
||||
case GL_TEXTURE_WRAP_S:
|
||||
case GL_TEXTURE_WRAP_T:
|
||||
FLUSH_BATCH(mmesa);
|
||||
mgaSetTexWrapping(t,tObj->WrapS,tObj->WrapT);
|
||||
mgaSetTexWrapping(t,tObj->Sampler.WrapS,tObj->Sampler.WrapT);
|
||||
break;
|
||||
|
||||
case GL_TEXTURE_BORDER_COLOR:
|
||||
FLUSH_BATCH(mmesa);
|
||||
mgaSetTexBorderColor(t, tObj->BorderColor.f);
|
||||
mgaSetTexBorderColor(t, tObj->Sampler.BorderColor.f);
|
||||
break;
|
||||
|
||||
case GL_TEXTURE_BASE_LEVEL:
|
||||
|
|
|
|||
|
|
@ -270,8 +270,8 @@ get_last_level(struct gl_texture_object *t)
|
|||
{
|
||||
struct gl_texture_image *base = t->Image[0][t->BaseLevel];
|
||||
|
||||
if (t->MinFilter == GL_NEAREST ||
|
||||
t->MinFilter == GL_LINEAR || !base)
|
||||
if (t->Sampler.MinFilter == GL_NEAREST ||
|
||||
t->Sampler.MinFilter == GL_LINEAR || !base)
|
||||
return t->BaseLevel;
|
||||
else
|
||||
return MIN2(t->BaseLevel + base->MaxLog2, t->MaxLevel);
|
||||
|
|
|
|||
|
|
@ -80,8 +80,8 @@ nv04_emit_tex_obj(struct gl_context *ctx, int emit)
|
|||
|
||||
s = &to_nouveau_texture(t)->surfaces[t->BaseLevel];
|
||||
|
||||
if (t->MinFilter != GL_NEAREST &&
|
||||
t->MinFilter != GL_LINEAR) {
|
||||
if (t->Sampler.MinFilter != GL_NEAREST &&
|
||||
t->Sampler.MinFilter != GL_LINEAR) {
|
||||
lod_max = CLAMP(MIN2(t->MaxLod, t->_MaxLambda),
|
||||
0, 15) + 1;
|
||||
|
||||
|
|
@ -89,17 +89,17 @@ nv04_emit_tex_obj(struct gl_context *ctx, int emit)
|
|||
t->LodBias, -16, 15) * 8;
|
||||
}
|
||||
|
||||
format |= nvgl_wrap_mode(t->WrapT) << 28 |
|
||||
nvgl_wrap_mode(t->WrapS) << 24 |
|
||||
format |= nvgl_wrap_mode(t->Sampler.WrapT) << 28 |
|
||||
nvgl_wrap_mode(t->Sampler.WrapS) << 24 |
|
||||
ti->HeightLog2 << 20 |
|
||||
ti->WidthLog2 << 16 |
|
||||
lod_max << 12 |
|
||||
get_tex_format(ti);
|
||||
|
||||
filter |= log2i(t->MaxAnisotropy) << 31 |
|
||||
nvgl_filter_mode(t->MagFilter) << 28 |
|
||||
nvgl_filter_mode(t->Sampler.MagFilter) << 28 |
|
||||
log2i(t->MaxAnisotropy) << 27 |
|
||||
nvgl_filter_mode(t->MinFilter) << 24 |
|
||||
nvgl_filter_mode(t->Sampler.MinFilter) << 24 |
|
||||
(lod_bias & 0xff) << 16;
|
||||
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -173,14 +173,14 @@ nv10_emit_tex_obj(struct gl_context *ctx, int emit)
|
|||
return;
|
||||
|
||||
/* Recompute the texturing registers. */
|
||||
tx_format = nvgl_wrap_mode(t->WrapT) << 28
|
||||
| nvgl_wrap_mode(t->WrapS) << 24
|
||||
tx_format = nvgl_wrap_mode(t->Sampler.WrapT) << 28
|
||||
| nvgl_wrap_mode(t->Sampler.WrapS) << 24
|
||||
| ti->HeightLog2 << 20
|
||||
| ti->WidthLog2 << 16
|
||||
| 5 << 4 | 1 << 12;
|
||||
|
||||
tx_filter = nvgl_filter_mode(t->MagFilter) << 28
|
||||
| nvgl_filter_mode(t->MinFilter) << 24;
|
||||
tx_filter = nvgl_filter_mode(t->Sampler.MagFilter) << 28
|
||||
| nvgl_filter_mode(t->Sampler.MinFilter) << 24;
|
||||
|
||||
tx_enable = NV10_3D_TEX_ENABLE_ENABLE
|
||||
| log2i(t->MaxAnisotropy) << 4;
|
||||
|
|
@ -196,8 +196,8 @@ nv10_emit_tex_obj(struct gl_context *ctx, int emit)
|
|||
tx_format |= get_tex_format_pot(ti);
|
||||
}
|
||||
|
||||
if (t->MinFilter != GL_NEAREST &&
|
||||
t->MinFilter != GL_LINEAR) {
|
||||
if (t->Sampler.MinFilter != GL_NEAREST &&
|
||||
t->Sampler.MinFilter != GL_LINEAR) {
|
||||
int lod_min = t->MinLod;
|
||||
int lod_max = MIN2(t->MaxLod, t->_MaxLambda);
|
||||
int lod_bias = t->LodBias
|
||||
|
|
|
|||
|
|
@ -186,12 +186,12 @@ nv20_emit_tex_obj(struct gl_context *ctx, int emit)
|
|||
| NV20_3D_TEX_FORMAT_NO_BORDER
|
||||
| 1 << 16;
|
||||
|
||||
tx_wrap = nvgl_wrap_mode(t->WrapR) << 16
|
||||
| nvgl_wrap_mode(t->WrapT) << 8
|
||||
| nvgl_wrap_mode(t->WrapS) << 0;
|
||||
tx_wrap = nvgl_wrap_mode(t->Sampler.WrapR) << 16
|
||||
| nvgl_wrap_mode(t->Sampler.WrapT) << 8
|
||||
| nvgl_wrap_mode(t->Sampler.WrapS) << 0;
|
||||
|
||||
tx_filter = nvgl_filter_mode(t->MagFilter) << 24
|
||||
| nvgl_filter_mode(t->MinFilter) << 16
|
||||
tx_filter = nvgl_filter_mode(t->Sampler.MagFilter) << 24
|
||||
| nvgl_filter_mode(t->Sampler.MinFilter) << 16
|
||||
| 2 << 12;
|
||||
|
||||
tx_enable = NV20_3D_TEX_ENABLE_ENABLE
|
||||
|
|
@ -208,8 +208,8 @@ nv20_emit_tex_obj(struct gl_context *ctx, int emit)
|
|||
tx_format |= get_tex_format_pot(ti);
|
||||
}
|
||||
|
||||
if (t->MinFilter != GL_NEAREST &&
|
||||
t->MinFilter != GL_LINEAR) {
|
||||
if (t->Sampler.MinFilter != GL_NEAREST &&
|
||||
t->Sampler.MinFilter != GL_LINEAR) {
|
||||
int lod_min = t->MinLod;
|
||||
int lod_max = MIN2(t->MaxLod, t->_MaxLambda);
|
||||
int lod_bias = t->LodBias
|
||||
|
|
|
|||
|
|
@ -162,9 +162,9 @@ static r128TexObjPtr r128AllocTexObj( struct gl_texture_object *texObj )
|
|||
|
||||
make_empty_list( (driTextureObject *) t );
|
||||
|
||||
r128SetTexWrap( t, texObj->WrapS, texObj->WrapT );
|
||||
r128SetTexFilter( t, texObj->MinFilter, texObj->MagFilter );
|
||||
r128SetTexBorderColor( t, texObj->BorderColor.f );
|
||||
r128SetTexWrap( t, texObj->Sampler.WrapS, texObj->Sampler.WrapT );
|
||||
r128SetTexFilter( t, texObj->Sampler.MinFilter, texObj->Sampler.MagFilter );
|
||||
r128SetTexBorderColor( t, texObj->Sampler.BorderColor.f );
|
||||
}
|
||||
|
||||
return t;
|
||||
|
|
@ -519,18 +519,18 @@ static void r128TexParameter( struct gl_context *ctx, GLenum target,
|
|||
case GL_TEXTURE_MIN_FILTER:
|
||||
case GL_TEXTURE_MAG_FILTER:
|
||||
if ( t->base.bound ) FLUSH_BATCH( rmesa );
|
||||
r128SetTexFilter( t, tObj->MinFilter, tObj->MagFilter );
|
||||
r128SetTexFilter( t, tObj->Sampler.MinFilter, tObj->Sampler.MagFilter );
|
||||
break;
|
||||
|
||||
case GL_TEXTURE_WRAP_S:
|
||||
case GL_TEXTURE_WRAP_T:
|
||||
if ( t->base.bound ) FLUSH_BATCH( rmesa );
|
||||
r128SetTexWrap( t, tObj->WrapS, tObj->WrapT );
|
||||
r128SetTexWrap( t, tObj->Sampler.WrapS, tObj->Sampler.WrapT );
|
||||
break;
|
||||
|
||||
case GL_TEXTURE_BORDER_COLOR:
|
||||
if ( t->base.bound ) FLUSH_BATCH( rmesa );
|
||||
r128SetTexBorderColor( t, tObj->BorderColor.f );
|
||||
r128SetTexBorderColor( t, tObj->Sampler.BorderColor.f );
|
||||
break;
|
||||
|
||||
case GL_TEXTURE_BASE_LEVEL:
|
||||
|
|
|
|||
|
|
@ -383,18 +383,18 @@ static void r200TexParameter( struct gl_context *ctx, GLenum target,
|
|||
case GL_TEXTURE_MIN_FILTER:
|
||||
case GL_TEXTURE_MAG_FILTER:
|
||||
case GL_TEXTURE_MAX_ANISOTROPY_EXT:
|
||||
r200SetTexMaxAnisotropy( t, texObj->MaxAnisotropy );
|
||||
r200SetTexFilter( t, texObj->MinFilter, texObj->MagFilter );
|
||||
r200SetTexMaxAnisotropy( t, texObj->Sampler.MaxAnisotropy );
|
||||
r200SetTexFilter( t, texObj->Sampler.MinFilter, texObj->Sampler.MagFilter );
|
||||
break;
|
||||
|
||||
case GL_TEXTURE_WRAP_S:
|
||||
case GL_TEXTURE_WRAP_T:
|
||||
case GL_TEXTURE_WRAP_R:
|
||||
r200SetTexWrap( t, texObj->WrapS, texObj->WrapT, texObj->WrapR );
|
||||
r200SetTexWrap( t, texObj->Sampler.WrapS, texObj->Sampler.WrapT, texObj->Sampler.WrapR );
|
||||
break;
|
||||
|
||||
case GL_TEXTURE_BORDER_COLOR:
|
||||
r200SetTexBorderColor( t, texObj->BorderColor.f );
|
||||
r200SetTexBorderColor( t, texObj->Sampler.BorderColor.f );
|
||||
break;
|
||||
|
||||
case GL_TEXTURE_BASE_LEVEL:
|
||||
|
|
@ -479,13 +479,13 @@ static struct gl_texture_object *r200NewTextureObject(struct gl_context * ctx,
|
|||
_mesa_lookup_enum_by_nr(target), t);
|
||||
|
||||
_mesa_initialize_texture_object(&t->base, name, target);
|
||||
t->base.MaxAnisotropy = rmesa->radeon.initialMaxAnisotropy;
|
||||
t->base.Sampler.MaxAnisotropy = rmesa->radeon.initialMaxAnisotropy;
|
||||
|
||||
/* Initialize hardware state */
|
||||
r200SetTexWrap( t, t->base.WrapS, t->base.WrapT, t->base.WrapR );
|
||||
r200SetTexMaxAnisotropy( t, t->base.MaxAnisotropy );
|
||||
r200SetTexFilter(t, t->base.MinFilter, t->base.MagFilter);
|
||||
r200SetTexBorderColor(t, t->base.BorderColor.f);
|
||||
r200SetTexWrap( t, t->base.Sampler.WrapS, t->base.Sampler.WrapT, t->base.Sampler.WrapR );
|
||||
r200SetTexMaxAnisotropy( t, t->base.Sampler.MaxAnisotropy );
|
||||
r200SetTexFilter(t, t->base.Sampler.MinFilter, t->base.Sampler.MagFilter);
|
||||
r200SetTexBorderColor(t, t->base.Sampler.BorderColor.f);
|
||||
|
||||
return &t->base;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -77,8 +77,8 @@ static void build_state(
|
|||
if (fp->Base.ShadowSamplers & (1 << unit)) {
|
||||
struct gl_texture_object* tex = r300->radeon.glCtx->Texture.Unit[unit]._Current;
|
||||
|
||||
state->unit[unit].texture_swizzle = build_dts(tex->DepthMode);
|
||||
state->unit[unit].texture_compare_func = build_func(tex->CompareFunc);
|
||||
state->unit[unit].texture_swizzle = build_dts(tex->Sampler.DepthMode);
|
||||
state->unit[unit].texture_compare_func = build_func(tex->Sampler.CompareFunc);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1343,7 +1343,7 @@ static void r300SetupTextures(struct gl_context * ctx)
|
|||
*/
|
||||
r300->hw.tex.filter_1.cmd[R300_TEX_VALUE_0 + hw_tmu] =
|
||||
t->pp_txfilter_1 |
|
||||
translate_lod_bias(ctx->Texture.Unit[i].LodBias + t->base.LodBias);
|
||||
translate_lod_bias(ctx->Texture.Unit[i].LodBias + t->base.Sampler.LodBias);
|
||||
r300->hw.tex.size.cmd[R300_TEX_VALUE_0 + hw_tmu] =
|
||||
t->pp_txsize;
|
||||
r300->hw.tex.format.cmd[R300_TEX_VALUE_0 +
|
||||
|
|
@ -2014,7 +2014,7 @@ static const GLfloat *get_fragmentprogram_constant(struct gl_context *ctx, GLuin
|
|||
buffer[0] =
|
||||
buffer[1] =
|
||||
buffer[2] =
|
||||
buffer[3] = texObj->CompareFailValue;
|
||||
buffer[3] = texObj->Sampler.CompareFailValue;
|
||||
}
|
||||
return buffer;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -81,13 +81,13 @@ static void r300UpdateTexWrap(radeonTexObjPtr t)
|
|||
t->pp_txfilter &=
|
||||
~(R300_TX_WRAP_S_MASK | R300_TX_WRAP_T_MASK | R300_TX_WRAP_R_MASK);
|
||||
|
||||
t->pp_txfilter |= translate_wrap_mode(tObj->WrapS) << R300_TX_WRAP_S_SHIFT;
|
||||
t->pp_txfilter |= translate_wrap_mode(tObj->Sampler.WrapS) << R300_TX_WRAP_S_SHIFT;
|
||||
|
||||
if (tObj->Target != GL_TEXTURE_1D) {
|
||||
t->pp_txfilter |= translate_wrap_mode(tObj->WrapT) << R300_TX_WRAP_T_SHIFT;
|
||||
t->pp_txfilter |= translate_wrap_mode(tObj->Sampler.WrapT) << R300_TX_WRAP_T_SHIFT;
|
||||
|
||||
if (tObj->Target == GL_TEXTURE_3D)
|
||||
t->pp_txfilter |= translate_wrap_mode(tObj->WrapR) << R300_TX_WRAP_R_SHIFT;
|
||||
t->pp_txfilter |= translate_wrap_mode(tObj->Sampler.WrapR) << R300_TX_WRAP_R_SHIFT;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -202,7 +202,7 @@ static void r300TexParameter(struct gl_context * ctx, GLenum target,
|
|||
case GL_TEXTURE_MIN_FILTER:
|
||||
case GL_TEXTURE_MAG_FILTER:
|
||||
case GL_TEXTURE_MAX_ANISOTROPY_EXT:
|
||||
r300SetTexFilter(t, texObj->MinFilter, texObj->MagFilter, texObj->MaxAnisotropy);
|
||||
r300SetTexFilter(t, texObj->Sampler.MinFilter, texObj->Sampler.MagFilter, texObj->Sampler.MaxAnisotropy);
|
||||
break;
|
||||
|
||||
case GL_TEXTURE_WRAP_S:
|
||||
|
|
@ -212,7 +212,7 @@ static void r300TexParameter(struct gl_context * ctx, GLenum target,
|
|||
break;
|
||||
|
||||
case GL_TEXTURE_BORDER_COLOR:
|
||||
r300SetTexBorderColor(t, texObj->BorderColor.f);
|
||||
r300SetTexBorderColor(t, texObj->Sampler.BorderColor.f);
|
||||
break;
|
||||
|
||||
case GL_TEXTURE_BASE_LEVEL:
|
||||
|
|
@ -299,12 +299,14 @@ static struct gl_texture_object *r300NewTextureObject(struct gl_context * ctx,
|
|||
}
|
||||
|
||||
_mesa_initialize_texture_object(&t->base, name, target);
|
||||
t->base.MaxAnisotropy = rmesa->radeon.initialMaxAnisotropy;
|
||||
t->base.Sampler.MaxAnisotropy = rmesa->radeon.initialMaxAnisotropy;
|
||||
|
||||
/* Initialize hardware state */
|
||||
r300UpdateTexWrap(t);
|
||||
r300SetTexFilter(t, t->base.MinFilter, t->base.MagFilter, t->base.MaxAnisotropy);
|
||||
r300SetTexBorderColor(t, t->base.BorderColor.f);
|
||||
r300SetTexFilter(t, t->base.Sampler.MinFilter,
|
||||
t->base.Sampler.MagFilter,
|
||||
t->base.Sampler.MaxAnisotropy);
|
||||
r300SetTexBorderColor(t, t->base.Sampler.BorderColor.f);
|
||||
|
||||
return &t->base;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -216,7 +216,7 @@ void r300SetDepthTexMode(struct gl_texture_object *tObj)
|
|||
return;
|
||||
}
|
||||
|
||||
switch (tObj->DepthMode) {
|
||||
switch (tObj->Sampler.DepthMode) {
|
||||
case GL_LUMINANCE:
|
||||
t->pp_txformat = format[0];
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -581,7 +581,7 @@ static GLboolean evergreenGetTexFormat(struct gl_texture_object *tObj, gl_format
|
|||
default:
|
||||
break;
|
||||
};
|
||||
switch (tObj->DepthMode) {
|
||||
switch (tObj->Sampler.DepthMode) {
|
||||
case GL_LUMINANCE: /* X, X, X, ONE */
|
||||
SETfield(t->SQ_TEX_RESOURCE4, SQ_SEL_X,
|
||||
SQ_TEX_RESOURCE_WORD4_0__DST_SEL_X_shift, SQ_TEX_RESOURCE_WORD4_0__DST_SEL_X_mask);
|
||||
|
|
@ -699,18 +699,18 @@ static void evergreenUpdateTexWrap(radeonTexObjPtr t)
|
|||
{
|
||||
struct gl_texture_object *tObj = &t->base;
|
||||
|
||||
SETfield(t->SQ_TEX_SAMPLER0, evergreen_translate_wrap_mode(tObj->WrapS),
|
||||
SETfield(t->SQ_TEX_SAMPLER0, evergreen_translate_wrap_mode(tObj->Sampler.WrapS),
|
||||
EG_SQ_TEX_SAMPLER_WORD0_0__CLAMP_X_shift,
|
||||
EG_SQ_TEX_SAMPLER_WORD0_0__CLAMP_X_mask);
|
||||
|
||||
if (tObj->Target != GL_TEXTURE_1D)
|
||||
{
|
||||
SETfield(t->SQ_TEX_SAMPLER0, evergreen_translate_wrap_mode(tObj->WrapT),
|
||||
SETfield(t->SQ_TEX_SAMPLER0, evergreen_translate_wrap_mode(tObj->Sampler.WrapT),
|
||||
EG_SQ_TEX_SAMPLER_WORD0_0__CLAMP_Y_shift,
|
||||
EG_SQ_TEX_SAMPLER_WORD0_0__CLAMP_Y_mask);
|
||||
|
||||
if (tObj->Target == GL_TEXTURE_3D)
|
||||
SETfield(t->SQ_TEX_SAMPLER0, evergreen_translate_wrap_mode(tObj->WrapR),
|
||||
SETfield(t->SQ_TEX_SAMPLER0, evergreen_translate_wrap_mode(tObj->Sampler.WrapR),
|
||||
EG_SQ_TEX_SAMPLER_WORD0_0__CLAMP_Z_shift,
|
||||
EG_SQ_TEX_SAMPLER_WORD0_0__CLAMP_Z_mask);
|
||||
}
|
||||
|
|
@ -1022,21 +1022,21 @@ static GLboolean evergreen_setup_hardware_state(struct gl_context * ctx, struct
|
|||
SETfield(t->SQ_TEX_RESOURCE5, t->maxLod - t->minLod, LAST_LEVEL_shift, LAST_LEVEL_mask);
|
||||
|
||||
SETfield(t->SQ_TEX_SAMPLER1,
|
||||
EG_S_FIXED(CLAMP(t->base.MinLod - t->minLod, 0, 15), 8),
|
||||
EG_S_FIXED(CLAMP(t->base.Sampler.MinLod - t->minLod, 0, 15), 8),
|
||||
EG_SQ_TEX_SAMPLER_WORD1_0__MIN_LOD_shift,
|
||||
EG_SQ_TEX_SAMPLER_WORD1_0__MIN_LOD_mask);
|
||||
SETfield(t->SQ_TEX_SAMPLER1,
|
||||
EG_S_FIXED(CLAMP(t->base.MaxLod - t->minLod, 0, 15), 8),
|
||||
EG_S_FIXED(CLAMP(t->base.Sampler.MaxLod - t->minLod, 0, 15), 8),
|
||||
EG_SQ_TEX_SAMPLER_WORD1_0__MAX_LOD_shift,
|
||||
EG_SQ_TEX_SAMPLER_WORD1_0__MAX_LOD_mask);
|
||||
SETfield(t->SQ_TEX_SAMPLER2,
|
||||
EG_S_FIXED(CLAMP(ctx->Texture.Unit[unit].LodBias + t->base.LodBias, -16, 16), 8),
|
||||
EG_S_FIXED(CLAMP(ctx->Texture.Unit[unit].LodBias + t->base.Sampler.LodBias, -16, 16), 8),
|
||||
EG_SQ_TEX_SAMPLER_WORD2_0__LOD_BIAS_shift,
|
||||
EG_SQ_TEX_SAMPLER_WORD2_0__LOD_BIAS_mask);
|
||||
|
||||
if(texObj->CompareMode == GL_COMPARE_R_TO_TEXTURE_ARB)
|
||||
if(texObj->Sampler.CompareMode == GL_COMPARE_R_TO_TEXTURE_ARB)
|
||||
{
|
||||
SETfield(t->SQ_TEX_SAMPLER0, evergreen_translate_shadow_func(texObj->CompareFunc),
|
||||
SETfield(t->SQ_TEX_SAMPLER0, evergreen_translate_shadow_func(texObj->Sampler.CompareFunc),
|
||||
EG_SQ_TEX_SAMPLER_WORD0_0__DCF_shift,
|
||||
EG_SQ_TEX_SAMPLER_WORD0_0__DCF_mask);
|
||||
}
|
||||
|
|
@ -1420,12 +1420,12 @@ static struct gl_texture_object *evergreenNewTextureObject(struct gl_context * c
|
|||
t, _mesa_lookup_enum_by_nr(target));
|
||||
|
||||
_mesa_initialize_texture_object(&t->base, name, target);
|
||||
t->base.MaxAnisotropy = rmesa->radeon.initialMaxAnisotropy;
|
||||
t->base.Sampler.MaxAnisotropy = rmesa->radeon.initialMaxAnisotropy;
|
||||
|
||||
evergreenSetTexDefaultState(t);
|
||||
evergreenUpdateTexWrap(t);
|
||||
evergreenSetTexFilter(t, t->base.MinFilter, t->base.MagFilter, t->base.MaxAnisotropy);
|
||||
evergreenSetTexBorderColor(t, t->base.BorderColor.f);
|
||||
evergreenSetTexFilter(t, t->base.Sampler.MinFilter, t->base.Sampler.MagFilter, t->base.Sampler.MaxAnisotropy);
|
||||
evergreenSetTexBorderColor(t, t->base.Sampler.BorderColor.f);
|
||||
|
||||
return &t->base;
|
||||
}
|
||||
|
|
@ -1475,7 +1475,7 @@ static void evergreenTexParameter(struct gl_context * ctx, GLenum target,
|
|||
case GL_TEXTURE_MIN_FILTER:
|
||||
case GL_TEXTURE_MAG_FILTER:
|
||||
case GL_TEXTURE_MAX_ANISOTROPY_EXT:
|
||||
evergreenSetTexFilter(t, texObj->MinFilter, texObj->MagFilter, texObj->MaxAnisotropy);
|
||||
evergreenSetTexFilter(t, texObj->Sampler.MinFilter, texObj->Sampler.MagFilter, texObj->Sampler.MaxAnisotropy);
|
||||
break;
|
||||
|
||||
case GL_TEXTURE_WRAP_S:
|
||||
|
|
@ -1485,7 +1485,7 @@ static void evergreenTexParameter(struct gl_context * ctx, GLenum target,
|
|||
break;
|
||||
|
||||
case GL_TEXTURE_BORDER_COLOR:
|
||||
evergreenSetTexBorderColor(t, texObj->BorderColor.f);
|
||||
evergreenSetTexBorderColor(t, texObj->Sampler.BorderColor.f);
|
||||
break;
|
||||
|
||||
case GL_TEXTURE_BASE_LEVEL:
|
||||
|
|
|
|||
|
|
@ -78,15 +78,15 @@ static void r600UpdateTexWrap(radeonTexObjPtr t)
|
|||
{
|
||||
struct gl_texture_object *tObj = &t->base;
|
||||
|
||||
SETfield(t->SQ_TEX_SAMPLER0, translate_wrap_mode(tObj->WrapS),
|
||||
SETfield(t->SQ_TEX_SAMPLER0, translate_wrap_mode(tObj->Sampler.WrapS),
|
||||
SQ_TEX_SAMPLER_WORD0_0__CLAMP_X_shift, SQ_TEX_SAMPLER_WORD0_0__CLAMP_X_mask);
|
||||
|
||||
if (tObj->Target != GL_TEXTURE_1D) {
|
||||
SETfield(t->SQ_TEX_SAMPLER0, translate_wrap_mode(tObj->WrapT),
|
||||
SETfield(t->SQ_TEX_SAMPLER0, translate_wrap_mode(tObj->Sampler.WrapT),
|
||||
CLAMP_Y_shift, CLAMP_Y_mask);
|
||||
|
||||
if (tObj->Target == GL_TEXTURE_3D)
|
||||
SETfield(t->SQ_TEX_SAMPLER0, translate_wrap_mode(tObj->WrapR),
|
||||
SETfield(t->SQ_TEX_SAMPLER0, translate_wrap_mode(tObj->Sampler.WrapR),
|
||||
CLAMP_Z_shift, CLAMP_Z_mask);
|
||||
}
|
||||
}
|
||||
|
|
@ -292,7 +292,7 @@ static void r600TexParameter(struct gl_context * ctx, GLenum target,
|
|||
case GL_TEXTURE_MIN_FILTER:
|
||||
case GL_TEXTURE_MAG_FILTER:
|
||||
case GL_TEXTURE_MAX_ANISOTROPY_EXT:
|
||||
r600SetTexFilter(t, texObj->MinFilter, texObj->MagFilter, texObj->MaxAnisotropy);
|
||||
r600SetTexFilter(t, texObj->Sampler.MinFilter, texObj->Sampler.MagFilter, texObj->Sampler.MaxAnisotropy);
|
||||
break;
|
||||
|
||||
case GL_TEXTURE_WRAP_S:
|
||||
|
|
@ -302,7 +302,7 @@ static void r600TexParameter(struct gl_context * ctx, GLenum target,
|
|||
break;
|
||||
|
||||
case GL_TEXTURE_BORDER_COLOR:
|
||||
r600SetTexBorderColor(t, texObj->BorderColor.f);
|
||||
r600SetTexBorderColor(t, texObj->Sampler.BorderColor.f);
|
||||
break;
|
||||
|
||||
case GL_TEXTURE_BASE_LEVEL:
|
||||
|
|
@ -382,13 +382,13 @@ static struct gl_texture_object *r600NewTextureObject(struct gl_context * ctx,
|
|||
t, _mesa_lookup_enum_by_nr(target));
|
||||
|
||||
_mesa_initialize_texture_object(&t->base, name, target);
|
||||
t->base.MaxAnisotropy = rmesa->radeon.initialMaxAnisotropy;
|
||||
t->base.Sampler.MaxAnisotropy = rmesa->radeon.initialMaxAnisotropy;
|
||||
|
||||
/* Initialize hardware state */
|
||||
r600SetTexDefaultState(t);
|
||||
r600UpdateTexWrap(t);
|
||||
r600SetTexFilter(t, t->base.MinFilter, t->base.MagFilter, t->base.MaxAnisotropy);
|
||||
r600SetTexBorderColor(t, t->base.BorderColor.f);
|
||||
r600SetTexFilter(t, t->base.Sampler.MinFilter, t->base.Sampler.MagFilter, t->base.Sampler.MaxAnisotropy);
|
||||
r600SetTexBorderColor(t, t->base.Sampler.BorderColor.f);
|
||||
|
||||
return &t->base;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -571,7 +571,7 @@ static GLboolean r600GetTexFormat(struct gl_texture_object *tObj, gl_format mesa
|
|||
default:
|
||||
break;
|
||||
};
|
||||
switch (tObj->DepthMode) {
|
||||
switch (tObj->Sampler.DepthMode) {
|
||||
case GL_LUMINANCE: /* X, X, X, ONE */
|
||||
SETfield(t->SQ_TEX_RESOURCE4, SQ_SEL_X,
|
||||
SQ_TEX_RESOURCE_WORD4_0__DST_SEL_X_shift, SQ_TEX_RESOURCE_WORD4_0__DST_SEL_X_mask);
|
||||
|
|
@ -777,18 +777,18 @@ static GLboolean setup_hardware_state(struct gl_context * ctx, struct gl_texture
|
|||
SETfield(t->SQ_TEX_RESOURCE5, t->maxLod - t->minLod, LAST_LEVEL_shift, LAST_LEVEL_mask);
|
||||
|
||||
SETfield(t->SQ_TEX_SAMPLER1,
|
||||
S_FIXED(CLAMP(t->base.MinLod - t->minLod, 0, 15), 6),
|
||||
S_FIXED(CLAMP(t->base.Sampler.MinLod - t->minLod, 0, 15), 6),
|
||||
MIN_LOD_shift, MIN_LOD_mask);
|
||||
SETfield(t->SQ_TEX_SAMPLER1,
|
||||
S_FIXED(CLAMP(t->base.MaxLod - t->minLod, 0, 15), 6),
|
||||
S_FIXED(CLAMP(t->base.Sampler.MaxLod - t->minLod, 0, 15), 6),
|
||||
MAX_LOD_shift, MAX_LOD_mask);
|
||||
SETfield(t->SQ_TEX_SAMPLER1,
|
||||
S_FIXED(CLAMP(ctx->Texture.Unit[unit].LodBias + t->base.LodBias, -16, 16), 6),
|
||||
S_FIXED(CLAMP(ctx->Texture.Unit[unit].LodBias + t->base.Sampler.LodBias, -16, 16), 6),
|
||||
SQ_TEX_SAMPLER_WORD1_0__LOD_BIAS_shift, SQ_TEX_SAMPLER_WORD1_0__LOD_BIAS_mask);
|
||||
|
||||
if(texObj->CompareMode == GL_COMPARE_R_TO_TEXTURE_ARB)
|
||||
if(texObj->Sampler.CompareMode == GL_COMPARE_R_TO_TEXTURE_ARB)
|
||||
{
|
||||
SETfield(t->SQ_TEX_SAMPLER0, r600_translate_shadow_func(texObj->CompareFunc), DEPTH_COMPARE_FUNCTION_shift, DEPTH_COMPARE_FUNCTION_mask);
|
||||
SETfield(t->SQ_TEX_SAMPLER0, r600_translate_shadow_func(texObj->Sampler.CompareFunc), DEPTH_COMPARE_FUNCTION_shift, DEPTH_COMPARE_FUNCTION_mask);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
|
|
@ -296,15 +296,15 @@ static void calculate_min_max_lod(struct gl_texture_object *tObj,
|
|||
case GL_TEXTURE_2D:
|
||||
case GL_TEXTURE_3D:
|
||||
case GL_TEXTURE_CUBE_MAP:
|
||||
if (tObj->MinFilter == GL_NEAREST || tObj->MinFilter == GL_LINEAR) {
|
||||
if (tObj->Sampler.MinFilter == GL_NEAREST || tObj->Sampler.MinFilter == GL_LINEAR) {
|
||||
/* GL_NEAREST and GL_LINEAR only care about GL_TEXTURE_BASE_LEVEL.
|
||||
*/
|
||||
minLod = maxLod = tObj->BaseLevel;
|
||||
} else {
|
||||
minLod = tObj->BaseLevel + (GLint)(tObj->MinLod);
|
||||
minLod = tObj->BaseLevel + (GLint)(tObj->Sampler.MinLod);
|
||||
minLod = MAX2(minLod, tObj->BaseLevel);
|
||||
minLod = MIN2(minLod, tObj->MaxLevel);
|
||||
maxLod = tObj->BaseLevel + (GLint)(tObj->MaxLod + 0.5);
|
||||
maxLod = tObj->BaseLevel + (GLint)(tObj->Sampler.MaxLod + 0.5);
|
||||
maxLod = MIN2(maxLod, tObj->MaxLevel);
|
||||
maxLod = MIN2(maxLod, tObj->Image[0][minLod]->MaxLog2 + minLod);
|
||||
maxLod = MAX2(maxLod, minLod); /* need at least one level */
|
||||
|
|
|
|||
|
|
@ -330,17 +330,17 @@ static void radeonTexParameter( struct gl_context *ctx, GLenum target,
|
|||
case GL_TEXTURE_MIN_FILTER:
|
||||
case GL_TEXTURE_MAG_FILTER:
|
||||
case GL_TEXTURE_MAX_ANISOTROPY_EXT:
|
||||
radeonSetTexMaxAnisotropy( t, texObj->MaxAnisotropy );
|
||||
radeonSetTexFilter( t, texObj->MinFilter, texObj->MagFilter );
|
||||
radeonSetTexMaxAnisotropy( t, texObj->Sampler.MaxAnisotropy );
|
||||
radeonSetTexFilter( t, texObj->Sampler.MinFilter, texObj->Sampler.MagFilter );
|
||||
break;
|
||||
|
||||
case GL_TEXTURE_WRAP_S:
|
||||
case GL_TEXTURE_WRAP_T:
|
||||
radeonSetTexWrap( t, texObj->WrapS, texObj->WrapT );
|
||||
radeonSetTexWrap( t, texObj->Sampler.WrapS, texObj->Sampler.WrapT );
|
||||
break;
|
||||
|
||||
case GL_TEXTURE_BORDER_COLOR:
|
||||
radeonSetTexBorderColor( t, texObj->BorderColor.f );
|
||||
radeonSetTexBorderColor( t, texObj->Sampler.BorderColor.f );
|
||||
break;
|
||||
|
||||
case GL_TEXTURE_BASE_LEVEL:
|
||||
|
|
@ -416,7 +416,7 @@ radeonNewTextureObject( struct gl_context *ctx, GLuint name, GLenum target )
|
|||
radeonTexObj* t = CALLOC_STRUCT(radeon_tex_obj);
|
||||
|
||||
_mesa_initialize_texture_object(&t->base, name, target);
|
||||
t->base.MaxAnisotropy = rmesa->radeon.initialMaxAnisotropy;
|
||||
t->base.Sampler.MaxAnisotropy = rmesa->radeon.initialMaxAnisotropy;
|
||||
|
||||
t->border_fallback = GL_FALSE;
|
||||
|
||||
|
|
@ -424,10 +424,10 @@ radeonNewTextureObject( struct gl_context *ctx, GLuint name, GLenum target )
|
|||
t->pp_txformat = (RADEON_TXFORMAT_ENDIAN_NO_SWAP |
|
||||
RADEON_TXFORMAT_PERSPECTIVE_ENABLE);
|
||||
|
||||
radeonSetTexWrap( t, t->base.WrapS, t->base.WrapT );
|
||||
radeonSetTexMaxAnisotropy( t, t->base.MaxAnisotropy );
|
||||
radeonSetTexFilter( t, t->base.MinFilter, t->base.MagFilter );
|
||||
radeonSetTexBorderColor( t, t->base.BorderColor.f );
|
||||
radeonSetTexWrap( t, t->base.Sampler.WrapS, t->base.Sampler.WrapT );
|
||||
radeonSetTexMaxAnisotropy( t, t->base.Sampler.MaxAnisotropy );
|
||||
radeonSetTexFilter( t, t->base.Sampler.MinFilter, t->base.Sampler.MagFilter );
|
||||
radeonSetTexBorderColor( t, t->base.Sampler.BorderColor.f );
|
||||
return &t->base;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -250,9 +250,9 @@ static GLboolean run_texnorm_stage( struct gl_context *ctx,
|
|||
const GLbitfield reallyEnabled = ctx->Texture.Unit[i]._ReallyEnabled;
|
||||
if (reallyEnabled) {
|
||||
const struct gl_texture_object *texObj = ctx->Texture.Unit[i]._Current;
|
||||
const GLboolean normalizeS = (texObj->WrapS == GL_REPEAT);
|
||||
const GLboolean normalizeS = (texObj->Sampler.WrapS == GL_REPEAT);
|
||||
const GLboolean normalizeT = (reallyEnabled & TEXTURE_2D_BIT) &&
|
||||
(texObj->WrapT == GL_REPEAT);
|
||||
(texObj->Sampler.WrapT == GL_REPEAT);
|
||||
const GLfloat *in = (GLfloat *)VB->AttribPtr[_TNL_ATTRIB_TEX0 + i]->data;
|
||||
const GLint instride = VB->AttribPtr[_TNL_ATTRIB_TEX0 + i]->stride;
|
||||
GLfloat (*out)[4] = store->texcoord[i].data;
|
||||
|
|
@ -332,15 +332,15 @@ static void validate_texnorm( struct gl_context *ctx,
|
|||
GLuint flags = 0;
|
||||
|
||||
if (((ctx->Texture.Unit[0]._ReallyEnabled & (TEXTURE_1D_BIT|TEXTURE_2D_BIT)) &&
|
||||
(ctx->Texture.Unit[0]._Current->WrapS == GL_REPEAT)) ||
|
||||
(ctx->Texture.Unit[0]._Current->Sampler.WrapS == GL_REPEAT)) ||
|
||||
((ctx->Texture.Unit[0]._ReallyEnabled & TEXTURE_2D_BIT) &&
|
||||
(ctx->Texture.Unit[0]._Current->WrapT == GL_REPEAT)))
|
||||
(ctx->Texture.Unit[0]._Current->Sampler.WrapT == GL_REPEAT)))
|
||||
flags |= VERT_BIT_TEX0;
|
||||
|
||||
if (((ctx->Texture.Unit[1]._ReallyEnabled & (TEXTURE_1D_BIT|TEXTURE_2D_BIT)) &&
|
||||
(ctx->Texture.Unit[1]._Current->WrapS == GL_REPEAT)) ||
|
||||
(ctx->Texture.Unit[1]._Current->Sampler.WrapS == GL_REPEAT)) ||
|
||||
((ctx->Texture.Unit[1]._ReallyEnabled & TEXTURE_2D_BIT) &&
|
||||
(ctx->Texture.Unit[1]._Current->WrapT == GL_REPEAT)))
|
||||
(ctx->Texture.Unit[1]._Current->Sampler.WrapT == GL_REPEAT)))
|
||||
flags |= VERT_BIT_TEX1;
|
||||
|
||||
store->active = (flags != 0);
|
||||
|
|
|
|||
|
|
@ -502,9 +502,9 @@ savageAllocTexObj( struct gl_texture_object *texObj )
|
|||
|
||||
make_empty_list( &t->base );
|
||||
|
||||
savageSetTexWrapping(t,texObj->WrapS,texObj->WrapT);
|
||||
savageSetTexFilter(t,texObj->MinFilter,texObj->MagFilter);
|
||||
savageSetTexBorderColor(t,texObj->BorderColor.f);
|
||||
savageSetTexWrapping(t,texObj->Sampler.WrapS,texObj->Sampler.WrapT);
|
||||
savageSetTexFilter(t,texObj->Sampler.MinFilter,texObj->Sampler.MagFilter);
|
||||
savageSetTexBorderColor(t,texObj->Sampler.BorderColor.f);
|
||||
}
|
||||
|
||||
return t;
|
||||
|
|
@ -2031,16 +2031,16 @@ static void savageTexParameter( struct gl_context *ctx, GLenum target,
|
|||
switch (pname) {
|
||||
case GL_TEXTURE_MIN_FILTER:
|
||||
case GL_TEXTURE_MAG_FILTER:
|
||||
savageSetTexFilter(t,tObj->MinFilter,tObj->MagFilter);
|
||||
savageSetTexFilter(t,tObj->Sampler.MinFilter,tObj->Sampler.MagFilter);
|
||||
break;
|
||||
|
||||
case GL_TEXTURE_WRAP_S:
|
||||
case GL_TEXTURE_WRAP_T:
|
||||
savageSetTexWrapping(t,tObj->WrapS,tObj->WrapT);
|
||||
savageSetTexWrapping(t,tObj->Sampler.WrapS,tObj->Sampler.WrapT);
|
||||
break;
|
||||
|
||||
case GL_TEXTURE_BORDER_COLOR:
|
||||
savageSetTexBorderColor(t,tObj->BorderColor.f);
|
||||
savageSetTexBorderColor(t,tObj->Sampler.BorderColor.f);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
|
|||
|
|
@ -335,7 +335,7 @@ sis_set_texobj_parm( struct gl_context *ctx, struct gl_texture_object *texObj,
|
|||
current->texture[hw_unit].hwTextureMip = 0UL;
|
||||
current->texture[hw_unit].hwTextureSet = t->hwformat;
|
||||
|
||||
if ((texObj->MinFilter == GL_NEAREST) || (texObj->MinFilter == GL_LINEAR)) {
|
||||
if ((texObj->Sampler.MinFilter == GL_NEAREST) || (texObj->Sampler.MinFilter == GL_LINEAR)) {
|
||||
firstLevel = lastLevel = texObj->BaseLevel;
|
||||
} else {
|
||||
/* Compute which mipmap levels we really want to send to the hardware.
|
||||
|
|
@ -344,9 +344,9 @@ sis_set_texobj_parm( struct gl_context *ctx, struct gl_texture_object *texObj,
|
|||
* Yes, this looks overly complicated, but it's all needed.
|
||||
*/
|
||||
|
||||
firstLevel = texObj->BaseLevel + (GLint)(texObj->MinLod + 0.5);
|
||||
firstLevel = texObj->BaseLevel + (GLint)(texObj->Sampler.MinLod + 0.5);
|
||||
firstLevel = MAX2(firstLevel, texObj->BaseLevel);
|
||||
lastLevel = texObj->BaseLevel + (GLint)(texObj->MaxLod + 0.5);
|
||||
lastLevel = texObj->BaseLevel + (GLint)(texObj->Sampler.MaxLod + 0.5);
|
||||
lastLevel = MAX2(lastLevel, texObj->BaseLevel);
|
||||
lastLevel = MIN2(lastLevel, texObj->BaseLevel +
|
||||
texObj->Image[0][texObj->BaseLevel]->MaxLog2);
|
||||
|
|
@ -356,7 +356,7 @@ sis_set_texobj_parm( struct gl_context *ctx, struct gl_texture_object *texObj,
|
|||
|
||||
current->texture[hw_unit].hwTextureSet |= (lastLevel << 8);
|
||||
|
||||
switch (texObj->MagFilter)
|
||||
switch (texObj->Sampler.MagFilter)
|
||||
{
|
||||
case GL_NEAREST:
|
||||
current->texture[hw_unit].hwTextureMip |= TEXTURE_FILTER_NEAREST;
|
||||
|
|
@ -382,7 +382,7 @@ sis_set_texobj_parm( struct gl_context *ctx, struct gl_texture_object *texObj,
|
|||
MASK_TextureMipmapLodBias);
|
||||
}
|
||||
|
||||
switch (texObj->MinFilter)
|
||||
switch (texObj->Sampler.MinFilter)
|
||||
{
|
||||
case GL_NEAREST:
|
||||
current->texture[hw_unit].hwTextureMip |= TEXTURE_FILTER_NEAREST;
|
||||
|
|
@ -408,7 +408,7 @@ sis_set_texobj_parm( struct gl_context *ctx, struct gl_texture_object *texObj,
|
|||
break;
|
||||
}
|
||||
|
||||
switch (texObj->WrapS)
|
||||
switch (texObj->Sampler.WrapS)
|
||||
{
|
||||
case GL_REPEAT:
|
||||
current->texture[hw_unit].hwTextureSet |= MASK_TextureWrapU;
|
||||
|
|
@ -431,7 +431,7 @@ sis_set_texobj_parm( struct gl_context *ctx, struct gl_texture_object *texObj,
|
|||
break;
|
||||
}
|
||||
|
||||
switch (texObj->WrapT)
|
||||
switch (texObj->Sampler.WrapT)
|
||||
{
|
||||
case GL_REPEAT:
|
||||
current->texture[hw_unit].hwTextureSet |= MASK_TextureWrapV;
|
||||
|
|
@ -456,10 +456,10 @@ sis_set_texobj_parm( struct gl_context *ctx, struct gl_texture_object *texObj,
|
|||
|
||||
{
|
||||
GLubyte c[4];
|
||||
CLAMPED_FLOAT_TO_UBYTE(c[0], texObj->BorderColor.f[0]);
|
||||
CLAMPED_FLOAT_TO_UBYTE(c[1], texObj->BorderColor.f[1]);
|
||||
CLAMPED_FLOAT_TO_UBYTE(c[2], texObj->BorderColor.f[2]);
|
||||
CLAMPED_FLOAT_TO_UBYTE(c[3], texObj->BorderColor.f[3]);
|
||||
CLAMPED_FLOAT_TO_UBYTE(c[0], texObj->Sampler.BorderColor.f[0]);
|
||||
CLAMPED_FLOAT_TO_UBYTE(c[1], texObj->Sampler.BorderColor.f[1]);
|
||||
CLAMPED_FLOAT_TO_UBYTE(c[2], texObj->Sampler.BorderColor.f[2]);
|
||||
CLAMPED_FLOAT_TO_UBYTE(c[3], texObj->Sampler.BorderColor.f[3]);
|
||||
|
||||
current->texture[hw_unit].hwTextureBorderColor =
|
||||
PACK_COLOR_8888(c[3], c[0], c[1], c[2]);
|
||||
|
|
|
|||
|
|
@ -327,7 +327,7 @@ static void RevalidateTexture(struct gl_context *ctx, struct gl_texture_object *
|
|||
&(ti->sScale), &(ti->tScale), NULL, NULL);
|
||||
}
|
||||
|
||||
if (tObj->Image[0][maxl] && (tObj->MinFilter != GL_NEAREST) && (tObj->MinFilter != GL_LINEAR)) {
|
||||
if (tObj->Image[0][maxl] && (tObj->Sampler.MinFilter != GL_NEAREST) && (tObj->Sampler.MinFilter != GL_LINEAR)) {
|
||||
/* mipmapping: need to compute smallLodLog2 */
|
||||
tdfxTexGetInfo(ctx, tObj->Image[0][maxl]->Width,
|
||||
tObj->Image[0][maxl]->Height,
|
||||
|
|
@ -1786,12 +1786,12 @@ tdfxTestProxyTexImage(struct gl_context *ctx, GLenum target,
|
|||
#endif
|
||||
if (level == 0) {
|
||||
/* don't use mipmap levels > 0 */
|
||||
tObj->MinFilter = tObj->MagFilter = GL_NEAREST;
|
||||
tObj->Sampler.MinFilter = tObj->Sampler.MagFilter = GL_NEAREST;
|
||||
}
|
||||
else {
|
||||
/* test with all mipmap levels */
|
||||
tObj->MinFilter = GL_LINEAR_MIPMAP_LINEAR;
|
||||
tObj->MagFilter = GL_NEAREST;
|
||||
tObj->Sampler.MinFilter = GL_LINEAR_MIPMAP_LINEAR;
|
||||
tObj->Sampler.MagFilter = GL_NEAREST;
|
||||
}
|
||||
RevalidateTexture(ctx, tObj);
|
||||
|
||||
|
|
|
|||
|
|
@ -877,21 +877,21 @@ static GLboolean viaChooseTextureState(struct gl_context *ctx)
|
|||
if (texUnit0->_ReallyEnabled) {
|
||||
struct gl_texture_object *texObj = texUnit0->_Current;
|
||||
|
||||
vmesa->regHTXnTB[0] = get_minmag_filter( texObj->MinFilter,
|
||||
texObj->MagFilter );
|
||||
vmesa->regHTXnTB[0] = get_minmag_filter( texObj->Sampler.MinFilter,
|
||||
texObj->Sampler.MagFilter );
|
||||
|
||||
vmesa->regHTXnMPMD[0] &= ~(HC_HTXnMPMD_SMASK | HC_HTXnMPMD_TMASK);
|
||||
vmesa->regHTXnMPMD[0] |= get_wrap_mode( texObj->WrapS,
|
||||
texObj->WrapT );
|
||||
vmesa->regHTXnMPMD[0] |= get_wrap_mode( texObj->Sampler.WrapS,
|
||||
texObj->Sampler.WrapT );
|
||||
|
||||
vmesa->regHTXnTB[0] &= ~(HC_HTXnTB_TBC_S | HC_HTXnTB_TBC_T);
|
||||
if (texObj->Image[0][texObj->BaseLevel]->Border > 0) {
|
||||
vmesa->regHTXnTB[0] |= (HC_HTXnTB_TBC_S | HC_HTXnTB_TBC_T);
|
||||
vmesa->regHTXnTBC[0] =
|
||||
PACK_COLOR_888(FLOAT_TO_UBYTE(texObj->BorderColor.f[0]),
|
||||
FLOAT_TO_UBYTE(texObj->BorderColor.f[1]),
|
||||
FLOAT_TO_UBYTE(texObj->BorderColor.f[2]));
|
||||
vmesa->regHTXnTRAH[0] = FLOAT_TO_UBYTE(texObj->BorderColor.f[3]);
|
||||
PACK_COLOR_888(FLOAT_TO_UBYTE(texObj->Sampler.BorderColor.f[0]),
|
||||
FLOAT_TO_UBYTE(texObj->Sampler.BorderColor.f[1]),
|
||||
FLOAT_TO_UBYTE(texObj->Sampler.BorderColor.f[2]));
|
||||
vmesa->regHTXnTRAH[0] = FLOAT_TO_UBYTE(texObj->Sampler.BorderColor.f[3]);
|
||||
}
|
||||
|
||||
if (texUnit0->LodBias != 0.0f) {
|
||||
|
|
@ -911,20 +911,20 @@ static GLboolean viaChooseTextureState(struct gl_context *ctx)
|
|||
if (texUnit1->_ReallyEnabled) {
|
||||
struct gl_texture_object *texObj = texUnit1->_Current;
|
||||
|
||||
vmesa->regHTXnTB[1] = get_minmag_filter( texObj->MinFilter,
|
||||
texObj->MagFilter );
|
||||
vmesa->regHTXnTB[1] = get_minmag_filter( texObj->Sampler.MinFilter,
|
||||
texObj->Sampler.MagFilter );
|
||||
vmesa->regHTXnMPMD[1] &= ~(HC_HTXnMPMD_SMASK | HC_HTXnMPMD_TMASK);
|
||||
vmesa->regHTXnMPMD[1] |= get_wrap_mode( texObj->WrapS,
|
||||
texObj->WrapT );
|
||||
vmesa->regHTXnMPMD[1] |= get_wrap_mode( texObj->Sampler.WrapS,
|
||||
texObj->Sampler.WrapT );
|
||||
|
||||
vmesa->regHTXnTB[1] &= ~(HC_HTXnTB_TBC_S | HC_HTXnTB_TBC_T);
|
||||
if (texObj->Image[0][texObj->BaseLevel]->Border > 0) {
|
||||
vmesa->regHTXnTB[1] |= (HC_HTXnTB_TBC_S | HC_HTXnTB_TBC_T);
|
||||
vmesa->regHTXnTBC[1] =
|
||||
PACK_COLOR_888(FLOAT_TO_UBYTE(texObj->BorderColor.f[0]),
|
||||
FLOAT_TO_UBYTE(texObj->BorderColor.f[1]),
|
||||
FLOAT_TO_UBYTE(texObj->BorderColor.f[2]));
|
||||
vmesa->regHTXnTRAH[1] = FLOAT_TO_UBYTE(texObj->BorderColor.f[3]);
|
||||
PACK_COLOR_888(FLOAT_TO_UBYTE(texObj->Sampler.BorderColor.f[0]),
|
||||
FLOAT_TO_UBYTE(texObj->Sampler.BorderColor.f[1]),
|
||||
FLOAT_TO_UBYTE(texObj->Sampler.BorderColor.f[2]));
|
||||
vmesa->regHTXnTRAH[1] = FLOAT_TO_UBYTE(texObj->Sampler.BorderColor.f[3]);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -495,13 +495,13 @@ static GLboolean viaSetTexImages(struct gl_context *ctx,
|
|||
* GL_TEXTURE_MAX_LOD, GL_TEXTURE_BASE_LEVEL, and GL_TEXTURE_MAX_LEVEL.
|
||||
* Yes, this looks overly complicated, but it's all needed.
|
||||
*/
|
||||
if (texObj->MinFilter == GL_LINEAR || texObj->MinFilter == GL_NEAREST) {
|
||||
if (texObj->Sampler.MinFilter == GL_LINEAR || texObj->Sampler.MinFilter == GL_NEAREST) {
|
||||
firstLevel = lastLevel = texObj->BaseLevel;
|
||||
}
|
||||
else {
|
||||
firstLevel = texObj->BaseLevel + (GLint)(texObj->MinLod + 0.5);
|
||||
firstLevel = texObj->BaseLevel + (GLint)(texObj->Sampler.MinLod + 0.5);
|
||||
firstLevel = MAX2(firstLevel, texObj->BaseLevel);
|
||||
lastLevel = texObj->BaseLevel + (GLint)(texObj->MaxLod + 0.5);
|
||||
lastLevel = texObj->BaseLevel + (GLint)(texObj->Sampler.MaxLod + 0.5);
|
||||
lastLevel = MAX2(lastLevel, texObj->BaseLevel);
|
||||
lastLevel = MIN2(lastLevel, texObj->BaseLevel + baseImage->image.MaxLog2);
|
||||
lastLevel = MIN2(lastLevel, texObj->MaxLevel);
|
||||
|
|
|
|||
|
|
@ -78,6 +78,9 @@
|
|||
#include "polygon.h"
|
||||
#include "queryobj.h"
|
||||
#include "readpix.h"
|
||||
#if FEATURE_ARB_sampler_objects
|
||||
#include "samplerobj.h"
|
||||
#endif
|
||||
#include "scissor.h"
|
||||
#include "stencil.h"
|
||||
#include "texenv.h"
|
||||
|
|
@ -729,6 +732,10 @@ _mesa_create_exec_table(void)
|
|||
/* GL_ARB_texture_buffer_object */
|
||||
SET_TexBufferARB(exec, _mesa_TexBuffer);
|
||||
|
||||
#if FEATURE_ARB_sampler_objects
|
||||
_mesa_init_sampler_object_dispatch(exec);
|
||||
#endif
|
||||
|
||||
return exec;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -770,6 +770,7 @@ pop_texture_group(struct gl_context *ctx, struct texture_state *texstate)
|
|||
/* Restore texture object state for each target */
|
||||
for (tgt = 0; tgt < NUM_TEXTURE_TARGETS; tgt++) {
|
||||
const struct gl_texture_object *obj = NULL;
|
||||
const struct gl_sampler_object *samp;
|
||||
GLenum target;
|
||||
|
||||
obj = &texstate->SavedObj[u][tgt];
|
||||
|
|
@ -797,26 +798,28 @@ pop_texture_group(struct gl_context *ctx, struct texture_state *texstate)
|
|||
|
||||
_mesa_BindTexture(target, obj->Name);
|
||||
|
||||
_mesa_TexParameterfv(target, GL_TEXTURE_BORDER_COLOR, obj->BorderColor.f);
|
||||
samp = &obj->Sampler;
|
||||
|
||||
_mesa_TexParameterfv(target, GL_TEXTURE_BORDER_COLOR, samp->BorderColor.f);
|
||||
_mesa_TexParameteri(target, GL_TEXTURE_WRAP_S, samp->WrapS);
|
||||
_mesa_TexParameteri(target, GL_TEXTURE_WRAP_T, samp->WrapT);
|
||||
_mesa_TexParameteri(target, GL_TEXTURE_WRAP_R, samp->WrapR);
|
||||
_mesa_TexParameteri(target, GL_TEXTURE_MIN_FILTER, samp->MinFilter);
|
||||
_mesa_TexParameteri(target, GL_TEXTURE_MAG_FILTER, samp->MagFilter);
|
||||
_mesa_TexParameterf(target, GL_TEXTURE_MIN_LOD, samp->MinLod);
|
||||
_mesa_TexParameterf(target, GL_TEXTURE_MAX_LOD, samp->MaxLod);
|
||||
_mesa_TexParameterf(target, GL_TEXTURE_LOD_BIAS, samp->LodBias);
|
||||
_mesa_TexParameterf(target, GL_TEXTURE_PRIORITY, obj->Priority);
|
||||
_mesa_TexParameteri(target, GL_TEXTURE_WRAP_S, obj->WrapS);
|
||||
_mesa_TexParameteri(target, GL_TEXTURE_WRAP_T, obj->WrapT);
|
||||
_mesa_TexParameteri(target, GL_TEXTURE_WRAP_R, obj->WrapR);
|
||||
_mesa_TexParameteri(target, GL_TEXTURE_MIN_FILTER, obj->MinFilter);
|
||||
_mesa_TexParameteri(target, GL_TEXTURE_MAG_FILTER, obj->MagFilter);
|
||||
_mesa_TexParameterf(target, GL_TEXTURE_MIN_LOD, obj->MinLod);
|
||||
_mesa_TexParameterf(target, GL_TEXTURE_MAX_LOD, obj->MaxLod);
|
||||
_mesa_TexParameterf(target, GL_TEXTURE_LOD_BIAS, obj->LodBias);
|
||||
_mesa_TexParameteri(target, GL_TEXTURE_BASE_LEVEL, obj->BaseLevel);
|
||||
if (target != GL_TEXTURE_RECTANGLE_ARB)
|
||||
_mesa_TexParameteri(target, GL_TEXTURE_MAX_LEVEL, obj->MaxLevel);
|
||||
if (ctx->Extensions.EXT_texture_filter_anisotropic) {
|
||||
_mesa_TexParameterf(target, GL_TEXTURE_MAX_ANISOTROPY_EXT,
|
||||
obj->MaxAnisotropy);
|
||||
samp->MaxAnisotropy);
|
||||
}
|
||||
if (ctx->Extensions.ARB_shadow_ambient) {
|
||||
_mesa_TexParameterf(target, GL_TEXTURE_COMPARE_FAIL_VALUE_ARB,
|
||||
obj->CompareFailValue);
|
||||
samp->CompareFailValue);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1021,6 +1021,14 @@ struct dd_function_table {
|
|||
* \name GL_NV_texture_barrier interface
|
||||
*/
|
||||
void (*TextureBarrier)(struct gl_context *ctx);
|
||||
|
||||
/**
|
||||
* \name GL_ARB_sampler_objects
|
||||
*/
|
||||
struct gl_sampler_object * (*NewSamplerObject)(struct gl_context *ctx,
|
||||
GLuint name);
|
||||
void (*DeleteSamplerObject)(struct gl_context *ctx,
|
||||
struct gl_sampler_object *samp);
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -49,6 +49,7 @@
|
|||
#include "eval.h"
|
||||
#include "framebuffer.h"
|
||||
#include "glapi/glapi.h"
|
||||
#include "glapidispatch.h"
|
||||
#include "hash.h"
|
||||
#include "image.h"
|
||||
#include "light.h"
|
||||
|
|
@ -437,6 +438,9 @@ typedef enum
|
|||
/* GL_NV_texture_barrier */
|
||||
OPCODE_TEXTURE_BARRIER_NV,
|
||||
|
||||
/* GL_ARB_sampler_object */
|
||||
OPCODE_BIND_SAMPLER,
|
||||
|
||||
/* The following three are meta instructions */
|
||||
OPCODE_ERROR, /* raise compiled-in error */
|
||||
OPCODE_CONTINUE,
|
||||
|
|
@ -7066,6 +7070,24 @@ save_TextureBarrierNV(void)
|
|||
}
|
||||
|
||||
|
||||
/* GL_ARB_sampler_objects */
|
||||
static void
|
||||
save_BindSampler(GLuint unit, GLuint sampler)
|
||||
{
|
||||
Node *n;
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
ASSERT_OUTSIDE_SAVE_BEGIN_END_AND_FLUSH(ctx);
|
||||
n = alloc_instruction(ctx, OPCODE_BIND_SAMPLER, 2);
|
||||
if (n) {
|
||||
n[1].ui = unit;
|
||||
n[2].ui = sampler;
|
||||
}
|
||||
if (ctx->ExecuteFlag) {
|
||||
CALL_BindSampler(ctx->Exec, (unit, sampler));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Save an error-generating command into display list.
|
||||
*
|
||||
|
|
@ -8249,6 +8271,10 @@ execute_list(struct gl_context *ctx, GLuint list)
|
|||
CALL_TextureBarrierNV(ctx->Exec, ());
|
||||
break;
|
||||
|
||||
case OPCODE_BIND_SAMPLER:
|
||||
CALL_BindSampler(ctx->Exec, (n[1].ui, n[2].ui));
|
||||
break;
|
||||
|
||||
case OPCODE_CONTINUE:
|
||||
n = (Node *) n[1].next;
|
||||
break;
|
||||
|
|
@ -9930,6 +9956,9 @@ _mesa_create_save_table(void)
|
|||
/* GL_NV_texture_barrier */
|
||||
SET_TextureBarrierNV(table, save_TextureBarrierNV);
|
||||
|
||||
/* GL_ARB_sampler_objects */
|
||||
SET_BindSampler(table, save_BindSampler);
|
||||
|
||||
/* GL_ARB_draw_buffer_blend */
|
||||
SET_BlendFunciARB(table, save_BlendFunci);
|
||||
SET_BlendFuncSeparateiARB(table, save_BlendFuncSeparatei);
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -439,9 +439,10 @@ static GLuint make_state_key( struct gl_context *ctx, struct state_key *key )
|
|||
key->unit[i].source_index =
|
||||
translate_tex_src_bit(texUnit->_ReallyEnabled);
|
||||
|
||||
key->unit[i].shadow = ((texObj->CompareMode == GL_COMPARE_R_TO_TEXTURE) &&
|
||||
((format == GL_DEPTH_COMPONENT) ||
|
||||
(format == GL_DEPTH_STENCIL_EXT)));
|
||||
key->unit[i].shadow =
|
||||
((texObj->Sampler.CompareMode == GL_COMPARE_R_TO_TEXTURE) &&
|
||||
((format == GL_DEPTH_COMPONENT) ||
|
||||
(format == GL_DEPTH_STENCIL_EXT)));
|
||||
|
||||
key->unit[i].NumArgsRGB = comb->_NumArgsRGB;
|
||||
key->unit[i].NumArgsA = comb->_NumArgsA;
|
||||
|
|
|
|||
|
|
@ -278,6 +278,11 @@ static const int extra_EXT_gpu_shader4[] = {
|
|||
EXTRA_END
|
||||
};
|
||||
|
||||
static const int extra_ARB_sampler_objects[] = {
|
||||
EXT(ARB_sampler_objects),
|
||||
EXTRA_END
|
||||
};
|
||||
|
||||
|
||||
EXTRA_EXT(ARB_ES2_compatibility);
|
||||
EXTRA_EXT(ARB_multitexture);
|
||||
|
|
@ -1249,6 +1254,10 @@ static const struct value_desc values[] = {
|
|||
{ GL_TEXTURE_BUFFER_ARB, LOC_CUSTOM, TYPE_INT, 0,
|
||||
extra_ARB_texture_buffer_object },
|
||||
|
||||
/* GL_ARB_sampler_objects / GL 3.3 */
|
||||
{ GL_SAMPLER_BINDING,
|
||||
LOC_CUSTOM, TYPE_INT, GL_SAMPLER_BINDING, extra_ARB_sampler_objects },
|
||||
|
||||
/* GL 3.0 */
|
||||
{ GL_NUM_EXTENSIONS, LOC_CUSTOM, TYPE_INT, 0, extra_version_30 },
|
||||
{ GL_MAJOR_VERSION, CONTEXT_INT(VersionMajor), extra_version_30 },
|
||||
|
|
@ -1709,6 +1718,14 @@ find_custom_value(struct gl_context *ctx, const struct value_desc *d, union valu
|
|||
.CurrentTex[TEXTURE_BUFFER_INDEX]->BufferObjectFormat;
|
||||
break;
|
||||
|
||||
/* GL_ARB_sampler_objects */
|
||||
case GL_SAMPLER_BINDING:
|
||||
{
|
||||
struct gl_sampler_object *samp =
|
||||
ctx->Texture.Unit[ctx->Texture.CurrentUnit].Sampler;
|
||||
v->value_int = samp ? samp->Name : 0;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -122,6 +122,7 @@
|
|||
#define FEATURE_ARB_framebuffer_object (FEATURE_GL && FEATURE_EXT_framebuffer_object)
|
||||
#define FEATURE_ARB_map_buffer_range FEATURE_GL
|
||||
#define FEATURE_ARB_pixel_buffer_object (FEATURE_GL && FEATURE_EXT_pixel_buffer_object)
|
||||
#define FEATURE_ARB_sampler_objects FEATURE_GL
|
||||
#define FEATURE_ARB_sync FEATURE_GL
|
||||
#define FEATURE_ARB_vertex_buffer_object 1
|
||||
|
||||
|
|
|
|||
|
|
@ -1304,6 +1304,42 @@ typedef enum
|
|||
} gl_face_index;
|
||||
|
||||
|
||||
/**
|
||||
* Sampler object state. These objects are new with GL_ARB_sampler_objects
|
||||
* and OpenGL 3.3. Legacy texture objects also contain a sampler object.
|
||||
*/
|
||||
struct gl_sampler_object
|
||||
{
|
||||
GLuint Name;
|
||||
GLint RefCount;
|
||||
|
||||
GLenum WrapS; /**< S-axis texture image wrap mode */
|
||||
GLenum WrapT; /**< T-axis texture image wrap mode */
|
||||
GLenum WrapR; /**< R-axis texture image wrap mode */
|
||||
GLenum MinFilter; /**< minification filter */
|
||||
GLenum MagFilter; /**< magnification filter */
|
||||
union {
|
||||
GLfloat f[4];
|
||||
GLuint ui[4];
|
||||
GLint i[4];
|
||||
} BorderColor; /**< Interpreted according to texture format */
|
||||
GLfloat MinLod; /**< min lambda, OpenGL 1.2 */
|
||||
GLfloat MaxLod; /**< max lambda, OpenGL 1.2 */
|
||||
GLfloat LodBias; /**< OpenGL 1.4 */
|
||||
GLfloat MaxAnisotropy; /**< GL_EXT_texture_filter_anisotropic */
|
||||
GLenum CompareMode; /**< GL_ARB_shadow */
|
||||
GLenum CompareFunc; /**< GL_ARB_shadow */
|
||||
GLfloat CompareFailValue; /**< GL_ARB_shadow_ambient */
|
||||
GLenum sRGBDecode; /**< GL_DECODE_EXT or GL_SKIP_DECODE_EXT */
|
||||
|
||||
/* deprecated sampler state */
|
||||
GLenum DepthMode; /**< GL_ARB_depth_texture */
|
||||
|
||||
/** Is the texture object complete with respect to this sampler? */
|
||||
GLboolean _CompleteTexture;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Texture object state. Contains the array of mipmap images, border color,
|
||||
* wrap modes, filter modes, shadow/texcompare state, and the per-texture
|
||||
|
|
@ -1315,27 +1351,12 @@ struct gl_texture_object
|
|||
GLint RefCount; /**< reference count */
|
||||
GLuint Name; /**< the user-visible texture object ID */
|
||||
GLenum Target; /**< GL_TEXTURE_1D, GL_TEXTURE_2D, etc. */
|
||||
|
||||
struct gl_sampler_object Sampler;
|
||||
|
||||
GLfloat Priority; /**< in [0,1] */
|
||||
union {
|
||||
GLfloat f[4];
|
||||
GLuint ui[4];
|
||||
GLint i[4];
|
||||
} BorderColor; /**< Interpreted according to texture format */
|
||||
GLenum WrapS; /**< S-axis texture image wrap mode */
|
||||
GLenum WrapT; /**< T-axis texture image wrap mode */
|
||||
GLenum WrapR; /**< R-axis texture image wrap mode */
|
||||
GLenum MinFilter; /**< minification filter */
|
||||
GLenum MagFilter; /**< magnification filter */
|
||||
GLfloat MinLod; /**< min lambda, OpenGL 1.2 */
|
||||
GLfloat MaxLod; /**< max lambda, OpenGL 1.2 */
|
||||
GLfloat LodBias; /**< OpenGL 1.4 */
|
||||
GLint BaseLevel; /**< min mipmap level, OpenGL 1.2 */
|
||||
GLint MaxLevel; /**< max mipmap level, OpenGL 1.2 */
|
||||
GLfloat MaxAnisotropy; /**< GL_EXT_texture_filter_anisotropic */
|
||||
GLenum CompareMode; /**< GL_ARB_shadow */
|
||||
GLenum CompareFunc; /**< GL_ARB_shadow */
|
||||
GLfloat CompareFailValue; /**< GL_ARB_shadow_ambient */
|
||||
GLenum DepthMode; /**< GL_ARB_depth_texture */
|
||||
GLint _MaxLevel; /**< actual max mipmap level (q in the spec) */
|
||||
GLfloat _MaxLambda; /**< = _MaxLevel - BaseLevel (q - b in spec) */
|
||||
GLint CropRect[4]; /**< GL_OES_draw_texture */
|
||||
|
|
@ -1345,7 +1366,6 @@ struct gl_texture_object
|
|||
GLboolean _Complete; /**< Is texture object complete? */
|
||||
GLboolean _RenderToTexture; /**< Any rendering to this texture? */
|
||||
GLboolean Purgeable; /**< Is the buffer purgeable under memory pressure? */
|
||||
GLenum sRGBDecode; /**< GL_DECODE_EXT or GL_SKIP_DECODE_EXT */
|
||||
|
||||
/** Actual texture images, indexed by [cube face] and [mipmap level] */
|
||||
struct gl_texture_image *Image[MAX_FACES][MAX_TEXTURE_LEVELS];
|
||||
|
|
@ -1429,6 +1449,9 @@ struct gl_texture_unit
|
|||
GLenum BumpTarget;
|
||||
GLfloat RotMatrix[4]; /* 2x2 matrix */
|
||||
|
||||
/** Current sampler object (GL_ARB_sampler_objects) */
|
||||
struct gl_sampler_object *Sampler;
|
||||
|
||||
/**
|
||||
* \name GL_EXT_texture_env_combine
|
||||
*/
|
||||
|
|
@ -2363,6 +2386,9 @@ struct gl_shared_state
|
|||
/* GL_ARB_sync */
|
||||
struct simple_node SyncObjects;
|
||||
|
||||
/** GL_ARB_sampler_objects */
|
||||
struct _mesa_HashTable *SamplerObjects;
|
||||
|
||||
void *DriverData; /**< Device driver shared state */
|
||||
};
|
||||
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
1355
src/mesa/main/samplerobj.c
Normal file
1355
src/mesa/main/samplerobj.c
Normal file
File diff suppressed because it is too large
Load diff
54
src/mesa/main/samplerobj.h
Normal file
54
src/mesa/main/samplerobj.h
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
/*
|
||||
* Mesa 3-D graphics library
|
||||
*
|
||||
* Copyright (C) 2011 VMware, Inc. 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
|
||||
* BRIAN PAUL 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 SAMPLEROBJ_H
|
||||
#define SAMPLEROBJ_H
|
||||
|
||||
struct dd_function_table;
|
||||
|
||||
|
||||
extern void
|
||||
_mesa_reference_sampler_object(struct gl_context *ctx,
|
||||
struct gl_sampler_object **ptr,
|
||||
struct gl_sampler_object *samp);
|
||||
|
||||
extern void
|
||||
_mesa_init_sampler_object(struct gl_sampler_object *sampObj, GLuint name);
|
||||
|
||||
extern struct gl_sampler_object *
|
||||
_mesa_new_sampler_object(struct gl_context *ctx, GLuint name);
|
||||
|
||||
extern void
|
||||
_mesa_delete_sampler_object(struct gl_context *ctx,
|
||||
struct gl_sampler_object *sampObj);
|
||||
|
||||
extern void
|
||||
_mesa_init_sampler_object_functions(struct dd_function_table *driver);
|
||||
|
||||
extern void
|
||||
_mesa_init_sampler_object_dispatch(struct _glapi_table *disp);
|
||||
|
||||
|
||||
#endif /* SAMPLEROBJ_H */
|
||||
|
|
@ -40,6 +40,9 @@
|
|||
#include "shared.h"
|
||||
#include "program/program.h"
|
||||
#include "dlist.h"
|
||||
#if FEATURE_ARB_sampler_objects
|
||||
#include "samplerobj.h"
|
||||
#endif
|
||||
#include "shaderobj.h"
|
||||
#include "syncobj.h"
|
||||
|
||||
|
|
@ -91,6 +94,11 @@ _mesa_alloc_shared_state(struct gl_context *ctx)
|
|||
shared->BufferObjects = _mesa_NewHashTable();
|
||||
#endif
|
||||
|
||||
#if FEATURE_ARB_sampler_objects
|
||||
/* GL_ARB_sampler_objects */
|
||||
shared->SamplerObjects = _mesa_NewHashTable();
|
||||
#endif
|
||||
|
||||
/* Allocate the default buffer object */
|
||||
shared->NullBufferObj = ctx->Driver.NewBufferObject(ctx, 0, 0);
|
||||
|
||||
|
|
@ -270,6 +278,20 @@ delete_renderbuffer_cb(GLuint id, void *data, void *userData)
|
|||
}
|
||||
|
||||
|
||||
#if FEATURE_ARB_sampler_objects
|
||||
/**
|
||||
* Callback for deleting a sampler object. Called by _mesa_HashDeleteAll()
|
||||
*/
|
||||
static void
|
||||
delete_sampler_object_cb(GLuint id, void *data, void *userData)
|
||||
{
|
||||
struct gl_context *ctx = (struct gl_context *) userData;
|
||||
struct gl_sampler_object *sampObj = (struct gl_sampler_object *) data;
|
||||
_mesa_reference_sampler_object(ctx, &sampObj, NULL);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
/**
|
||||
* Deallocate a shared state object and all children structures.
|
||||
*
|
||||
|
|
@ -345,6 +367,11 @@ free_shared_state(struct gl_context *ctx, struct gl_shared_state *shared)
|
|||
}
|
||||
}
|
||||
|
||||
#if FEATURE_ARB_sampler_objects
|
||||
_mesa_HashDeleteAll(shared->SamplerObjects, delete_sampler_object_cb, ctx);
|
||||
_mesa_DeleteHashTable(shared->SamplerObjects);
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Free texture objects (after FBOs since some textures might have
|
||||
* been bound to FBOs).
|
||||
|
|
|
|||
|
|
@ -975,7 +975,7 @@ _mesa_set_fetch_functions(struct gl_texture_image *texImage, GLuint dims)
|
|||
|
||||
ASSERT(dims == 1 || dims == 2 || dims == 3);
|
||||
|
||||
if (texImage->TexObject->sRGBDecode == GL_SKIP_DECODE_EXT &&
|
||||
if (texImage->TexObject->Sampler.sRGBDecode == GL_SKIP_DECODE_EXT &&
|
||||
_mesa_get_format_color_encoding(format) == GL_SRGB) {
|
||||
format = _mesa_get_srgb_format_linear(format);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -116,35 +116,37 @@ _mesa_initialize_texture_object( struct gl_texture_object *obj,
|
|||
obj->Name = name;
|
||||
obj->Target = target;
|
||||
obj->Priority = 1.0F;
|
||||
if (target == GL_TEXTURE_RECTANGLE_NV) {
|
||||
obj->WrapS = GL_CLAMP_TO_EDGE;
|
||||
obj->WrapT = GL_CLAMP_TO_EDGE;
|
||||
obj->WrapR = GL_CLAMP_TO_EDGE;
|
||||
obj->MinFilter = GL_LINEAR;
|
||||
}
|
||||
else {
|
||||
obj->WrapS = GL_REPEAT;
|
||||
obj->WrapT = GL_REPEAT;
|
||||
obj->WrapR = GL_REPEAT;
|
||||
obj->MinFilter = GL_NEAREST_MIPMAP_LINEAR;
|
||||
}
|
||||
obj->MagFilter = GL_LINEAR;
|
||||
obj->MinLod = -1000.0;
|
||||
obj->MaxLod = 1000.0;
|
||||
obj->LodBias = 0.0;
|
||||
obj->BaseLevel = 0;
|
||||
obj->MaxLevel = 1000;
|
||||
obj->MaxAnisotropy = 1.0;
|
||||
obj->CompareMode = GL_NONE; /* ARB_shadow */
|
||||
obj->CompareFunc = GL_LEQUAL; /* ARB_shadow */
|
||||
obj->CompareFailValue = 0.0F; /* ARB_shadow_ambient */
|
||||
obj->DepthMode = GL_LUMINANCE; /* ARB_depth_texture */
|
||||
|
||||
/* sampler state */
|
||||
if (target == GL_TEXTURE_RECTANGLE_NV) {
|
||||
obj->Sampler.WrapS = GL_CLAMP_TO_EDGE;
|
||||
obj->Sampler.WrapT = GL_CLAMP_TO_EDGE;
|
||||
obj->Sampler.WrapR = GL_CLAMP_TO_EDGE;
|
||||
obj->Sampler.MinFilter = GL_LINEAR;
|
||||
}
|
||||
else {
|
||||
obj->Sampler.WrapS = GL_REPEAT;
|
||||
obj->Sampler.WrapT = GL_REPEAT;
|
||||
obj->Sampler.WrapR = GL_REPEAT;
|
||||
obj->Sampler.MinFilter = GL_NEAREST_MIPMAP_LINEAR;
|
||||
}
|
||||
obj->Sampler.MagFilter = GL_LINEAR;
|
||||
obj->Sampler.MinLod = -1000.0;
|
||||
obj->Sampler.MaxLod = 1000.0;
|
||||
obj->Sampler.LodBias = 0.0;
|
||||
obj->Sampler.MaxAnisotropy = 1.0;
|
||||
obj->Sampler.CompareMode = GL_NONE; /* ARB_shadow */
|
||||
obj->Sampler.CompareFunc = GL_LEQUAL; /* ARB_shadow */
|
||||
obj->Sampler.CompareFailValue = 0.0F; /* ARB_shadow_ambient */
|
||||
obj->Sampler.DepthMode = GL_LUMINANCE; /* ARB_depth_texture */
|
||||
obj->Swizzle[0] = GL_RED;
|
||||
obj->Swizzle[1] = GL_GREEN;
|
||||
obj->Swizzle[2] = GL_BLUE;
|
||||
obj->Swizzle[3] = GL_ALPHA;
|
||||
obj->_Swizzle = SWIZZLE_NOOP;
|
||||
obj->sRGBDecode = GL_DECODE_EXT;
|
||||
obj->Sampler.sRGBDecode = GL_DECODE_EXT;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -160,10 +162,10 @@ finish_texture_init(struct gl_context *ctx, GLenum target,
|
|||
|
||||
if (target == GL_TEXTURE_RECTANGLE_NV) {
|
||||
/* have to init wrap and filter state here - kind of klunky */
|
||||
obj->WrapS = GL_CLAMP_TO_EDGE;
|
||||
obj->WrapT = GL_CLAMP_TO_EDGE;
|
||||
obj->WrapR = GL_CLAMP_TO_EDGE;
|
||||
obj->MinFilter = GL_LINEAR;
|
||||
obj->Sampler.WrapS = GL_CLAMP_TO_EDGE;
|
||||
obj->Sampler.WrapT = GL_CLAMP_TO_EDGE;
|
||||
obj->Sampler.WrapR = GL_CLAMP_TO_EDGE;
|
||||
obj->Sampler.MinFilter = GL_LINEAR;
|
||||
if (ctx->Driver.TexParameter) {
|
||||
static const GLfloat fparam_wrap[1] = {(GLfloat) GL_CLAMP_TO_EDGE};
|
||||
static const GLfloat fparam_filter[1] = {(GLfloat) GL_LINEAR};
|
||||
|
|
@ -231,25 +233,25 @@ _mesa_copy_texture_object( struct gl_texture_object *dest,
|
|||
dest->Target = src->Target;
|
||||
dest->Name = src->Name;
|
||||
dest->Priority = src->Priority;
|
||||
dest->BorderColor.f[0] = src->BorderColor.f[0];
|
||||
dest->BorderColor.f[1] = src->BorderColor.f[1];
|
||||
dest->BorderColor.f[2] = src->BorderColor.f[2];
|
||||
dest->BorderColor.f[3] = src->BorderColor.f[3];
|
||||
dest->WrapS = src->WrapS;
|
||||
dest->WrapT = src->WrapT;
|
||||
dest->WrapR = src->WrapR;
|
||||
dest->MinFilter = src->MinFilter;
|
||||
dest->MagFilter = src->MagFilter;
|
||||
dest->MinLod = src->MinLod;
|
||||
dest->MaxLod = src->MaxLod;
|
||||
dest->LodBias = src->LodBias;
|
||||
dest->Sampler.BorderColor.f[0] = src->Sampler.BorderColor.f[0];
|
||||
dest->Sampler.BorderColor.f[1] = src->Sampler.BorderColor.f[1];
|
||||
dest->Sampler.BorderColor.f[2] = src->Sampler.BorderColor.f[2];
|
||||
dest->Sampler.BorderColor.f[3] = src->Sampler.BorderColor.f[3];
|
||||
dest->Sampler.WrapS = src->Sampler.WrapS;
|
||||
dest->Sampler.WrapT = src->Sampler.WrapT;
|
||||
dest->Sampler.WrapR = src->Sampler.WrapR;
|
||||
dest->Sampler.MinFilter = src->Sampler.MinFilter;
|
||||
dest->Sampler.MagFilter = src->Sampler.MagFilter;
|
||||
dest->Sampler.MinLod = src->Sampler.MinLod;
|
||||
dest->Sampler.MaxLod = src->Sampler.MaxLod;
|
||||
dest->Sampler.LodBias = src->Sampler.LodBias;
|
||||
dest->BaseLevel = src->BaseLevel;
|
||||
dest->MaxLevel = src->MaxLevel;
|
||||
dest->MaxAnisotropy = src->MaxAnisotropy;
|
||||
dest->CompareMode = src->CompareMode;
|
||||
dest->CompareFunc = src->CompareFunc;
|
||||
dest->CompareFailValue = src->CompareFailValue;
|
||||
dest->DepthMode = src->DepthMode;
|
||||
dest->Sampler.MaxAnisotropy = src->Sampler.MaxAnisotropy;
|
||||
dest->Sampler.CompareMode = src->Sampler.CompareMode;
|
||||
dest->Sampler.CompareFunc = src->Sampler.CompareFunc;
|
||||
dest->Sampler.CompareFailValue = src->Sampler.CompareFailValue;
|
||||
dest->Sampler.DepthMode = src->Sampler.DepthMode;
|
||||
dest->_MaxLevel = src->_MaxLevel;
|
||||
dest->_MaxLambda = src->_MaxLambda;
|
||||
dest->GenerateMipmap = src->GenerateMipmap;
|
||||
|
|
@ -506,7 +508,7 @@ _mesa_test_texobj_completeness( const struct gl_context *ctx,
|
|||
}
|
||||
|
||||
/* extra checking for mipmaps */
|
||||
if (t->MinFilter != GL_NEAREST && t->MinFilter != GL_LINEAR) {
|
||||
if (t->Sampler.MinFilter != GL_NEAREST && t->Sampler.MinFilter != GL_LINEAR) {
|
||||
/*
|
||||
* Mipmapping: determine if we have a complete set of mipmaps
|
||||
*/
|
||||
|
|
@ -761,8 +763,8 @@ _mesa_get_fallback_texture(struct gl_context *ctx)
|
|||
/* create texture object */
|
||||
texObj = ctx->Driver.NewTextureObject(ctx, 0, GL_TEXTURE_2D);
|
||||
assert(texObj->RefCount == 1);
|
||||
texObj->MinFilter = GL_NEAREST;
|
||||
texObj->MagFilter = GL_NEAREST;
|
||||
texObj->Sampler.MinFilter = GL_NEAREST;
|
||||
texObj->Sampler.MagFilter = GL_NEAREST;
|
||||
|
||||
/* create level[0] texture image */
|
||||
texImage = _mesa_get_tex_image(ctx, texObj, GL_TEXTURE_2D, 0);
|
||||
|
|
|
|||
|
|
@ -216,13 +216,13 @@ set_tex_parameteri(struct gl_context *ctx,
|
|||
{
|
||||
switch (pname) {
|
||||
case GL_TEXTURE_MIN_FILTER:
|
||||
if (texObj->MinFilter == params[0])
|
||||
if (texObj->Sampler.MinFilter == params[0])
|
||||
return GL_FALSE;
|
||||
switch (params[0]) {
|
||||
case GL_NEAREST:
|
||||
case GL_LINEAR:
|
||||
incomplete(ctx, texObj);
|
||||
texObj->MinFilter = params[0];
|
||||
texObj->Sampler.MinFilter = params[0];
|
||||
return GL_TRUE;
|
||||
case GL_NEAREST_MIPMAP_NEAREST:
|
||||
case GL_LINEAR_MIPMAP_NEAREST:
|
||||
|
|
@ -230,7 +230,7 @@ set_tex_parameteri(struct gl_context *ctx,
|
|||
case GL_LINEAR_MIPMAP_LINEAR:
|
||||
if (texObj->Target != GL_TEXTURE_RECTANGLE_NV) {
|
||||
incomplete(ctx, texObj);
|
||||
texObj->MinFilter = params[0];
|
||||
texObj->Sampler.MinFilter = params[0];
|
||||
return GL_TRUE;
|
||||
}
|
||||
/* fall-through */
|
||||
|
|
@ -240,13 +240,13 @@ set_tex_parameteri(struct gl_context *ctx,
|
|||
return GL_FALSE;
|
||||
|
||||
case GL_TEXTURE_MAG_FILTER:
|
||||
if (texObj->MagFilter == params[0])
|
||||
if (texObj->Sampler.MagFilter == params[0])
|
||||
return GL_FALSE;
|
||||
switch (params[0]) {
|
||||
case GL_NEAREST:
|
||||
case GL_LINEAR:
|
||||
flush(ctx); /* does not effect completeness */
|
||||
texObj->MagFilter = params[0];
|
||||
texObj->Sampler.MagFilter = params[0];
|
||||
return GL_TRUE;
|
||||
default:
|
||||
goto invalid_param;
|
||||
|
|
@ -254,31 +254,31 @@ set_tex_parameteri(struct gl_context *ctx,
|
|||
return GL_FALSE;
|
||||
|
||||
case GL_TEXTURE_WRAP_S:
|
||||
if (texObj->WrapS == params[0])
|
||||
if (texObj->Sampler.WrapS == params[0])
|
||||
return GL_FALSE;
|
||||
if (validate_texture_wrap_mode(ctx, texObj->Target, params[0])) {
|
||||
flush(ctx);
|
||||
texObj->WrapS = params[0];
|
||||
texObj->Sampler.WrapS = params[0];
|
||||
return GL_TRUE;
|
||||
}
|
||||
return GL_FALSE;
|
||||
|
||||
case GL_TEXTURE_WRAP_T:
|
||||
if (texObj->WrapT == params[0])
|
||||
if (texObj->Sampler.WrapT == params[0])
|
||||
return GL_FALSE;
|
||||
if (validate_texture_wrap_mode(ctx, texObj->Target, params[0])) {
|
||||
flush(ctx);
|
||||
texObj->WrapT = params[0];
|
||||
texObj->Sampler.WrapT = params[0];
|
||||
return GL_TRUE;
|
||||
}
|
||||
return GL_FALSE;
|
||||
|
||||
case GL_TEXTURE_WRAP_R:
|
||||
if (texObj->WrapR == params[0])
|
||||
if (texObj->Sampler.WrapR == params[0])
|
||||
return GL_FALSE;
|
||||
if (validate_texture_wrap_mode(ctx, texObj->Target, params[0])) {
|
||||
flush(ctx);
|
||||
texObj->WrapR = params[0];
|
||||
texObj->Sampler.WrapR = params[0];
|
||||
return GL_TRUE;
|
||||
}
|
||||
return GL_FALSE;
|
||||
|
|
@ -318,12 +318,12 @@ set_tex_parameteri(struct gl_context *ctx,
|
|||
|
||||
case GL_TEXTURE_COMPARE_MODE_ARB:
|
||||
if (ctx->Extensions.ARB_shadow) {
|
||||
if (texObj->CompareMode == params[0])
|
||||
if (texObj->Sampler.CompareMode == params[0])
|
||||
return GL_FALSE;
|
||||
if (params[0] == GL_NONE ||
|
||||
params[0] == GL_COMPARE_R_TO_TEXTURE_ARB) {
|
||||
flush(ctx);
|
||||
texObj->CompareMode = params[0];
|
||||
texObj->Sampler.CompareMode = params[0];
|
||||
return GL_TRUE;
|
||||
}
|
||||
goto invalid_param;
|
||||
|
|
@ -332,13 +332,13 @@ set_tex_parameteri(struct gl_context *ctx,
|
|||
|
||||
case GL_TEXTURE_COMPARE_FUNC_ARB:
|
||||
if (ctx->Extensions.ARB_shadow) {
|
||||
if (texObj->CompareFunc == params[0])
|
||||
if (texObj->Sampler.CompareFunc == params[0])
|
||||
return GL_FALSE;
|
||||
switch (params[0]) {
|
||||
case GL_LEQUAL:
|
||||
case GL_GEQUAL:
|
||||
flush(ctx);
|
||||
texObj->CompareFunc = params[0];
|
||||
texObj->Sampler.CompareFunc = params[0];
|
||||
return GL_TRUE;
|
||||
case GL_EQUAL:
|
||||
case GL_NOTEQUAL:
|
||||
|
|
@ -348,7 +348,7 @@ set_tex_parameteri(struct gl_context *ctx,
|
|||
case GL_NEVER:
|
||||
if (ctx->Extensions.EXT_shadow_funcs) {
|
||||
flush(ctx);
|
||||
texObj->CompareFunc = params[0];
|
||||
texObj->Sampler.CompareFunc = params[0];
|
||||
return GL_TRUE;
|
||||
}
|
||||
/* fall-through */
|
||||
|
|
@ -360,14 +360,14 @@ set_tex_parameteri(struct gl_context *ctx,
|
|||
|
||||
case GL_DEPTH_TEXTURE_MODE_ARB:
|
||||
if (ctx->Extensions.ARB_depth_texture) {
|
||||
if (texObj->DepthMode == params[0])
|
||||
if (texObj->Sampler.DepthMode == params[0])
|
||||
return GL_FALSE;
|
||||
if (params[0] == GL_LUMINANCE ||
|
||||
params[0] == GL_INTENSITY ||
|
||||
params[0] == GL_ALPHA ||
|
||||
(ctx->Extensions.ARB_texture_rg && params[0] == GL_RED)) {
|
||||
flush(ctx);
|
||||
texObj->DepthMode = params[0];
|
||||
texObj->Sampler.DepthMode = params[0];
|
||||
return GL_TRUE;
|
||||
}
|
||||
goto invalid_param;
|
||||
|
|
@ -429,9 +429,9 @@ set_tex_parameteri(struct gl_context *ctx,
|
|||
if (ctx->Extensions.EXT_texture_sRGB_decode) {
|
||||
GLenum decode = params[0];
|
||||
if (decode == GL_DECODE_EXT || decode == GL_SKIP_DECODE_EXT) {
|
||||
if (texObj->sRGBDecode != decode) {
|
||||
if (texObj->Sampler.sRGBDecode != decode) {
|
||||
flush(ctx);
|
||||
texObj->sRGBDecode = decode;
|
||||
texObj->Sampler.sRGBDecode = decode;
|
||||
_mesa_update_fetch_functions(texObj);
|
||||
}
|
||||
return GL_TRUE;
|
||||
|
|
@ -466,17 +466,17 @@ set_tex_parameterf(struct gl_context *ctx,
|
|||
{
|
||||
switch (pname) {
|
||||
case GL_TEXTURE_MIN_LOD:
|
||||
if (texObj->MinLod == params[0])
|
||||
if (texObj->Sampler.MinLod == params[0])
|
||||
return GL_FALSE;
|
||||
flush(ctx);
|
||||
texObj->MinLod = params[0];
|
||||
texObj->Sampler.MinLod = params[0];
|
||||
return GL_TRUE;
|
||||
|
||||
case GL_TEXTURE_MAX_LOD:
|
||||
if (texObj->MaxLod == params[0])
|
||||
if (texObj->Sampler.MaxLod == params[0])
|
||||
return GL_FALSE;
|
||||
flush(ctx);
|
||||
texObj->MaxLod = params[0];
|
||||
texObj->Sampler.MaxLod = params[0];
|
||||
return GL_TRUE;
|
||||
|
||||
case GL_TEXTURE_PRIORITY:
|
||||
|
|
@ -486,7 +486,7 @@ set_tex_parameterf(struct gl_context *ctx,
|
|||
|
||||
case GL_TEXTURE_MAX_ANISOTROPY_EXT:
|
||||
if (ctx->Extensions.EXT_texture_filter_anisotropic) {
|
||||
if (texObj->MaxAnisotropy == params[0])
|
||||
if (texObj->Sampler.MaxAnisotropy == params[0])
|
||||
return GL_FALSE;
|
||||
if (params[0] < 1.0) {
|
||||
_mesa_error(ctx, GL_INVALID_VALUE, "glTexParameter(param)" );
|
||||
|
|
@ -494,7 +494,7 @@ set_tex_parameterf(struct gl_context *ctx,
|
|||
}
|
||||
flush(ctx);
|
||||
/* clamp to max, that's what NVIDIA does */
|
||||
texObj->MaxAnisotropy = MIN2(params[0],
|
||||
texObj->Sampler.MaxAnisotropy = MIN2(params[0],
|
||||
ctx->Const.MaxTextureMaxAnisotropy);
|
||||
return GL_TRUE;
|
||||
}
|
||||
|
|
@ -508,9 +508,9 @@ set_tex_parameterf(struct gl_context *ctx,
|
|||
|
||||
case GL_TEXTURE_COMPARE_FAIL_VALUE_ARB:
|
||||
if (ctx->Extensions.ARB_shadow_ambient) {
|
||||
if (texObj->CompareFailValue != params[0]) {
|
||||
if (texObj->Sampler.CompareFailValue != params[0]) {
|
||||
flush(ctx);
|
||||
texObj->CompareFailValue = CLAMP(params[0], 0.0F, 1.0F);
|
||||
texObj->Sampler.CompareFailValue = CLAMP(params[0], 0.0F, 1.0F);
|
||||
return GL_TRUE;
|
||||
}
|
||||
}
|
||||
|
|
@ -523,9 +523,9 @@ set_tex_parameterf(struct gl_context *ctx,
|
|||
case GL_TEXTURE_LOD_BIAS:
|
||||
/* NOTE: this is really part of OpenGL 1.4, not EXT_texture_lod_bias */
|
||||
if (ctx->Extensions.EXT_texture_lod_bias) {
|
||||
if (texObj->LodBias != params[0]) {
|
||||
if (texObj->Sampler.LodBias != params[0]) {
|
||||
flush(ctx);
|
||||
texObj->LodBias = params[0];
|
||||
texObj->Sampler.LodBias = params[0];
|
||||
return GL_TRUE;
|
||||
}
|
||||
return GL_FALSE;
|
||||
|
|
@ -536,15 +536,15 @@ set_tex_parameterf(struct gl_context *ctx,
|
|||
flush(ctx);
|
||||
/* ARB_texture_float disables clamping */
|
||||
if (ctx->Extensions.ARB_texture_float) {
|
||||
texObj->BorderColor.f[RCOMP] = params[0];
|
||||
texObj->BorderColor.f[GCOMP] = params[1];
|
||||
texObj->BorderColor.f[BCOMP] = params[2];
|
||||
texObj->BorderColor.f[ACOMP] = params[3];
|
||||
texObj->Sampler.BorderColor.f[RCOMP] = params[0];
|
||||
texObj->Sampler.BorderColor.f[GCOMP] = params[1];
|
||||
texObj->Sampler.BorderColor.f[BCOMP] = params[2];
|
||||
texObj->Sampler.BorderColor.f[ACOMP] = params[3];
|
||||
} else {
|
||||
texObj->BorderColor.f[RCOMP] = CLAMP(params[0], 0.0F, 1.0F);
|
||||
texObj->BorderColor.f[GCOMP] = CLAMP(params[1], 0.0F, 1.0F);
|
||||
texObj->BorderColor.f[BCOMP] = CLAMP(params[2], 0.0F, 1.0F);
|
||||
texObj->BorderColor.f[ACOMP] = CLAMP(params[3], 0.0F, 1.0F);
|
||||
texObj->Sampler.BorderColor.f[RCOMP] = CLAMP(params[0], 0.0F, 1.0F);
|
||||
texObj->Sampler.BorderColor.f[GCOMP] = CLAMP(params[1], 0.0F, 1.0F);
|
||||
texObj->Sampler.BorderColor.f[BCOMP] = CLAMP(params[2], 0.0F, 1.0F);
|
||||
texObj->Sampler.BorderColor.f[ACOMP] = CLAMP(params[3], 0.0F, 1.0F);
|
||||
}
|
||||
return GL_TRUE;
|
||||
|
||||
|
|
@ -784,7 +784,7 @@ _mesa_TexParameterIiv(GLenum target, GLenum pname, const GLint *params)
|
|||
case GL_TEXTURE_BORDER_COLOR:
|
||||
FLUSH_VERTICES(ctx, _NEW_TEXTURE);
|
||||
/* set the integer-valued border color */
|
||||
COPY_4V(texObj->BorderColor.i, params);
|
||||
COPY_4V(texObj->Sampler.BorderColor.i, params);
|
||||
break;
|
||||
default:
|
||||
_mesa_TexParameteriv(target, pname, params);
|
||||
|
|
@ -814,7 +814,7 @@ _mesa_TexParameterIuiv(GLenum target, GLenum pname, const GLuint *params)
|
|||
case GL_TEXTURE_BORDER_COLOR:
|
||||
FLUSH_VERTICES(ctx, _NEW_TEXTURE);
|
||||
/* set the unsigned integer-valued border color */
|
||||
COPY_4V(texObj->BorderColor.ui, params);
|
||||
COPY_4V(texObj->Sampler.BorderColor.ui, params);
|
||||
break;
|
||||
default:
|
||||
_mesa_TexParameteriv(target, pname, (const GLint *) params);
|
||||
|
|
@ -1101,36 +1101,36 @@ _mesa_GetTexParameterfv( GLenum target, GLenum pname, GLfloat *params )
|
|||
_mesa_lock_texture(ctx, obj);
|
||||
switch (pname) {
|
||||
case GL_TEXTURE_MAG_FILTER:
|
||||
*params = ENUM_TO_FLOAT(obj->MagFilter);
|
||||
*params = ENUM_TO_FLOAT(obj->Sampler.MagFilter);
|
||||
break;
|
||||
case GL_TEXTURE_MIN_FILTER:
|
||||
*params = ENUM_TO_FLOAT(obj->MinFilter);
|
||||
*params = ENUM_TO_FLOAT(obj->Sampler.MinFilter);
|
||||
break;
|
||||
case GL_TEXTURE_WRAP_S:
|
||||
*params = ENUM_TO_FLOAT(obj->WrapS);
|
||||
*params = ENUM_TO_FLOAT(obj->Sampler.WrapS);
|
||||
break;
|
||||
case GL_TEXTURE_WRAP_T:
|
||||
*params = ENUM_TO_FLOAT(obj->WrapT);
|
||||
*params = ENUM_TO_FLOAT(obj->Sampler.WrapT);
|
||||
break;
|
||||
case GL_TEXTURE_WRAP_R:
|
||||
*params = ENUM_TO_FLOAT(obj->WrapR);
|
||||
*params = ENUM_TO_FLOAT(obj->Sampler.WrapR);
|
||||
break;
|
||||
case GL_TEXTURE_BORDER_COLOR:
|
||||
if(ctx->NewState & (_NEW_BUFFERS | _NEW_FRAG_CLAMP))
|
||||
_mesa_update_state_locked(ctx);
|
||||
if(ctx->Color._ClampFragmentColor)
|
||||
{
|
||||
params[0] = CLAMP(obj->BorderColor.f[0], 0.0F, 1.0F);
|
||||
params[1] = CLAMP(obj->BorderColor.f[1], 0.0F, 1.0F);
|
||||
params[2] = CLAMP(obj->BorderColor.f[2], 0.0F, 1.0F);
|
||||
params[3] = CLAMP(obj->BorderColor.f[3], 0.0F, 1.0F);
|
||||
params[0] = CLAMP(obj->Sampler.BorderColor.f[0], 0.0F, 1.0F);
|
||||
params[1] = CLAMP(obj->Sampler.BorderColor.f[1], 0.0F, 1.0F);
|
||||
params[2] = CLAMP(obj->Sampler.BorderColor.f[2], 0.0F, 1.0F);
|
||||
params[3] = CLAMP(obj->Sampler.BorderColor.f[3], 0.0F, 1.0F);
|
||||
}
|
||||
else
|
||||
{
|
||||
params[0] = obj->BorderColor.f[0];
|
||||
params[1] = obj->BorderColor.f[1];
|
||||
params[2] = obj->BorderColor.f[2];
|
||||
params[3] = obj->BorderColor.f[3];
|
||||
params[0] = obj->Sampler.BorderColor.f[0];
|
||||
params[1] = obj->Sampler.BorderColor.f[1];
|
||||
params[2] = obj->Sampler.BorderColor.f[2];
|
||||
params[3] = obj->Sampler.BorderColor.f[3];
|
||||
}
|
||||
break;
|
||||
case GL_TEXTURE_RESIDENT:
|
||||
|
|
@ -1147,10 +1147,10 @@ _mesa_GetTexParameterfv( GLenum target, GLenum pname, GLfloat *params )
|
|||
*params = obj->Priority;
|
||||
break;
|
||||
case GL_TEXTURE_MIN_LOD:
|
||||
*params = obj->MinLod;
|
||||
*params = obj->Sampler.MinLod;
|
||||
break;
|
||||
case GL_TEXTURE_MAX_LOD:
|
||||
*params = obj->MaxLod;
|
||||
*params = obj->Sampler.MaxLod;
|
||||
break;
|
||||
case GL_TEXTURE_BASE_LEVEL:
|
||||
*params = (GLfloat) obj->BaseLevel;
|
||||
|
|
@ -1160,14 +1160,14 @@ _mesa_GetTexParameterfv( GLenum target, GLenum pname, GLfloat *params )
|
|||
break;
|
||||
case GL_TEXTURE_MAX_ANISOTROPY_EXT:
|
||||
if (ctx->Extensions.EXT_texture_filter_anisotropic) {
|
||||
*params = obj->MaxAnisotropy;
|
||||
*params = obj->Sampler.MaxAnisotropy;
|
||||
}
|
||||
else
|
||||
error = GL_TRUE;
|
||||
break;
|
||||
case GL_TEXTURE_COMPARE_FAIL_VALUE_ARB:
|
||||
if (ctx->Extensions.ARB_shadow_ambient) {
|
||||
*params = obj->CompareFailValue;
|
||||
*params = obj->Sampler.CompareFailValue;
|
||||
}
|
||||
else
|
||||
error = GL_TRUE;
|
||||
|
|
@ -1177,28 +1177,28 @@ _mesa_GetTexParameterfv( GLenum target, GLenum pname, GLfloat *params )
|
|||
break;
|
||||
case GL_TEXTURE_COMPARE_MODE_ARB:
|
||||
if (ctx->Extensions.ARB_shadow) {
|
||||
*params = (GLfloat) obj->CompareMode;
|
||||
*params = (GLfloat) obj->Sampler.CompareMode;
|
||||
}
|
||||
else
|
||||
error = GL_TRUE;
|
||||
break;
|
||||
case GL_TEXTURE_COMPARE_FUNC_ARB:
|
||||
if (ctx->Extensions.ARB_shadow) {
|
||||
*params = (GLfloat) obj->CompareFunc;
|
||||
*params = (GLfloat) obj->Sampler.CompareFunc;
|
||||
}
|
||||
else
|
||||
error = GL_TRUE;
|
||||
break;
|
||||
case GL_DEPTH_TEXTURE_MODE_ARB:
|
||||
if (ctx->Extensions.ARB_depth_texture) {
|
||||
*params = (GLfloat) obj->DepthMode;
|
||||
*params = (GLfloat) obj->Sampler.DepthMode;
|
||||
}
|
||||
else
|
||||
error = GL_TRUE;
|
||||
break;
|
||||
case GL_TEXTURE_LOD_BIAS:
|
||||
if (ctx->Extensions.EXT_texture_lod_bias) {
|
||||
*params = obj->LodBias;
|
||||
*params = obj->Sampler.LodBias;
|
||||
}
|
||||
else
|
||||
error = GL_TRUE;
|
||||
|
|
@ -1265,27 +1265,27 @@ _mesa_GetTexParameteriv( GLenum target, GLenum pname, GLint *params )
|
|||
_mesa_lock_texture(ctx, obj);
|
||||
switch (pname) {
|
||||
case GL_TEXTURE_MAG_FILTER:
|
||||
*params = (GLint) obj->MagFilter;
|
||||
*params = (GLint) obj->Sampler.MagFilter;
|
||||
break;;
|
||||
case GL_TEXTURE_MIN_FILTER:
|
||||
*params = (GLint) obj->MinFilter;
|
||||
*params = (GLint) obj->Sampler.MinFilter;
|
||||
break;;
|
||||
case GL_TEXTURE_WRAP_S:
|
||||
*params = (GLint) obj->WrapS;
|
||||
*params = (GLint) obj->Sampler.WrapS;
|
||||
break;;
|
||||
case GL_TEXTURE_WRAP_T:
|
||||
*params = (GLint) obj->WrapT;
|
||||
*params = (GLint) obj->Sampler.WrapT;
|
||||
break;;
|
||||
case GL_TEXTURE_WRAP_R:
|
||||
*params = (GLint) obj->WrapR;
|
||||
*params = (GLint) obj->Sampler.WrapR;
|
||||
break;;
|
||||
case GL_TEXTURE_BORDER_COLOR:
|
||||
{
|
||||
GLfloat b[4];
|
||||
b[0] = CLAMP(obj->BorderColor.f[0], 0.0F, 1.0F);
|
||||
b[1] = CLAMP(obj->BorderColor.f[1], 0.0F, 1.0F);
|
||||
b[2] = CLAMP(obj->BorderColor.f[2], 0.0F, 1.0F);
|
||||
b[3] = CLAMP(obj->BorderColor.f[3], 0.0F, 1.0F);
|
||||
b[0] = CLAMP(obj->Sampler.BorderColor.f[0], 0.0F, 1.0F);
|
||||
b[1] = CLAMP(obj->Sampler.BorderColor.f[1], 0.0F, 1.0F);
|
||||
b[2] = CLAMP(obj->Sampler.BorderColor.f[2], 0.0F, 1.0F);
|
||||
b[3] = CLAMP(obj->Sampler.BorderColor.f[3], 0.0F, 1.0F);
|
||||
params[0] = FLOAT_TO_INT(b[0]);
|
||||
params[1] = FLOAT_TO_INT(b[1]);
|
||||
params[2] = FLOAT_TO_INT(b[2]);
|
||||
|
|
@ -1306,10 +1306,10 @@ _mesa_GetTexParameteriv( GLenum target, GLenum pname, GLint *params )
|
|||
*params = FLOAT_TO_INT(obj->Priority);
|
||||
break;;
|
||||
case GL_TEXTURE_MIN_LOD:
|
||||
*params = (GLint) obj->MinLod;
|
||||
*params = (GLint) obj->Sampler.MinLod;
|
||||
break;;
|
||||
case GL_TEXTURE_MAX_LOD:
|
||||
*params = (GLint) obj->MaxLod;
|
||||
*params = (GLint) obj->Sampler.MaxLod;
|
||||
break;;
|
||||
case GL_TEXTURE_BASE_LEVEL:
|
||||
*params = obj->BaseLevel;
|
||||
|
|
@ -1319,7 +1319,7 @@ _mesa_GetTexParameteriv( GLenum target, GLenum pname, GLint *params )
|
|||
break;;
|
||||
case GL_TEXTURE_MAX_ANISOTROPY_EXT:
|
||||
if (ctx->Extensions.EXT_texture_filter_anisotropic) {
|
||||
*params = (GLint) obj->MaxAnisotropy;
|
||||
*params = (GLint) obj->Sampler.MaxAnisotropy;
|
||||
}
|
||||
else {
|
||||
error = GL_TRUE;
|
||||
|
|
@ -1327,7 +1327,7 @@ _mesa_GetTexParameteriv( GLenum target, GLenum pname, GLint *params )
|
|||
break;
|
||||
case GL_TEXTURE_COMPARE_FAIL_VALUE_ARB:
|
||||
if (ctx->Extensions.ARB_shadow_ambient) {
|
||||
*params = (GLint) FLOAT_TO_INT(obj->CompareFailValue);
|
||||
*params = (GLint) FLOAT_TO_INT(obj->Sampler.CompareFailValue);
|
||||
}
|
||||
else {
|
||||
error = GL_TRUE;
|
||||
|
|
@ -1338,7 +1338,7 @@ _mesa_GetTexParameteriv( GLenum target, GLenum pname, GLint *params )
|
|||
break;
|
||||
case GL_TEXTURE_COMPARE_MODE_ARB:
|
||||
if (ctx->Extensions.ARB_shadow) {
|
||||
*params = (GLint) obj->CompareMode;
|
||||
*params = (GLint) obj->Sampler.CompareMode;
|
||||
}
|
||||
else {
|
||||
error = GL_TRUE;
|
||||
|
|
@ -1346,7 +1346,7 @@ _mesa_GetTexParameteriv( GLenum target, GLenum pname, GLint *params )
|
|||
break;
|
||||
case GL_TEXTURE_COMPARE_FUNC_ARB:
|
||||
if (ctx->Extensions.ARB_shadow) {
|
||||
*params = (GLint) obj->CompareFunc;
|
||||
*params = (GLint) obj->Sampler.CompareFunc;
|
||||
}
|
||||
else {
|
||||
error = GL_TRUE;
|
||||
|
|
@ -1354,7 +1354,7 @@ _mesa_GetTexParameteriv( GLenum target, GLenum pname, GLint *params )
|
|||
break;
|
||||
case GL_DEPTH_TEXTURE_MODE_ARB:
|
||||
if (ctx->Extensions.ARB_depth_texture) {
|
||||
*params = (GLint) obj->DepthMode;
|
||||
*params = (GLint) obj->Sampler.DepthMode;
|
||||
}
|
||||
else {
|
||||
error = GL_TRUE;
|
||||
|
|
@ -1362,7 +1362,7 @@ _mesa_GetTexParameteriv( GLenum target, GLenum pname, GLint *params )
|
|||
break;
|
||||
case GL_TEXTURE_LOD_BIAS:
|
||||
if (ctx->Extensions.EXT_texture_lod_bias) {
|
||||
*params = (GLint) obj->LodBias;
|
||||
*params = (GLint) obj->Sampler.LodBias;
|
||||
}
|
||||
else {
|
||||
error = GL_TRUE;
|
||||
|
|
@ -1422,7 +1422,7 @@ _mesa_GetTexParameterIiv(GLenum target, GLenum pname, GLint *params)
|
|||
|
||||
switch (pname) {
|
||||
case GL_TEXTURE_BORDER_COLOR:
|
||||
COPY_4V(params, texObj->BorderColor.i);
|
||||
COPY_4V(params, texObj->Sampler.BorderColor.i);
|
||||
break;
|
||||
default:
|
||||
_mesa_GetTexParameteriv(target, pname, params);
|
||||
|
|
@ -1442,7 +1442,7 @@ _mesa_GetTexParameterIuiv(GLenum target, GLenum pname, GLuint *params)
|
|||
|
||||
switch (pname) {
|
||||
case GL_TEXTURE_BORDER_COLOR:
|
||||
COPY_4V(params, texObj->BorderColor.i);
|
||||
COPY_4V(params, texObj->Sampler.BorderColor.i);
|
||||
break;
|
||||
default:
|
||||
{
|
||||
|
|
|
|||
|
|
@ -407,7 +407,7 @@ update_tex_combine(struct gl_context *ctx, struct gl_texture_unit *texUnit)
|
|||
}
|
||||
else if (format == GL_DEPTH_COMPONENT ||
|
||||
format == GL_DEPTH_STENCIL_EXT) {
|
||||
format = texObj->DepthMode;
|
||||
format = texObj->Sampler.DepthMode;
|
||||
}
|
||||
calculate_derived_texenv(&texUnit->_EnvMode, texUnit->EnvMode, format);
|
||||
texUnit->_CurrentCombine = & texUnit->_EnvMode;
|
||||
|
|
@ -827,6 +827,12 @@ _mesa_free_texture_data(struct gl_context *ctx)
|
|||
|
||||
/* GL_ARB_texture_buffer_object */
|
||||
_mesa_reference_buffer_object(ctx, &ctx->Texture.BufferObject, NULL);
|
||||
|
||||
#if FEATURE_sampler_objects
|
||||
for (u = 0; u < Elements(ctx->Texture.Unit); u++) {
|
||||
_mesa_reference_sampler_object(ctx, &ctx->Texture.Unit[u].Sampler, NULL);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -582,7 +582,7 @@ _mesa_fetch_state(struct gl_context *ctx, const gl_state_index state[],
|
|||
value[0] =
|
||||
value[1] =
|
||||
value[2] =
|
||||
value[3] = texObj->CompareFailValue;
|
||||
value[3] = texObj->Sampler.CompareFailValue;
|
||||
}
|
||||
}
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -71,6 +71,7 @@ MAIN_SOURCES = \
|
|||
main/readpix.c \
|
||||
main/remap.c \
|
||||
main/renderbuffer.c \
|
||||
main/samplerobj.c \
|
||||
main/scissor.c \
|
||||
main/shaderapi.c \
|
||||
main/shaderobj.c \
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@
|
|||
#include "st_cb_texture.h"
|
||||
#include "st_format.h"
|
||||
#include "st_atom.h"
|
||||
#include "st_texture.h"
|
||||
#include "pipe/p_context.h"
|
||||
#include "pipe/p_defines.h"
|
||||
|
||||
|
|
@ -138,6 +139,7 @@ update_samplers(struct st_context *st)
|
|||
if (samplersUsed & (1 << su)) {
|
||||
struct gl_texture_object *texobj;
|
||||
struct gl_texture_image *teximg;
|
||||
struct gl_sampler_object *msamp;
|
||||
GLuint texUnit;
|
||||
|
||||
if (fprog->Base.SamplersUsed & (1 << su))
|
||||
|
|
@ -152,25 +154,27 @@ update_samplers(struct st_context *st)
|
|||
|
||||
teximg = texobj->Image[0][texobj->BaseLevel];
|
||||
|
||||
sampler->wrap_s = gl_wrap_xlate(texobj->WrapS);
|
||||
sampler->wrap_t = gl_wrap_xlate(texobj->WrapT);
|
||||
sampler->wrap_r = gl_wrap_xlate(texobj->WrapR);
|
||||
msamp = st_get_mesa_sampler(st->ctx, texUnit);
|
||||
|
||||
sampler->min_img_filter = gl_filter_to_img_filter(texobj->MinFilter);
|
||||
sampler->min_mip_filter = gl_filter_to_mip_filter(texobj->MinFilter);
|
||||
sampler->mag_img_filter = gl_filter_to_img_filter(texobj->MagFilter);
|
||||
sampler->wrap_s = gl_wrap_xlate(msamp->WrapS);
|
||||
sampler->wrap_t = gl_wrap_xlate(msamp->WrapT);
|
||||
sampler->wrap_r = gl_wrap_xlate(msamp->WrapR);
|
||||
|
||||
sampler->min_img_filter = gl_filter_to_img_filter(msamp->MinFilter);
|
||||
sampler->min_mip_filter = gl_filter_to_mip_filter(msamp->MinFilter);
|
||||
sampler->mag_img_filter = gl_filter_to_img_filter(msamp->MagFilter);
|
||||
|
||||
if (texobj->Target != GL_TEXTURE_RECTANGLE_ARB)
|
||||
sampler->normalized_coords = 1;
|
||||
|
||||
sampler->lod_bias = st->ctx->Texture.Unit[texUnit].LodBias +
|
||||
texobj->LodBias;
|
||||
msamp->LodBias;
|
||||
|
||||
sampler->min_lod = CLAMP(texobj->MinLod,
|
||||
sampler->min_lod = CLAMP(msamp->MinLod,
|
||||
0.0f,
|
||||
(GLfloat) texobj->MaxLevel - texobj->BaseLevel);
|
||||
sampler->max_lod = MIN2((GLfloat) texobj->MaxLevel - texobj->BaseLevel,
|
||||
texobj->MaxLod);
|
||||
msamp->MaxLod);
|
||||
if (sampler->max_lod < sampler->min_lod) {
|
||||
/* The GL spec doesn't seem to specify what to do in this case.
|
||||
* Swap the values.
|
||||
|
|
@ -181,17 +185,18 @@ update_samplers(struct st_context *st)
|
|||
assert(sampler->min_lod <= sampler->max_lod);
|
||||
}
|
||||
|
||||
st_translate_color(texobj->BorderColor.f,
|
||||
st_translate_color(msamp->BorderColor.f,
|
||||
teximg ? teximg->_BaseFormat : GL_RGBA,
|
||||
sampler->border_color);
|
||||
|
||||
sampler->max_anisotropy = (texobj->MaxAnisotropy == 1.0 ? 0 : (GLuint)texobj->MaxAnisotropy);
|
||||
sampler->max_anisotropy = (msamp->MaxAnisotropy == 1.0 ?
|
||||
0 : (GLuint) msamp->MaxAnisotropy);
|
||||
|
||||
/* only care about ARB_shadow, not SGI shadow */
|
||||
if (texobj->CompareMode == GL_COMPARE_R_TO_TEXTURE) {
|
||||
if (msamp->CompareMode == GL_COMPARE_R_TO_TEXTURE) {
|
||||
sampler->compare_mode = PIPE_TEX_COMPARE_R_TO_TEXTURE;
|
||||
sampler->compare_func
|
||||
= st_compare_func_to_pipe(texobj->CompareFunc);
|
||||
= st_compare_func_to_pipe(msamp->CompareFunc);
|
||||
}
|
||||
|
||||
st->state.num_samplers = su + 1;
|
||||
|
|
|
|||
|
|
@ -138,12 +138,13 @@ check_sampler_swizzle(struct pipe_sampler_view *sv,
|
|||
static INLINE struct pipe_sampler_view *
|
||||
st_create_texture_sampler_view_from_stobj(struct pipe_context *pipe,
|
||||
struct st_texture_object *stObj,
|
||||
const struct gl_sampler_object *samp,
|
||||
enum pipe_format format)
|
||||
{
|
||||
struct pipe_sampler_view templ;
|
||||
GLuint swizzle = apply_depthmode(stObj->pt->format,
|
||||
stObj->base._Swizzle,
|
||||
stObj->base.DepthMode);
|
||||
samp->DepthMode);
|
||||
|
||||
u_sampler_view_default_template(&templ,
|
||||
stObj->pt,
|
||||
|
|
@ -164,6 +165,7 @@ st_create_texture_sampler_view_from_stobj(struct pipe_context *pipe,
|
|||
static INLINE struct pipe_sampler_view *
|
||||
st_get_texture_sampler_view_from_stobj(struct st_texture_object *stObj,
|
||||
struct pipe_context *pipe,
|
||||
const struct gl_sampler_object *samp,
|
||||
enum pipe_format format)
|
||||
{
|
||||
if (!stObj || !stObj->pt) {
|
||||
|
|
@ -172,7 +174,7 @@ st_get_texture_sampler_view_from_stobj(struct st_texture_object *stObj,
|
|||
|
||||
if (!stObj->sampler_view) {
|
||||
stObj->sampler_view =
|
||||
st_create_texture_sampler_view_from_stobj(pipe, stObj, format);
|
||||
st_create_texture_sampler_view_from_stobj(pipe, stObj, samp, format);
|
||||
}
|
||||
|
||||
return stObj->sampler_view;
|
||||
|
|
@ -200,16 +202,20 @@ update_textures(struct st_context *st)
|
|||
struct st_texture_object *stObj;
|
||||
GLboolean retval;
|
||||
GLuint texUnit;
|
||||
const struct gl_sampler_object *samp;
|
||||
|
||||
if (fprog->Base.SamplersUsed & (1 << su))
|
||||
texUnit = fprog->Base.SamplerUnits[su];
|
||||
else
|
||||
texUnit = vprog->Base.SamplerUnits[su];
|
||||
|
||||
samp = st_get_mesa_sampler(st->ctx, texUnit);
|
||||
|
||||
texObj = st->ctx->Texture.Unit[texUnit]._Current;
|
||||
|
||||
if (!texObj) {
|
||||
texObj = st_get_default_texture(st);
|
||||
samp = &texObj->Sampler;
|
||||
}
|
||||
stObj = st_texture_object(texObj);
|
||||
|
||||
|
|
@ -228,7 +234,7 @@ update_textures(struct st_context *st)
|
|||
enum pipe_format firstImageFormat =
|
||||
st_mesa_format_to_pipe_format(texFormat);
|
||||
|
||||
if ((stObj->base.sRGBDecode == GL_SKIP_DECODE_EXT) &&
|
||||
if ((samp->sRGBDecode == GL_SKIP_DECODE_EXT) &&
|
||||
(_mesa_get_format_color_encoding(texFormat) == GL_SRGB)) {
|
||||
/* don't do sRGB->RGB conversion. Interpret the texture
|
||||
* texture data as linear values.
|
||||
|
|
@ -248,12 +254,14 @@ update_textures(struct st_context *st)
|
|||
if (stObj->sampler_view)
|
||||
if (check_sampler_swizzle(stObj->sampler_view,
|
||||
stObj->base._Swizzle,
|
||||
stObj->base.DepthMode) ||
|
||||
samp->DepthMode) ||
|
||||
(st_view_format != stObj->sampler_view->format) ||
|
||||
stObj->base.BaseLevel != stObj->sampler_view->u.tex.first_level)
|
||||
pipe_sampler_view_reference(&stObj->sampler_view, NULL);
|
||||
|
||||
sampler_view = st_get_texture_sampler_view_from_stobj(stObj, pipe, st_view_format);
|
||||
sampler_view = st_get_texture_sampler_view_from_stobj(stObj, pipe,
|
||||
samp,
|
||||
st_view_format);
|
||||
}
|
||||
pipe_sampler_view_reference(&st->state.sampler_views[su], sampler_view);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -362,8 +362,8 @@ guess_and_alloc_texture(struct st_context *st,
|
|||
* to re-allocating a texture buffer with space for more (or fewer)
|
||||
* mipmap levels later.
|
||||
*/
|
||||
if ((stObj->base.MinFilter == GL_NEAREST ||
|
||||
stObj->base.MinFilter == GL_LINEAR ||
|
||||
if ((stObj->base.Sampler.MinFilter == GL_NEAREST ||
|
||||
stObj->base.Sampler.MinFilter == GL_LINEAR ||
|
||||
stImage->base._BaseFormat == GL_DEPTH_COMPONENT ||
|
||||
stImage->base._BaseFormat == GL_DEPTH_STENCIL_EXT) &&
|
||||
!stObj->base.GenerateMipmap &&
|
||||
|
|
@ -1742,8 +1742,8 @@ st_finalize_texture(struct gl_context *ctx,
|
|||
* incomplete. In that case, we'll have set stObj->lastLevel before
|
||||
* we get here.
|
||||
*/
|
||||
if (stObj->base.MinFilter == GL_LINEAR ||
|
||||
stObj->base.MinFilter == GL_NEAREST)
|
||||
if (stObj->base.Sampler.MinFilter == GL_LINEAR ||
|
||||
stObj->base.Sampler.MinFilter == GL_NEAREST)
|
||||
stObj->lastLevel = stObj->base.BaseLevel;
|
||||
else
|
||||
stObj->lastLevel = stObj->base._MaxLevel;
|
||||
|
|
@ -1890,8 +1890,8 @@ st_get_default_texture(struct st_context *st)
|
|||
texObj, texImg,
|
||||
0, 0);
|
||||
|
||||
texObj->MinFilter = GL_NEAREST;
|
||||
texObj->MagFilter = GL_NEAREST;
|
||||
texObj->Sampler.MinFilter = GL_NEAREST;
|
||||
texObj->Sampler.MagFilter = GL_NEAREST;
|
||||
texObj->_Complete = GL_TRUE;
|
||||
|
||||
st->default_texture = texObj;
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@
|
|||
|
||||
#include "main/imports.h"
|
||||
#include "main/context.h"
|
||||
#include "main/samplerobj.h"
|
||||
#include "main/shaderobj.h"
|
||||
#include "program/prog_cache.h"
|
||||
#include "vbo/vbo.h"
|
||||
|
|
@ -269,6 +270,7 @@ void st_destroy_context( struct st_context *st )
|
|||
void st_init_driver_functions(struct dd_function_table *functions)
|
||||
{
|
||||
_mesa_init_shader_object_functions(functions);
|
||||
_mesa_init_sampler_object_functions(functions);
|
||||
|
||||
st_init_accum_functions(functions);
|
||||
st_init_blit_functions(functions);
|
||||
|
|
|
|||
|
|
@ -228,6 +228,7 @@ void st_init_extensions(struct st_context *st)
|
|||
ctx->Extensions.ARB_half_float_pixel = GL_TRUE;
|
||||
ctx->Extensions.ARB_map_buffer_range = GL_TRUE;
|
||||
ctx->Extensions.ARB_multisample = GL_TRUE;
|
||||
ctx->Extensions.ARB_sampler_objects = GL_TRUE;
|
||||
ctx->Extensions.ARB_texture_border_clamp = GL_TRUE; /* XXX temp */
|
||||
ctx->Extensions.ARB_texture_compression = GL_TRUE;
|
||||
ctx->Extensions.ARB_texture_cube_map = GL_TRUE;
|
||||
|
|
|
|||
|
|
@ -163,6 +163,21 @@ st_get_texture_sampler_view(struct st_texture_object *stObj,
|
|||
}
|
||||
|
||||
|
||||
/**
|
||||
* Get pointer to the active sampler object for the given texture unit.
|
||||
* This will either be a user-defined sampler object or the texture
|
||||
* object's own sampler state.
|
||||
*/
|
||||
static INLINE struct gl_sampler_object *
|
||||
st_get_mesa_sampler(const struct gl_context *ctx, GLuint unit)
|
||||
{
|
||||
if (ctx->Texture.Unit[unit].Sampler)
|
||||
return ctx->Texture.Unit[unit].Sampler;
|
||||
else
|
||||
return &ctx->Texture.Unit[unit]._Current->Sampler;
|
||||
}
|
||||
|
||||
|
||||
extern struct pipe_resource *
|
||||
st_texture_create(struct st_context *st,
|
||||
enum pipe_texture_target target,
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ fetch_texel_lod( struct gl_context *ctx, const GLfloat texcoord[4], GLfloat lamb
|
|||
SWcontext *swrast = SWRAST_CONTEXT(ctx);
|
||||
GLfloat rgba[4];
|
||||
|
||||
lambda = CLAMP(lambda, texObj->MinLod, texObj->MaxLod);
|
||||
lambda = CLAMP(lambda, texObj->Sampler.MinLod, texObj->Sampler.MaxLod);
|
||||
|
||||
swrast->TextureSample[unit](ctx, texObj, 1,
|
||||
(const GLfloat (*)[4]) texcoord,
|
||||
|
|
@ -115,9 +115,9 @@ fetch_texel_deriv( struct gl_context *ctx, const GLfloat texcoord[4],
|
|||
texcoord[0], texcoord[1], texcoord[3],
|
||||
1.0F / texcoord[3]);
|
||||
|
||||
lambda += lodBias + texUnit->LodBias + texObj->LodBias;
|
||||
lambda += lodBias + texUnit->LodBias + texObj->Sampler.LodBias;
|
||||
|
||||
lambda = CLAMP(lambda, texObj->MinLod, texObj->MaxLod);
|
||||
lambda = CLAMP(lambda, texObj->Sampler.MinLod, texObj->Sampler.MaxLod);
|
||||
|
||||
swrast->TextureSample[unit](ctx, texObj, 1,
|
||||
(const GLfloat (*)[4]) texcoord,
|
||||
|
|
|
|||
|
|
@ -490,7 +490,7 @@ interpolate_texcoords(struct gl_context *ctx, SWspan *span)
|
|||
|
||||
if (obj) {
|
||||
const struct gl_texture_image *img = obj->Image[0][obj->BaseLevel];
|
||||
needLambda = (obj->MinFilter != obj->MagFilter)
|
||||
needLambda = (obj->Sampler.MinFilter != obj->Sampler.MagFilter)
|
||||
|| ctx->FragmentProgram._Current;
|
||||
texW = img->WidthScale;
|
||||
texH = img->HeightScale;
|
||||
|
|
|
|||
|
|
@ -631,9 +631,9 @@ _swrast_texture_span( struct gl_context *ctx, SWspan *span )
|
|||
|
||||
/* adjust texture lod (lambda) */
|
||||
if (span->arrayMask & SPAN_LAMBDA) {
|
||||
if (texUnit->LodBias + curObj->LodBias != 0.0F) {
|
||||
if (texUnit->LodBias + curObj->Sampler.LodBias != 0.0F) {
|
||||
/* apply LOD bias, but don't clamp yet */
|
||||
const GLfloat bias = CLAMP(texUnit->LodBias + curObj->LodBias,
|
||||
const GLfloat bias = CLAMP(texUnit->LodBias + curObj->Sampler.LodBias,
|
||||
-ctx->Const.MaxTextureLodBias,
|
||||
ctx->Const.MaxTextureLodBias);
|
||||
GLuint i;
|
||||
|
|
@ -642,10 +642,11 @@ _swrast_texture_span( struct gl_context *ctx, SWspan *span )
|
|||
}
|
||||
}
|
||||
|
||||
if (curObj->MinLod != -1000.0 || curObj->MaxLod != 1000.0) {
|
||||
if (curObj->Sampler.MinLod != -1000.0 ||
|
||||
curObj->Sampler.MaxLod != 1000.0) {
|
||||
/* apply LOD clamping to lambda */
|
||||
const GLfloat min = curObj->MinLod;
|
||||
const GLfloat max = curObj->MaxLod;
|
||||
const GLfloat min = curObj->Sampler.MinLod;
|
||||
const GLfloat max = curObj->Sampler.MaxLod;
|
||||
GLuint i;
|
||||
for (i = 0; i < span->end; i++) {
|
||||
GLfloat l = lambda[i];
|
||||
|
|
@ -686,9 +687,9 @@ _swrast_texture_span( struct gl_context *ctx, SWspan *span )
|
|||
|
||||
/* adjust texture lod (lambda) */
|
||||
if (span->arrayMask & SPAN_LAMBDA) {
|
||||
if (texUnit->LodBias + curObj->LodBias != 0.0F) {
|
||||
if (texUnit->LodBias + curObj->Sampler.LodBias != 0.0F) {
|
||||
/* apply LOD bias, but don't clamp yet */
|
||||
const GLfloat bias = CLAMP(texUnit->LodBias + curObj->LodBias,
|
||||
const GLfloat bias = CLAMP(texUnit->LodBias + curObj->Sampler.LodBias,
|
||||
-ctx->Const.MaxTextureLodBias,
|
||||
ctx->Const.MaxTextureLodBias);
|
||||
GLuint i;
|
||||
|
|
@ -697,10 +698,11 @@ _swrast_texture_span( struct gl_context *ctx, SWspan *span )
|
|||
}
|
||||
}
|
||||
|
||||
if (curObj->MinLod != -1000.0 || curObj->MaxLod != 1000.0) {
|
||||
if (curObj->Sampler.MinLod != -1000.0 ||
|
||||
curObj->Sampler.MaxLod != 1000.0) {
|
||||
/* apply LOD clamping to lambda */
|
||||
const GLfloat min = curObj->MinLod;
|
||||
const GLfloat max = curObj->MaxLod;
|
||||
const GLfloat min = curObj->Sampler.MinLod;
|
||||
const GLfloat max = curObj->Sampler.MaxLod;
|
||||
GLuint i;
|
||||
for (i = 0; i < span->end; i++) {
|
||||
GLfloat l = lambda[i];
|
||||
|
|
|
|||
|
|
@ -505,28 +505,28 @@ nearest_texcoord(const struct gl_texture_object *texObj,
|
|||
|
||||
switch (texObj->Target) {
|
||||
case GL_TEXTURE_RECTANGLE_ARB:
|
||||
*i = clamp_rect_coord_nearest(texObj->WrapS, texcoord[0], width);
|
||||
*j = clamp_rect_coord_nearest(texObj->WrapT, texcoord[1], height);
|
||||
*i = clamp_rect_coord_nearest(texObj->Sampler.WrapS, texcoord[0], width);
|
||||
*j = clamp_rect_coord_nearest(texObj->Sampler.WrapT, texcoord[1], height);
|
||||
*k = 0;
|
||||
break;
|
||||
case GL_TEXTURE_1D:
|
||||
*i = nearest_texel_location(texObj->WrapS, img, width, texcoord[0]);
|
||||
*i = nearest_texel_location(texObj->Sampler.WrapS, img, width, texcoord[0]);
|
||||
*j = 0;
|
||||
*k = 0;
|
||||
break;
|
||||
case GL_TEXTURE_2D:
|
||||
*i = nearest_texel_location(texObj->WrapS, img, width, texcoord[0]);
|
||||
*j = nearest_texel_location(texObj->WrapT, img, height, texcoord[1]);
|
||||
*i = nearest_texel_location(texObj->Sampler.WrapS, img, width, texcoord[0]);
|
||||
*j = nearest_texel_location(texObj->Sampler.WrapT, img, height, texcoord[1]);
|
||||
*k = 0;
|
||||
break;
|
||||
case GL_TEXTURE_1D_ARRAY_EXT:
|
||||
*i = nearest_texel_location(texObj->WrapS, img, width, texcoord[0]);
|
||||
*i = nearest_texel_location(texObj->Sampler.WrapS, img, width, texcoord[0]);
|
||||
*j = tex_array_slice(texcoord[1], height);
|
||||
*k = 0;
|
||||
break;
|
||||
case GL_TEXTURE_2D_ARRAY_EXT:
|
||||
*i = nearest_texel_location(texObj->WrapS, img, width, texcoord[0]);
|
||||
*j = nearest_texel_location(texObj->WrapT, img, height, texcoord[1]);
|
||||
*i = nearest_texel_location(texObj->Sampler.WrapS, img, width, texcoord[0]);
|
||||
*j = nearest_texel_location(texObj->Sampler.WrapT, img, height, texcoord[1]);
|
||||
*k = tex_array_slice(texcoord[2], depth);
|
||||
break;
|
||||
default:
|
||||
|
|
@ -553,24 +553,24 @@ linear_texcoord(const struct gl_texture_object *texObj,
|
|||
|
||||
switch (texObj->Target) {
|
||||
case GL_TEXTURE_RECTANGLE_ARB:
|
||||
clamp_rect_coord_linear(texObj->WrapS, texcoord[0],
|
||||
clamp_rect_coord_linear(texObj->Sampler.WrapS, texcoord[0],
|
||||
width, i0, i1, wi);
|
||||
clamp_rect_coord_linear(texObj->WrapT, texcoord[1],
|
||||
clamp_rect_coord_linear(texObj->Sampler.WrapT, texcoord[1],
|
||||
height, j0, j1, wj);
|
||||
*slice = 0;
|
||||
break;
|
||||
|
||||
case GL_TEXTURE_1D:
|
||||
case GL_TEXTURE_2D:
|
||||
linear_texel_locations(texObj->WrapS, img, width,
|
||||
linear_texel_locations(texObj->Sampler.WrapS, img, width,
|
||||
texcoord[0], i0, i1, wi);
|
||||
linear_texel_locations(texObj->WrapT, img, height,
|
||||
linear_texel_locations(texObj->Sampler.WrapT, img, height,
|
||||
texcoord[1], j0, j1, wj);
|
||||
*slice = 0;
|
||||
break;
|
||||
|
||||
case GL_TEXTURE_1D_ARRAY_EXT:
|
||||
linear_texel_locations(texObj->WrapS, img, width,
|
||||
linear_texel_locations(texObj->Sampler.WrapS, img, width,
|
||||
texcoord[0], i0, i1, wi);
|
||||
*j0 = tex_array_slice(texcoord[1], height);
|
||||
*j1 = *j0;
|
||||
|
|
@ -578,9 +578,9 @@ linear_texcoord(const struct gl_texture_object *texObj,
|
|||
break;
|
||||
|
||||
case GL_TEXTURE_2D_ARRAY_EXT:
|
||||
linear_texel_locations(texObj->WrapS, img, width,
|
||||
linear_texel_locations(texObj->Sampler.WrapS, img, width,
|
||||
texcoord[0], i0, i1, wi);
|
||||
linear_texel_locations(texObj->WrapT, img, height,
|
||||
linear_texel_locations(texObj->Sampler.WrapT, img, height,
|
||||
texcoord[1], j0, j1, wj);
|
||||
*slice = tex_array_slice(texcoord[2], depth);
|
||||
break;
|
||||
|
|
@ -656,12 +656,12 @@ compute_min_mag_ranges(const struct gl_texture_object *tObj,
|
|||
GLfloat minMagThresh;
|
||||
|
||||
/* we shouldn't be here if minfilter == magfilter */
|
||||
ASSERT(tObj->MinFilter != tObj->MagFilter);
|
||||
ASSERT(tObj->Sampler.MinFilter != tObj->Sampler.MagFilter);
|
||||
|
||||
/* This bit comes from the OpenGL spec: */
|
||||
if (tObj->MagFilter == GL_LINEAR
|
||||
&& (tObj->MinFilter == GL_NEAREST_MIPMAP_NEAREST ||
|
||||
tObj->MinFilter == GL_NEAREST_MIPMAP_LINEAR)) {
|
||||
if (tObj->Sampler.MagFilter == GL_LINEAR
|
||||
&& (tObj->Sampler.MinFilter == GL_NEAREST_MIPMAP_NEAREST ||
|
||||
tObj->Sampler.MinFilter == GL_NEAREST_MIPMAP_LINEAR)) {
|
||||
minMagThresh = 0.5F;
|
||||
}
|
||||
else {
|
||||
|
|
@ -763,28 +763,28 @@ get_border_color(const struct gl_texture_object *tObj,
|
|||
{
|
||||
switch (img->_BaseFormat) {
|
||||
case GL_RGB:
|
||||
rgba[0] = tObj->BorderColor.f[0];
|
||||
rgba[1] = tObj->BorderColor.f[1];
|
||||
rgba[2] = tObj->BorderColor.f[2];
|
||||
rgba[0] = tObj->Sampler.BorderColor.f[0];
|
||||
rgba[1] = tObj->Sampler.BorderColor.f[1];
|
||||
rgba[2] = tObj->Sampler.BorderColor.f[2];
|
||||
rgba[3] = 1.0F;
|
||||
break;
|
||||
case GL_ALPHA:
|
||||
rgba[0] = rgba[1] = rgba[2] = 0.0;
|
||||
rgba[3] = tObj->BorderColor.f[3];
|
||||
rgba[3] = tObj->Sampler.BorderColor.f[3];
|
||||
break;
|
||||
case GL_LUMINANCE:
|
||||
rgba[0] = rgba[1] = rgba[2] = tObj->BorderColor.f[0];
|
||||
rgba[0] = rgba[1] = rgba[2] = tObj->Sampler.BorderColor.f[0];
|
||||
rgba[3] = 1.0;
|
||||
break;
|
||||
case GL_LUMINANCE_ALPHA:
|
||||
rgba[0] = rgba[1] = rgba[2] = tObj->BorderColor.f[0];
|
||||
rgba[3] = tObj->BorderColor.f[3];
|
||||
rgba[0] = rgba[1] = rgba[2] = tObj->Sampler.BorderColor.f[0];
|
||||
rgba[3] = tObj->Sampler.BorderColor.f[3];
|
||||
break;
|
||||
case GL_INTENSITY:
|
||||
rgba[0] = rgba[1] = rgba[2] = rgba[3] = tObj->BorderColor.f[0];
|
||||
rgba[0] = rgba[1] = rgba[2] = rgba[3] = tObj->Sampler.BorderColor.f[0];
|
||||
break;
|
||||
default:
|
||||
COPY_4V(rgba, tObj->BorderColor.f);
|
||||
COPY_4V(rgba, tObj->Sampler.BorderColor.f);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -804,7 +804,7 @@ sample_1d_nearest(struct gl_context *ctx,
|
|||
{
|
||||
const GLint width = img->Width2; /* without border, power of two */
|
||||
GLint i;
|
||||
i = nearest_texel_location(tObj->WrapS, img, width, texcoord[0]);
|
||||
i = nearest_texel_location(tObj->Sampler.WrapS, img, width, texcoord[0]);
|
||||
/* skip over the border, if any */
|
||||
i += img->Border;
|
||||
if (i < 0 || i >= (GLint) img->Width) {
|
||||
|
|
@ -832,7 +832,7 @@ sample_1d_linear(struct gl_context *ctx,
|
|||
GLfloat a;
|
||||
GLfloat t0[4], t1[4]; /* texels */
|
||||
|
||||
linear_texel_locations(tObj->WrapS, img, width, texcoord[0], &i0, &i1, &a);
|
||||
linear_texel_locations(tObj->Sampler.WrapS, img, width, texcoord[0], &i0, &i1, &a);
|
||||
|
||||
if (img->Border) {
|
||||
i0 += img->Border;
|
||||
|
|
@ -991,7 +991,7 @@ sample_lambda_1d( struct gl_context *ctx,
|
|||
if (minStart < minEnd) {
|
||||
/* do the minified texels */
|
||||
const GLuint m = minEnd - minStart;
|
||||
switch (tObj->MinFilter) {
|
||||
switch (tObj->Sampler.MinFilter) {
|
||||
case GL_NEAREST:
|
||||
for (i = minStart; i < minEnd; i++)
|
||||
sample_1d_nearest(ctx, tObj, tObj->Image[0][tObj->BaseLevel],
|
||||
|
|
@ -1026,7 +1026,7 @@ sample_lambda_1d( struct gl_context *ctx,
|
|||
|
||||
if (magStart < magEnd) {
|
||||
/* do the magnified texels */
|
||||
switch (tObj->MagFilter) {
|
||||
switch (tObj->Sampler.MagFilter) {
|
||||
case GL_NEAREST:
|
||||
for (i = magStart; i < magEnd; i++)
|
||||
sample_1d_nearest(ctx, tObj, tObj->Image[0][tObj->BaseLevel],
|
||||
|
|
@ -1065,8 +1065,8 @@ sample_2d_nearest(struct gl_context *ctx,
|
|||
GLint i, j;
|
||||
(void) ctx;
|
||||
|
||||
i = nearest_texel_location(tObj->WrapS, img, width, texcoord[0]);
|
||||
j = nearest_texel_location(tObj->WrapT, img, height, texcoord[1]);
|
||||
i = nearest_texel_location(tObj->Sampler.WrapS, img, width, texcoord[0]);
|
||||
j = nearest_texel_location(tObj->Sampler.WrapT, img, height, texcoord[1]);
|
||||
|
||||
/* skip over the border, if any */
|
||||
i += img->Border;
|
||||
|
|
@ -1100,8 +1100,8 @@ sample_2d_linear(struct gl_context *ctx,
|
|||
GLfloat a, b;
|
||||
GLfloat t00[4], t10[4], t01[4], t11[4]; /* sampled texel colors */
|
||||
|
||||
linear_texel_locations(tObj->WrapS, img, width, texcoord[0], &i0, &i1, &a);
|
||||
linear_texel_locations(tObj->WrapT, img, height, texcoord[1], &j0, &j1, &b);
|
||||
linear_texel_locations(tObj->Sampler.WrapS, img, width, texcoord[0], &i0, &i1, &a);
|
||||
linear_texel_locations(tObj->Sampler.WrapT, img, height, texcoord[1], &j0, &j1, &b);
|
||||
|
||||
if (img->Border) {
|
||||
i0 += img->Border;
|
||||
|
|
@ -1165,8 +1165,8 @@ sample_2d_linear_repeat(struct gl_context *ctx,
|
|||
|
||||
(void) ctx;
|
||||
|
||||
ASSERT(tObj->WrapS == GL_REPEAT);
|
||||
ASSERT(tObj->WrapT == GL_REPEAT);
|
||||
ASSERT(tObj->Sampler.WrapS == GL_REPEAT);
|
||||
ASSERT(tObj->Sampler.WrapT == GL_REPEAT);
|
||||
ASSERT(img->Border == 0);
|
||||
ASSERT(img->_BaseFormat != GL_COLOR_INDEX);
|
||||
ASSERT(img->_IsPowerOfTwo);
|
||||
|
|
@ -1270,8 +1270,8 @@ sample_2d_linear_mipmap_linear_repeat(struct gl_context *ctx,
|
|||
{
|
||||
GLuint i;
|
||||
ASSERT(lambda != NULL);
|
||||
ASSERT(tObj->WrapS == GL_REPEAT);
|
||||
ASSERT(tObj->WrapT == GL_REPEAT);
|
||||
ASSERT(tObj->Sampler.WrapS == GL_REPEAT);
|
||||
ASSERT(tObj->Sampler.WrapT == GL_REPEAT);
|
||||
for (i = 0; i < n; i++) {
|
||||
GLint level = linear_mipmap_level(tObj, lambda[i]);
|
||||
if (level >= tObj->_MaxLevel) {
|
||||
|
|
@ -1317,8 +1317,8 @@ sample_linear_2d(struct gl_context *ctx,
|
|||
GLuint i;
|
||||
struct gl_texture_image *image = tObj->Image[0][tObj->BaseLevel];
|
||||
(void) lambda;
|
||||
if (tObj->WrapS == GL_REPEAT &&
|
||||
tObj->WrapT == GL_REPEAT &&
|
||||
if (tObj->Sampler.WrapS == GL_REPEAT &&
|
||||
tObj->Sampler.WrapT == GL_REPEAT &&
|
||||
image->_IsPowerOfTwo &&
|
||||
image->Border == 0) {
|
||||
for (i = 0; i < n; i++) {
|
||||
|
|
@ -1356,8 +1356,8 @@ opt_sample_rgb_2d(struct gl_context *ctx,
|
|||
GLuint k;
|
||||
(void) ctx;
|
||||
(void) lambda;
|
||||
ASSERT(tObj->WrapS==GL_REPEAT);
|
||||
ASSERT(tObj->WrapT==GL_REPEAT);
|
||||
ASSERT(tObj->Sampler.WrapS==GL_REPEAT);
|
||||
ASSERT(tObj->Sampler.WrapT==GL_REPEAT);
|
||||
ASSERT(img->Border==0);
|
||||
ASSERT(img->TexFormat == MESA_FORMAT_RGB888);
|
||||
ASSERT(img->_IsPowerOfTwo);
|
||||
|
|
@ -1398,8 +1398,8 @@ opt_sample_rgba_2d(struct gl_context *ctx,
|
|||
GLuint i;
|
||||
(void) ctx;
|
||||
(void) lambda;
|
||||
ASSERT(tObj->WrapS==GL_REPEAT);
|
||||
ASSERT(tObj->WrapT==GL_REPEAT);
|
||||
ASSERT(tObj->Sampler.WrapS==GL_REPEAT);
|
||||
ASSERT(tObj->Sampler.WrapT==GL_REPEAT);
|
||||
ASSERT(img->Border==0);
|
||||
ASSERT(img->TexFormat == MESA_FORMAT_RGBA8888);
|
||||
ASSERT(img->_IsPowerOfTwo);
|
||||
|
|
@ -1428,8 +1428,8 @@ sample_lambda_2d(struct gl_context *ctx,
|
|||
GLuint minStart, minEnd; /* texels with minification */
|
||||
GLuint magStart, magEnd; /* texels with magnification */
|
||||
|
||||
const GLboolean repeatNoBorderPOT = (tObj->WrapS == GL_REPEAT)
|
||||
&& (tObj->WrapT == GL_REPEAT)
|
||||
const GLboolean repeatNoBorderPOT = (tObj->Sampler.WrapS == GL_REPEAT)
|
||||
&& (tObj->Sampler.WrapT == GL_REPEAT)
|
||||
&& (tImg->Border == 0 && (tImg->Width == tImg->RowStride))
|
||||
&& (tImg->_BaseFormat != GL_COLOR_INDEX)
|
||||
&& tImg->_IsPowerOfTwo;
|
||||
|
|
@ -1441,7 +1441,7 @@ sample_lambda_2d(struct gl_context *ctx,
|
|||
if (minStart < minEnd) {
|
||||
/* do the minified texels */
|
||||
const GLuint m = minEnd - minStart;
|
||||
switch (tObj->MinFilter) {
|
||||
switch (tObj->Sampler.MinFilter) {
|
||||
case GL_NEAREST:
|
||||
if (repeatNoBorderPOT) {
|
||||
switch (tImg->TexFormat) {
|
||||
|
|
@ -1498,7 +1498,7 @@ sample_lambda_2d(struct gl_context *ctx,
|
|||
/* do the magnified texels */
|
||||
const GLuint m = magEnd - magStart;
|
||||
|
||||
switch (tObj->MagFilter) {
|
||||
switch (tObj->Sampler.MagFilter) {
|
||||
case GL_NEAREST:
|
||||
if (repeatNoBorderPOT) {
|
||||
switch (tImg->TexFormat) {
|
||||
|
|
@ -1552,9 +1552,9 @@ sample_3d_nearest(struct gl_context *ctx,
|
|||
GLint i, j, k;
|
||||
(void) ctx;
|
||||
|
||||
i = nearest_texel_location(tObj->WrapS, img, width, texcoord[0]);
|
||||
j = nearest_texel_location(tObj->WrapT, img, height, texcoord[1]);
|
||||
k = nearest_texel_location(tObj->WrapR, img, depth, texcoord[2]);
|
||||
i = nearest_texel_location(tObj->Sampler.WrapS, img, width, texcoord[0]);
|
||||
j = nearest_texel_location(tObj->Sampler.WrapT, img, height, texcoord[1]);
|
||||
k = nearest_texel_location(tObj->Sampler.WrapR, img, depth, texcoord[2]);
|
||||
|
||||
if (i < 0 || i >= (GLint) img->Width ||
|
||||
j < 0 || j >= (GLint) img->Height ||
|
||||
|
|
@ -1587,9 +1587,9 @@ sample_3d_linear(struct gl_context *ctx,
|
|||
GLfloat t000[4], t010[4], t001[4], t011[4];
|
||||
GLfloat t100[4], t110[4], t101[4], t111[4];
|
||||
|
||||
linear_texel_locations(tObj->WrapS, img, width, texcoord[0], &i0, &i1, &a);
|
||||
linear_texel_locations(tObj->WrapT, img, height, texcoord[1], &j0, &j1, &b);
|
||||
linear_texel_locations(tObj->WrapR, img, depth, texcoord[2], &k0, &k1, &c);
|
||||
linear_texel_locations(tObj->Sampler.WrapS, img, width, texcoord[0], &i0, &i1, &a);
|
||||
linear_texel_locations(tObj->Sampler.WrapT, img, height, texcoord[1], &j0, &j1, &b);
|
||||
linear_texel_locations(tObj->Sampler.WrapR, img, depth, texcoord[2], &k0, &k1, &c);
|
||||
|
||||
if (img->Border) {
|
||||
i0 += img->Border;
|
||||
|
|
@ -1794,7 +1794,7 @@ sample_lambda_3d(struct gl_context *ctx,
|
|||
if (minStart < minEnd) {
|
||||
/* do the minified texels */
|
||||
GLuint m = minEnd - minStart;
|
||||
switch (tObj->MinFilter) {
|
||||
switch (tObj->Sampler.MinFilter) {
|
||||
case GL_NEAREST:
|
||||
for (i = minStart; i < minEnd; i++)
|
||||
sample_3d_nearest(ctx, tObj, tObj->Image[0][tObj->BaseLevel],
|
||||
|
|
@ -1829,7 +1829,7 @@ sample_lambda_3d(struct gl_context *ctx,
|
|||
|
||||
if (magStart < magEnd) {
|
||||
/* do the magnified texels */
|
||||
switch (tObj->MagFilter) {
|
||||
switch (tObj->Sampler.MagFilter) {
|
||||
case GL_NEAREST:
|
||||
for (i = magStart; i < magEnd; i++)
|
||||
sample_3d_nearest(ctx, tObj, tObj->Image[0][tObj->BaseLevel],
|
||||
|
|
@ -2091,7 +2091,7 @@ sample_lambda_cube(struct gl_context *ctx,
|
|||
if (minStart < minEnd) {
|
||||
/* do the minified texels */
|
||||
const GLuint m = minEnd - minStart;
|
||||
switch (tObj->MinFilter) {
|
||||
switch (tObj->Sampler.MinFilter) {
|
||||
case GL_NEAREST:
|
||||
sample_nearest_cube(ctx, tObj, m, texcoords + minStart,
|
||||
lambda + minStart, rgba + minStart);
|
||||
|
|
@ -2128,7 +2128,7 @@ sample_lambda_cube(struct gl_context *ctx,
|
|||
if (magStart < magEnd) {
|
||||
/* do the magnified texels */
|
||||
const GLuint m = magEnd - magStart;
|
||||
switch (tObj->MagFilter) {
|
||||
switch (tObj->Sampler.MagFilter) {
|
||||
case GL_NEAREST:
|
||||
sample_nearest_cube(ctx, tObj, m, texcoords + magStart,
|
||||
lambda + magStart, rgba + magStart);
|
||||
|
|
@ -2163,18 +2163,18 @@ sample_nearest_rect(struct gl_context *ctx,
|
|||
(void) ctx;
|
||||
(void) lambda;
|
||||
|
||||
ASSERT(tObj->WrapS == GL_CLAMP ||
|
||||
tObj->WrapS == GL_CLAMP_TO_EDGE ||
|
||||
tObj->WrapS == GL_CLAMP_TO_BORDER);
|
||||
ASSERT(tObj->WrapT == GL_CLAMP ||
|
||||
tObj->WrapT == GL_CLAMP_TO_EDGE ||
|
||||
tObj->WrapT == GL_CLAMP_TO_BORDER);
|
||||
ASSERT(tObj->Sampler.WrapS == GL_CLAMP ||
|
||||
tObj->Sampler.WrapS == GL_CLAMP_TO_EDGE ||
|
||||
tObj->Sampler.WrapS == GL_CLAMP_TO_BORDER);
|
||||
ASSERT(tObj->Sampler.WrapT == GL_CLAMP ||
|
||||
tObj->Sampler.WrapT == GL_CLAMP_TO_EDGE ||
|
||||
tObj->Sampler.WrapT == GL_CLAMP_TO_BORDER);
|
||||
ASSERT(img->_BaseFormat != GL_COLOR_INDEX);
|
||||
|
||||
for (i = 0; i < n; i++) {
|
||||
GLint row, col;
|
||||
col = clamp_rect_coord_nearest(tObj->WrapS, texcoords[i][0], width);
|
||||
row = clamp_rect_coord_nearest(tObj->WrapT, texcoords[i][1], height);
|
||||
col = clamp_rect_coord_nearest(tObj->Sampler.WrapS, texcoords[i][0], width);
|
||||
row = clamp_rect_coord_nearest(tObj->Sampler.WrapT, texcoords[i][1], height);
|
||||
if (col < 0 || col >= width || row < 0 || row >= height)
|
||||
get_border_color(tObj, img, rgba[i]);
|
||||
else
|
||||
|
|
@ -2197,12 +2197,12 @@ sample_linear_rect(struct gl_context *ctx,
|
|||
(void) ctx;
|
||||
(void) lambda;
|
||||
|
||||
ASSERT(tObj->WrapS == GL_CLAMP ||
|
||||
tObj->WrapS == GL_CLAMP_TO_EDGE ||
|
||||
tObj->WrapS == GL_CLAMP_TO_BORDER);
|
||||
ASSERT(tObj->WrapT == GL_CLAMP ||
|
||||
tObj->WrapT == GL_CLAMP_TO_EDGE ||
|
||||
tObj->WrapT == GL_CLAMP_TO_BORDER);
|
||||
ASSERT(tObj->Sampler.WrapS == GL_CLAMP ||
|
||||
tObj->Sampler.WrapS == GL_CLAMP_TO_EDGE ||
|
||||
tObj->Sampler.WrapS == GL_CLAMP_TO_BORDER);
|
||||
ASSERT(tObj->Sampler.WrapT == GL_CLAMP ||
|
||||
tObj->Sampler.WrapT == GL_CLAMP_TO_EDGE ||
|
||||
tObj->Sampler.WrapT == GL_CLAMP_TO_BORDER);
|
||||
ASSERT(img->_BaseFormat != GL_COLOR_INDEX);
|
||||
|
||||
for (i = 0; i < n; i++) {
|
||||
|
|
@ -2211,9 +2211,9 @@ sample_linear_rect(struct gl_context *ctx,
|
|||
GLfloat a, b;
|
||||
GLbitfield useBorderColor = 0x0;
|
||||
|
||||
clamp_rect_coord_linear(tObj->WrapS, texcoords[i][0], width,
|
||||
clamp_rect_coord_linear(tObj->Sampler.WrapS, texcoords[i][0], width,
|
||||
&i0, &i1, &a);
|
||||
clamp_rect_coord_linear(tObj->WrapT, texcoords[i][1], height,
|
||||
clamp_rect_coord_linear(tObj->Sampler.WrapT, texcoords[i][1], height,
|
||||
&j0, &j1, &b);
|
||||
|
||||
/* compute integer rows/columns */
|
||||
|
|
@ -2264,7 +2264,7 @@ sample_lambda_rect(struct gl_context *ctx,
|
|||
&minStart, &minEnd, &magStart, &magEnd);
|
||||
|
||||
if (minStart < minEnd) {
|
||||
if (tObj->MinFilter == GL_NEAREST) {
|
||||
if (tObj->Sampler.MinFilter == GL_NEAREST) {
|
||||
sample_nearest_rect(ctx, tObj, minEnd - minStart,
|
||||
texcoords + minStart, NULL, rgba + minStart);
|
||||
}
|
||||
|
|
@ -2274,7 +2274,7 @@ sample_lambda_rect(struct gl_context *ctx,
|
|||
}
|
||||
}
|
||||
if (magStart < magEnd) {
|
||||
if (tObj->MagFilter == GL_NEAREST) {
|
||||
if (tObj->Sampler.MagFilter == GL_NEAREST) {
|
||||
sample_nearest_rect(ctx, tObj, magEnd - magStart,
|
||||
texcoords + magStart, NULL, rgba + magStart);
|
||||
}
|
||||
|
|
@ -2307,8 +2307,8 @@ sample_2d_array_nearest(struct gl_context *ctx,
|
|||
GLint array;
|
||||
(void) ctx;
|
||||
|
||||
i = nearest_texel_location(tObj->WrapS, img, width, texcoord[0]);
|
||||
j = nearest_texel_location(tObj->WrapT, img, height, texcoord[1]);
|
||||
i = nearest_texel_location(tObj->Sampler.WrapS, img, width, texcoord[0]);
|
||||
j = nearest_texel_location(tObj->Sampler.WrapT, img, height, texcoord[1]);
|
||||
array = tex_array_slice(texcoord[2], depth);
|
||||
|
||||
if (i < 0 || i >= (GLint) img->Width ||
|
||||
|
|
@ -2342,12 +2342,12 @@ sample_2d_array_linear(struct gl_context *ctx,
|
|||
GLfloat a, b;
|
||||
GLfloat t00[4], t01[4], t10[4], t11[4];
|
||||
|
||||
linear_texel_locations(tObj->WrapS, img, width, texcoord[0], &i0, &i1, &a);
|
||||
linear_texel_locations(tObj->WrapT, img, height, texcoord[1], &j0, &j1, &b);
|
||||
linear_texel_locations(tObj->Sampler.WrapS, img, width, texcoord[0], &i0, &i1, &a);
|
||||
linear_texel_locations(tObj->Sampler.WrapT, img, height, texcoord[1], &j0, &j1, &b);
|
||||
array = tex_array_slice(texcoord[2], depth);
|
||||
|
||||
if (array < 0 || array >= depth) {
|
||||
COPY_4V(rgba, tObj->BorderColor.f);
|
||||
COPY_4V(rgba, tObj->Sampler.BorderColor.f);
|
||||
}
|
||||
else {
|
||||
if (img->Border) {
|
||||
|
|
@ -2532,7 +2532,7 @@ sample_lambda_2d_array(struct gl_context *ctx,
|
|||
if (minStart < minEnd) {
|
||||
/* do the minified texels */
|
||||
GLuint m = minEnd - minStart;
|
||||
switch (tObj->MinFilter) {
|
||||
switch (tObj->Sampler.MinFilter) {
|
||||
case GL_NEAREST:
|
||||
for (i = minStart; i < minEnd; i++)
|
||||
sample_2d_array_nearest(ctx, tObj, tObj->Image[0][tObj->BaseLevel],
|
||||
|
|
@ -2575,7 +2575,7 @@ sample_lambda_2d_array(struct gl_context *ctx,
|
|||
|
||||
if (magStart < magEnd) {
|
||||
/* do the magnified texels */
|
||||
switch (tObj->MagFilter) {
|
||||
switch (tObj->Sampler.MagFilter) {
|
||||
case GL_NEAREST:
|
||||
for (i = magStart; i < magEnd; i++)
|
||||
sample_2d_array_nearest(ctx, tObj, tObj->Image[0][tObj->BaseLevel],
|
||||
|
|
@ -2616,7 +2616,7 @@ sample_1d_array_nearest(struct gl_context *ctx,
|
|||
GLint array;
|
||||
(void) ctx;
|
||||
|
||||
i = nearest_texel_location(tObj->WrapS, img, width, texcoord[0]);
|
||||
i = nearest_texel_location(tObj->Sampler.WrapS, img, width, texcoord[0]);
|
||||
array = tex_array_slice(texcoord[1], height);
|
||||
|
||||
if (i < 0 || i >= (GLint) img->Width ||
|
||||
|
|
@ -2648,7 +2648,7 @@ sample_1d_array_linear(struct gl_context *ctx,
|
|||
GLfloat a;
|
||||
GLfloat t0[4], t1[4];
|
||||
|
||||
linear_texel_locations(tObj->WrapS, img, width, texcoord[0], &i0, &i1, &a);
|
||||
linear_texel_locations(tObj->Sampler.WrapS, img, width, texcoord[0], &i0, &i1, &a);
|
||||
array = tex_array_slice(texcoord[1], height);
|
||||
|
||||
if (img->Border) {
|
||||
|
|
@ -2813,7 +2813,7 @@ sample_lambda_1d_array(struct gl_context *ctx,
|
|||
if (minStart < minEnd) {
|
||||
/* do the minified texels */
|
||||
GLuint m = minEnd - minStart;
|
||||
switch (tObj->MinFilter) {
|
||||
switch (tObj->Sampler.MinFilter) {
|
||||
case GL_NEAREST:
|
||||
for (i = minStart; i < minEnd; i++)
|
||||
sample_1d_array_nearest(ctx, tObj, tObj->Image[0][tObj->BaseLevel],
|
||||
|
|
@ -2852,7 +2852,7 @@ sample_lambda_1d_array(struct gl_context *ctx,
|
|||
|
||||
if (magStart < magEnd) {
|
||||
/* do the magnified texels */
|
||||
switch (tObj->MagFilter) {
|
||||
switch (tObj->Sampler.MagFilter) {
|
||||
case GL_NEAREST:
|
||||
for (i = magStart; i < magEnd; i++)
|
||||
sample_1d_array_nearest(ctx, tObj, tObj->Image[0][tObj->BaseLevel],
|
||||
|
|
@ -2975,13 +2975,13 @@ choose_depth_texture_level(const struct gl_texture_object *tObj, GLfloat lambda)
|
|||
{
|
||||
GLint level;
|
||||
|
||||
if (tObj->MinFilter == GL_NEAREST || tObj->MinFilter == GL_LINEAR) {
|
||||
if (tObj->Sampler.MinFilter == GL_NEAREST || tObj->Sampler.MinFilter == GL_LINEAR) {
|
||||
/* no mipmapping - use base level */
|
||||
level = tObj->BaseLevel;
|
||||
}
|
||||
else {
|
||||
/* choose mipmap level */
|
||||
lambda = CLAMP(lambda, tObj->MinLod, tObj->MaxLod);
|
||||
lambda = CLAMP(lambda, tObj->Sampler.MinLod, tObj->Sampler.MaxLod);
|
||||
level = (GLint) lambda;
|
||||
level = CLAMP(level, tObj->BaseLevel, tObj->_MaxLevel);
|
||||
}
|
||||
|
|
@ -3020,14 +3020,14 @@ sample_depth_texture( struct gl_context *ctx,
|
|||
tObj->Target == GL_TEXTURE_1D_ARRAY_EXT ||
|
||||
tObj->Target == GL_TEXTURE_2D_ARRAY_EXT);
|
||||
|
||||
ambient = tObj->CompareFailValue;
|
||||
ambient = tObj->Sampler.CompareFailValue;
|
||||
|
||||
/* XXXX if tObj->MinFilter != tObj->MagFilter, we're ignoring lambda */
|
||||
/* XXXX if tObj->Sampler.MinFilter != tObj->Sampler.MagFilter, we're ignoring lambda */
|
||||
|
||||
function = (tObj->CompareMode == GL_COMPARE_R_TO_TEXTURE_ARB) ?
|
||||
tObj->CompareFunc : GL_NONE;
|
||||
function = (tObj->Sampler.CompareMode == GL_COMPARE_R_TO_TEXTURE_ARB) ?
|
||||
tObj->Sampler.CompareFunc : GL_NONE;
|
||||
|
||||
if (tObj->MagFilter == GL_NEAREST) {
|
||||
if (tObj->Sampler.MagFilter == GL_NEAREST) {
|
||||
GLuint i;
|
||||
for (i = 0; i < n; i++) {
|
||||
GLfloat depthSample, depthRef;
|
||||
|
|
@ -3040,14 +3040,14 @@ sample_depth_texture( struct gl_context *ctx,
|
|||
img->FetchTexelf(img, col, row, slice, &depthSample);
|
||||
}
|
||||
else {
|
||||
depthSample = tObj->BorderColor.f[0];
|
||||
depthSample = tObj->Sampler.BorderColor.f[0];
|
||||
}
|
||||
|
||||
depthRef = CLAMP(texcoords[i][compare_coord], 0.0F, 1.0F);
|
||||
|
||||
result = shadow_compare(function, depthRef, depthSample, ambient);
|
||||
|
||||
switch (tObj->DepthMode) {
|
||||
switch (tObj->Sampler.DepthMode) {
|
||||
case GL_LUMINANCE:
|
||||
ASSIGN_4V(texel[i], result, result, result, 1.0F);
|
||||
break;
|
||||
|
|
@ -3067,7 +3067,7 @@ sample_depth_texture( struct gl_context *ctx,
|
|||
}
|
||||
else {
|
||||
GLuint i;
|
||||
ASSERT(tObj->MagFilter == GL_LINEAR);
|
||||
ASSERT(tObj->Sampler.MagFilter == GL_LINEAR);
|
||||
for (i = 0; i < n; i++) {
|
||||
GLfloat depth00, depth01, depth10, depth11, depthRef;
|
||||
GLint i0, i1, j0, j1;
|
||||
|
|
@ -3095,21 +3095,21 @@ sample_depth_texture( struct gl_context *ctx,
|
|||
}
|
||||
|
||||
if (slice < 0 || slice >= (GLint) depth) {
|
||||
depth00 = tObj->BorderColor.f[0];
|
||||
depth01 = tObj->BorderColor.f[0];
|
||||
depth10 = tObj->BorderColor.f[0];
|
||||
depth11 = tObj->BorderColor.f[0];
|
||||
depth00 = tObj->Sampler.BorderColor.f[0];
|
||||
depth01 = tObj->Sampler.BorderColor.f[0];
|
||||
depth10 = tObj->Sampler.BorderColor.f[0];
|
||||
depth11 = tObj->Sampler.BorderColor.f[0];
|
||||
}
|
||||
else {
|
||||
/* get four depth samples from the texture */
|
||||
if (useBorderTexel & (I0BIT | J0BIT)) {
|
||||
depth00 = tObj->BorderColor.f[0];
|
||||
depth00 = tObj->Sampler.BorderColor.f[0];
|
||||
}
|
||||
else {
|
||||
img->FetchTexelf(img, i0, j0, slice, &depth00);
|
||||
}
|
||||
if (useBorderTexel & (I1BIT | J0BIT)) {
|
||||
depth10 = tObj->BorderColor.f[0];
|
||||
depth10 = tObj->Sampler.BorderColor.f[0];
|
||||
}
|
||||
else {
|
||||
img->FetchTexelf(img, i1, j0, slice, &depth10);
|
||||
|
|
@ -3117,13 +3117,13 @@ sample_depth_texture( struct gl_context *ctx,
|
|||
|
||||
if (tObj->Target != GL_TEXTURE_1D_ARRAY_EXT) {
|
||||
if (useBorderTexel & (I0BIT | J1BIT)) {
|
||||
depth01 = tObj->BorderColor.f[0];
|
||||
depth01 = tObj->Sampler.BorderColor.f[0];
|
||||
}
|
||||
else {
|
||||
img->FetchTexelf(img, i0, j1, slice, &depth01);
|
||||
}
|
||||
if (useBorderTexel & (I1BIT | J1BIT)) {
|
||||
depth11 = tObj->BorderColor.f[0];
|
||||
depth11 = tObj->Sampler.BorderColor.f[0];
|
||||
}
|
||||
else {
|
||||
img->FetchTexelf(img, i1, j1, slice, &depth11);
|
||||
|
|
@ -3141,7 +3141,7 @@ sample_depth_texture( struct gl_context *ctx,
|
|||
depth00, depth01, depth10, depth11,
|
||||
ambient, wi, wj);
|
||||
|
||||
switch (tObj->DepthMode) {
|
||||
switch (tObj->Sampler.DepthMode) {
|
||||
case GL_LUMINANCE:
|
||||
ASSIGN_4V(texel[i], result, result, result, 1.0F);
|
||||
break;
|
||||
|
|
@ -3197,7 +3197,8 @@ _swrast_choose_texture_sample_func( struct gl_context *ctx,
|
|||
return &null_sample_func;
|
||||
}
|
||||
else {
|
||||
const GLboolean needLambda = (GLboolean) (t->MinFilter != t->MagFilter);
|
||||
const GLboolean needLambda =
|
||||
(GLboolean) (t->Sampler.MinFilter != t->Sampler.MagFilter);
|
||||
const GLenum format = t->Image[0][t->BaseLevel]->_BaseFormat;
|
||||
|
||||
switch (t->Target) {
|
||||
|
|
@ -3208,11 +3209,11 @@ _swrast_choose_texture_sample_func( struct gl_context *ctx,
|
|||
else if (needLambda) {
|
||||
return &sample_lambda_1d;
|
||||
}
|
||||
else if (t->MinFilter == GL_LINEAR) {
|
||||
else if (t->Sampler.MinFilter == GL_LINEAR) {
|
||||
return &sample_linear_1d;
|
||||
}
|
||||
else {
|
||||
ASSERT(t->MinFilter == GL_NEAREST);
|
||||
ASSERT(t->Sampler.MinFilter == GL_NEAREST);
|
||||
return &sample_nearest_1d;
|
||||
}
|
||||
case GL_TEXTURE_2D:
|
||||
|
|
@ -3222,22 +3223,22 @@ _swrast_choose_texture_sample_func( struct gl_context *ctx,
|
|||
else if (needLambda) {
|
||||
return &sample_lambda_2d;
|
||||
}
|
||||
else if (t->MinFilter == GL_LINEAR) {
|
||||
else if (t->Sampler.MinFilter == GL_LINEAR) {
|
||||
return &sample_linear_2d;
|
||||
}
|
||||
else {
|
||||
/* check for a few optimized cases */
|
||||
const struct gl_texture_image *img = t->Image[0][t->BaseLevel];
|
||||
ASSERT(t->MinFilter == GL_NEAREST);
|
||||
if (t->WrapS == GL_REPEAT &&
|
||||
t->WrapT == GL_REPEAT &&
|
||||
ASSERT(t->Sampler.MinFilter == GL_NEAREST);
|
||||
if (t->Sampler.WrapS == GL_REPEAT &&
|
||||
t->Sampler.WrapT == GL_REPEAT &&
|
||||
img->_IsPowerOfTwo &&
|
||||
img->Border == 0 &&
|
||||
img->TexFormat == MESA_FORMAT_RGB888) {
|
||||
return &opt_sample_rgb_2d;
|
||||
}
|
||||
else if (t->WrapS == GL_REPEAT &&
|
||||
t->WrapT == GL_REPEAT &&
|
||||
else if (t->Sampler.WrapS == GL_REPEAT &&
|
||||
t->Sampler.WrapT == GL_REPEAT &&
|
||||
img->_IsPowerOfTwo &&
|
||||
img->Border == 0 &&
|
||||
img->TexFormat == MESA_FORMAT_RGBA8888) {
|
||||
|
|
@ -3251,22 +3252,22 @@ _swrast_choose_texture_sample_func( struct gl_context *ctx,
|
|||
if (needLambda) {
|
||||
return &sample_lambda_3d;
|
||||
}
|
||||
else if (t->MinFilter == GL_LINEAR) {
|
||||
else if (t->Sampler.MinFilter == GL_LINEAR) {
|
||||
return &sample_linear_3d;
|
||||
}
|
||||
else {
|
||||
ASSERT(t->MinFilter == GL_NEAREST);
|
||||
ASSERT(t->Sampler.MinFilter == GL_NEAREST);
|
||||
return &sample_nearest_3d;
|
||||
}
|
||||
case GL_TEXTURE_CUBE_MAP:
|
||||
if (needLambda) {
|
||||
return &sample_lambda_cube;
|
||||
}
|
||||
else if (t->MinFilter == GL_LINEAR) {
|
||||
else if (t->Sampler.MinFilter == GL_LINEAR) {
|
||||
return &sample_linear_cube;
|
||||
}
|
||||
else {
|
||||
ASSERT(t->MinFilter == GL_NEAREST);
|
||||
ASSERT(t->Sampler.MinFilter == GL_NEAREST);
|
||||
return &sample_nearest_cube;
|
||||
}
|
||||
case GL_TEXTURE_RECTANGLE_NV:
|
||||
|
|
@ -3276,33 +3277,33 @@ _swrast_choose_texture_sample_func( struct gl_context *ctx,
|
|||
else if (needLambda) {
|
||||
return &sample_lambda_rect;
|
||||
}
|
||||
else if (t->MinFilter == GL_LINEAR) {
|
||||
else if (t->Sampler.MinFilter == GL_LINEAR) {
|
||||
return &sample_linear_rect;
|
||||
}
|
||||
else {
|
||||
ASSERT(t->MinFilter == GL_NEAREST);
|
||||
ASSERT(t->Sampler.MinFilter == GL_NEAREST);
|
||||
return &sample_nearest_rect;
|
||||
}
|
||||
case GL_TEXTURE_1D_ARRAY_EXT:
|
||||
if (needLambda) {
|
||||
return &sample_lambda_1d_array;
|
||||
}
|
||||
else if (t->MinFilter == GL_LINEAR) {
|
||||
else if (t->Sampler.MinFilter == GL_LINEAR) {
|
||||
return &sample_linear_1d_array;
|
||||
}
|
||||
else {
|
||||
ASSERT(t->MinFilter == GL_NEAREST);
|
||||
ASSERT(t->Sampler.MinFilter == GL_NEAREST);
|
||||
return &sample_nearest_1d_array;
|
||||
}
|
||||
case GL_TEXTURE_2D_ARRAY_EXT:
|
||||
if (needLambda) {
|
||||
return &sample_lambda_2d_array;
|
||||
}
|
||||
else if (t->MinFilter == GL_LINEAR) {
|
||||
else if (t->Sampler.MinFilter == GL_LINEAR) {
|
||||
return &sample_linear_2d_array;
|
||||
}
|
||||
else {
|
||||
ASSERT(t->MinFilter == GL_NEAREST);
|
||||
ASSERT(t->Sampler.MinFilter == GL_NEAREST);
|
||||
return &sample_nearest_2d_array;
|
||||
}
|
||||
default:
|
||||
|
|
|
|||
|
|
@ -540,7 +540,7 @@ affine_span(struct gl_context *ctx, SWspan *span,
|
|||
info.smask = texImg->Width - 1; \
|
||||
info.tmask = texImg->Height - 1; \
|
||||
info.format = texImg->TexFormat; \
|
||||
info.filter = obj->MinFilter; \
|
||||
info.filter = obj->Sampler.MinFilter; \
|
||||
info.envmode = unit->EnvMode; \
|
||||
info.er = 0; \
|
||||
info.eg = 0; \
|
||||
|
|
@ -805,7 +805,7 @@ fast_persp_span(struct gl_context *ctx, SWspan *span,
|
|||
info.smask = texImg->Width - 1; \
|
||||
info.tmask = texImg->Height - 1; \
|
||||
info.format = texImg->TexFormat; \
|
||||
info.filter = obj->MinFilter; \
|
||||
info.filter = obj->Sampler.MinFilter; \
|
||||
info.envmode = unit->EnvMode; \
|
||||
info.er = 0; \
|
||||
info.eg = 0; \
|
||||
|
|
@ -1044,8 +1044,8 @@ _swrast_choose_triangle( struct gl_context *ctx )
|
|||
|
||||
texImg = texObj2D ? texObj2D->Image[0][texObj2D->BaseLevel] : NULL;
|
||||
format = texImg ? texImg->TexFormat : MESA_FORMAT_NONE;
|
||||
minFilter = texObj2D ? texObj2D->MinFilter : GL_NONE;
|
||||
magFilter = texObj2D ? texObj2D->MagFilter : GL_NONE;
|
||||
minFilter = texObj2D ? texObj2D->Sampler.MinFilter : GL_NONE;
|
||||
magFilter = texObj2D ? texObj2D->Sampler.MagFilter : GL_NONE;
|
||||
envMode = ctx->Texture.Unit[0].EnvMode;
|
||||
|
||||
/* First see if we can use an optimized 2-D texture function */
|
||||
|
|
@ -1054,8 +1054,8 @@ _swrast_choose_triangle( struct gl_context *ctx )
|
|||
&& !ctx->ATIFragmentShader._Enabled
|
||||
&& ctx->Texture._EnabledUnits == 0x1
|
||||
&& ctx->Texture.Unit[0]._ReallyEnabled == TEXTURE_2D_BIT
|
||||
&& texObj2D->WrapS == GL_REPEAT
|
||||
&& texObj2D->WrapT == GL_REPEAT
|
||||
&& texObj2D->Sampler.WrapS == GL_REPEAT
|
||||
&& texObj2D->Sampler.WrapT == GL_REPEAT
|
||||
&& texObj2D->_Swizzle == SWIZZLE_NOOP
|
||||
&& texImg->_IsPowerOfTwo
|
||||
&& texImg->Border == 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue