GL-Z: OpenGL Information Utility for Windows, Linux and OS X
GL-Z 0.1.0
 
GLSL 4×4 Matrix Fields
GLSL 4×4 Matrix Fields
 
FurMark, GPU stress test
FurMark 1.15.0
 
GPU Caps Viewer
GPU Caps Viewer 1.22.0
 
GLSL Hacker - Pixel hacking with GLSL, Lua and Python on Windows, Linux and Mac OS X
GLSL Hacker 0.8.0
Win/Linux/OSX
OpenGL Geometry Instancing Test: Radeon vs GeForce
BenQ BL3200PT 32-inch
QHD Monitor

Posts Tagged ‘wglCreateContextAttribsARB’


ForceWare 181.00: Five New OpenGL Extensions and How To Create an OpenGL 3.0 Rendering Context

1 comment - What do you think?  Posted by JeGX - 2008/12/22 at 11:55

Categories: Game Development, OpenGL, Tutorial   Tags: , , , , , ,

NVIDIA ForceWare Graphics Drivers

OpenGL 3.0


In order to do some tests for the upcomming version of FurMark, I took the time to install the new ForceWare 181.00 with a GeForce 8800 GTX under Windows XP SP2 32-bit. In comparison to ForceWare 180.42, this new set of graphics drivers for GeForce 6/78/9/GTX200 adds 5 new extensions:

Read more…


NVIDIA ForceWare 177.89: OpenGL Extensions and OpenGL 3.0 Code Sample

6 comments - What do you think?  Posted by JeGX - 2008/08/18 at 20:48

Categories: Forceware, Game Development, OpenGL   Tags: , , , , , , , , , , ,


[French]
Voici la liste des extensions OpenGL supportées par les pilotes Forceware 177.89 WinXP 32 pour une GeForce GTX 280.
[/French]
[English]
Here is the list of OpenGL extensions supported by Forceware 177.89 WinXP 32 drivers for a GeForce GTX 280.
[/English]

[French]
Les ForceWare 177.89 sont les premiers pilotes à offrir le support OpenGL 3.0. Mais pour le moment, ce support n’est pas officiel. Il faut l’activer de manière logiciel grâce à l’utilitaire NVemulate de NVIDIA:


L’activation d’OpenGL 3.0 donne accès à une nouvelle extension WGL_ARB_create_context qui permet de créer un context de rendu OpenGL 3.0. Si vous souhaitez ouvrir la porte d’OpenGL 3.0, voilà le code nécessaire:
[/French]
[English]
Forceware 177.89 are the first drivers to offer the OpenGL 3.0 support. But currently, this support is not official. We have to enable it thanks to NVIDIA’s NVemulate utility:


OpenGL 3.0 activation gives an access to a new extension: WGL_ARB_create_context.
This extension makes it possible to create an OpenGL 3.0 rendering context. If you wish to explore the new world of OpenGL 3.0, here is the necessary code:
[/English]

// wglCreateContextAttribsARB prototype.
typedef HGLRC (APIENTRYP PFNWGLCREATECONTEXTATTRIBSARBPROC)\
(HDC, HGLRC, const int*);
PFNWGLCREATECONTEXTATTRIBSARBPROC wglCreateContextAttribsARB;

// Get a pointer on the create context func.
wglCreateContextAttribsARB = \
(PFNWGLCREATECONTEXTATTRIBSARBPROC) \
wglGetProcAddress("wglCreateContextAttribsARB");

// Create an OpenGL 3.0 context.
HGLRC gl3Ctx = wglCreateContextAttribsARB(dc, 0, NULL);

//
// Do something with this opengl 3.0 rendering context.
//

// Delete the context
wglDeleteContext( gl3Ctx );	
gl3Ctx = NULL;				

[French]
Ceci étant dit, voilà la liste des nouvelles extensions pour un contexte de rendu OpenGL 2.1 avec support OpenGL 3.0 activé:
[/French]
[English]
That said, here is the list of the new extensions for an OpenGL 2.1 rendering context with OpenGL 3.0 support enabled:
[/English]

[French]Carte graphique utilisée[/French]
[English]Graphics card used[/English]: EVGA GeForce GTX 280 / 1Gb

– Drivers Version: Forceware 6.14.11.7789
– OpenGL Version: 2.1.2
– GLSL (OpenGL Shading Language) Version: 1.20 NVIDIA via Cg compiler
– OpenGL Renderer: GeForce GTX 280/PCI/SSE2
– Drivers Renderer: NVIDIA GeForce GTX 280
– ARB Texture Units: 16
– Vertex Shader Texture Units: 32
– Pixel Shader Texture Units: 32
– Geometry Shader Texture Units: 32
– Max Texture Size: 8192×8192
– Max Anisotropic Filtering Value: X16.0
– Max Point Sprite Size: 63.4
– Max Dynamic Lights: 8
– Max Viewport Size: 8192×8192
– Max Vertex Uniform Components: 4096
– Max Fragment Uniform Components: 2048
– Max Varying Float: 60
– Max Vertex Bindable Uniforms: 12
– Max Fragment Bindable Uniforms: 12
– Max Geometry Bindable Uniforms: 12
– MSAA: 2X
– MSAA: 4X
– MSAA: 8X
– MSAA: 16X
– MSAA: 32X

OpenGL Extensions: 168 extensions

[French]
Les extensions des anciens pilotes ForceWare se trouvent ICI.
Vous pouvez utiliser GPU Caps Viewer pour récupérer la liste des extensions de votre carte graphique.
[/French]
[English]
The extensions exposed by the old ForceWare drivers are HERE.
You can use GPU Caps Viewer to retrieve the list of extensions of your graphics card.
[/English]

Read more…