How to determine hardware accel in OpenGL

How to determine hardware accel in OpenGL

Post by Matt Rhode » Thu, 15 Jun 2000 04:00:00



Is there a way to determine if the machine I'm running my OpenGL app on has
3D hardware acceleration (ANY 3D hardware acceleration) using OpenGL calls?
That is, is there an OpenGL state parameter I can check?

I'm interested in a Windows-specific answer, but I'll take any advice.

Thanks.

m

 
 
 

How to determine hardware accel in OpenGL

Post by Paul Mille » Thu, 15 Jun 2000 04:00:00


Quote:> Is there a way to determine if the machine I'm running my OpenGL app on has
> 3D hardware acceleration (ANY 3D hardware acceleration) using OpenGL calls?
> That is, is there an OpenGL state parameter I can check?

> I'm interested in a Windows-specific answer, but I'll take any advice.

This has been covered in great detail before, but the practical upshot
is to time some representative operations and see if it is "fast enough"
for your needs.

--


 
 
 

How to determine hardware accel in OpenGL

Post by Paul Mille » Thu, 15 Jun 2000 04:00:00


Quote:> Is there a way to determine if the machine I'm running my OpenGL app on has
> 3D hardware acceleration (ANY 3D hardware acceleration) using OpenGL calls?
> That is, is there an OpenGL state parameter I can check?

> I'm interested in a Windows-specific answer, but I'll take any advice.

This has been covered in great detail before, but the practical upshot
is to time some representative operations and see if it is "fast enough"
for your needs.

--

 
 
 

How to determine hardware accel in OpenGL

Post by Jose Maria Buades Rubi » Thu, 15 Jun 2000 04:00:00


You can know what driver are using with:

  printf("GL_VENDOR: %s\n", glGetString(GL_VENDOR));
  printf("GL_RENDERER: %s\n", glGetString(GL_RENDERER));
  printf("GL_VERSION: %s\n", glGetString(GL_VERSION));
  printf("GL_EXTENSIONS: %s\n", glGetString(GL_EXTENSIONS));

If GL_VENDOR not is "Microsoft Corporation" you are using the specific
OpenGL of hardware.

For example I get:

GL_VENDOR: ATI
GL_RENDERER: RAGE PRO
GL_VERSION: 1.1.0 Win95 ICD
GL_EXTENSIONS: GL_EXT_abgr GL_EXT_bgra GL_EXT_packed_pixels
GL_EXT_vertex_array GL_SGI_compiled_vertex_array GL_SGI_cull_vertex
GL_SGI_index_array_formats GL_SGI_index_func GL_SGI_index_material
GL_SGI_index_texture GL_WIN_swap_hint GL_DFI_eight_bit_source_EXT



Quote:> Is there a way to determine if the machine I'm running my OpenGL app on
has
> 3D hardware acceleration (ANY 3D hardware acceleration) using OpenGL
calls?
> That is, is there an OpenGL state parameter I can check?

> I'm interested in a Windows-specific answer, but I'll take any advice.

> Thanks.

> m

 
 
 

How to determine hardware accel in OpenGL

Post by Uwe Kotyczk » Fri, 16 Jun 2000 04:00:00


OK, forgot the resource template:

IDD_DLG_OPENGL_INFO DIALOGEX 0, 0, 187, 210
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "OpenGl Information"
FONT 8, "MS Sans Serif", 0, 0, 0x1
BEGIN
    GROUPBOX        "GL Library",IDC_STATIC,5,3,177,117,WS_GROUP
    LTEXT           "Company :",IDC_STATIC,12,16,44,8,0,WS_EX_RIGHT
    LTEXT           "Not Available",IDC_STATIC_GL_VENDOR,59,16,117,8
    LTEXT           "Renderer :",IDC_STATIC,12,26,44,8,0,WS_EX_RIGHT
    LTEXT           "Not Available",IDC_STATIC_GL_RENDERER,59,26,117,8
    LTEXT           "Version :",IDC_STATIC,12,36,44,8,0,WS_EX_RIGHT
    LTEXT           "Not Available",IDC_STATIC_GL_VERSION,59,36,117,8
    LTEXT           "Acceleration :",IDC_STATIC,12,46,44,8,0,WS_EX_RIGHT
    LTEXT           "Not Available",IDC_STATIC_GL_ACCELERATION,59,46,117,8
    LTEXT           "Extensions :",IDC_STATIC,12,61,44,8,0,WS_EX_RIGHT
    EDITTEXT        IDC_EDIT_GL_EXTENSIONS,59,61,117,52,ES_MULTILINE |
                    ES_AUTOHSCROLL | ES_READONLY | WS_VSCROLL | NOT
                    WS_TABSTOP
    GROUPBOX        "GLU Library",IDC_STATIC,5,125,177,60,WS_GROUP
    LTEXT           "Version :",IDC_STATIC,12,138,44,8,0,WS_EX_RIGHT
    LTEXT           "Not Available",IDC_STATIC_GLU_VERSION,59,138,117,8
    LTEXT           "Extensions :",IDC_STATIC,12,153,44,8,0,WS_EX_RIGHT
    EDITTEXT        IDC_EDIT_GLU_EXTENSIONS,59,153,117,25,ES_MULTILINE |
                    ES_AUTOHSCROLL | ES_READONLY | WS_VSCROLL | NOT
                    WS_TABSTOP
    DEFPUSHBUTTON   "Close",IDOK,132,191,50,14
    PUSHBUTTON      "Details...",IDC_DETAILS,78,191,50,14
END

--

Uwe Kotyczka

http://ws56.tinst.uni-jena.de
|

 
 
 

How to determine hardware accel in OpenGL

Post by Charles E Hardwidg » Fri, 16 Jun 2000 04:00:00


Technically no. Practically,... go read the faq.

--
Antispam Email Address; Replace nospam with blueyonder to reply.

 
 
 

How to determine hardware accel in OpenGL

Post by Luci » Fri, 16 Jun 2000 04:00:00



>Is there a way to determine if the machine I'm running my OpenGL app on has
>3D hardware acceleration (ANY 3D hardware acceleration) using OpenGL calls?

Enumerate pixel formats. That will tell you which ones are accelerated.
I wrote a routine a bit like ChoosePixel but which is more keen to get
acceleration.
www.wischik.com/lu/programmer/wingl.html

--
Lucian Wischik, Queens' College, Cambridge CB3 9ET. www.wischik.com/lu

 
 
 

How to determine hardware accel in OpenGL

Post by campephi.. » Tue, 20 Jun 2000 04:00:00




Quote:>You can know what driver are using with:

>  printf("GL_VENDOR: %s\n", glGetString(GL_VENDOR));
>  printf("GL_RENDERER: %s\n", glGetString(GL_RENDERER));
>  printf("GL_VERSION: %s\n", glGetString(GL_VERSION));
>  printf("GL_EXTENSIONS: %s\n", glGetString(GL_EXTENSIONS));

>If GL_VENDOR not is "Microsoft Corporation" you are using the specific
>OpenGL of hardware.

Unless someone uses some replacement driver from SGI or something, then
simply no finding Microsoft as the vendor wouldn't be enough.
 
 
 

1. Slow OpenGL, how to enable hardware accel?

Hi there,

Why while programming OpenGL (even with GL_POINTS Modelview) in a large
window the image is quite slow, even with a G400 Matrox?

I mean, if you reduce the window size, it becomes a lot faster but the
amount of points to calculate hasn't changed.

Can anybody explain to me how to enable hardware acceleration if this would
solve my problem?

Thanks

2. WTD: TBC IV & PAR

3. OpenGL hardware accel - how?

4. Help! Help! IGES

5. SGI release OpenGL window / GLX API as Open Source to bring hardware accel to Linux

6. The new set function in 6.0 bugged!! or is it?

7. Howto disable hardware accel OpenGL

8. Buying a new 3d card for max.

9. Help with NT4 + OpenGL + 3D Hardware Accel

10. MGA Millenium hardware OpenGL accel

11. Fullscreen hardware accel in Delphi via OpenGL

12. ImageVision: Hardware accel for convolutions

13. RE Hardware Accel of Convolutions in ImageVision