Results 1 to 3 of 3

Thread: Enumerating Display Settings in EGL

  1. #1

    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
    Member
    Join Date
    Sep 2003
    Location
    Silicon Valley
    Posts
    57

    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

    Re: Enumerating Display Settings in EGL

    Thank you for clarifying this. This helps a lot

Similar Threads

  1. Replies: 2
    Last Post: 08-27-2012, 02:49 AM
  2. not able to see the display of OpenGLES with EGL
    By dilip_devaraj in forum OpenGL ES general technical discussions
    Replies: 2
    Last Post: 09-03-2008, 06:46 AM

Posting Permissions

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