Results 1 to 3 of 3

Thread: Enumerating Display Settings in EGL

  1. #1
    Junior Member Newbie
    Join Date
    Oct 2012
    Posts
    6

    Enumerating Display Settings in EGL

    Hi,

    I am trying to replicate a D3D9 call (EnumAdapterModes) in EGL. I am using eglChooseConfig() to filter through the available modes, but the resulting configurations (EGLConfigs) do not contain all the data I need. Specifically, I would like access to the current configuration's width, height, and refresh rate. Is this possible with EGL? If not, do I need to call platform-specific code to accomplish this? If so, what PC functions do you recommend using?

    Thanks.
    --
    Brennan

  2. #2
    Senior Member Regular Contributor
    Join Date
    Sep 2003
    Location
    Silicon Valley
    Posts
    156

    Re: Enumerating Display Settings in EGL

    Quote Originally Posted by brennanrusnell
    Hi,

    I am trying to replicate a D3D9 call (EnumAdapterModes) in EGL. I am using eglChooseConfig() to filter through the available modes, but the resulting configurations (EGLConfigs) do not contain all the data I need. Specifically, I would like access to the current configuration's width, height, and refresh rate. Is this possible with EGL? If not, do I need to call platform-specific code to accomplish this? If so, what PC functions do you recommend using?

    Thanks.
    --
    Brennan
    EGL has little knowledge of the overall physical display - you are expected to use platform-specific code for this, just as you must acquire platform-specific native display and window resources for EGL to associate EGL display and window surfaces with. I'm not enough of a Windows guy to help you out here, unfortunately.
    Jon Leech
    EGL & OpenGL Specification Editor / OpenGL ARB Ecosystem TSG Chair / Khronos API Registrar

  3. #3
    Junior Member Newbie
    Join Date
    Oct 2012
    Posts
    6

    Re: Enumerating Display Settings in EGL

    Thank you for clarifying this. This helps a lot

Similar Threads

  1. Pixel format and display settings
    By Mr.Madguy in forum OpenGL: Windows
    Replies: 3
    Last Post: 07-02-2012, 04:15 PM
  2. Rendering context over multiple display settings
    By gowin32 in forum OpenGL: Windows
    Replies: 3
    Last Post: 05-08-2007, 10:24 AM
  3. OpenGL not shown on nvidia display settings
    By shadow47 in forum OpenGL: User Software
    Replies: 16
    Last Post: 09-06-2004, 10:07 PM
  4. Problem with changing display settings
    By Yngwar in forum OpenGL: Advanced Coding
    Replies: 3
    Last Post: 04-24-2002, 08:36 AM
  5. OpenGL Settings in display Properties
    By dyauch in forum OpenGL: User Software
    Replies: 0
    Last Post: 09-08-2001, 07:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean