• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Name
2
3    WGL_ARB_extensions_string
4
5Name Strings
6
7    WGL_ARB_extensions_string
8
9Contact
10
11    Pat Brown, NVIDIA (pbrown 'at' nvidia.com)
12    Paula Womack
13
14Notice
15
16    Copyright (c) 2000-2013 The Khronos Group Inc. Copyright terms at
17        http://www.khronos.org/registry/speccopyright.html
18
19Specification Update Policy
20
21    Khronos-approved extension specifications are updated in response to
22    issues and bugs prioritized by the Khronos OpenGL Working Group. For
23    extensions which have been promoted to a core Specification, fixes will
24    first appear in the latest version of that core Specification, and will
25    eventually be backported to the extension document. This policy is
26    described in more detail at
27        https://www.khronos.org/registry/OpenGL/docs/update_policy.php
28
29Status
30
31    Complete. Approved by ARB on March 15, 2000
32
33Version
34
35    Last Modified Date: July 29, 2008
36    Author Revision: 1.2
37
38Number
39
40    ARB Extension #8
41
42Dependencies
43
44    None
45
46Overview
47
48    This extension provides a way for applications to determine which
49    WGL extensions are supported by a device. This is the foundation
50    upon which other WGL extensions are built.
51
52IP Status
53
54    No issues.
55
56Issues
57
58  1. Note that extensions that were previously advertised via
59     glGetString (e.g., the swap interval extension) should continue to
60     be advertised there so existing applications don't break. They
61     should also be advertised via wglGetExtensionsStringARB so new
62     applications can make one call to find out which WGL extensions are
63     supported.
64
65  2. Should this function take an hdc? It seems like a good idea. At
66     some point MS may want to incorporate this into OpenGL32. If they
67     do this and and they want to support more than one ICD, then an HDC
68     would be needed.
69
70New Procedures and Functions
71
72    const char *wglGetExtensionsStringARB(HDC hdc);
73
74New Tokens
75
76    None
77
78Additions to Chapter 2 of the 1.2 Specification (OpenGL Operation)
79
80    None
81
82Additions to Chapter 3 of the 1.2 Specification (Rasterization)
83
84    None
85
86Additions to Chapter 4 of the 1.2 Specification (Per-Fragment Operations
87and the Frame buffer)
88
89    None
90
91Additions to Chapter 5 of the 1.2 Specification (Special Functions)
92
93    None
94
95Additions to Chapter 6 of the 1.2 Specification (State and State Requests)
96
97    None
98
99Additions to the WGL Specification
100
101Advertising WGL Extensions
102
103    Applications should call wglGetProcAddress to see whether or not
104    wglGetExtensionsStringARB is supported. If it is supported then it
105    can be used to determine which WGL extensions are supported by the
106    device.
107
108      const char *wglGetExtensionsStringARB(HDC hdc);
109
110      <hdc>   device context to query extensions for
111
112    If the function succeeds, it returns a list of supported extensions
113    to WGL. Although the contents of the string is implementation
114    specific, the string will be NULL terminated and will contain a
115    space-separated list of extension names. (The extension names
116    themselves do not contain spaces.) If there are no extensions then
117    the empty string is returned.
118
119    If <hdc> does not indicate a valid device context then the function
120    fails and the error ERROR_DC_NOT_FOUND is generated. If the function
121    fails, the return value is NULL. To get extended error information,
122    call GetLastError.
123
124New State
125
126    None
127
128New Implementation Dependent State
129
130    None
131
132Revision History
133
134    Changes from EXT_extension_string:
135
136    Added hdc parameter to facilitate moving this function into OPENGL32
137    Added WGL to name to avoid name collisions with GL and GLX
138
139    03/12/2002  1.1
140        - Updated contact information.
141
142    07/29/2008  1.2
143        - Updated contact information.
144