Changeset 53728 in vbox
- Timestamp:
- Jan 4, 2015 5:13:27 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r53624 r53728 4232 4232 TEMPLATE_VBOXR3OSX105_LDFLAGS.darwin = $(VBOX_DARWIN_DEF_SDK_10_5_LDFLAGS) \ 4233 4233 -read_only_relocs suppress \ 4234 -current_version $(VBOX_VERSION_MAJOR).$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD) \ 4235 -compatibility_version $(VBOX_VERSION_MAJOR).$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD) 4236 4237 # 4238 # Template for building R3 shared objects / DLLs with the 10.7 Mac OS X SDK. 4239 # Identical to VBoxR3Dll, except for the DYLIB, the classic_linker and SDK bits. 4240 # 4241 TEMPLATE_VBoxR3DllOsX107 = VBox Ring 3 SO/DLLs for OS X 10.7 4242 TEMPLATE_VBoxR3DllOsX107_EXTENDS = VBoxR3Dll 4243 TEMPLATE_VBoxR3DllOsX107_TOOL = LLVMGXX42MACHO 4244 TEMPLATE_VBoxR3DllOsX107_DEFS.darwin = $(VBOX_DARWIN_DEF_SDK_10_7_DEFS) PIC 4245 TEMPLATE_VBoxR3DllOsX107_CFLAGS.darwin = $(VBOX_DARWIN_DEF_SDK_10_7_CFLAGS) -fno-common 4246 TEMPLATE_VBoxR3DllOsX107_CXXFLAGS.darwin = $(VBOX_DARWIN_DEF_SDK_10_7_CXXFLAGS) 4247 TEMPLATE_VBoxR3DllOsX107_OBJCFLAGS.darwin = $(VBOX_DARWIN_DEF_SDK_10_7_OBJCFLAGS) 4248 TEMPLATE_VBoxR3DllOsX107_OBJCXXFLAGS.darwin = $(VBOX_DARWIN_DEF_SDK_10_7_OBJCFLAGS) 4249 TEMPLATE_VBoxR3DllOsX107_LDFLAGS.darwin = $(VBOX_DARWIN_DEF_SDK_10_7_LDFLAGS) \ 4234 4250 -current_version $(VBOX_VERSION_MAJOR).$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD) \ 4235 4251 -compatibility_version $(VBOX_VERSION_MAJOR).$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD) -
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-ogl.cpp
r53624 r53728 89 89 90 90 #ifdef RT_OS_WINDOWS 91 # define OGLGETPROCADDRESS wglGetProcAddress 91 # define OGLGETPROCADDRESS wglGetProcAddress 92 92 93 #elif defined(RT_OS_DARWIN) 93 94 # include <dlfcn.h> 95 # define OGLGETPROCADDRESS MyNSGLGetProcAddress 94 96 void *MyNSGLGetProcAddress(const char *name) 95 97 { 98 /* Another copy in shaderapi.c. */ 96 99 static void *s_image = NULL; 97 100 if (s_image == NULL) … … 99 102 return (s_image ? dlsym(s_image, name) : NULL); 100 103 } 101 # define OGLGETPROCADDRESS MyNSGLGetProcAddress 104 102 105 #else 103 106 # define OGLGETPROCADDRESS(x) glXGetProcAddress((const GLubyte *)x) … … 167 170 # define VMSVGA3D_CHECK_LAST_ERROR_WARN(pState, pContext) do { } while (0) 168 171 #endif 172 173 /** Macro wrapping glGetIntegerv for use during initialization. 174 * This will release log errors. */ 175 #define VMSVGA3D_INIT_CHECKED_GL_GET_INTEGER_VALUE(a_enmGlValue, a_pDest) \ 176 do \ 177 { \ 178 glGetIntegerv(a_enmGlValue, a_pDest); \ 179 GLenum iGlError = glGetError(); \ 180 if (RT_UNLIKELY(iGlError != GL_NO_ERROR)) \ 181 LogRel(("VMSVGA3d: glGetIntegerv(" #a_enmGlValue " (%#x),) -> %#x\n", (int)a_enmGlValue, iGlError)); \ 182 } while (0) 183 184 /** Macro for doing something and then checking for errors during initialization. */ 185 #define VMSVGA3D_INIT_CHECKED(a_Expr) \ 186 do \ 187 { \ 188 a_Expr; \ 189 GLenum iGlError = glGetError(); \ 190 if (RT_UNLIKELY(iGlError != GL_NO_ERROR)) \ 191 LogRel(("VMSVGA3d: " #a_Expr " -> %#x\n", (int)a_enmGlValue, iGlError)); \ 192 } while (0) 193 169 194 170 195 typedef struct … … 577 602 RT_C_DECLS_END 578 603 579 static bool vmsvga3dCheckGLExtension(const char *pExtensionName) 580 { 604 605 /** 606 * Checks if the given OpenGL extension is supported. 607 * 608 * @returns true if supported, false if not. 609 * @param fGLVersion The OpenGL version. 610 * @param pszWantedExtension The name of the OpenGL extension we want. 611 * @remarks Init time only. 612 */ 613 static bool vmsvga3dCheckGLExtension(float fGLVersion, const char *pszWantedExtension) 614 { 615 #if defined(RT_OS_DARWIN) 616 /* 617 * OpenGL 3.2+ core profile (glGetString(GL_EXTENSIONS) returns NULL). 618 */ 619 620 /* Seems like extensions are assimilated into the OpenGL core, so we do 621 hardcoded checks for these as per gl3.h. */ 622 if ( fGLVersion >= 3.0 623 && ( strcmp(pszWantedExtension, "GL_ARB_framebuffer_object") == 0 624 || strcmp(pszWantedExtension, "GL_ARB_map_buffer_range") == 0 625 || strcmp(pszWantedExtension, "GL_ARB_vertex_array_object") == 0) ) 626 return true; 627 if ( fGLVersion >= 3.1 628 && ( strcmp(pszWantedExtension, "GL_ARB_copy_buffer") == 0 629 || strcmp(pszWantedExtension, "GL_ARB_uniform_buffer_object") == 0 630 || strcmp(pszWantedExtension, "GL_ARB_vertex_array_object") == 0) ) 631 return true; 632 if ( fGLVersion >= 3.2 633 && ( strcmp(pszWantedExtension, "GL_ARB_draw_elements_base_vertex") == 0 634 || strcmp(pszWantedExtension, "GL_ARB_provoking_vertex") == 0 635 || strcmp(pszWantedExtension, "GL_ARB_sync") == 0 636 || strcmp(pszWantedExtension, "GL_ARB_texture_multisample") == 0) ) 637 return true; 638 if ( fGLVersion >= 3.3 639 && ( strcmp(pszWantedExtension, "GL_ARB_blend_func_extended") == 0 640 || strcmp(pszWantedExtension, "GL_ARB_sampler_objects") == 0 641 || strcmp(pszWantedExtension, "GL_ARB_explicit_attrib_location") == 0 642 || strcmp(pszWantedExtension, "GL_ARB_occlusion_query2") == 0 643 || strcmp(pszWantedExtension, "GL_ARB_shader_bit_encoding") == 0 644 || strcmp(pszWantedExtension, "GL_ARB_texture_rgb10_a2ui") == 0 645 || strcmp(pszWantedExtension, "GL_ARB_texture_swizzle") == 0 646 || strcmp(pszWantedExtension, "GL_ARB_timer_query") == 0 647 || strcmp(pszWantedExtension, "GL_ARB_vertex_type_2_10_10_10_rev") == 0) ) 648 return true; 649 if ( fGLVersion >= 4.0 650 && ( strcmp(pszWantedExtension, "GL_ARB_texture_query_lod") == 0 651 || strcmp(pszWantedExtension, "GL_ARB_draw_indirect") == 0 652 || strcmp(pszWantedExtension, "GL_ARB_gpu_shader5") == 0 653 || strcmp(pszWantedExtension, "GL_ARB_gpu_shader_fp64") == 0 654 || strcmp(pszWantedExtension, "GL_ARB_shader_subroutine") == 0 655 || strcmp(pszWantedExtension, "GL_ARB_tessellation_shader") == 0 656 || strcmp(pszWantedExtension, "GL_ARB_texture_buffer_object_rgb32") == 0 657 || strcmp(pszWantedExtension, "GL_ARB_texture_cube_map_array") == 0 658 || strcmp(pszWantedExtension, "GL_ARB_texture_gather") == 0 659 || strcmp(pszWantedExtension, "GL_ARB_transform_feedback2") == 0 660 || strcmp(pszWantedExtension, "GL_ARB_transform_feedback3") == 0) ) 661 return true; 662 if ( fGLVersion >= 4.1 663 && ( strcmp(pszWantedExtension, "GL_ARB_ES2_compatibility") == 0 664 || strcmp(pszWantedExtension, "GL_ARB_get_program_binary") == 0 665 || strcmp(pszWantedExtension, "GL_ARB_separate_shader_objects") == 0 666 || strcmp(pszWantedExtension, "GL_ARB_shader_precision") == 0 667 || strcmp(pszWantedExtension, "GL_ARB_vertex_attrib_64bit") == 0 668 || strcmp(pszWantedExtension, "GL_ARB_viewport_array") == 0) ) 669 return true; 670 671 672 /* Search the GL_EXTENSIONS array. */ 673 static PFNGLGETSTRINGIPROC s_pfnGlGetStringi = NULL; 674 if (!s_pfnGlGetStringi) 675 { 676 s_pfnGlGetStringi = (PFNGLGETSTRINGIPROC)OGLGETPROCADDRESS("glGetStringi"); 677 AssertLogRelReturn(s_pfnGlGetStringi, false); 678 } 679 680 GLint cExtensions = 1024; 681 VMSVGA3D_INIT_CHECKED_GL_GET_INTEGER_VALUE(GL_NUM_EXTENSIONS, &cExtensions); 682 683 for (GLint idxCur = 0; idxCur < cExtensions; idxCur++) 684 { 685 const char *pszCur = (const char *)s_pfnGlGetStringi(GL_EXTENSIONS, idxCur); 686 if (pszCur && !strcmp(pszCur, pszWantedExtension)) 687 return true; 688 } 689 690 #else 691 /* 692 * Old interface. 693 */ 581 694 char *pSupportedExtensions = (char *)glGetString(GL_EXTENSIONS); 582 695 char *pExtensionSupported = pSupportedExtensions; 583 size_t c bExtension = strlen(pExtensionName);696 size_t cchWantedExtension = strlen(pszWantedExtension); 584 697 585 698 while (true) 586 699 { 587 pExtensionSupported = strstr(pExtensionSupported, p ExtensionName);700 pExtensionSupported = strstr(pExtensionSupported, pszWantedExtension); 588 701 if (pExtensionSupported == NULL) 589 702 break; 590 703 591 704 if ( ( pExtensionSupported == pSupportedExtensions 592 || *(pExtensionSupported-1)== ' ')593 && ( pExtensionSupported[c bExtension] == ' '594 || pExtensionSupported[c bExtension] == 0)705 || pExtensionSupported[-1] == ' ') 706 && ( pExtensionSupported[cchWantedExtension] == ' ' 707 || pExtensionSupported[cchWantedExtension] == '\0') 595 708 ) 596 709 return true; 597 710 598 pExtensionSupported += cbExtension; 599 } 711 pExtensionSupported += cchWantedExtension; 712 } 713 #endif 714 600 715 return false; 601 716 } 717 718 719 /** 720 * Outputs GL_EXTENSIONS list to the release log. 721 */ 722 static void vmsvga3dLogRelExtensions(void) 723 { 724 #if defined(RT_OS_DARWIN) 725 /* OpenGL 3.0 interface (glGetString(GL_EXTENSIONS) return NULL). */ 726 PFNGLGETSTRINGIPROC pfnGlGetStringi = (PFNGLGETSTRINGIPROC)OGLGETPROCADDRESS("glGetStringi"); 727 AssertLogRelReturnVoid(pfnGlGetStringi); 728 729 bool fBuffered = RTLogRelSetBuffering(true); 730 731 GLint cExtensions = 1024; 732 VMSVGA3D_INIT_CHECKED_GL_GET_INTEGER_VALUE(GL_NUM_EXTENSIONS, &cExtensions); 733 LogRel(("VMSVGA3d: OpenGL extensions (GL_NUM_EXTENSIONS=%d)", cExtensions)); 734 735 for (GLint idxCur = 0; idxCur < cExtensions; idxCur++) 736 { 737 const char *pszExt = (const char *)pfnGlGetStringi(GL_EXTENSIONS, idxCur); 738 const char *pszFmt = idxCur % 1 ? " %s" : "\nVMSVGA3d: %s"; 739 LogRel((pszFmt, pszExt)); 740 } 741 742 RTLogRelSetBuffering(fBuffered); 743 LogRel(("\n")); 744 #else 745 /* Old interface. */ 746 LogRel(("VMSVGA3d: OpenGL extensions: %s\n\n", glGetString(GL_EXTENSIONS))); 747 #endif 748 } 749 602 750 603 751 int vmsvga3dInit(PVGASTATE pThis) … … 653 801 LogRel(("VMSVGA3d: OpenGL version: %s\nOpenGL Vendor: %s\nOpenGL Renderer: %s\n", glGetString(GL_VERSION), glGetString(GL_VENDOR), glGetString(GL_RENDERER))); 654 802 LogRel(("VMSVGA3d: OpenGL shader language version: %s\n", glGetString(GL_SHADING_LANGUAGE_VERSION))); 655 LogRel(("VMSVGA3d: OpenGL extensions: %s\n\n", glGetString(GL_EXTENSIONS))); 656 pState->fGLVersion = atof((const char *)glGetString(GL_VERSION)); 657 658 if (vmsvga3dCheckGLExtension("GL_ARB_framebuffer_object")) 803 vmsvga3dLogRelExtensions(); 804 805 pState->fGLVersion = atof((const char *)glGetString(GL_VERSION)); 806 807 if (vmsvga3dCheckGLExtension(pState->fGLVersion, "GL_ARB_framebuffer_object")) 659 808 { 660 809 pState->ext.glIsRenderbuffer = (PFNGLISRENDERBUFFERPROC)OGLGETPROCADDRESS("glIsRenderbuffer"); … … 721 870 722 871 /* OpenGL 3.2 core */ 723 if (vmsvga3dCheckGLExtension( "GL_ARB_draw_elements_base_vertex"))872 if (vmsvga3dCheckGLExtension(pState->fGLVersion, "GL_ARB_draw_elements_base_vertex")) 724 873 { 725 874 pState->ext.glDrawElementsBaseVertex = (PFNGLDRAWELEMENTSBASEVERTEXPROC)OGLGETPROCADDRESS("glDrawElementsBaseVertex"); … … 730 879 731 880 /* OpenGL 3.2 core */ 732 if (vmsvga3dCheckGLExtension( "GL_ARB_provoking_vertex"))881 if (vmsvga3dCheckGLExtension(pState->fGLVersion, "GL_ARB_provoking_vertex")) 733 882 { 734 883 pState->ext.glProvokingVertex = (PFNGLPROVOKINGVERTEXPROC)OGLGETPROCADDRESS("glProvokingVertex"); … … 738 887 739 888 /* Extension support */ 740 pState->ext.fEXT_stencil_two_side = vmsvga3dCheckGLExtension( "GL_EXT_stencil_two_side");889 pState->ext.fEXT_stencil_two_side = vmsvga3dCheckGLExtension(pState->fGLVersion, "GL_EXT_stencil_two_side"); 741 890 742 891 /* First set sensible defaults. */ … … 754 903 755 904 /* Query capabilities */ 756 glGetIntegerv(GL_MAX_LIGHTS, &pState->caps.maxActiveLights); 757 VMSVGA3D_CHECK_LAST_ERROR_WARN(pState, pContext); 758 glGetIntegerv(GL_MAX_TEXTURE_BUFFER_SIZE, &pState->caps.maxTextureBufferSize); 759 #ifdef DEBUG_bird 760 if (pState->fGLVersion >= 3.1) /* darwin: Requires GL 3.1, so triggers on older mac os x versions. */ 761 #endif 762 VMSVGA3D_CHECK_LAST_ERROR_WARN(pState, pContext); 763 glGetIntegerv(GL_MAX_TEXTURE_UNITS_ARB, &pState->caps.maxTextures); 764 VMSVGA3D_CHECK_LAST_ERROR_WARN(pState, pContext); 765 glGetIntegerv(GL_MAX_CLIP_DISTANCES, &pState->caps.maxClipDistances); 766 VMSVGA3D_CHECK_LAST_ERROR_WARN(pState, pContext); 767 glGetIntegerv(GL_MAX_COLOR_ATTACHMENTS, &pState->caps.maxColorAttachments); 768 VMSVGA3D_CHECK_LAST_ERROR_WARN(pState, pContext); 769 glGetIntegerv(GL_MAX_RECTANGLE_TEXTURE_SIZE, &pState->caps.maxRectangleTextureSize); 770 VMSVGA3D_CHECK_LAST_ERROR_WARN(pState, pContext); 771 glGetIntegerv(GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT, &pState->caps.maxTextureAnisotropy); 772 VMSVGA3D_CHECK_LAST_ERROR_WARN(pState, pContext); 773 glGetFloatv(GL_ALIASED_POINT_SIZE_RANGE, pState->caps.flPointSize); 774 VMSVGA3D_CHECK_LAST_ERROR_WARN(pState, pContext); 905 VMSVGA3D_INIT_CHECKED_GL_GET_INTEGER_VALUE(GL_MAX_LIGHTS, &pState->caps.maxActiveLights); 906 VMSVGA3D_INIT_CHECKED_GL_GET_INTEGER_VALUE(GL_MAX_TEXTURE_BUFFER_SIZE, &pState->caps.maxTextureBufferSize); 907 VMSVGA3D_INIT_CHECKED_GL_GET_INTEGER_VALUE(GL_MAX_TEXTURE_UNITS_ARB, &pState->caps.maxTextures); 908 VMSVGA3D_INIT_CHECKED_GL_GET_INTEGER_VALUE(GL_MAX_CLIP_DISTANCES, &pState->caps.maxClipDistances); 909 VMSVGA3D_INIT_CHECKED_GL_GET_INTEGER_VALUE(GL_MAX_COLOR_ATTACHMENTS, &pState->caps.maxColorAttachments); 910 VMSVGA3D_INIT_CHECKED_GL_GET_INTEGER_VALUE(GL_MAX_RECTANGLE_TEXTURE_SIZE, &pState->caps.maxRectangleTextureSize); 911 VMSVGA3D_INIT_CHECKED_GL_GET_INTEGER_VALUE(GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT, &pState->caps.maxTextureAnisotropy); 912 VMSVGA3D_INIT_CHECKED(glGetFloatv(GL_ALIASED_POINT_SIZE_RANGE, pState->caps.flPointSize)); 775 913 776 914 if (pState->ext.glGetProgramivARB) 777 915 { 778 pState->ext.glGetProgramivARB(GL_FRAGMENT_PROGRAM_ARB, GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB, &pState->caps.maxFragmentShaderTemps);779 VMSVGA3D_CHECK_LAST_ERROR_WARN(pState, pContext);780 pState->ext.glGetProgramivARB(GL_FRAGMENT_PROGRAM_ARB, GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB, &pState->caps.maxFragmentShaderInstructions);781 VMSVGA3D_CHECK_LAST_ERROR_WARN(pState, pContext);782 pState->ext.glGetProgramivARB(GL_VERTEX_PROGRAM_ARB, GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB, &pState->caps.maxVertexShaderTemps);783 VMSVGA3D_CHECK_LAST_ERROR_WARN(pState, pContext);784 pState->ext.glGetProgramivARB(GL_VERTEX_PROGRAM_ARB, GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB, &pState->caps.maxVertexShaderInstructions);785 VMSVGA3D_CHECK_LAST_ERROR_WARN(pState, pContext);786 } 787 pState->caps.fS3TCSupported = vmsvga3dCheckGLExtension( "GL_EXT_texture_compression_s3tc");916 VMSVGA3D_INIT_CHECKED(pState->ext.glGetProgramivARB(GL_FRAGMENT_PROGRAM_ARB, GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB, 917 &pState->caps.maxFragmentShaderTemps)); 918 VMSVGA3D_INIT_CHECKED(pState->ext.glGetProgramivARB(GL_FRAGMENT_PROGRAM_ARB, GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB, 919 &pState->caps.maxFragmentShaderInstructions)); 920 VMSVGA3D_INIT_CHECKED(pState->ext.glGetProgramivARB(GL_VERTEX_PROGRAM_ARB, GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB, 921 &pState->caps.maxVertexShaderTemps)); 922 VMSVGA3D_INIT_CHECKED(pState->ext.glGetProgramivARB(GL_VERTEX_PROGRAM_ARB, GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB, 923 &pState->caps.maxVertexShaderInstructions)); 924 } 925 pState->caps.fS3TCSupported = vmsvga3dCheckGLExtension(pState->fGLVersion, "GL_EXT_texture_compression_s3tc"); 788 926 789 927 /* http://http://www.opengl.org/wiki/Detecting_the_Shader_Model … … 795 933 * ATI does not support higher than SM 2.0 functionality in assembly shaders. 796 934 * 797 * @todo: distinguish between vertex and pixel shaders???798 935 */ 799 if (vmsvga3dCheckGLExtension("GL_NV_gpu_program4")) 936 /** @todo: distinguish between vertex and pixel shaders??? */ 937 if (vmsvga3dCheckGLExtension(pState->fGLVersion, "GL_NV_gpu_program4")) 800 938 { 801 939 pState->caps.vertexShaderVersion = SVGA3DVSVERSION_40; … … 803 941 } 804 942 else 805 if ( vmsvga3dCheckGLExtension( "GL_NV_vertex_program3")806 || vmsvga3dCheckGLExtension( "GL_ARB_shader_texture_lod")) /* Wine claims this suggests SM 3.0 support */943 if ( vmsvga3dCheckGLExtension(pState->fGLVersion, "GL_NV_vertex_program3") 944 || vmsvga3dCheckGLExtension(pState->fGLVersion, "GL_ARB_shader_texture_lod")) /* Wine claims this suggests SM 3.0 support */ 807 945 { 808 946 pState->caps.vertexShaderVersion = SVGA3DVSVERSION_30; … … 810 948 } 811 949 else 812 if (vmsvga3dCheckGLExtension( "GL_ARB_fragment_program"))950 if (vmsvga3dCheckGLExtension(pState->fGLVersion, "GL_ARB_fragment_program")) 813 951 { 814 952 pState->caps.vertexShaderVersion = SVGA3DVSVERSION_20; … … 822 960 } 823 961 824 if (!vmsvga3dCheckGLExtension( "GL_ARB_vertex_array_bgra"))825 { 826 /* @todo Intel drivers don't support this extension! */962 if (!vmsvga3dCheckGLExtension(pState->fGLVersion, "GL_ARB_vertex_array_bgra")) 963 { 964 /** @todo Intel drivers don't support this extension! */ 827 965 LogRel(("VMSVGA3D: WARNING: Missing required extension GL_ARB_vertex_array_bgra (d3dcolor)!!!\n")); 828 966 } … … 893 1031 #endif 894 1032 1033 LogRel(("VMSVGA3d: Capabilities:\n")); 1034 LogRel(("VMSVGA3d: maxActiveLights=%d maxTextureBufferSize=%d maxTextures=%d\n", 1035 pState->caps.maxActiveLights, pState->caps.maxTextureBufferSize, pState->caps.maxTextures)); 1036 LogRel(("VMSVGA3d: maxClipDistances=%d maxColorAttachments=%d maxClipDistances=%d\n", 1037 pState->caps.maxClipDistances, pState->caps.maxColorAttachments, pState->caps.maxClipDistances)); 1038 LogRel(("VMSVGA3d: maxColorAttachments=%d maxRectangleTextureSize=%d maxTextureAnisotropy=%d\n", 1039 pState->caps.maxColorAttachments, pState->caps.maxRectangleTextureSize, pState->caps.maxTextureAnisotropy)); 1040 LogRel(("VMSVGA3d: maxVertexShaderInstructions=%d maxFragmentShaderInstructions=%d maxVertexShaderTemps=%d\n", 1041 pState->caps.maxVertexShaderInstructions, pState->caps.maxFragmentShaderInstructions, pState->caps.maxVertexShaderTemps)); 1042 LogRel(("VMSVGA3d: maxFragmentShaderTemps=%d flPointSize={%d.%02u, %d.%02u}\n", 1043 pState->caps.maxFragmentShaderTemps, 1044 (int)pState->caps.flPointSize[0], (int)(pState->caps.flPointSize[0] * 100) % 100, 1045 (int)pState->caps.flPointSize[1], (int)(pState->caps.flPointSize[1] * 100) % 100)); 1046 LogRel(("VMSVGA3d: fragmentShaderVersion=%d vertexShaderVersion=%d fS3TCSupported=%d\n", 1047 pState->caps.fragmentShaderVersion, pState->caps.vertexShaderVersion, pState->caps.fS3TCSupported)); 1048 1049 895 1050 /* Initialize the shader library. */ 896 1051 rc = ShaderInitLib(); -
trunk/src/VBox/Devices/Graphics/shaderlib/directx.c
r53258 r53728 1831 1831 * memory can be overruled using a registry setting. */ 1832 1832 1833 #ifndef VBOX 1833 1834 int i; 1835 #else 1836 size_t i; 1837 #endif 1834 1838 1835 1839 for (i = 0; i < (sizeof(vendor_card_select_table) / sizeof(*vendor_card_select_table)); ++i) … … 1904 1908 #endif 1905 1909 1910 #if defined(RT_OS_DARWIN) 1911 /** Checks if @a pszExtension is one of the extensions we're looking for and 1912 * updates @a pGlInfo->supported accordingly. */ 1913 static void check_gl_extension(struct wined3d_gl_info *pGlInfo, const char *pszExtension) 1914 { 1915 size_t i; 1916 TRACE_(d3d_caps)("- %s\n", debugstr_a(pszExtension)); 1917 for (i = 0; i < RT_ELEMENTS(EXTENSION_MAP); i++) 1918 if (!strcmp(pszExtension, EXTENSION_MAP[i].extension_string)) 1919 { 1920 TRACE_(d3d_caps)(" FOUND: %s support.\n", EXTENSION_MAP[i].extension_string); 1921 pGlInfo->supported[EXTENSION_MAP[i].extension] = TRUE; 1922 return; 1923 } 1924 } 1925 #endif 1926 1906 1927 /* Context activation is done by the caller. */ 1907 1928 BOOL IWineD3DImpl_FillGLCaps(struct wined3d_adapter *adapter) … … 1909 1930 struct wined3d_driver_info *driver_info = &adapter->driver_info; 1910 1931 struct wined3d_gl_info *gl_info = &adapter->gl_info; 1932 #if !defined(RT_OS_DARWIN) 1911 1933 const char *GL_Extensions = NULL; 1912 1934 const char *WGL_Extensions = NULL; 1935 #endif 1913 1936 const char *gl_vendor_str, *gl_renderer_str, *gl_version_str; 1914 1937 struct fragment_caps fragment_caps; … … 1999 2022 2000 2023 /* Parse the gl supported features, in theory enabling parts of our code appropriately. */ 2024 #if !defined(RT_OS_DARWIN) 2001 2025 GL_Extensions = (const char *)glGetString(GL_EXTENSIONS); 2002 2026 if (!GL_Extensions) … … 2010 2034 2011 2035 TRACE_(d3d_caps)("GL_Extensions reported:\n"); 2036 #endif 2012 2037 2013 2038 gl_info->supported[WINED3D_GL_EXT_NONE] = TRUE; … … 2015 2040 gl_info->supported[VBOX_SHARED_CONTEXTS] = TRUE; 2016 2041 2042 #if defined(RT_OS_DARWIN) 2043 { 2044 /* We work with OpenGL 3.2+ on darwin, so we need to handle extensions differently. */ 2045 GLint idxExt; 2046 GLint cExtensions = 1024; 2047 float fGLVersion = atof((const char *)glGetString(GL_VERSION)); 2048 2049 # define GL_NUM_EXTENSIONS 0x821D /// FIXME 2050 extern const GLubyte * glGetStringi(GLenum name, GLuint index); /// FIXME 2051 2052 glGetIntegerv(GL_NUM_EXTENSIONS, &cExtensions); 2053 for (idxExt = 0; idxExt < cExtensions; idxExt++) 2054 check_gl_extension(gl_info, (const char *)glGetStringi(GL_EXTENSIONS, idxExt)); 2055 2056 if (fGLVersion >= 3.0) 2057 { 2058 check_gl_extension(gl_info, "GL_ARB_framebuffer_object"); 2059 check_gl_extension(gl_info, "GL_ARB_map_buffer_range"); 2060 check_gl_extension(gl_info, "GL_ARB_vertex_array_object"); 2061 } 2062 if (fGLVersion >= 3.1) 2063 { 2064 check_gl_extension(gl_info, "GL_ARB_copy_buffer"); 2065 check_gl_extension(gl_info, "GL_ARB_uniform_buffer_object"); 2066 } 2067 if (fGLVersion >= 3.2) 2068 { 2069 check_gl_extension(gl_info, "GL_ARB_draw_elements_base_vertex"); 2070 check_gl_extension(gl_info, "GL_ARB_provoking_vertex"); 2071 check_gl_extension(gl_info, "GL_ARB_sync"); 2072 check_gl_extension(gl_info, "GL_ARB_texture_multisample"); 2073 } 2074 if (fGLVersion >= 3.3) 2075 { 2076 check_gl_extension(gl_info, "GL_ARB_blend_func_extended"); 2077 check_gl_extension(gl_info, "GL_ARB_sampler_objects"); 2078 check_gl_extension(gl_info, "GL_ARB_explicit_attrib_location"); 2079 check_gl_extension(gl_info, "GL_ARB_occlusion_query2"); 2080 check_gl_extension(gl_info, "GL_ARB_shader_bit_encoding"); 2081 check_gl_extension(gl_info, "GL_ARB_texture_rgb10_a2ui"); 2082 check_gl_extension(gl_info, "GL_ARB_texture_swizzle"); 2083 check_gl_extension(gl_info, "GL_ARB_timer_query"); 2084 check_gl_extension(gl_info, "GL_ARB_vertex_type_2_10_10_10_rev"); 2085 } 2086 if (fGLVersion >=4.0) 2087 { 2088 check_gl_extension(gl_info, "GL_ARB_texture_query_lod"); 2089 check_gl_extension(gl_info, "GL_ARB_draw_indirect"); 2090 check_gl_extension(gl_info, "GL_ARB_gpu_shader5"); 2091 check_gl_extension(gl_info, "GL_ARB_gpu_shader_fp64"); 2092 check_gl_extension(gl_info, "GL_ARB_shader_subroutine"); 2093 check_gl_extension(gl_info, "GL_ARB_tessellation_shader"); 2094 check_gl_extension(gl_info, "GL_ARB_texture_buffer_object_rgb32"); 2095 check_gl_extension(gl_info, "GL_ARB_texture_cube_map_array"); 2096 check_gl_extension(gl_info, "GL_ARB_texture_gather"); 2097 check_gl_extension(gl_info, "GL_ARB_transform_feedback2"); 2098 check_gl_extension(gl_info, "GL_ARB_transform_feedback3"); 2099 } 2100 if (fGLVersion >=4.1) 2101 { 2102 check_gl_extension(gl_info, "GL_ARB_ES2_compatibility"); 2103 check_gl_extension(gl_info, "GL_ARB_get_program_binary"); 2104 check_gl_extension(gl_info, "GL_ARB_separate_shader_objects"); 2105 check_gl_extension(gl_info, "GL_ARB_shader_precision"); 2106 check_gl_extension(gl_info, "GL_ARB_vertex_attrib_64bit"); 2107 check_gl_extension(gl_info, "GL_ARB_viewport_array"); 2108 } 2109 } 2110 2111 LEAVE_GL(); 2112 2113 #else 2017 2114 while (*GL_Extensions) 2018 2115 { … … 2041 2138 } 2042 2139 } 2140 #endif 2043 2141 2044 2142 #ifdef VBOX_WITH_VMSVGA 2045 2143 # ifdef RT_OS_WINDOWS 2046 # define OGLGETPROCADDRESSwglGetProcAddress2144 # define OGLGETPROCADDRESS wglGetProcAddress 2047 2145 # elif RT_OS_DARWIN 2048 extern void (*MyNSGLGetProcAddress(const char *name))(void); 2049 # define OGLGETPROCADDRESS MyNSGLGetProcAddress 2146 # define OGLGETPROCADDRESS(x) MyNSGLGetProcAddress(x) 2050 2147 # else 2051 2148 extern void (*glXGetProcAddress(const GLubyte *procname))( void ); 2052 # define OGLGETPROCADDRESS(x)glXGetProcAddress((const GLubyte *)x)2149 # define OGLGETPROCADDRESS(x) glXGetProcAddress((const GLubyte *)x) 2053 2150 # endif 2054 2151 #endif … … 2174 2271 else 2175 2272 { 2176 gl_info->limits.fragment_samplers = max(gl_info->limits.fragment_samplers, gl_max);2273 gl_info->limits.fragment_samplers = max(gl_info->limits.fragment_samplers, (UINT)gl_max); 2177 2274 } 2178 2275 TRACE_(d3d_caps)("Max fragment samplers: %d.\n", gl_info->limits.fragment_samplers); -
trunk/src/VBox/Devices/Graphics/shaderlib/shaderapi.c
r53725 r53728 1 /* $Id$ */ 1 2 /** @file 2 3 * shaderlib -- interface to WINE's Direct3D shader functions … … 4 5 5 6 /* 6 * Copyright (C) 2014 Oracle Corporation7 * Copyright (C) 2014-2015 Oracle Corporation 7 8 * 8 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 19 20 #include <iprt/assert.h> 20 21 #include <iprt/log.h> 22 #define WINED3D_EXTERN 21 23 #include "wined3d_private.h" 22 24 … … 24 26 25 27 #ifdef RT_OS_WINDOWS 26 #define OGLGETPROCADDRESS wglGetProcAddress 28 # define OGLGETPROCADDRESS wglGetProcAddress 29 27 30 #elif RT_OS_DARWIN 28 #include <mach-o/dyld.h> 31 # include <dlfcn.h> 32 # define OGLGETPROCADDRESS(x) MyNSGLGetProcAddress((const char *)x) 29 33 void *MyNSGLGetProcAddress(const char *name) 30 34 { 31 NSSymbol symbol = NULL; 32 char *symbolName = malloc(strlen(name) + 2); 33 strcpy(symbolName + 1, name); 34 symbolName[0] = '_'; 35 if (NSIsSymbolNameDefined(symbolName)) 36 symbol = NSLookupAndBindSymbol(symbolName); 37 free(symbolName); 38 return symbol ? NSAddressOfSymbol(symbol) : NULL; 39 } 40 #define OGLGETPROCADDRESS(x) MyNSGLGetProcAddress((const char *)x) 35 /* Another copy in DevVGA-SVGA3d-ogl.cpp. */ 36 static void *s_image = NULL; 37 if (s_image == NULL) 38 s_image = dlopen("/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL", RTLD_LAZY); 39 return s_image ? dlsym(s_image, name) : NULL; 40 } 41 41 42 #else 42 43 extern void (*glXGetProcAddress(const GLubyte *procname))( void ); 43 #define OGLGETPROCADDRESS(x) glXGetProcAddress((const GLubyte *)x) 44 # define OGLGETPROCADDRESS(x) glXGetProcAddress((const GLubyte *)x) 45 44 46 #endif 45 47 … … 130 132 glGetAttribLocationARB, ARB_SHADER_OBJECTS, NULL) \ 131 133 132 extern BOOL IWineD3DImpl_FillGLCaps(struct wined3d_adapter *adapter);133 134 134 static struct wined3d_context *pCurrentContext = NULL; 135 135 static struct wined3d_adapter adapter = {0}; -
trunk/src/VBox/Devices/Graphics/shaderlib/wined3d_gl.h
r53272 r53728 1008 1008 GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer); 1009 1009 1010 void (WINE_GLAPI *glAccum)(GLenum op, GLfloat value) DECLSPEC_HIDDEN; 1011 void (WINE_GLAPI *glAlphaFunc)(GLenum func, GLclampf ref) DECLSPEC_HIDDEN; 1012 GLboolean (WINE_GLAPI *glAreTexturesResident)(GLsizei n, const GLuint *textures, GLboolean *residences) DECLSPEC_HIDDEN; 1013 void (WINE_GLAPI *glArrayElement)(GLint i) DECLSPEC_HIDDEN; 1014 void (WINE_GLAPI *glBegin)(GLenum mode) DECLSPEC_HIDDEN; 1015 void (WINE_GLAPI *glBindTexture)(GLenum target, GLuint texture) DECLSPEC_HIDDEN; 1016 void (WINE_GLAPI *glBitmap)(GLsizei width, GLsizei height, GLfloat xorig, 1010 #ifndef WINED3D_EXTERN 1011 # define WINED3D_EXTERN extern 1012 #endif 1013 1014 WINED3D_EXTERN void (WINE_GLAPI *glAccum)(GLenum op, GLfloat value) DECLSPEC_HIDDEN; 1015 WINED3D_EXTERN void (WINE_GLAPI *glAlphaFunc)(GLenum func, GLclampf ref) DECLSPEC_HIDDEN; 1016 WINED3D_EXTERN GLboolean (WINE_GLAPI *glAreTexturesResident)(GLsizei n, const GLuint *textures, GLboolean *residences) DECLSPEC_HIDDEN; 1017 WINED3D_EXTERN void (WINE_GLAPI *glArrayElement)(GLint i) DECLSPEC_HIDDEN; 1018 WINED3D_EXTERN void (WINE_GLAPI *glBegin)(GLenum mode) DECLSPEC_HIDDEN; 1019 WINED3D_EXTERN void (WINE_GLAPI *glBindTexture)(GLenum target, GLuint texture) DECLSPEC_HIDDEN; 1020 WINED3D_EXTERN void (WINE_GLAPI *glBitmap)(GLsizei width, GLsizei height, GLfloat xorig, 1017 1021 GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap) DECLSPEC_HIDDEN; 1018 void (WINE_GLAPI *glBlendFunc)(GLenum sfactor, GLenum dfactor) DECLSPEC_HIDDEN;1019 void (WINE_GLAPI *glCallList)(GLuint list) DECLSPEC_HIDDEN;1020 void (WINE_GLAPI *glCallLists)(GLsizei n, GLenum type, const GLvoid *lists) DECLSPEC_HIDDEN;1021 void (WINE_GLAPI *glClear)(GLbitfield mask) DECLSPEC_HIDDEN;1022 void (WINE_GLAPI *glClearAccum)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) DECLSPEC_HIDDEN;1023 void (WINE_GLAPI *glClearColor)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) DECLSPEC_HIDDEN;1024 void (WINE_GLAPI *glClearDepth)(GLclampd depth) DECLSPEC_HIDDEN;1025 void (WINE_GLAPI *glClearIndex)(GLfloat c) DECLSPEC_HIDDEN;1026 void (WINE_GLAPI *glClearStencil)(GLint s) DECLSPEC_HIDDEN;1027 void (WINE_GLAPI *glClipPlane)(GLenum plane, const GLdouble *equation) DECLSPEC_HIDDEN;1028 void (WINE_GLAPI *glColor3b)(GLbyte red, GLbyte green, GLbyte blue) DECLSPEC_HIDDEN;1029 void (WINE_GLAPI *glColor3bv)(const GLbyte *v) DECLSPEC_HIDDEN;1030 void (WINE_GLAPI *glColor3d)(GLdouble red, GLdouble green, GLdouble blue) DECLSPEC_HIDDEN;1031 void (WINE_GLAPI *glColor3dv)(const GLdouble *v) DECLSPEC_HIDDEN;1032 void (WINE_GLAPI *glColor3f)(GLfloat red, GLfloat green, GLfloat blue) DECLSPEC_HIDDEN;1033 void (WINE_GLAPI *glColor3fv)(const GLfloat *v) DECLSPEC_HIDDEN;1034 void (WINE_GLAPI *glColor3i)(GLint red, GLint green, GLint blue) DECLSPEC_HIDDEN;1035 void (WINE_GLAPI *glColor3iv)(const GLint *v) DECLSPEC_HIDDEN;1036 void (WINE_GLAPI *glColor3s)(GLshort red, GLshort green, GLshort blue) DECLSPEC_HIDDEN;1037 void (WINE_GLAPI *glColor3sv)(const GLshort *v) DECLSPEC_HIDDEN;1038 void (WINE_GLAPI *glColor3ub)(GLubyte red, GLubyte green, GLubyte blue) DECLSPEC_HIDDEN;1039 void (WINE_GLAPI *glColor3ubv)(const GLubyte *v) DECLSPEC_HIDDEN;1040 void (WINE_GLAPI *glColor3ui)(GLuint red, GLuint green, GLuint blue) DECLSPEC_HIDDEN;1041 void (WINE_GLAPI *glColor3uiv)(const GLuint *v) DECLSPEC_HIDDEN;1042 void (WINE_GLAPI *glColor3us)(GLushort red, GLushort green, GLushort blue) DECLSPEC_HIDDEN;1043 void (WINE_GLAPI *glColor3usv)(const GLushort *v) DECLSPEC_HIDDEN;1044 void (WINE_GLAPI *glColor4b)(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha) DECLSPEC_HIDDEN;1045 void (WINE_GLAPI *glColor4bv)(const GLbyte *v) DECLSPEC_HIDDEN;1046 void (WINE_GLAPI *glColor4d)(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha) DECLSPEC_HIDDEN;1047 void (WINE_GLAPI *glColor4dv)(const GLdouble *v) DECLSPEC_HIDDEN;1048 void (WINE_GLAPI *glColor4f)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) DECLSPEC_HIDDEN;1049 void (WINE_GLAPI *glColor4fv)(const GLfloat *v) DECLSPEC_HIDDEN;1050 void (WINE_GLAPI *glColor4i)(GLint red, GLint green, GLint blue, GLint alpha) DECLSPEC_HIDDEN;1051 void (WINE_GLAPI *glColor4iv)(const GLint *v) DECLSPEC_HIDDEN;1052 void (WINE_GLAPI *glColor4s)(GLshort red, GLshort green, GLshort blue, GLshort alpha) DECLSPEC_HIDDEN;1053 void (WINE_GLAPI *glColor4sv)(const GLshort *v) DECLSPEC_HIDDEN;1054 void (WINE_GLAPI *glColor4ub)(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) DECLSPEC_HIDDEN;1055 void (WINE_GLAPI *glColor4ubv)(const GLubyte *v) DECLSPEC_HIDDEN;1056 void (WINE_GLAPI *glColor4ui)(GLuint red, GLuint green, GLuint blue, GLuint alpha) DECLSPEC_HIDDEN;1057 void (WINE_GLAPI *glColor4uiv)(const GLuint *v) DECLSPEC_HIDDEN;1058 void (WINE_GLAPI *glColor4us)(GLushort red, GLushort green, GLushort blue, GLushort alpha) DECLSPEC_HIDDEN;1059 void (WINE_GLAPI *glColor4usv)(const GLushort *v) DECLSPEC_HIDDEN;1060 void (WINE_GLAPI *glColorMask)(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) DECLSPEC_HIDDEN;1061 void (WINE_GLAPI *glColorMaterial)(GLenum face, GLenum mode) DECLSPEC_HIDDEN;1062 void (WINE_GLAPI *glColorPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) DECLSPEC_HIDDEN;1063 void (WINE_GLAPI *glCopyPixels)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type) DECLSPEC_HIDDEN;1064 void (WINE_GLAPI *glCopyTexImage1D)(GLenum target, GLint level,1065 GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) DECLSPEC_HIDDEN;1066 void (WINE_GLAPI *glCopyTexImage2D)(GLenum target, GLint level,1067 GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) DECLSPEC_HIDDEN;1068 void (WINE_GLAPI *glCopyTexSubImage1D)(GLenum target, GLint level,1069 GLint xoffset, GLint x, GLint y, GLsizei width) DECLSPEC_HIDDEN;1070 void (WINE_GLAPI *glCopyTexSubImage2D)(GLenum target, GLint level,1071 GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) DECLSPEC_HIDDEN;1072 void (WINE_GLAPI *glCullFace)(GLenum mode) DECLSPEC_HIDDEN;1073 void (WINE_GLAPI *glDeleteLists)(GLuint list, GLsizei range) DECLSPEC_HIDDEN;1074 void (WINE_GLAPI *glDeleteTextures)(GLsizei n, const GLuint *textures) DECLSPEC_HIDDEN;1075 void (WINE_GLAPI *glDepthFunc)(GLenum func) DECLSPEC_HIDDEN;1076 void (WINE_GLAPI *glDepthMask)(GLboolean flag) DECLSPEC_HIDDEN;1077 void (WINE_GLAPI *glDepthRange)(GLclampd nearParam, GLclampd farParam) DECLSPEC_HIDDEN;1078 void (WINE_GLAPI *glDisable)(GLenum cap) DECLSPEC_HIDDEN;1079 void (WINE_GLAPI *glDisableWINE)(GLenum cap) DECLSPEC_HIDDEN;1080 void (WINE_GLAPI *glDisableClientState)(GLenum array) DECLSPEC_HIDDEN;1081 void (WINE_GLAPI *glDrawArrays)(GLenum mode, GLint first, GLsizei count) DECLSPEC_HIDDEN;1082 void (WINE_GLAPI *glDrawBuffer)(GLenum mode) DECLSPEC_HIDDEN;1083 void (WINE_GLAPI *glDrawElements)(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) DECLSPEC_HIDDEN;1084 void (WINE_GLAPI *glDrawPixels)(GLsizei width, GLsizei height, GLenum format,1085 GLenum type, const GLvoid *pixels) DECLSPEC_HIDDEN;1086 void (WINE_GLAPI *glEdgeFlag)(GLboolean flag) DECLSPEC_HIDDEN;1087 void (WINE_GLAPI *glEdgeFlagPointer)(GLsizei stride, const GLvoid *pointer) DECLSPEC_HIDDEN;1088 void (WINE_GLAPI *glEdgeFlagv)(const GLboolean *flag) DECLSPEC_HIDDEN;1089 void (WINE_GLAPI *glEnable)(GLenum cap) DECLSPEC_HIDDEN;1090 void (WINE_GLAPI *glEnableWINE)(GLenum cap) DECLSPEC_HIDDEN;1091 void (WINE_GLAPI *glEnableClientState)(GLenum array) DECLSPEC_HIDDEN;1092 void (WINE_GLAPI *glEnd)(void) DECLSPEC_HIDDEN;1093 void (WINE_GLAPI *glEndList)(void) DECLSPEC_HIDDEN;1094 void (WINE_GLAPI *glEvalCoord1d)(GLdouble u) DECLSPEC_HIDDEN;1095 void (WINE_GLAPI *glEvalCoord1dv)(const GLdouble *u) DECLSPEC_HIDDEN;1096 void (WINE_GLAPI *glEvalCoord1f)(GLfloat u) DECLSPEC_HIDDEN;1097 void (WINE_GLAPI *glEvalCoord1fv)(const GLfloat *u) DECLSPEC_HIDDEN;1098 void (WINE_GLAPI *glEvalCoord2d)(GLdouble u, GLdouble v) DECLSPEC_HIDDEN;1099 void (WINE_GLAPI *glEvalCoord2dv)(const GLdouble *u) DECLSPEC_HIDDEN;1100 void (WINE_GLAPI *glEvalCoord2f)(GLfloat u, GLfloat v) DECLSPEC_HIDDEN;1101 void (WINE_GLAPI *glEvalCoord2fv)(const GLfloat *u) DECLSPEC_HIDDEN;1102 void (WINE_GLAPI *glEvalMesh1)(GLenum mode, GLint i1, GLint i2) DECLSPEC_HIDDEN;1103 void (WINE_GLAPI *glEvalMesh2)(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2) DECLSPEC_HIDDEN;1104 void (WINE_GLAPI *glEvalPoint1)(GLint i) DECLSPEC_HIDDEN;1105 void (WINE_GLAPI *glEvalPoint2)(GLint i, GLint j) DECLSPEC_HIDDEN;1106 void (WINE_GLAPI *glFeedbackBuffer)(GLsizei size, GLenum type, GLfloat *buffer) DECLSPEC_HIDDEN;1107 void (WINE_GLAPI *glFogf)(GLenum pname, GLfloat param) DECLSPEC_HIDDEN;1108 void (WINE_GLAPI *glFogfv)(GLenum pname, const GLfloat *params) DECLSPEC_HIDDEN;1109 void (WINE_GLAPI *glFogi)(GLenum pname, GLint param) DECLSPEC_HIDDEN;1110 void (WINE_GLAPI *glFogiv)(GLenum pname, const GLint *params) DECLSPEC_HIDDEN;1111 void (WINE_GLAPI *glFrontFace)(GLenum mode) DECLSPEC_HIDDEN;1112 void (WINE_GLAPI *glFrustum)(GLdouble left, GLdouble right, GLdouble bottom,1113 GLdouble top, GLdouble zNear, GLdouble zFar) DECLSPEC_HIDDEN;1114 GLuint (WINE_GLAPI *glGenLists)(GLsizei range) DECLSPEC_HIDDEN;1115 void (WINE_GLAPI *glGenTextures)(GLsizei n, GLuint *textures) DECLSPEC_HIDDEN;1116 void (WINE_GLAPI *glGetBooleanv)(GLenum pname, GLboolean *params) DECLSPEC_HIDDEN;1117 void (WINE_GLAPI *glGetClipPlane)(GLenum plane, GLdouble *equation) DECLSPEC_HIDDEN;1118 void (WINE_GLAPI *glGetDoublev)(GLenum pname, GLdouble *params) DECLSPEC_HIDDEN;1119 GLenum (WINE_GLAPI *glGetError)(void) DECLSPEC_HIDDEN;1120 void (WINE_GLAPI *glGetFloatv)(GLenum pname, GLfloat *params) DECLSPEC_HIDDEN;1121 void (WINE_GLAPI *glGetIntegerv)(GLenum pname, GLint *params) DECLSPEC_HIDDEN;1122 void (WINE_GLAPI *glGetLightfv)(GLenum light, GLenum pname, GLfloat *params) DECLSPEC_HIDDEN;1123 void (WINE_GLAPI *glGetLightiv)(GLenum light, GLenum pname, GLint *params) DECLSPEC_HIDDEN;1124 void (WINE_GLAPI *glGetMapdv)(GLenum target, GLenum query, GLdouble *v) DECLSPEC_HIDDEN;1125 void (WINE_GLAPI *glGetMapfv)(GLenum target, GLenum query, GLfloat *v) DECLSPEC_HIDDEN;1126 void (WINE_GLAPI *glGetMapiv)(GLenum target, GLenum query, GLint *v) DECLSPEC_HIDDEN;1127 void (WINE_GLAPI *glGetMaterialfv)(GLenum face, GLenum pname, GLfloat *params) DECLSPEC_HIDDEN;1128 void (WINE_GLAPI *glGetMaterialiv)(GLenum face, GLenum pname, GLint *params) DECLSPEC_HIDDEN;1129 void (WINE_GLAPI *glGetPixelMapfv)(GLenum map, GLfloat *values) DECLSPEC_HIDDEN;1130 void (WINE_GLAPI *glGetPixelMapuiv)(GLenum map, GLuint *values) DECLSPEC_HIDDEN;1131 void (WINE_GLAPI *glGetPixelMapusv)(GLenum map, GLushort *values) DECLSPEC_HIDDEN;1132 void (WINE_GLAPI *glGetPointerv)(GLenum pname, GLvoid **params) DECLSPEC_HIDDEN;1133 void (WINE_GLAPI *glGetPolygonStipple)(GLubyte *mask) DECLSPEC_HIDDEN;1134 const GLubyte * (WINE_GLAPI *glGetString)(GLenum name) DECLSPEC_HIDDEN;1135 void (WINE_GLAPI *glGetTexEnvfv)(GLenum target, GLenum pname, GLfloat *params) DECLSPEC_HIDDEN;1136 void (WINE_GLAPI *glGetTexEnviv)(GLenum target, GLenum pname, GLint *params) DECLSPEC_HIDDEN;1137 void (WINE_GLAPI *glGetTexGendv)(GLenum coord, GLenum pname, GLdouble *params) DECLSPEC_HIDDEN;1138 void (WINE_GLAPI *glGetTexGenfv)(GLenum coord, GLenum pname, GLfloat *params) DECLSPEC_HIDDEN;1139 void (WINE_GLAPI *glGetTexGeniv)(GLenum coord, GLenum pname, GLint *params) DECLSPEC_HIDDEN;1140 void (WINE_GLAPI *glGetTexImage)(GLenum target, GLint level, GLenum format,1141 GLenum type, GLvoid *pixels) DECLSPEC_HIDDEN;1142 void (WINE_GLAPI *glGetTexLevelParameterfv)(GLenum target, GLint level, GLenum pname, GLfloat *params) DECLSPEC_HIDDEN;1143 void (WINE_GLAPI *glGetTexLevelParameteriv)(GLenum target, GLint level, GLenum pname, GLint *params) DECLSPEC_HIDDEN;1144 void (WINE_GLAPI *glGetTexParameterfv)(GLenum target, GLenum pname, GLfloat *params) DECLSPEC_HIDDEN;1145 void (WINE_GLAPI *glGetTexParameteriv)(GLenum target, GLenum pname, GLint *params) DECLSPEC_HIDDEN;1146 void (WINE_GLAPI *glHint)(GLenum target, GLenum mode) DECLSPEC_HIDDEN;1147 void (WINE_GLAPI *glIndexMask)(GLuint mask) DECLSPEC_HIDDEN;1148 void (WINE_GLAPI *glIndexPointer)(GLenum type, GLsizei stride, const GLvoid *pointer) DECLSPEC_HIDDEN;1149 void (WINE_GLAPI *glIndexd)(GLdouble c) DECLSPEC_HIDDEN;1150 void (WINE_GLAPI *glIndexdv)(const GLdouble *c) DECLSPEC_HIDDEN;1151 void (WINE_GLAPI *glIndexf)(GLfloat c) DECLSPEC_HIDDEN;1152 void (WINE_GLAPI *glIndexfv)(const GLfloat *c) DECLSPEC_HIDDEN;1153 void (WINE_GLAPI *glIndexi)(GLint c) DECLSPEC_HIDDEN;1154 void (WINE_GLAPI *glIndexiv)(const GLint *c) DECLSPEC_HIDDEN;1155 void (WINE_GLAPI *glIndexs)(GLshort c) DECLSPEC_HIDDEN;1156 void (WINE_GLAPI *glIndexsv)(const GLshort *c) DECLSPEC_HIDDEN;1157 void (WINE_GLAPI *glIndexub)(GLubyte c) DECLSPEC_HIDDEN;1158 void (WINE_GLAPI *glIndexubv)(const GLubyte *c) DECLSPEC_HIDDEN;1159 void (WINE_GLAPI *glInitNames)(void) DECLSPEC_HIDDEN;1160 void (WINE_GLAPI *glInterleavedArrays)(GLenum format, GLsizei stride, const GLvoid *pointer) DECLSPEC_HIDDEN;1161 GLboolean (WINE_GLAPI *glIsEnabled)(GLenum cap) DECLSPEC_HIDDEN;1162 GLboolean (WINE_GLAPI *glIsList)(GLuint list) DECLSPEC_HIDDEN;1163 GLboolean (WINE_GLAPI *glIsTexture)(GLuint texture) DECLSPEC_HIDDEN;1164 void (WINE_GLAPI *glLightModelf)(GLenum pname, GLfloat param) DECLSPEC_HIDDEN;1165 void (WINE_GLAPI *glLightModelfv)(GLenum pname, const GLfloat *params) DECLSPEC_HIDDEN;1166 void (WINE_GLAPI *glLightModeli)(GLenum pname, GLint param) DECLSPEC_HIDDEN;1167 void (WINE_GLAPI *glLightModeliv)(GLenum pname, const GLint *params) DECLSPEC_HIDDEN;1168 void (WINE_GLAPI *glLightf)(GLenum light, GLenum pname, GLfloat param) DECLSPEC_HIDDEN;1169 void (WINE_GLAPI *glLightfv)(GLenum light, GLenum pname, const GLfloat *params) DECLSPEC_HIDDEN;1170 void (WINE_GLAPI *glLighti)(GLenum light, GLenum pname, GLint param) DECLSPEC_HIDDEN;1171 void (WINE_GLAPI *glLightiv)(GLenum light, GLenum pname, const GLint *params) DECLSPEC_HIDDEN;1172 void (WINE_GLAPI *glLineStipple)(GLint factor, GLushort pattern) DECLSPEC_HIDDEN;1173 void (WINE_GLAPI *glLineWidth)(GLfloat width) DECLSPEC_HIDDEN;1174 void (WINE_GLAPI *glListBase)(GLuint base) DECLSPEC_HIDDEN;1175 void (WINE_GLAPI *glLoadIdentity)(void) DECLSPEC_HIDDEN;1176 void (WINE_GLAPI *glLoadMatrixd)(const GLdouble *m) DECLSPEC_HIDDEN;1177 void (WINE_GLAPI *glLoadMatrixf)(const GLfloat *m) DECLSPEC_HIDDEN;1178 void (WINE_GLAPI *glLoadName)(GLuint name) DECLSPEC_HIDDEN;1179 void (WINE_GLAPI *glLogicOp)(GLenum opcode) DECLSPEC_HIDDEN;1180 void (WINE_GLAPI *glMap1d)(GLenum target, GLdouble u1, GLdouble u2,1181 GLint stride, GLint order, const GLdouble *points) DECLSPEC_HIDDEN;1182 void (WINE_GLAPI *glMap1f)(GLenum target, GLfloat u1, GLfloat u2, GLint stride,1183 GLint order, const GLfloat *points) DECLSPEC_HIDDEN;1184 void (WINE_GLAPI *glMap2d)(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder,1185 GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points) DECLSPEC_HIDDEN;1186 void (WINE_GLAPI *glMap2f)(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder,1187 GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points) DECLSPEC_HIDDEN;1188 void (WINE_GLAPI *glMapGrid1d)(GLint un, GLdouble u1, GLdouble u2) DECLSPEC_HIDDEN;1189 void (WINE_GLAPI *glMapGrid1f)(GLint un, GLfloat u1, GLfloat u2) DECLSPEC_HIDDEN;1190 void (WINE_GLAPI *glMapGrid2d)(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2) DECLSPEC_HIDDEN;1191 void (WINE_GLAPI *glMapGrid2f)(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2) DECLSPEC_HIDDEN;1192 void (WINE_GLAPI *glMaterialf)(GLenum face, GLenum pname, GLfloat param) DECLSPEC_HIDDEN;1193 void (WINE_GLAPI *glMaterialfv)(GLenum face, GLenum pname, const GLfloat *params) DECLSPEC_HIDDEN;1194 void (WINE_GLAPI *glMateriali)(GLenum face, GLenum pname, GLint param) DECLSPEC_HIDDEN;1195 void (WINE_GLAPI *glMaterialiv)(GLenum face, GLenum pname, const GLint *params) DECLSPEC_HIDDEN;1196 void (WINE_GLAPI *glMatrixMode)(GLenum mode) DECLSPEC_HIDDEN;1197 void (WINE_GLAPI *glMultMatrixd)(const GLdouble *m) DECLSPEC_HIDDEN;1198 void (WINE_GLAPI *glMultMatrixf)(const GLfloat *m) DECLSPEC_HIDDEN;1199 void (WINE_GLAPI *glNewList)(GLuint list, GLenum mode) DECLSPEC_HIDDEN;1200 void (WINE_GLAPI *glNormal3b)(GLbyte nx, GLbyte ny, GLbyte nz) DECLSPEC_HIDDEN;1201 void (WINE_GLAPI *glNormal3bv)(const GLbyte *v) DECLSPEC_HIDDEN;1202 void (WINE_GLAPI *glNormal3d)(GLdouble nx, GLdouble ny, GLdouble nz) DECLSPEC_HIDDEN;1203 void (WINE_GLAPI *glNormal3dv)(const GLdouble *v) DECLSPEC_HIDDEN;1204 void (WINE_GLAPI *glNormal3f)(GLfloat nx, GLfloat ny, GLfloat nz) DECLSPEC_HIDDEN;1205 void (WINE_GLAPI *glNormal3fv)(const GLfloat *v) DECLSPEC_HIDDEN;1206 void (WINE_GLAPI *glNormal3i)(GLint nx, GLint ny, GLint nz) DECLSPEC_HIDDEN;1207 void (WINE_GLAPI *glNormal3iv)(const GLint *v) DECLSPEC_HIDDEN;1208 void (WINE_GLAPI *glNormal3s)(GLshort nx, GLshort ny, GLshort nz) DECLSPEC_HIDDEN;1209 void (WINE_GLAPI *glNormal3sv)(const GLshort *v) DECLSPEC_HIDDEN;1210 void (WINE_GLAPI *glNormalPointer)(GLenum type, GLsizei stride, const GLvoid *pointer) DECLSPEC_HIDDEN;1211 void (WINE_GLAPI *glOrtho)(GLdouble left, GLdouble right, GLdouble bottom,1212 GLdouble top, GLdouble zNear, GLdouble zFar) DECLSPEC_HIDDEN;1213 void (WINE_GLAPI *glPassThrough)(GLfloat token) DECLSPEC_HIDDEN;1214 void (WINE_GLAPI *glPixelMapfv)(GLenum map, GLint mapsize, const GLfloat *values) DECLSPEC_HIDDEN;1215 void (WINE_GLAPI *glPixelMapuiv)(GLenum map, GLint mapsize, const GLuint *values) DECLSPEC_HIDDEN;1216 void (WINE_GLAPI *glPixelMapusv)(GLenum map, GLint mapsize, const GLushort *values) DECLSPEC_HIDDEN;1217 void (WINE_GLAPI *glPixelStoref)(GLenum pname, GLfloat param) DECLSPEC_HIDDEN;1218 void (WINE_GLAPI *glPixelStorei)(GLenum pname, GLint param) DECLSPEC_HIDDEN;1219 void (WINE_GLAPI *glPixelTransferf)(GLenum pname, GLfloat param) DECLSPEC_HIDDEN;1220 void (WINE_GLAPI *glPixelTransferi)(GLenum pname, GLint param) DECLSPEC_HIDDEN;1221 void (WINE_GLAPI *glPixelZoom)(GLfloat xfactor, GLfloat yfactor) DECLSPEC_HIDDEN;1222 void (WINE_GLAPI *glPointSize)(GLfloat size) DECLSPEC_HIDDEN;1223 void (WINE_GLAPI *glPolygonMode)(GLenum face, GLenum mode) DECLSPEC_HIDDEN;1224 void (WINE_GLAPI *glPolygonOffset)(GLfloat factor, GLfloat units) DECLSPEC_HIDDEN;1225 void (WINE_GLAPI *glPolygonStipple)(const GLubyte *mask) DECLSPEC_HIDDEN;1226 void (WINE_GLAPI *glPopAttrib)(void) DECLSPEC_HIDDEN;1227 void (WINE_GLAPI *glPopClientAttrib)(void) DECLSPEC_HIDDEN;1228 void (WINE_GLAPI *glPopMatrix)(void) DECLSPEC_HIDDEN;1229 void (WINE_GLAPI *glPopName)(void) DECLSPEC_HIDDEN;1230 void (WINE_GLAPI *glPrioritizeTextures)(GLsizei n, const GLuint *textures, const GLclampf *priorities) DECLSPEC_HIDDEN;1231 void (WINE_GLAPI *glPushAttrib)(GLbitfield mask) DECLSPEC_HIDDEN;1232 void (WINE_GLAPI *glPushClientAttrib)(GLbitfield mask) DECLSPEC_HIDDEN;1233 void (WINE_GLAPI *glPushMatrix)(void) DECLSPEC_HIDDEN;1234 void (WINE_GLAPI *glPushName)(GLuint name) DECLSPEC_HIDDEN;1235 void (WINE_GLAPI *glRasterPos2d)(GLdouble x, GLdouble y) DECLSPEC_HIDDEN;1236 void (WINE_GLAPI *glRasterPos2dv)(const GLdouble *v) DECLSPEC_HIDDEN;1237 void (WINE_GLAPI *glRasterPos2f)(GLfloat x, GLfloat y) DECLSPEC_HIDDEN;1238 void (WINE_GLAPI *glRasterPos2fv)(const GLfloat *v) DECLSPEC_HIDDEN;1239 void (WINE_GLAPI *glRasterPos2i)(GLint x, GLint y) DECLSPEC_HIDDEN;1240 void (WINE_GLAPI *glRasterPos2iv)(const GLint *v) DECLSPEC_HIDDEN;1241 void (WINE_GLAPI *glRasterPos2s)(GLshort x, GLshort y) DECLSPEC_HIDDEN;1242 void (WINE_GLAPI *glRasterPos2sv)(const GLshort *v) DECLSPEC_HIDDEN;1243 void (WINE_GLAPI *glRasterPos3d)(GLdouble x, GLdouble y, GLdouble z) DECLSPEC_HIDDEN;1244 void (WINE_GLAPI *glRasterPos3dv)(const GLdouble *v) DECLSPEC_HIDDEN;1245 void (WINE_GLAPI *glRasterPos3f)(GLfloat x, GLfloat y, GLfloat z) DECLSPEC_HIDDEN;1246 void (WINE_GLAPI *glRasterPos3fv)(const GLfloat *v) DECLSPEC_HIDDEN;1247 void (WINE_GLAPI *glRasterPos3i)(GLint x, GLint y, GLint z) DECLSPEC_HIDDEN;1248 void (WINE_GLAPI *glRasterPos3iv)(const GLint *v) DECLSPEC_HIDDEN;1249 void (WINE_GLAPI *glRasterPos3s)(GLshort x, GLshort y, GLshort z) DECLSPEC_HIDDEN;1250 void (WINE_GLAPI *glRasterPos3sv)(const GLshort *v) DECLSPEC_HIDDEN;1251 void (WINE_GLAPI *glRasterPos4d)(GLdouble x, GLdouble y, GLdouble z, GLdouble w) DECLSPEC_HIDDEN;1252 void (WINE_GLAPI *glRasterPos4dv)(const GLdouble *v) DECLSPEC_HIDDEN;1253 void (WINE_GLAPI *glRasterPos4f)(GLfloat x, GLfloat y, GLfloat z, GLfloat w) DECLSPEC_HIDDEN;1254 void (WINE_GLAPI *glRasterPos4fv)(const GLfloat *v) DECLSPEC_HIDDEN;1255 void (WINE_GLAPI *glRasterPos4i)(GLint x, GLint y, GLint z, GLint w) DECLSPEC_HIDDEN;1256 void (WINE_GLAPI *glRasterPos4iv)(const GLint *v) DECLSPEC_HIDDEN;1257 void (WINE_GLAPI *glRasterPos4s)(GLshort x, GLshort y, GLshort z, GLshort w) DECLSPEC_HIDDEN;1258 void (WINE_GLAPI *glRasterPos4sv)(const GLshort *v) DECLSPEC_HIDDEN;1259 void (WINE_GLAPI *glReadBuffer)(GLenum mode) DECLSPEC_HIDDEN;1260 void (WINE_GLAPI *glReadPixels)(GLint x, GLint y, GLsizei width, GLsizei height,1261 GLenum format, GLenum type, GLvoid *pixels) DECLSPEC_HIDDEN;1262 void (WINE_GLAPI *glRectd)(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2) DECLSPEC_HIDDEN;1263 void (WINE_GLAPI *glRectdv)(const GLdouble *v1, const GLdouble *v2) DECLSPEC_HIDDEN;1264 void (WINE_GLAPI *glRectf)(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2) DECLSPEC_HIDDEN;1265 void (WINE_GLAPI *glRectfv)(const GLfloat *v1, const GLfloat *v2) DECLSPEC_HIDDEN;1266 void (WINE_GLAPI *glRecti)(GLint x1, GLint y1, GLint x2, GLint y2) DECLSPEC_HIDDEN;1267 void (WINE_GLAPI *glRectiv)(const GLint *v1, const GLint *v2) DECLSPEC_HIDDEN;1268 void (WINE_GLAPI *glRects)(GLshort x1, GLshort y1, GLshort x2, GLshort y2) DECLSPEC_HIDDEN;1269 void (WINE_GLAPI *glRectsv)(const GLshort *v1, const GLshort *v2) DECLSPEC_HIDDEN;1270 GLint (WINE_GLAPI *glRenderMode)(GLenum mode) DECLSPEC_HIDDEN;1271 void (WINE_GLAPI *glRotated)(GLdouble angle, GLdouble x, GLdouble y, GLdouble z) DECLSPEC_HIDDEN;1272 void (WINE_GLAPI *glRotatef)(GLfloat angle, GLfloat x, GLfloat y, GLfloat z) DECLSPEC_HIDDEN;1273 void (WINE_GLAPI *glScaled)(GLdouble x, GLdouble y, GLdouble z) DECLSPEC_HIDDEN;1274 void (WINE_GLAPI *glScalef)(GLfloat x, GLfloat y, GLfloat z) DECLSPEC_HIDDEN;1275 void (WINE_GLAPI *glScissor)(GLint x, GLint y, GLsizei width, GLsizei height) DECLSPEC_HIDDEN;1276 void (WINE_GLAPI *glSelectBuffer)(GLsizei size, GLuint *buffer) DECLSPEC_HIDDEN;1277 void (WINE_GLAPI *glShadeModel)(GLenum mode) DECLSPEC_HIDDEN;1278 void (WINE_GLAPI *glStencilFunc)(GLenum func, GLint ref, GLuint mask) DECLSPEC_HIDDEN;1279 void (WINE_GLAPI *glStencilMask)(GLuint mask) DECLSPEC_HIDDEN;1280 void (WINE_GLAPI *glStencilOp)(GLenum fail, GLenum zfail, GLenum zpass) DECLSPEC_HIDDEN;1281 void (WINE_GLAPI *glTexCoord1d)(GLdouble s) DECLSPEC_HIDDEN;1282 void (WINE_GLAPI *glTexCoord1dv)(const GLdouble *v) DECLSPEC_HIDDEN;1283 void (WINE_GLAPI *glTexCoord1f)(GLfloat s) DECLSPEC_HIDDEN;1284 void (WINE_GLAPI *glTexCoord1fv)(const GLfloat *v) DECLSPEC_HIDDEN;1285 void (WINE_GLAPI *glTexCoord1i)(GLint s) DECLSPEC_HIDDEN;1286 void (WINE_GLAPI *glTexCoord1iv)(const GLint *v) DECLSPEC_HIDDEN;1287 void (WINE_GLAPI *glTexCoord1s)(GLshort s) DECLSPEC_HIDDEN;1288 void (WINE_GLAPI *glTexCoord1sv)(const GLshort *v) DECLSPEC_HIDDEN;1289 void (WINE_GLAPI *glTexCoord2d)(GLdouble s, GLdouble t) DECLSPEC_HIDDEN;1290 void (WINE_GLAPI *glTexCoord2dv)(const GLdouble *v) DECLSPEC_HIDDEN;1291 void (WINE_GLAPI *glTexCoord2f)(GLfloat s, GLfloat t) DECLSPEC_HIDDEN;1292 void (WINE_GLAPI *glTexCoord2fv)(const GLfloat *v) DECLSPEC_HIDDEN;1293 void (WINE_GLAPI *glTexCoord2i)(GLint s, GLint t) DECLSPEC_HIDDEN;1294 void (WINE_GLAPI *glTexCoord2iv)(const GLint *v) DECLSPEC_HIDDEN;1295 void (WINE_GLAPI *glTexCoord2s)(GLshort s, GLshort t) DECLSPEC_HIDDEN;1296 void (WINE_GLAPI *glTexCoord2sv)(const GLshort *v) DECLSPEC_HIDDEN;1297 void (WINE_GLAPI *glTexCoord3d)(GLdouble s, GLdouble t, GLdouble r) DECLSPEC_HIDDEN;1298 void (WINE_GLAPI *glTexCoord3dv)(const GLdouble *v) DECLSPEC_HIDDEN;1299 void (WINE_GLAPI *glTexCoord3f)(GLfloat s, GLfloat t, GLfloat r) DECLSPEC_HIDDEN;1300 void (WINE_GLAPI *glTexCoord3fv)(const GLfloat *v) DECLSPEC_HIDDEN;1301 void (WINE_GLAPI *glTexCoord3i)(GLint s, GLint t, GLint r) DECLSPEC_HIDDEN;1302 void (WINE_GLAPI *glTexCoord3iv)(const GLint *v) DECLSPEC_HIDDEN;1303 void (WINE_GLAPI *glTexCoord3s)(GLshort s, GLshort t, GLshort r) DECLSPEC_HIDDEN;1304 void (WINE_GLAPI *glTexCoord3sv)(const GLshort *v) DECLSPEC_HIDDEN;1305 void (WINE_GLAPI *glTexCoord4d)(GLdouble s, GLdouble t, GLdouble r, GLdouble q) DECLSPEC_HIDDEN;1306 void (WINE_GLAPI *glTexCoord4dv)(const GLdouble *v) DECLSPEC_HIDDEN;1307 void (WINE_GLAPI *glTexCoord4f)(GLfloat s, GLfloat t, GLfloat r, GLfloat q) DECLSPEC_HIDDEN;1308 void (WINE_GLAPI *glTexCoord4fv)(const GLfloat *v) DECLSPEC_HIDDEN;1309 void (WINE_GLAPI *glTexCoord4i)(GLint s, GLint t, GLint r, GLint q) DECLSPEC_HIDDEN;1310 void (WINE_GLAPI *glTexCoord4iv)(const GLint *v) DECLSPEC_HIDDEN;1311 void (WINE_GLAPI *glTexCoord4s)(GLshort s, GLshort t, GLshort r, GLshort q) DECLSPEC_HIDDEN;1312 void (WINE_GLAPI *glTexCoord4sv)(const GLshort *v) DECLSPEC_HIDDEN;1313 void (WINE_GLAPI *glTexCoordPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) DECLSPEC_HIDDEN;1314 void (WINE_GLAPI *glTexEnvf)(GLenum target, GLenum pname, GLfloat param) DECLSPEC_HIDDEN;1315 void (WINE_GLAPI *glTexEnvfv)(GLenum target, GLenum pname, const GLfloat *params) DECLSPEC_HIDDEN;1316 void (WINE_GLAPI *glTexEnvi)(GLenum target, GLenum pname, GLint param) DECLSPEC_HIDDEN;1317 void (WINE_GLAPI *glTexEnviv)(GLenum target, GLenum pname, const GLint *params) DECLSPEC_HIDDEN;1318 void (WINE_GLAPI *glTexGend)(GLenum coord, GLenum pname, GLdouble param) DECLSPEC_HIDDEN;1319 void (WINE_GLAPI *glTexGendv)(GLenum coord, GLenum pname, const GLdouble *params) DECLSPEC_HIDDEN;1320 void (WINE_GLAPI *glTexGenf)(GLenum coord, GLenum pname, GLfloat param) DECLSPEC_HIDDEN;1321 void (WINE_GLAPI *glTexGenfv)(GLenum coord, GLenum pname, const GLfloat *params) DECLSPEC_HIDDEN;1322 void (WINE_GLAPI *glTexGeni)(GLenum coord, GLenum pname, GLint param) DECLSPEC_HIDDEN;1323 void (WINE_GLAPI *glTexGeniv)(GLenum coord, GLenum pname, const GLint *params) DECLSPEC_HIDDEN;1324 void (WINE_GLAPI *glTexImage1D)(GLenum target, GLint level, GLint internalformat, GLsizei width,1325 GLint border, GLenum format, GLenum type, const GLvoid *pixels) DECLSPEC_HIDDEN;1326 void (WINE_GLAPI *glTexImage2D)(GLenum target, GLint level, GLint internalformat, GLsizei width,1327 GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels) DECLSPEC_HIDDEN;1328 void (WINE_GLAPI *glTexParameterf)(GLenum target, GLenum pname, GLfloat param) DECLSPEC_HIDDEN;1329 void (WINE_GLAPI *glTexParameterfv)(GLenum target, GLenum pname, const GLfloat *params) DECLSPEC_HIDDEN;1330 void (WINE_GLAPI *glTexParameteri)(GLenum target, GLenum pname, GLint param) DECLSPEC_HIDDEN;1331 void (WINE_GLAPI *glTexParameteriv)(GLenum target, GLenum pname, const GLint *params) DECLSPEC_HIDDEN;1332 void (WINE_GLAPI *glTexSubImage1D)(GLenum target, GLint level, GLint xoffset,1333 GLsizei width, GLenum format, GLenum type, const GLvoid *pixels) DECLSPEC_HIDDEN;1334 void (WINE_GLAPI *glTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset,1335 GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) DECLSPEC_HIDDEN;1336 void (WINE_GLAPI *glTranslated)(GLdouble x, GLdouble y, GLdouble z) DECLSPEC_HIDDEN;1337 void (WINE_GLAPI *glTranslatef)(GLfloat x, GLfloat y, GLfloat z) DECLSPEC_HIDDEN;1338 void (WINE_GLAPI *glVertex2d)(GLdouble x, GLdouble y) DECLSPEC_HIDDEN;1339 void (WINE_GLAPI *glVertex2dv)(const GLdouble *v) DECLSPEC_HIDDEN;1340 void (WINE_GLAPI *glVertex2f)(GLfloat x, GLfloat y) DECLSPEC_HIDDEN;1341 void (WINE_GLAPI *glVertex2fv)(const GLfloat *v) DECLSPEC_HIDDEN;1342 void (WINE_GLAPI *glVertex2i)(GLint x, GLint y) DECLSPEC_HIDDEN;1343 void (WINE_GLAPI *glVertex2iv)(const GLint *v) DECLSPEC_HIDDEN;1344 void (WINE_GLAPI *glVertex2s)(GLshort x, GLshort y) DECLSPEC_HIDDEN;1345 void (WINE_GLAPI *glVertex2sv)(const GLshort *v) DECLSPEC_HIDDEN;1346 void (WINE_GLAPI *glVertex3d)(GLdouble x, GLdouble y, GLdouble z) DECLSPEC_HIDDEN;1347 void (WINE_GLAPI *glVertex3dv)(const GLdouble *v) DECLSPEC_HIDDEN;1348 void (WINE_GLAPI *glVertex3f)(GLfloat x, GLfloat y, GLfloat z) DECLSPEC_HIDDEN;1349 void (WINE_GLAPI *glVertex3fv)(const GLfloat *v) DECLSPEC_HIDDEN;1350 void (WINE_GLAPI *glVertex3i)(GLint x, GLint y, GLint z) DECLSPEC_HIDDEN;1351 void (WINE_GLAPI *glVertex3iv)(const GLint *v) DECLSPEC_HIDDEN;1352 void (WINE_GLAPI *glVertex3s)(GLshort x, GLshort y, GLshort z) DECLSPEC_HIDDEN;1353 void (WINE_GLAPI *glVertex3sv)(const GLshort *v) DECLSPEC_HIDDEN;1354 void (WINE_GLAPI *glVertex4d)(GLdouble x, GLdouble y, GLdouble z, GLdouble w) DECLSPEC_HIDDEN;1355 void (WINE_GLAPI *glVertex4dv)(const GLdouble *v) DECLSPEC_HIDDEN;1356 void (WINE_GLAPI *glVertex4f)(GLfloat x, GLfloat y, GLfloat z, GLfloat w) DECLSPEC_HIDDEN;1357 void (WINE_GLAPI *glVertex4fv)(const GLfloat *v) DECLSPEC_HIDDEN;1358 void (WINE_GLAPI *glVertex4i)(GLint x, GLint y, GLint z, GLint w) DECLSPEC_HIDDEN;1359 void (WINE_GLAPI *glVertex4iv)(const GLint *v) DECLSPEC_HIDDEN;1360 void (WINE_GLAPI *glVertex4s)(GLshort x, GLshort y, GLshort z, GLshort w) DECLSPEC_HIDDEN;1361 void (WINE_GLAPI *glVertex4sv)(const GLshort *v) DECLSPEC_HIDDEN;1362 void (WINE_GLAPI *glVertexPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) DECLSPEC_HIDDEN;1363 void (WINE_GLAPI *glViewport)(GLint x, GLint y, GLsizei width, GLsizei height) DECLSPEC_HIDDEN;1364 void (WINE_GLAPI *glPointParameterfv)(GLenum pname, const GLfloat *params) DECLSPEC_HIDDEN;1022 WINED3D_EXTERN void (WINE_GLAPI *glBlendFunc)(GLenum sfactor, GLenum dfactor) DECLSPEC_HIDDEN; 1023 WINED3D_EXTERN void (WINE_GLAPI *glCallList)(GLuint list) DECLSPEC_HIDDEN; 1024 WINED3D_EXTERN void (WINE_GLAPI *glCallLists)(GLsizei n, GLenum type, const GLvoid *lists) DECLSPEC_HIDDEN; 1025 WINED3D_EXTERN void (WINE_GLAPI *glClear)(GLbitfield mask) DECLSPEC_HIDDEN; 1026 WINED3D_EXTERN void (WINE_GLAPI *glClearAccum)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) DECLSPEC_HIDDEN; 1027 WINED3D_EXTERN void (WINE_GLAPI *glClearColor)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) DECLSPEC_HIDDEN; 1028 WINED3D_EXTERN void (WINE_GLAPI *glClearDepth)(GLclampd depth) DECLSPEC_HIDDEN; 1029 WINED3D_EXTERN void (WINE_GLAPI *glClearIndex)(GLfloat c) DECLSPEC_HIDDEN; 1030 WINED3D_EXTERN void (WINE_GLAPI *glClearStencil)(GLint s) DECLSPEC_HIDDEN; 1031 WINED3D_EXTERN void (WINE_GLAPI *glClipPlane)(GLenum plane, const GLdouble *equation) DECLSPEC_HIDDEN; 1032 WINED3D_EXTERN void (WINE_GLAPI *glColor3b)(GLbyte red, GLbyte green, GLbyte blue) DECLSPEC_HIDDEN; 1033 WINED3D_EXTERN void (WINE_GLAPI *glColor3bv)(const GLbyte *v) DECLSPEC_HIDDEN; 1034 WINED3D_EXTERN void (WINE_GLAPI *glColor3d)(GLdouble red, GLdouble green, GLdouble blue) DECLSPEC_HIDDEN; 1035 WINED3D_EXTERN void (WINE_GLAPI *glColor3dv)(const GLdouble *v) DECLSPEC_HIDDEN; 1036 WINED3D_EXTERN void (WINE_GLAPI *glColor3f)(GLfloat red, GLfloat green, GLfloat blue) DECLSPEC_HIDDEN; 1037 WINED3D_EXTERN void (WINE_GLAPI *glColor3fv)(const GLfloat *v) DECLSPEC_HIDDEN; 1038 WINED3D_EXTERN void (WINE_GLAPI *glColor3i)(GLint red, GLint green, GLint blue) DECLSPEC_HIDDEN; 1039 WINED3D_EXTERN void (WINE_GLAPI *glColor3iv)(const GLint *v) DECLSPEC_HIDDEN; 1040 WINED3D_EXTERN void (WINE_GLAPI *glColor3s)(GLshort red, GLshort green, GLshort blue) DECLSPEC_HIDDEN; 1041 WINED3D_EXTERN void (WINE_GLAPI *glColor3sv)(const GLshort *v) DECLSPEC_HIDDEN; 1042 WINED3D_EXTERN void (WINE_GLAPI *glColor3ub)(GLubyte red, GLubyte green, GLubyte blue) DECLSPEC_HIDDEN; 1043 WINED3D_EXTERN void (WINE_GLAPI *glColor3ubv)(const GLubyte *v) DECLSPEC_HIDDEN; 1044 WINED3D_EXTERN void (WINE_GLAPI *glColor3ui)(GLuint red, GLuint green, GLuint blue) DECLSPEC_HIDDEN; 1045 WINED3D_EXTERN void (WINE_GLAPI *glColor3uiv)(const GLuint *v) DECLSPEC_HIDDEN; 1046 WINED3D_EXTERN void (WINE_GLAPI *glColor3us)(GLushort red, GLushort green, GLushort blue) DECLSPEC_HIDDEN; 1047 WINED3D_EXTERN void (WINE_GLAPI *glColor3usv)(const GLushort *v) DECLSPEC_HIDDEN; 1048 WINED3D_EXTERN void (WINE_GLAPI *glColor4b)(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha) DECLSPEC_HIDDEN; 1049 WINED3D_EXTERN void (WINE_GLAPI *glColor4bv)(const GLbyte *v) DECLSPEC_HIDDEN; 1050 WINED3D_EXTERN void (WINE_GLAPI *glColor4d)(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha) DECLSPEC_HIDDEN; 1051 WINED3D_EXTERN void (WINE_GLAPI *glColor4dv)(const GLdouble *v) DECLSPEC_HIDDEN; 1052 WINED3D_EXTERN void (WINE_GLAPI *glColor4f)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) DECLSPEC_HIDDEN; 1053 WINED3D_EXTERN void (WINE_GLAPI *glColor4fv)(const GLfloat *v) DECLSPEC_HIDDEN; 1054 WINED3D_EXTERN void (WINE_GLAPI *glColor4i)(GLint red, GLint green, GLint blue, GLint alpha) DECLSPEC_HIDDEN; 1055 WINED3D_EXTERN void (WINE_GLAPI *glColor4iv)(const GLint *v) DECLSPEC_HIDDEN; 1056 WINED3D_EXTERN void (WINE_GLAPI *glColor4s)(GLshort red, GLshort green, GLshort blue, GLshort alpha) DECLSPEC_HIDDEN; 1057 WINED3D_EXTERN void (WINE_GLAPI *glColor4sv)(const GLshort *v) DECLSPEC_HIDDEN; 1058 WINED3D_EXTERN void (WINE_GLAPI *glColor4ub)(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) DECLSPEC_HIDDEN; 1059 WINED3D_EXTERN void (WINE_GLAPI *glColor4ubv)(const GLubyte *v) DECLSPEC_HIDDEN; 1060 WINED3D_EXTERN void (WINE_GLAPI *glColor4ui)(GLuint red, GLuint green, GLuint blue, GLuint alpha) DECLSPEC_HIDDEN; 1061 WINED3D_EXTERN void (WINE_GLAPI *glColor4uiv)(const GLuint *v) DECLSPEC_HIDDEN; 1062 WINED3D_EXTERN void (WINE_GLAPI *glColor4us)(GLushort red, GLushort green, GLushort blue, GLushort alpha) DECLSPEC_HIDDEN; 1063 WINED3D_EXTERN void (WINE_GLAPI *glColor4usv)(const GLushort *v) DECLSPEC_HIDDEN; 1064 WINED3D_EXTERN void (WINE_GLAPI *glColorMask)(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) DECLSPEC_HIDDEN; 1065 WINED3D_EXTERN void (WINE_GLAPI *glColorMaterial)(GLenum face, GLenum mode) DECLSPEC_HIDDEN; 1066 WINED3D_EXTERN void (WINE_GLAPI *glColorPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) DECLSPEC_HIDDEN; 1067 WINED3D_EXTERN void (WINE_GLAPI *glCopyPixels)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type) DECLSPEC_HIDDEN; 1068 WINED3D_EXTERN void (WINE_GLAPI *glCopyTexImage1D)(GLenum target, GLint level, 1069 GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) DECLSPEC_HIDDEN; 1070 WINED3D_EXTERN void (WINE_GLAPI *glCopyTexImage2D)(GLenum target, GLint level, 1071 GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) DECLSPEC_HIDDEN; 1072 WINED3D_EXTERN void (WINE_GLAPI *glCopyTexSubImage1D)(GLenum target, GLint level, 1073 GLint xoffset, GLint x, GLint y, GLsizei width) DECLSPEC_HIDDEN; 1074 WINED3D_EXTERN void (WINE_GLAPI *glCopyTexSubImage2D)(GLenum target, GLint level, 1075 GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) DECLSPEC_HIDDEN; 1076 WINED3D_EXTERN void (WINE_GLAPI *glCullFace)(GLenum mode) DECLSPEC_HIDDEN; 1077 WINED3D_EXTERN void (WINE_GLAPI *glDeleteLists)(GLuint list, GLsizei range) DECLSPEC_HIDDEN; 1078 WINED3D_EXTERN void (WINE_GLAPI *glDeleteTextures)(GLsizei n, const GLuint *textures) DECLSPEC_HIDDEN; 1079 WINED3D_EXTERN void (WINE_GLAPI *glDepthFunc)(GLenum func) DECLSPEC_HIDDEN; 1080 WINED3D_EXTERN void (WINE_GLAPI *glDepthMask)(GLboolean flag) DECLSPEC_HIDDEN; 1081 WINED3D_EXTERN void (WINE_GLAPI *glDepthRange)(GLclampd nearParam, GLclampd farParam) DECLSPEC_HIDDEN; 1082 WINED3D_EXTERN void (WINE_GLAPI *glDisable)(GLenum cap) DECLSPEC_HIDDEN; 1083 WINED3D_EXTERN void (WINE_GLAPI *glDisableWINE)(GLenum cap) DECLSPEC_HIDDEN; 1084 WINED3D_EXTERN void (WINE_GLAPI *glDisableClientState)(GLenum array) DECLSPEC_HIDDEN; 1085 WINED3D_EXTERN void (WINE_GLAPI *glDrawArrays)(GLenum mode, GLint first, GLsizei count) DECLSPEC_HIDDEN; 1086 WINED3D_EXTERN void (WINE_GLAPI *glDrawBuffer)(GLenum mode) DECLSPEC_HIDDEN; 1087 WINED3D_EXTERN void (WINE_GLAPI *glDrawElements)(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) DECLSPEC_HIDDEN; 1088 WINED3D_EXTERN void (WINE_GLAPI *glDrawPixels)(GLsizei width, GLsizei height, GLenum format, 1089 GLenum type, const GLvoid *pixels) DECLSPEC_HIDDEN; 1090 WINED3D_EXTERN void (WINE_GLAPI *glEdgeFlag)(GLboolean flag) DECLSPEC_HIDDEN; 1091 WINED3D_EXTERN void (WINE_GLAPI *glEdgeFlagPointer)(GLsizei stride, const GLvoid *pointer) DECLSPEC_HIDDEN; 1092 WINED3D_EXTERN void (WINE_GLAPI *glEdgeFlagv)(const GLboolean *flag) DECLSPEC_HIDDEN; 1093 WINED3D_EXTERN void (WINE_GLAPI *glEnable)(GLenum cap) DECLSPEC_HIDDEN; 1094 WINED3D_EXTERN void (WINE_GLAPI *glEnableWINE)(GLenum cap) DECLSPEC_HIDDEN; 1095 WINED3D_EXTERN void (WINE_GLAPI *glEnableClientState)(GLenum array) DECLSPEC_HIDDEN; 1096 WINED3D_EXTERN void (WINE_GLAPI *glEnd)(void) DECLSPEC_HIDDEN; 1097 WINED3D_EXTERN void (WINE_GLAPI *glEndList)(void) DECLSPEC_HIDDEN; 1098 WINED3D_EXTERN void (WINE_GLAPI *glEvalCoord1d)(GLdouble u) DECLSPEC_HIDDEN; 1099 WINED3D_EXTERN void (WINE_GLAPI *glEvalCoord1dv)(const GLdouble *u) DECLSPEC_HIDDEN; 1100 WINED3D_EXTERN void (WINE_GLAPI *glEvalCoord1f)(GLfloat u) DECLSPEC_HIDDEN; 1101 WINED3D_EXTERN void (WINE_GLAPI *glEvalCoord1fv)(const GLfloat *u) DECLSPEC_HIDDEN; 1102 WINED3D_EXTERN void (WINE_GLAPI *glEvalCoord2d)(GLdouble u, GLdouble v) DECLSPEC_HIDDEN; 1103 WINED3D_EXTERN void (WINE_GLAPI *glEvalCoord2dv)(const GLdouble *u) DECLSPEC_HIDDEN; 1104 WINED3D_EXTERN void (WINE_GLAPI *glEvalCoord2f)(GLfloat u, GLfloat v) DECLSPEC_HIDDEN; 1105 WINED3D_EXTERN void (WINE_GLAPI *glEvalCoord2fv)(const GLfloat *u) DECLSPEC_HIDDEN; 1106 WINED3D_EXTERN void (WINE_GLAPI *glEvalMesh1)(GLenum mode, GLint i1, GLint i2) DECLSPEC_HIDDEN; 1107 WINED3D_EXTERN void (WINE_GLAPI *glEvalMesh2)(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2) DECLSPEC_HIDDEN; 1108 WINED3D_EXTERN void (WINE_GLAPI *glEvalPoint1)(GLint i) DECLSPEC_HIDDEN; 1109 WINED3D_EXTERN void (WINE_GLAPI *glEvalPoint2)(GLint i, GLint j) DECLSPEC_HIDDEN; 1110 WINED3D_EXTERN void (WINE_GLAPI *glFeedbackBuffer)(GLsizei size, GLenum type, GLfloat *buffer) DECLSPEC_HIDDEN; 1111 WINED3D_EXTERN void (WINE_GLAPI *glFogf)(GLenum pname, GLfloat param) DECLSPEC_HIDDEN; 1112 WINED3D_EXTERN void (WINE_GLAPI *glFogfv)(GLenum pname, const GLfloat *params) DECLSPEC_HIDDEN; 1113 WINED3D_EXTERN void (WINE_GLAPI *glFogi)(GLenum pname, GLint param) DECLSPEC_HIDDEN; 1114 WINED3D_EXTERN void (WINE_GLAPI *glFogiv)(GLenum pname, const GLint *params) DECLSPEC_HIDDEN; 1115 WINED3D_EXTERN void (WINE_GLAPI *glFrontFace)(GLenum mode) DECLSPEC_HIDDEN; 1116 WINED3D_EXTERN void (WINE_GLAPI *glFrustum)(GLdouble left, GLdouble right, GLdouble bottom, 1117 GLdouble top, GLdouble zNear, GLdouble zFar) DECLSPEC_HIDDEN; 1118 WINED3D_EXTERN GLuint (WINE_GLAPI *glGenLists)(GLsizei range) DECLSPEC_HIDDEN; 1119 WINED3D_EXTERN void (WINE_GLAPI *glGenTextures)(GLsizei n, GLuint *textures) DECLSPEC_HIDDEN; 1120 WINED3D_EXTERN void (WINE_GLAPI *glGetBooleanv)(GLenum pname, GLboolean *params) DECLSPEC_HIDDEN; 1121 WINED3D_EXTERN void (WINE_GLAPI *glGetClipPlane)(GLenum plane, GLdouble *equation) DECLSPEC_HIDDEN; 1122 WINED3D_EXTERN void (WINE_GLAPI *glGetDoublev)(GLenum pname, GLdouble *params) DECLSPEC_HIDDEN; 1123 WINED3D_EXTERN GLenum (WINE_GLAPI *glGetError)(void) DECLSPEC_HIDDEN; 1124 WINED3D_EXTERN void (WINE_GLAPI *glGetFloatv)(GLenum pname, GLfloat *params) DECLSPEC_HIDDEN; 1125 WINED3D_EXTERN void (WINE_GLAPI *glGetIntegerv)(GLenum pname, GLint *params) DECLSPEC_HIDDEN; 1126 WINED3D_EXTERN void (WINE_GLAPI *glGetLightfv)(GLenum light, GLenum pname, GLfloat *params) DECLSPEC_HIDDEN; 1127 WINED3D_EXTERN void (WINE_GLAPI *glGetLightiv)(GLenum light, GLenum pname, GLint *params) DECLSPEC_HIDDEN; 1128 WINED3D_EXTERN void (WINE_GLAPI *glGetMapdv)(GLenum target, GLenum query, GLdouble *v) DECLSPEC_HIDDEN; 1129 WINED3D_EXTERN void (WINE_GLAPI *glGetMapfv)(GLenum target, GLenum query, GLfloat *v) DECLSPEC_HIDDEN; 1130 WINED3D_EXTERN void (WINE_GLAPI *glGetMapiv)(GLenum target, GLenum query, GLint *v) DECLSPEC_HIDDEN; 1131 WINED3D_EXTERN void (WINE_GLAPI *glGetMaterialfv)(GLenum face, GLenum pname, GLfloat *params) DECLSPEC_HIDDEN; 1132 WINED3D_EXTERN void (WINE_GLAPI *glGetMaterialiv)(GLenum face, GLenum pname, GLint *params) DECLSPEC_HIDDEN; 1133 WINED3D_EXTERN void (WINE_GLAPI *glGetPixelMapfv)(GLenum map, GLfloat *values) DECLSPEC_HIDDEN; 1134 WINED3D_EXTERN void (WINE_GLAPI *glGetPixelMapuiv)(GLenum map, GLuint *values) DECLSPEC_HIDDEN; 1135 WINED3D_EXTERN void (WINE_GLAPI *glGetPixelMapusv)(GLenum map, GLushort *values) DECLSPEC_HIDDEN; 1136 WINED3D_EXTERN void (WINE_GLAPI *glGetPointerv)(GLenum pname, GLvoid **params) DECLSPEC_HIDDEN; 1137 WINED3D_EXTERN void (WINE_GLAPI *glGetPolygonStipple)(GLubyte *mask) DECLSPEC_HIDDEN; 1138 WINED3D_EXTERN const GLubyte * (WINE_GLAPI *glGetString)(GLenum name) DECLSPEC_HIDDEN; 1139 WINED3D_EXTERN void (WINE_GLAPI *glGetTexEnvfv)(GLenum target, GLenum pname, GLfloat *params) DECLSPEC_HIDDEN; 1140 WINED3D_EXTERN void (WINE_GLAPI *glGetTexEnviv)(GLenum target, GLenum pname, GLint *params) DECLSPEC_HIDDEN; 1141 WINED3D_EXTERN void (WINE_GLAPI *glGetTexGendv)(GLenum coord, GLenum pname, GLdouble *params) DECLSPEC_HIDDEN; 1142 WINED3D_EXTERN void (WINE_GLAPI *glGetTexGenfv)(GLenum coord, GLenum pname, GLfloat *params) DECLSPEC_HIDDEN; 1143 WINED3D_EXTERN void (WINE_GLAPI *glGetTexGeniv)(GLenum coord, GLenum pname, GLint *params) DECLSPEC_HIDDEN; 1144 WINED3D_EXTERN void (WINE_GLAPI *glGetTexImage)(GLenum target, GLint level, GLenum format, 1145 GLenum type, GLvoid *pixels) DECLSPEC_HIDDEN; 1146 WINED3D_EXTERN void (WINE_GLAPI *glGetTexLevelParameterfv)(GLenum target, GLint level, GLenum pname, GLfloat *params) DECLSPEC_HIDDEN; 1147 WINED3D_EXTERN void (WINE_GLAPI *glGetTexLevelParameteriv)(GLenum target, GLint level, GLenum pname, GLint *params) DECLSPEC_HIDDEN; 1148 WINED3D_EXTERN void (WINE_GLAPI *glGetTexParameterfv)(GLenum target, GLenum pname, GLfloat *params) DECLSPEC_HIDDEN; 1149 WINED3D_EXTERN void (WINE_GLAPI *glGetTexParameteriv)(GLenum target, GLenum pname, GLint *params) DECLSPEC_HIDDEN; 1150 WINED3D_EXTERN void (WINE_GLAPI *glHint)(GLenum target, GLenum mode) DECLSPEC_HIDDEN; 1151 WINED3D_EXTERN void (WINE_GLAPI *glIndexMask)(GLuint mask) DECLSPEC_HIDDEN; 1152 WINED3D_EXTERN void (WINE_GLAPI *glIndexPointer)(GLenum type, GLsizei stride, const GLvoid *pointer) DECLSPEC_HIDDEN; 1153 WINED3D_EXTERN void (WINE_GLAPI *glIndexd)(GLdouble c) DECLSPEC_HIDDEN; 1154 WINED3D_EXTERN void (WINE_GLAPI *glIndexdv)(const GLdouble *c) DECLSPEC_HIDDEN; 1155 WINED3D_EXTERN void (WINE_GLAPI *glIndexf)(GLfloat c) DECLSPEC_HIDDEN; 1156 WINED3D_EXTERN void (WINE_GLAPI *glIndexfv)(const GLfloat *c) DECLSPEC_HIDDEN; 1157 WINED3D_EXTERN void (WINE_GLAPI *glIndexi)(GLint c) DECLSPEC_HIDDEN; 1158 WINED3D_EXTERN void (WINE_GLAPI *glIndexiv)(const GLint *c) DECLSPEC_HIDDEN; 1159 WINED3D_EXTERN void (WINE_GLAPI *glIndexs)(GLshort c) DECLSPEC_HIDDEN; 1160 WINED3D_EXTERN void (WINE_GLAPI *glIndexsv)(const GLshort *c) DECLSPEC_HIDDEN; 1161 WINED3D_EXTERN void (WINE_GLAPI *glIndexub)(GLubyte c) DECLSPEC_HIDDEN; 1162 WINED3D_EXTERN void (WINE_GLAPI *glIndexubv)(const GLubyte *c) DECLSPEC_HIDDEN; 1163 WINED3D_EXTERN void (WINE_GLAPI *glInitNames)(void) DECLSPEC_HIDDEN; 1164 WINED3D_EXTERN void (WINE_GLAPI *glInterleavedArrays)(GLenum format, GLsizei stride, const GLvoid *pointer) DECLSPEC_HIDDEN; 1165 WINED3D_EXTERN GLboolean (WINE_GLAPI *glIsEnabled)(GLenum cap) DECLSPEC_HIDDEN; 1166 WINED3D_EXTERN GLboolean (WINE_GLAPI *glIsList)(GLuint list) DECLSPEC_HIDDEN; 1167 WINED3D_EXTERN GLboolean (WINE_GLAPI *glIsTexture)(GLuint texture) DECLSPEC_HIDDEN; 1168 WINED3D_EXTERN void (WINE_GLAPI *glLightModelf)(GLenum pname, GLfloat param) DECLSPEC_HIDDEN; 1169 WINED3D_EXTERN void (WINE_GLAPI *glLightModelfv)(GLenum pname, const GLfloat *params) DECLSPEC_HIDDEN; 1170 WINED3D_EXTERN void (WINE_GLAPI *glLightModeli)(GLenum pname, GLint param) DECLSPEC_HIDDEN; 1171 WINED3D_EXTERN void (WINE_GLAPI *glLightModeliv)(GLenum pname, const GLint *params) DECLSPEC_HIDDEN; 1172 WINED3D_EXTERN void (WINE_GLAPI *glLightf)(GLenum light, GLenum pname, GLfloat param) DECLSPEC_HIDDEN; 1173 WINED3D_EXTERN void (WINE_GLAPI *glLightfv)(GLenum light, GLenum pname, const GLfloat *params) DECLSPEC_HIDDEN; 1174 WINED3D_EXTERN void (WINE_GLAPI *glLighti)(GLenum light, GLenum pname, GLint param) DECLSPEC_HIDDEN; 1175 WINED3D_EXTERN void (WINE_GLAPI *glLightiv)(GLenum light, GLenum pname, const GLint *params) DECLSPEC_HIDDEN; 1176 WINED3D_EXTERN void (WINE_GLAPI *glLineStipple)(GLint factor, GLushort pattern) DECLSPEC_HIDDEN; 1177 WINED3D_EXTERN void (WINE_GLAPI *glLineWidth)(GLfloat width) DECLSPEC_HIDDEN; 1178 WINED3D_EXTERN void (WINE_GLAPI *glListBase)(GLuint base) DECLSPEC_HIDDEN; 1179 WINED3D_EXTERN void (WINE_GLAPI *glLoadIdentity)(void) DECLSPEC_HIDDEN; 1180 WINED3D_EXTERN void (WINE_GLAPI *glLoadMatrixd)(const GLdouble *m) DECLSPEC_HIDDEN; 1181 WINED3D_EXTERN void (WINE_GLAPI *glLoadMatrixf)(const GLfloat *m) DECLSPEC_HIDDEN; 1182 WINED3D_EXTERN void (WINE_GLAPI *glLoadName)(GLuint name) DECLSPEC_HIDDEN; 1183 WINED3D_EXTERN void (WINE_GLAPI *glLogicOp)(GLenum opcode) DECLSPEC_HIDDEN; 1184 WINED3D_EXTERN void (WINE_GLAPI *glMap1d)(GLenum target, GLdouble u1, GLdouble u2, 1185 GLint stride, GLint order, const GLdouble *points) DECLSPEC_HIDDEN; 1186 WINED3D_EXTERN void (WINE_GLAPI *glMap1f)(GLenum target, GLfloat u1, GLfloat u2, GLint stride, 1187 GLint order, const GLfloat *points) DECLSPEC_HIDDEN; 1188 WINED3D_EXTERN void (WINE_GLAPI *glMap2d)(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, 1189 GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points) DECLSPEC_HIDDEN; 1190 WINED3D_EXTERN void (WINE_GLAPI *glMap2f)(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, 1191 GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points) DECLSPEC_HIDDEN; 1192 WINED3D_EXTERN void (WINE_GLAPI *glMapGrid1d)(GLint un, GLdouble u1, GLdouble u2) DECLSPEC_HIDDEN; 1193 WINED3D_EXTERN void (WINE_GLAPI *glMapGrid1f)(GLint un, GLfloat u1, GLfloat u2) DECLSPEC_HIDDEN; 1194 WINED3D_EXTERN void (WINE_GLAPI *glMapGrid2d)(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2) DECLSPEC_HIDDEN; 1195 WINED3D_EXTERN void (WINE_GLAPI *glMapGrid2f)(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2) DECLSPEC_HIDDEN; 1196 WINED3D_EXTERN void (WINE_GLAPI *glMaterialf)(GLenum face, GLenum pname, GLfloat param) DECLSPEC_HIDDEN; 1197 WINED3D_EXTERN void (WINE_GLAPI *glMaterialfv)(GLenum face, GLenum pname, const GLfloat *params) DECLSPEC_HIDDEN; 1198 WINED3D_EXTERN void (WINE_GLAPI *glMateriali)(GLenum face, GLenum pname, GLint param) DECLSPEC_HIDDEN; 1199 WINED3D_EXTERN void (WINE_GLAPI *glMaterialiv)(GLenum face, GLenum pname, const GLint *params) DECLSPEC_HIDDEN; 1200 WINED3D_EXTERN void (WINE_GLAPI *glMatrixMode)(GLenum mode) DECLSPEC_HIDDEN; 1201 WINED3D_EXTERN void (WINE_GLAPI *glMultMatrixd)(const GLdouble *m) DECLSPEC_HIDDEN; 1202 WINED3D_EXTERN void (WINE_GLAPI *glMultMatrixf)(const GLfloat *m) DECLSPEC_HIDDEN; 1203 WINED3D_EXTERN void (WINE_GLAPI *glNewList)(GLuint list, GLenum mode) DECLSPEC_HIDDEN; 1204 WINED3D_EXTERN void (WINE_GLAPI *glNormal3b)(GLbyte nx, GLbyte ny, GLbyte nz) DECLSPEC_HIDDEN; 1205 WINED3D_EXTERN void (WINE_GLAPI *glNormal3bv)(const GLbyte *v) DECLSPEC_HIDDEN; 1206 WINED3D_EXTERN void (WINE_GLAPI *glNormal3d)(GLdouble nx, GLdouble ny, GLdouble nz) DECLSPEC_HIDDEN; 1207 WINED3D_EXTERN void (WINE_GLAPI *glNormal3dv)(const GLdouble *v) DECLSPEC_HIDDEN; 1208 WINED3D_EXTERN void (WINE_GLAPI *glNormal3f)(GLfloat nx, GLfloat ny, GLfloat nz) DECLSPEC_HIDDEN; 1209 WINED3D_EXTERN void (WINE_GLAPI *glNormal3fv)(const GLfloat *v) DECLSPEC_HIDDEN; 1210 WINED3D_EXTERN void (WINE_GLAPI *glNormal3i)(GLint nx, GLint ny, GLint nz) DECLSPEC_HIDDEN; 1211 WINED3D_EXTERN void (WINE_GLAPI *glNormal3iv)(const GLint *v) DECLSPEC_HIDDEN; 1212 WINED3D_EXTERN void (WINE_GLAPI *glNormal3s)(GLshort nx, GLshort ny, GLshort nz) DECLSPEC_HIDDEN; 1213 WINED3D_EXTERN void (WINE_GLAPI *glNormal3sv)(const GLshort *v) DECLSPEC_HIDDEN; 1214 WINED3D_EXTERN void (WINE_GLAPI *glNormalPointer)(GLenum type, GLsizei stride, const GLvoid *pointer) DECLSPEC_HIDDEN; 1215 WINED3D_EXTERN void (WINE_GLAPI *glOrtho)(GLdouble left, GLdouble right, GLdouble bottom, 1216 GLdouble top, GLdouble zNear, GLdouble zFar) DECLSPEC_HIDDEN; 1217 WINED3D_EXTERN void (WINE_GLAPI *glPassThrough)(GLfloat token) DECLSPEC_HIDDEN; 1218 WINED3D_EXTERN void (WINE_GLAPI *glPixelMapfv)(GLenum map, GLint mapsize, const GLfloat *values) DECLSPEC_HIDDEN; 1219 WINED3D_EXTERN void (WINE_GLAPI *glPixelMapuiv)(GLenum map, GLint mapsize, const GLuint *values) DECLSPEC_HIDDEN; 1220 WINED3D_EXTERN void (WINE_GLAPI *glPixelMapusv)(GLenum map, GLint mapsize, const GLushort *values) DECLSPEC_HIDDEN; 1221 WINED3D_EXTERN void (WINE_GLAPI *glPixelStoref)(GLenum pname, GLfloat param) DECLSPEC_HIDDEN; 1222 WINED3D_EXTERN void (WINE_GLAPI *glPixelStorei)(GLenum pname, GLint param) DECLSPEC_HIDDEN; 1223 WINED3D_EXTERN void (WINE_GLAPI *glPixelTransferf)(GLenum pname, GLfloat param) DECLSPEC_HIDDEN; 1224 WINED3D_EXTERN void (WINE_GLAPI *glPixelTransferi)(GLenum pname, GLint param) DECLSPEC_HIDDEN; 1225 WINED3D_EXTERN void (WINE_GLAPI *glPixelZoom)(GLfloat xfactor, GLfloat yfactor) DECLSPEC_HIDDEN; 1226 WINED3D_EXTERN void (WINE_GLAPI *glPointSize)(GLfloat size) DECLSPEC_HIDDEN; 1227 WINED3D_EXTERN void (WINE_GLAPI *glPolygonMode)(GLenum face, GLenum mode) DECLSPEC_HIDDEN; 1228 WINED3D_EXTERN void (WINE_GLAPI *glPolygonOffset)(GLfloat factor, GLfloat units) DECLSPEC_HIDDEN; 1229 WINED3D_EXTERN void (WINE_GLAPI *glPolygonStipple)(const GLubyte *mask) DECLSPEC_HIDDEN; 1230 WINED3D_EXTERN void (WINE_GLAPI *glPopAttrib)(void) DECLSPEC_HIDDEN; 1231 WINED3D_EXTERN void (WINE_GLAPI *glPopClientAttrib)(void) DECLSPEC_HIDDEN; 1232 WINED3D_EXTERN void (WINE_GLAPI *glPopMatrix)(void) DECLSPEC_HIDDEN; 1233 WINED3D_EXTERN void (WINE_GLAPI *glPopName)(void) DECLSPEC_HIDDEN; 1234 WINED3D_EXTERN void (WINE_GLAPI *glPrioritizeTextures)(GLsizei n, const GLuint *textures, const GLclampf *priorities) DECLSPEC_HIDDEN; 1235 WINED3D_EXTERN void (WINE_GLAPI *glPushAttrib)(GLbitfield mask) DECLSPEC_HIDDEN; 1236 WINED3D_EXTERN void (WINE_GLAPI *glPushClientAttrib)(GLbitfield mask) DECLSPEC_HIDDEN; 1237 WINED3D_EXTERN void (WINE_GLAPI *glPushMatrix)(void) DECLSPEC_HIDDEN; 1238 WINED3D_EXTERN void (WINE_GLAPI *glPushName)(GLuint name) DECLSPEC_HIDDEN; 1239 WINED3D_EXTERN void (WINE_GLAPI *glRasterPos2d)(GLdouble x, GLdouble y) DECLSPEC_HIDDEN; 1240 WINED3D_EXTERN void (WINE_GLAPI *glRasterPos2dv)(const GLdouble *v) DECLSPEC_HIDDEN; 1241 WINED3D_EXTERN void (WINE_GLAPI *glRasterPos2f)(GLfloat x, GLfloat y) DECLSPEC_HIDDEN; 1242 WINED3D_EXTERN void (WINE_GLAPI *glRasterPos2fv)(const GLfloat *v) DECLSPEC_HIDDEN; 1243 WINED3D_EXTERN void (WINE_GLAPI *glRasterPos2i)(GLint x, GLint y) DECLSPEC_HIDDEN; 1244 WINED3D_EXTERN void (WINE_GLAPI *glRasterPos2iv)(const GLint *v) DECLSPEC_HIDDEN; 1245 WINED3D_EXTERN void (WINE_GLAPI *glRasterPos2s)(GLshort x, GLshort y) DECLSPEC_HIDDEN; 1246 WINED3D_EXTERN void (WINE_GLAPI *glRasterPos2sv)(const GLshort *v) DECLSPEC_HIDDEN; 1247 WINED3D_EXTERN void (WINE_GLAPI *glRasterPos3d)(GLdouble x, GLdouble y, GLdouble z) DECLSPEC_HIDDEN; 1248 WINED3D_EXTERN void (WINE_GLAPI *glRasterPos3dv)(const GLdouble *v) DECLSPEC_HIDDEN; 1249 WINED3D_EXTERN void (WINE_GLAPI *glRasterPos3f)(GLfloat x, GLfloat y, GLfloat z) DECLSPEC_HIDDEN; 1250 WINED3D_EXTERN void (WINE_GLAPI *glRasterPos3fv)(const GLfloat *v) DECLSPEC_HIDDEN; 1251 WINED3D_EXTERN void (WINE_GLAPI *glRasterPos3i)(GLint x, GLint y, GLint z) DECLSPEC_HIDDEN; 1252 WINED3D_EXTERN void (WINE_GLAPI *glRasterPos3iv)(const GLint *v) DECLSPEC_HIDDEN; 1253 WINED3D_EXTERN void (WINE_GLAPI *glRasterPos3s)(GLshort x, GLshort y, GLshort z) DECLSPEC_HIDDEN; 1254 WINED3D_EXTERN void (WINE_GLAPI *glRasterPos3sv)(const GLshort *v) DECLSPEC_HIDDEN; 1255 WINED3D_EXTERN void (WINE_GLAPI *glRasterPos4d)(GLdouble x, GLdouble y, GLdouble z, GLdouble w) DECLSPEC_HIDDEN; 1256 WINED3D_EXTERN void (WINE_GLAPI *glRasterPos4dv)(const GLdouble *v) DECLSPEC_HIDDEN; 1257 WINED3D_EXTERN void (WINE_GLAPI *glRasterPos4f)(GLfloat x, GLfloat y, GLfloat z, GLfloat w) DECLSPEC_HIDDEN; 1258 WINED3D_EXTERN void (WINE_GLAPI *glRasterPos4fv)(const GLfloat *v) DECLSPEC_HIDDEN; 1259 WINED3D_EXTERN void (WINE_GLAPI *glRasterPos4i)(GLint x, GLint y, GLint z, GLint w) DECLSPEC_HIDDEN; 1260 WINED3D_EXTERN void (WINE_GLAPI *glRasterPos4iv)(const GLint *v) DECLSPEC_HIDDEN; 1261 WINED3D_EXTERN void (WINE_GLAPI *glRasterPos4s)(GLshort x, GLshort y, GLshort z, GLshort w) DECLSPEC_HIDDEN; 1262 WINED3D_EXTERN void (WINE_GLAPI *glRasterPos4sv)(const GLshort *v) DECLSPEC_HIDDEN; 1263 WINED3D_EXTERN void (WINE_GLAPI *glReadBuffer)(GLenum mode) DECLSPEC_HIDDEN; 1264 WINED3D_EXTERN void (WINE_GLAPI *glReadPixels)(GLint x, GLint y, GLsizei width, GLsizei height, 1265 GLenum format, GLenum type, GLvoid *pixels) DECLSPEC_HIDDEN; 1266 WINED3D_EXTERN void (WINE_GLAPI *glRectd)(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2) DECLSPEC_HIDDEN; 1267 WINED3D_EXTERN void (WINE_GLAPI *glRectdv)(const GLdouble *v1, const GLdouble *v2) DECLSPEC_HIDDEN; 1268 WINED3D_EXTERN void (WINE_GLAPI *glRectf)(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2) DECLSPEC_HIDDEN; 1269 WINED3D_EXTERN void (WINE_GLAPI *glRectfv)(const GLfloat *v1, const GLfloat *v2) DECLSPEC_HIDDEN; 1270 WINED3D_EXTERN void (WINE_GLAPI *glRecti)(GLint x1, GLint y1, GLint x2, GLint y2) DECLSPEC_HIDDEN; 1271 WINED3D_EXTERN void (WINE_GLAPI *glRectiv)(const GLint *v1, const GLint *v2) DECLSPEC_HIDDEN; 1272 WINED3D_EXTERN void (WINE_GLAPI *glRects)(GLshort x1, GLshort y1, GLshort x2, GLshort y2) DECLSPEC_HIDDEN; 1273 WINED3D_EXTERN void (WINE_GLAPI *glRectsv)(const GLshort *v1, const GLshort *v2) DECLSPEC_HIDDEN; 1274 WINED3D_EXTERN GLint (WINE_GLAPI *glRenderMode)(GLenum mode) DECLSPEC_HIDDEN; 1275 WINED3D_EXTERN void (WINE_GLAPI *glRotated)(GLdouble angle, GLdouble x, GLdouble y, GLdouble z) DECLSPEC_HIDDEN; 1276 WINED3D_EXTERN void (WINE_GLAPI *glRotatef)(GLfloat angle, GLfloat x, GLfloat y, GLfloat z) DECLSPEC_HIDDEN; 1277 WINED3D_EXTERN void (WINE_GLAPI *glScaled)(GLdouble x, GLdouble y, GLdouble z) DECLSPEC_HIDDEN; 1278 WINED3D_EXTERN void (WINE_GLAPI *glScalef)(GLfloat x, GLfloat y, GLfloat z) DECLSPEC_HIDDEN; 1279 WINED3D_EXTERN void (WINE_GLAPI *glScissor)(GLint x, GLint y, GLsizei width, GLsizei height) DECLSPEC_HIDDEN; 1280 WINED3D_EXTERN void (WINE_GLAPI *glSelectBuffer)(GLsizei size, GLuint *buffer) DECLSPEC_HIDDEN; 1281 WINED3D_EXTERN void (WINE_GLAPI *glShadeModel)(GLenum mode) DECLSPEC_HIDDEN; 1282 WINED3D_EXTERN void (WINE_GLAPI *glStencilFunc)(GLenum func, GLint ref, GLuint mask) DECLSPEC_HIDDEN; 1283 WINED3D_EXTERN void (WINE_GLAPI *glStencilMask)(GLuint mask) DECLSPEC_HIDDEN; 1284 WINED3D_EXTERN void (WINE_GLAPI *glStencilOp)(GLenum fail, GLenum zfail, GLenum zpass) DECLSPEC_HIDDEN; 1285 WINED3D_EXTERN void (WINE_GLAPI *glTexCoord1d)(GLdouble s) DECLSPEC_HIDDEN; 1286 WINED3D_EXTERN void (WINE_GLAPI *glTexCoord1dv)(const GLdouble *v) DECLSPEC_HIDDEN; 1287 WINED3D_EXTERN void (WINE_GLAPI *glTexCoord1f)(GLfloat s) DECLSPEC_HIDDEN; 1288 WINED3D_EXTERN void (WINE_GLAPI *glTexCoord1fv)(const GLfloat *v) DECLSPEC_HIDDEN; 1289 WINED3D_EXTERN void (WINE_GLAPI *glTexCoord1i)(GLint s) DECLSPEC_HIDDEN; 1290 WINED3D_EXTERN void (WINE_GLAPI *glTexCoord1iv)(const GLint *v) DECLSPEC_HIDDEN; 1291 WINED3D_EXTERN void (WINE_GLAPI *glTexCoord1s)(GLshort s) DECLSPEC_HIDDEN; 1292 WINED3D_EXTERN void (WINE_GLAPI *glTexCoord1sv)(const GLshort *v) DECLSPEC_HIDDEN; 1293 WINED3D_EXTERN void (WINE_GLAPI *glTexCoord2d)(GLdouble s, GLdouble t) DECLSPEC_HIDDEN; 1294 WINED3D_EXTERN void (WINE_GLAPI *glTexCoord2dv)(const GLdouble *v) DECLSPEC_HIDDEN; 1295 WINED3D_EXTERN void (WINE_GLAPI *glTexCoord2f)(GLfloat s, GLfloat t) DECLSPEC_HIDDEN; 1296 WINED3D_EXTERN void (WINE_GLAPI *glTexCoord2fv)(const GLfloat *v) DECLSPEC_HIDDEN; 1297 WINED3D_EXTERN void (WINE_GLAPI *glTexCoord2i)(GLint s, GLint t) DECLSPEC_HIDDEN; 1298 WINED3D_EXTERN void (WINE_GLAPI *glTexCoord2iv)(const GLint *v) DECLSPEC_HIDDEN; 1299 WINED3D_EXTERN void (WINE_GLAPI *glTexCoord2s)(GLshort s, GLshort t) DECLSPEC_HIDDEN; 1300 WINED3D_EXTERN void (WINE_GLAPI *glTexCoord2sv)(const GLshort *v) DECLSPEC_HIDDEN; 1301 WINED3D_EXTERN void (WINE_GLAPI *glTexCoord3d)(GLdouble s, GLdouble t, GLdouble r) DECLSPEC_HIDDEN; 1302 WINED3D_EXTERN void (WINE_GLAPI *glTexCoord3dv)(const GLdouble *v) DECLSPEC_HIDDEN; 1303 WINED3D_EXTERN void (WINE_GLAPI *glTexCoord3f)(GLfloat s, GLfloat t, GLfloat r) DECLSPEC_HIDDEN; 1304 WINED3D_EXTERN void (WINE_GLAPI *glTexCoord3fv)(const GLfloat *v) DECLSPEC_HIDDEN; 1305 WINED3D_EXTERN void (WINE_GLAPI *glTexCoord3i)(GLint s, GLint t, GLint r) DECLSPEC_HIDDEN; 1306 WINED3D_EXTERN void (WINE_GLAPI *glTexCoord3iv)(const GLint *v) DECLSPEC_HIDDEN; 1307 WINED3D_EXTERN void (WINE_GLAPI *glTexCoord3s)(GLshort s, GLshort t, GLshort r) DECLSPEC_HIDDEN; 1308 WINED3D_EXTERN void (WINE_GLAPI *glTexCoord3sv)(const GLshort *v) DECLSPEC_HIDDEN; 1309 WINED3D_EXTERN void (WINE_GLAPI *glTexCoord4d)(GLdouble s, GLdouble t, GLdouble r, GLdouble q) DECLSPEC_HIDDEN; 1310 WINED3D_EXTERN void (WINE_GLAPI *glTexCoord4dv)(const GLdouble *v) DECLSPEC_HIDDEN; 1311 WINED3D_EXTERN void (WINE_GLAPI *glTexCoord4f)(GLfloat s, GLfloat t, GLfloat r, GLfloat q) DECLSPEC_HIDDEN; 1312 WINED3D_EXTERN void (WINE_GLAPI *glTexCoord4fv)(const GLfloat *v) DECLSPEC_HIDDEN; 1313 WINED3D_EXTERN void (WINE_GLAPI *glTexCoord4i)(GLint s, GLint t, GLint r, GLint q) DECLSPEC_HIDDEN; 1314 WINED3D_EXTERN void (WINE_GLAPI *glTexCoord4iv)(const GLint *v) DECLSPEC_HIDDEN; 1315 WINED3D_EXTERN void (WINE_GLAPI *glTexCoord4s)(GLshort s, GLshort t, GLshort r, GLshort q) DECLSPEC_HIDDEN; 1316 WINED3D_EXTERN void (WINE_GLAPI *glTexCoord4sv)(const GLshort *v) DECLSPEC_HIDDEN; 1317 WINED3D_EXTERN void (WINE_GLAPI *glTexCoordPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) DECLSPEC_HIDDEN; 1318 WINED3D_EXTERN void (WINE_GLAPI *glTexEnvf)(GLenum target, GLenum pname, GLfloat param) DECLSPEC_HIDDEN; 1319 WINED3D_EXTERN void (WINE_GLAPI *glTexEnvfv)(GLenum target, GLenum pname, const GLfloat *params) DECLSPEC_HIDDEN; 1320 WINED3D_EXTERN void (WINE_GLAPI *glTexEnvi)(GLenum target, GLenum pname, GLint param) DECLSPEC_HIDDEN; 1321 WINED3D_EXTERN void (WINE_GLAPI *glTexEnviv)(GLenum target, GLenum pname, const GLint *params) DECLSPEC_HIDDEN; 1322 WINED3D_EXTERN void (WINE_GLAPI *glTexGend)(GLenum coord, GLenum pname, GLdouble param) DECLSPEC_HIDDEN; 1323 WINED3D_EXTERN void (WINE_GLAPI *glTexGendv)(GLenum coord, GLenum pname, const GLdouble *params) DECLSPEC_HIDDEN; 1324 WINED3D_EXTERN void (WINE_GLAPI *glTexGenf)(GLenum coord, GLenum pname, GLfloat param) DECLSPEC_HIDDEN; 1325 WINED3D_EXTERN void (WINE_GLAPI *glTexGenfv)(GLenum coord, GLenum pname, const GLfloat *params) DECLSPEC_HIDDEN; 1326 WINED3D_EXTERN void (WINE_GLAPI *glTexGeni)(GLenum coord, GLenum pname, GLint param) DECLSPEC_HIDDEN; 1327 WINED3D_EXTERN void (WINE_GLAPI *glTexGeniv)(GLenum coord, GLenum pname, const GLint *params) DECLSPEC_HIDDEN; 1328 WINED3D_EXTERN void (WINE_GLAPI *glTexImage1D)(GLenum target, GLint level, GLint internalformat, GLsizei width, 1329 GLint border, GLenum format, GLenum type, const GLvoid *pixels) DECLSPEC_HIDDEN; 1330 WINED3D_EXTERN void (WINE_GLAPI *glTexImage2D)(GLenum target, GLint level, GLint internalformat, GLsizei width, 1331 GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels) DECLSPEC_HIDDEN; 1332 WINED3D_EXTERN void (WINE_GLAPI *glTexParameterf)(GLenum target, GLenum pname, GLfloat param) DECLSPEC_HIDDEN; 1333 WINED3D_EXTERN void (WINE_GLAPI *glTexParameterfv)(GLenum target, GLenum pname, const GLfloat *params) DECLSPEC_HIDDEN; 1334 WINED3D_EXTERN void (WINE_GLAPI *glTexParameteri)(GLenum target, GLenum pname, GLint param) DECLSPEC_HIDDEN; 1335 WINED3D_EXTERN void (WINE_GLAPI *glTexParameteriv)(GLenum target, GLenum pname, const GLint *params) DECLSPEC_HIDDEN; 1336 WINED3D_EXTERN void (WINE_GLAPI *glTexSubImage1D)(GLenum target, GLint level, GLint xoffset, 1337 GLsizei width, GLenum format, GLenum type, const GLvoid *pixels) DECLSPEC_HIDDEN; 1338 WINED3D_EXTERN void (WINE_GLAPI *glTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, 1339 GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) DECLSPEC_HIDDEN; 1340 WINED3D_EXTERN void (WINE_GLAPI *glTranslated)(GLdouble x, GLdouble y, GLdouble z) DECLSPEC_HIDDEN; 1341 WINED3D_EXTERN void (WINE_GLAPI *glTranslatef)(GLfloat x, GLfloat y, GLfloat z) DECLSPEC_HIDDEN; 1342 WINED3D_EXTERN void (WINE_GLAPI *glVertex2d)(GLdouble x, GLdouble y) DECLSPEC_HIDDEN; 1343 WINED3D_EXTERN void (WINE_GLAPI *glVertex2dv)(const GLdouble *v) DECLSPEC_HIDDEN; 1344 WINED3D_EXTERN void (WINE_GLAPI *glVertex2f)(GLfloat x, GLfloat y) DECLSPEC_HIDDEN; 1345 WINED3D_EXTERN void (WINE_GLAPI *glVertex2fv)(const GLfloat *v) DECLSPEC_HIDDEN; 1346 WINED3D_EXTERN void (WINE_GLAPI *glVertex2i)(GLint x, GLint y) DECLSPEC_HIDDEN; 1347 WINED3D_EXTERN void (WINE_GLAPI *glVertex2iv)(const GLint *v) DECLSPEC_HIDDEN; 1348 WINED3D_EXTERN void (WINE_GLAPI *glVertex2s)(GLshort x, GLshort y) DECLSPEC_HIDDEN; 1349 WINED3D_EXTERN void (WINE_GLAPI *glVertex2sv)(const GLshort *v) DECLSPEC_HIDDEN; 1350 WINED3D_EXTERN void (WINE_GLAPI *glVertex3d)(GLdouble x, GLdouble y, GLdouble z) DECLSPEC_HIDDEN; 1351 WINED3D_EXTERN void (WINE_GLAPI *glVertex3dv)(const GLdouble *v) DECLSPEC_HIDDEN; 1352 WINED3D_EXTERN void (WINE_GLAPI *glVertex3f)(GLfloat x, GLfloat y, GLfloat z) DECLSPEC_HIDDEN; 1353 WINED3D_EXTERN void (WINE_GLAPI *glVertex3fv)(const GLfloat *v) DECLSPEC_HIDDEN; 1354 WINED3D_EXTERN void (WINE_GLAPI *glVertex3i)(GLint x, GLint y, GLint z) DECLSPEC_HIDDEN; 1355 WINED3D_EXTERN void (WINE_GLAPI *glVertex3iv)(const GLint *v) DECLSPEC_HIDDEN; 1356 WINED3D_EXTERN void (WINE_GLAPI *glVertex3s)(GLshort x, GLshort y, GLshort z) DECLSPEC_HIDDEN; 1357 WINED3D_EXTERN void (WINE_GLAPI *glVertex3sv)(const GLshort *v) DECLSPEC_HIDDEN; 1358 WINED3D_EXTERN void (WINE_GLAPI *glVertex4d)(GLdouble x, GLdouble y, GLdouble z, GLdouble w) DECLSPEC_HIDDEN; 1359 WINED3D_EXTERN void (WINE_GLAPI *glVertex4dv)(const GLdouble *v) DECLSPEC_HIDDEN; 1360 WINED3D_EXTERN void (WINE_GLAPI *glVertex4f)(GLfloat x, GLfloat y, GLfloat z, GLfloat w) DECLSPEC_HIDDEN; 1361 WINED3D_EXTERN void (WINE_GLAPI *glVertex4fv)(const GLfloat *v) DECLSPEC_HIDDEN; 1362 WINED3D_EXTERN void (WINE_GLAPI *glVertex4i)(GLint x, GLint y, GLint z, GLint w) DECLSPEC_HIDDEN; 1363 WINED3D_EXTERN void (WINE_GLAPI *glVertex4iv)(const GLint *v) DECLSPEC_HIDDEN; 1364 WINED3D_EXTERN void (WINE_GLAPI *glVertex4s)(GLshort x, GLshort y, GLshort z, GLshort w) DECLSPEC_HIDDEN; 1365 WINED3D_EXTERN void (WINE_GLAPI *glVertex4sv)(const GLshort *v) DECLSPEC_HIDDEN; 1366 WINED3D_EXTERN void (WINE_GLAPI *glVertexPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) DECLSPEC_HIDDEN; 1367 WINED3D_EXTERN void (WINE_GLAPI *glViewport)(GLint x, GLint y, GLsizei width, GLsizei height) DECLSPEC_HIDDEN; 1368 WINED3D_EXTERN void (WINE_GLAPI *glPointParameterfv)(GLenum pname, const GLfloat *params) DECLSPEC_HIDDEN; 1365 1369 1366 1370 /* glFinish and glFlush are always loaded from opengl32.dll, thus they always have … … 1370 1374 * name that makes this clear 1371 1375 */ 1372 void (__stdcall *wglFinish)(void) DECLSPEC_HIDDEN;1373 void (__stdcall *wglFlush)(void) DECLSPEC_HIDDEN;1376 WINED3D_EXTERN void (__stdcall *wglFinish)(void) DECLSPEC_HIDDEN; 1377 WINED3D_EXTERN void (__stdcall *wglFlush)(void) DECLSPEC_HIDDEN; 1374 1378 1375 1379 /* WGL functions */ 1376 BOOL (WINAPI *pwglDeleteContext)(HGLRC) DECLSPEC_HIDDEN;1377 HGLRC (WINAPI *pwglGetCurrentContext)(void) DECLSPEC_HIDDEN;1378 HDC (WINAPI *pwglGetCurrentDC)(void) DECLSPEC_HIDDEN;1379 PROC (WINAPI *pwglGetProcAddress)(LPCSTR) DECLSPEC_HIDDEN;1380 BOOL (WINAPI *pwglMakeCurrent)(HDC, HGLRC) DECLSPEC_HIDDEN;1381 BOOL (WINAPI *pwglSwapLayerBuffers)(HDC, UINT) DECLSPEC_HIDDEN;1382 BOOL (WINAPI *pwglShareLists)(HGLRC, HGLRC) DECLSPEC_HIDDEN;1383 BOOL (WINAPI *pwglChoosePixelFormat)(HDC, const PIXELFORMATDESCRIPTOR *) DECLSPEC_HIDDEN;1384 int (WINAPI *pwglDescribePixelFormat)(HDC, int, UINT, LPPIXELFORMATDESCRIPTOR) DECLSPEC_HIDDEN;1385 int (WINAPI *pwglGetPixelFormat)(HDC) DECLSPEC_HIDDEN;1386 BOOL (WINAPI *pwglSetPixelFormat)(HDC, int, const PIXELFORMATDESCRIPTOR *) DECLSPEC_HIDDEN;1380 WINED3D_EXTERN BOOL (WINAPI *pwglDeleteContext)(HGLRC) DECLSPEC_HIDDEN; 1381 WINED3D_EXTERN HGLRC (WINAPI *pwglGetCurrentContext)(void) DECLSPEC_HIDDEN; 1382 WINED3D_EXTERN HDC (WINAPI *pwglGetCurrentDC)(void) DECLSPEC_HIDDEN; 1383 WINED3D_EXTERN PROC (WINAPI *pwglGetProcAddress)(LPCSTR) DECLSPEC_HIDDEN; 1384 WINED3D_EXTERN BOOL (WINAPI *pwglMakeCurrent)(HDC, HGLRC) DECLSPEC_HIDDEN; 1385 WINED3D_EXTERN BOOL (WINAPI *pwglSwapLayerBuffers)(HDC, UINT) DECLSPEC_HIDDEN; 1386 WINED3D_EXTERN BOOL (WINAPI *pwglShareLists)(HGLRC, HGLRC) DECLSPEC_HIDDEN; 1387 WINED3D_EXTERN BOOL (WINAPI *pwglChoosePixelFormat)(HDC, const PIXELFORMATDESCRIPTOR *) DECLSPEC_HIDDEN; 1388 WINED3D_EXTERN int (WINAPI *pwglDescribePixelFormat)(HDC, int, UINT, LPPIXELFORMATDESCRIPTOR) DECLSPEC_HIDDEN; 1389 WINED3D_EXTERN int (WINAPI *pwglGetPixelFormat)(HDC) DECLSPEC_HIDDEN; 1390 WINED3D_EXTERN BOOL (WINAPI *pwglSetPixelFormat)(HDC, int, const PIXELFORMATDESCRIPTOR *) DECLSPEC_HIDDEN; 1387 1391 1388 1392 struct VBOXUHGSMI; 1389 HGLRC (WINAPI *pVBoxCreateContext)(HDC, struct VBOXUHGSMI*) DECLSPEC_HIDDEN;1390 void (WINAPI *pVBoxFlushToHost)(HGLRC) DECLSPEC_HIDDEN;1393 WINED3D_EXTERN HGLRC (WINAPI *pVBoxCreateContext)(HDC, struct VBOXUHGSMI*) DECLSPEC_HIDDEN; 1394 WINED3D_EXTERN void (WINAPI *pVBoxFlushToHost)(HGLRC) DECLSPEC_HIDDEN; 1391 1395 1392 1396 #if defined(VBOX_WITH_WDDM) || defined(VBOX_WINE_WITH_SINGLE_SWAPCHAIN_CONTEXT) -
trunk/src/VBox/Devices/Graphics/shaderlib/wined3d_private.h
r53201 r53728 192 192 }; 193 193 194 const struct min_lookup minMipLookup[WINED3DTEXF_LINEAR + 1] DECLSPEC_HIDDEN;195 const struct min_lookup minMipLookup_noFilter[WINED3DTEXF_LINEAR + 1] DECLSPEC_HIDDEN;196 const struct min_lookup minMipLookup_noMip[WINED3DTEXF_LINEAR + 1] DECLSPEC_HIDDEN;197 const GLenum magLookup[WINED3DTEXF_LINEAR + 1] DECLSPEC_HIDDEN;198 const GLenum magLookup_noFilter[WINED3DTEXF_LINEAR + 1] DECLSPEC_HIDDEN;194 extern const struct min_lookup minMipLookup[WINED3DTEXF_LINEAR + 1] DECLSPEC_HIDDEN; 195 extern const struct min_lookup minMipLookup_noFilter[WINED3DTEXF_LINEAR + 1] DECLSPEC_HIDDEN; 196 extern const struct min_lookup minMipLookup_noMip[WINED3DTEXF_LINEAR + 1] DECLSPEC_HIDDEN; 197 extern const GLenum magLookup[WINED3DTEXF_LINEAR + 1] DECLSPEC_HIDDEN; 198 extern const GLenum magLookup_noFilter[WINED3DTEXF_LINEAR + 1] DECLSPEC_HIDDEN; 199 199 200 200 static inline GLenum wined3d_gl_mag_filter(const GLenum mag_lookup[], WINED3DTEXTUREFILTERTYPE mag_filter) … … 1590 1590 extern void add_gl_compat_wrappers(struct wined3d_gl_info *gl_info) DECLSPEC_HIDDEN; 1591 1591 1592 extern BOOL IWineD3DImpl_FillGLCaps(struct wined3d_adapter *adapter); 1593 1594 1592 1595 /***************************************************************************** 1593 1596 * High order patch management … … 2949 2952 }; 2950 2953 2951 const IWineD3DSwapChainVtbl IWineGDISwapChain_Vtbl DECLSPEC_HIDDEN;2954 extern const IWineD3DSwapChainVtbl IWineGDISwapChain_Vtbl DECLSPEC_HIDDEN; 2952 2955 void x11_copy_to_screen(IWineD3DSwapChainImpl *This, const RECT *rc) DECLSPEC_HIDDEN; 2953 2956 … … 3430 3433 #define MAKEDWORD_VERSION(maj, min) (((maj & 0xffff) << 16) | (min & 0xffff)) 3431 3434 3432 #endif 3435 #ifdef RT_OS_DARWIN 3436 void *MyNSGLGetProcAddress(const char *name); 3437 #endif 3438 3439 #endif -
trunk/src/VBox/Devices/Makefile.kmk
r53600 r53728 1381 1381 # Template used for VBoxSVGA3D. (Stips away compiler options.) 1382 1382 # 1383 TEMPLATE_VBoxSVGA3D = VBoxSVGA3D 1384 TEMPLATE_VBoxSVGA3D_EXTENDS = VBOXR3 1385 TEMPLATE_VBoxSVGA3D_CFLAGS = \ 1386 $(filter-out -pedantic -fno-common -Wstrict-prototypes,$(TEMPLATE_VBOXR3_CFLAGS)) 1387 TEMPLATE_VBoxSVGA3D_CXXFLAGS = \ 1388 $(filter-out -pedantic -fno-common,$(TEMPLATE_VBOXR3_CXXFLAGS)) 1389 TEMPLATE_VBoxSVGA3D_CFLAGS.darwin = \ 1390 $(filter-out -fno-common,$(TEMPLATE_VBOXR3_CFLAGS.darwin)) 1391 TEMPLATE_VBoxSVGA3D_OBJCFLAGS = \ 1392 $(filter-out -pedantic,$(TEMPLATE_VBOXR3_OBJCFLAGS)) 1393 TEMPLATE_VBoxSVGA3D_LDFLAGS.darwin = $(TEMPLATE_VBOXR3_LDFLAGS.darwin) \ 1394 -framework AppKit -framework OpenGL -framework IOKit 1383 TEMPLATE_VBoxSVGA3D := VBoxSVGA3D 1384 TEMPLATE_VBoxSVGA3D_EXTENDS := $(if-expr "$(KBUILD_TARGET)" == "darwin",VBoxR3DllOsX107,VBOXR3) 1385 TEMPLATE_VBoxSVGA3D_CFLAGS = $(filter-out -pedantic -Wstrict-prototypes,$(TEMPLATE_$(TEMPLATE_VBoxSVGA3D_EXTENDS)_CFLAGS)) 1386 TEMPLATE_VBoxSVGA3D_CXXFLAGS = $(filter-out -pedantic,$(TEMPLATE_$(TEMPLATE_VBoxSVGA3D_EXTENDS)_CXXFLAGS)) 1387 TEMPLATE_VBoxSVGA3D_OBJCFLAGS = $(filter-out -pedantic,$(TEMPLATE_$(TEMPLATE_VBoxSVGA3D_EXTENDS)_OBJCFLAGS)) 1388 TEMPLATE_VBoxSVGA3D_OBJCXXFLAGS = $(filter-out -pedantic,$(TEMPLATE_$(TEMPLATE_VBoxSVGA3D_EXTENDS)_OBJCXXFLAGS)) 1389 TEMPLATE_VBoxSVGA3D_LDFLAGS.darwin = $(TEMPLATE_VBoxR3DllOsX107_LDFLAGS.darwin) \ 1390 -framework AppKit -framework OpenGL -framework IOKit 1395 1391 1396 1392 # … … 1454 1450 Graphics/shaderlib/directx.c \ 1455 1451 Graphics/shaderlib/libWineStub/debug.c 1456 if 11452 if 0 1457 1453 VBoxSVGA3D_SOURCES.darwin += \ 1458 1454 Graphics/DevVGA-SVGA3d-cocoa.m -
trunk/src/VBox/GuestHost/OpenGL/util/blitter.cpp
r53726 r53728 22 22 #ifdef IN_VMSVGA3D 23 23 # include <OpenGL/OpenGL.h> 24 # include <OpenGL/gl3.h> 24 25 # include "../include/cr_blitter.h" 25 26 # include <iprt/assert.h> -
trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu_cocoa_helper.m
r53601 r53728 92 92 #ifdef IN_VMSVGA3D 93 93 # include "DevVGA-SVGA3d-cocoa.h" 94 # include <OpenGL/OpenGL.h> 95 # include <OpenGL/gl3.h> 96 # include <OpenGL/gl3ext.h> 97 # include <OpenGL/glext.h> 94 98 #else 95 99 # include <cr_vreg.h> … … 2558 2562 NSOpenGLPixelFormatAttribute attribs[24] = 2559 2563 { 2564 #ifdef IN_VMSVGA3D 2565 NSOpenGLPFAOpenGLProfile, NSOpenGLProfileVersion3_2Core, 2566 #endif 2560 2567 NSOpenGLPFAAccelerated, 2561 2568 NSOpenGLPFAColorSize, (NSOpenGLPixelFormatAttribute)24
Note:
See TracChangeset
for help on using the changeset viewer.