• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Name
2
3    EXT_extensions_string
4
5Name Strings
6
7    WGL_EXT_extensions_string
8
9Version
10
11    $Date: 1999/04/03 08:41:12 $ $Revision: 1.3 $
12
13Number
14
15    168
16
17Dependencies
18
19    None
20
21Overview
22
23    This extension provides a way for applications to determine which
24    WGL extensions are supported by a device.  This is the foundation
25    upon which other WGL extensions are built.
26
27Issues
28
29    Note that extensions that were previously advertised via glGetString
30    (e.g., the swap interval extension) should continue to be advertised
31    there so existing applications don't break.  They should also be
32    advertised via wglGetExtensionsStringEXT so new applications can make
33    one call to find out which WGL extensions are supported.
34
35New Procedures and Functions
36
37    const char *wglGetExtensionsStringEXT(void);
38
39New Tokens
40
41    None
42
43Additions to Chapter 2 of the 1.2 Specification (OpenGL Operation)
44
45    None
46
47Additions to Chapter 3 of the 1.2 Specification (Rasterization)
48
49    None
50
51Additions to Chapter 4 of the 1.2 Specification (Per-Fragment Operations
52and the Frame buffer)
53
54    None
55
56Additions to Chapter 5 of the 1.2 Specification (Special Functions)
57
58    None
59
60Additions to Chapter 6 of the 1.2 Specification (State and State Requests)
61
62    None
63
64Additions to the WGL Specification
65
66    Advertising WGL Extensions
67
68    Applications should call wglGetProcAddress to see whether or not
69    wglGetExtensionsStringEXT is supported.  If it is supported then it
70    can be used to determine which WGL extensions are supported by the device.
71
72        const char *wglGetExtensionsString(void);
73
74    If the function succeeds, it returns a list of supported
75    extensions to WGL.  Although the contents of the string is
76    implementation specific, the string will be NULL terminated and
77    will contain a space-separated list of extension names. (The
78    extension names themselves do not contain spaces.) If there are no
79    extensions then the empty string is returned.
80
81    If the function fails, the return value is NULL. To get extended
82    error information, call GetLastError.
83
84New State
85
86    None
87
88New Implementation Dependent State
89
90    None
91
92