Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 4 of 4

Thread: How to get the VRAM size.

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2000
    Location
    Quebec
    Posts
    14

    How to get the VRAM size.

    hi,

    How can I have the memory size of the installed video card?
    ..and does it have any info how to manage video memory when using opengl?

    Phil
    floyd

  2. #2
    Senior Member OpenGL Pro
    Join Date
    Jun 2000
    Location
    Shreveport, LA, USA
    Posts
    1,757

    Re: How to get the VRAM size.

    OpenGL does not have any particular way of telling you this. However, some OpenGL drivers have put such information in the GL_RENDERER or GL_VERSION string.

  3. #3
    Guest

    Re: How to get the VRAM size.

    Keep loading textures and test if they are
    resident, until you run out?

  4. #4
    Senior Member OpenGL Pro
    Join Date
    Sep 2000
    Location
    Santa Clara, CA
    Posts
    1,463

    Re: How to get the VRAM size.

    In theory, you should not have to know the size of video memory, since there are so many issues involved in video memory management that apps getting involved will just cause trouble.

    I doubt you actually just want to know the size of video memory. What are you really trying to do?

    [If you _really_ need to know the size of video memory, and nothing more (so, for example, you could print out how much there is somewhere), you can query with DirectDraw. However, I caution you against using this number for anything.]

    - Matt

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •