Skip to content
Snippets Groups Projects

eglinfo: feature parity with glxinfo and wglinfo

Merged He Haocheng requested to merge hch12907/mesa-demos:glinfo-egl into main
All threads resolved!

It's the weekend, time for another batch of eglinfo changes. :D

This changes the output format of eglinfo slightly, now the printed extension lists are comma-separated rather than space-separated. (GL_EXT_foo, GL_EXT_bar instead of GL_EXT_foo GL_EXT_bar)

Edited by He Haocheng

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Erik Faye-Lund
  • Erik Faye-Lund
    • Resolved by He Haocheng

      The result here fails to compile for me:

      FAILED: src/egl/opengl/eglinfo 
      cc  -o src/egl/opengl/eglinfo src/egl/opengl/eglinfo.p/eglinfo.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,--start-group src/glad/libglad.a src/util/libutil.a /usr/lib/x86_64-linux-gnu/libEGL.so /usr/lib/x86_64-linux-gnu/libGLU.so -lm /usr/lib/x86_64-linux-gnu/libglut.so -Wl,--end-group
      /usr/bin/ld: src/util/libutil.a.p/glinfo_common.c.o: in function `build_core_profile_extension_list':
      /home/kusma/build/mesa-demos/../../src/mesa-demos/src/util/glinfo_common.c:298: undefined reference to `glGetIntegerv'
      /usr/bin/ld: src/util/libutil.a.p/glinfo_common.c.o: in function `print_program_limits':
      /home/kusma/build/mesa-demos/../../src/mesa-demos/src/util/glinfo_common.c:433: undefined reference to `glGetError'
      /usr/bin/ld: /home/kusma/build/mesa-demos/../../src/mesa-demos/src/util/glinfo_common.c:440: undefined reference to `glGetError'
      /usr/bin/ld: src/util/libutil.a.p/glinfo_common.c.o: in function `print_limits':
      /home/kusma/build/mesa-demos/../../src/mesa-demos/src/util/glinfo_common.c:699: undefined reference to `glGetIntegerv'
      /usr/bin/ld: /home/kusma/build/mesa-demos/../../src/mesa-demos/src/util/glinfo_common.c:700: undefined reference to `glGetError'
      /usr/bin/ld: /home/kusma/build/mesa-demos/../../src/mesa-demos/src/util/glinfo_common.c:726: undefined reference to `glGetIntegerv'
      /usr/bin/ld: /home/kusma/build/mesa-demos/../../src/mesa-demos/src/util/glinfo_common.c:734: undefined reference to `glGetIntegerv'
      /usr/bin/ld: /home/kusma/build/mesa-demos/../../src/mesa-demos/src/util/glinfo_common.c:737: undefined reference to `glGetIntegerv'
      /usr/bin/ld: /home/kusma/build/mesa-demos/../../src/mesa-demos/src/util/glinfo_common.c:748: undefined reference to `glGetIntegerv'
      /usr/bin/ld: src/util/libutil.a.p/glinfo_common.c.o: in function `query_ATI_meminfo':
      /home/kusma/build/mesa-demos/../../src/mesa-demos/src/util/glinfo_common.c:849: undefined reference to `glGetIntegerv'
      /usr/bin/ld: src/util/libutil.a.p/glinfo_common.c.o:/home/kusma/build/mesa-demos/../../src/mesa-demos/src/util/glinfo_common.c:855: more undefined references to `glGetIntegerv' follow
      collect2: error: ld returned 1 exit status
      [17/18] Compiling C object src/vulkan/vkgears.p/vkgears.c.o
      ninja: build stopped: subcommand failed.
  • He Haocheng added 12 commits

    added 12 commits

    • f091e3c2 - glinfo_common, glxinfo: switch to GLAD completely
    • 5dd3a20e - glinfo_common: remove wglinfo and glxinfo specific bits
    • 0ce83a6f - eglinfo: start including glinfo_common
    • 3d30d45d - glinfo_common: move from xdemos to utils
    • 4fc066c3 - eglinfo: use print_extension_list() provided by glinfo_common
    • c5a3cd1b - eglinfo: parse -s option for single-extension-per-line output
    • 16f0f05a - eglinfo: make PrintContextExtensions() return a string
    • d0584956 - eglinfo: let createEGLContext() return version of the created context
    • 90ee0f76 - eglinfo: parse -l for printing OpenGL limits
    • a43c730a - eglinfo: print GPU memory info
    • f8eade29 - eglinfo: fix the ifdef-guard in parse_args()
    • 4de35459 - eglinfo: parse -v option for verbose visual infos

    Compare with previous version

  • He Haocheng added 12 commits

    added 12 commits

    • 24fbeab3 - glinfo_common, glxinfo: switch to GLAD completely
    • 8a30f8ef - glinfo_common: remove wglinfo and glxinfo specific bits
    • dc18c9e5 - eglinfo: start including glinfo_common
    • 319feeaf - glinfo_common: move from xdemos to utils
    • 78505991 - eglinfo: use print_extension_list() provided by glinfo_common
    • 56864d0b - eglinfo: parse -s option for single-extension-per-line output
    • 86b91fa1 - eglinfo: make PrintContextExtensions() return a string
    • 083a30da - eglinfo: let createEGLContext() return version of the created context
    • bafeaf35 - eglinfo: parse -l for printing OpenGL limits
    • b8acfb88 - eglinfo: print GPU memory info
    • e8c12edb - eglinfo: fix the ifdef-guard in parse_args()
    • 3e4d1037 - eglinfo: parse -v option for verbose visual infos

    Compare with previous version

  • He Haocheng added 13 commits

    added 13 commits

    • 233e061f - 1 commit from branch mesa:main
    • e2fef121 - glinfo_common, glxinfo: switch to GLAD completely
    • e10df65f - glinfo_common: remove wglinfo and glxinfo specific bits
    • 5f88ddbb - eglinfo: start including glinfo_common
    • 5042b952 - glinfo_common: move from xdemos to utils
    • 05d76d11 - eglinfo: use print_extension_list() provided by glinfo_common
    • 34b9ec63 - eglinfo: parse -s option for single-extension-per-line output
    • aa62c6a7 - eglinfo: make PrintContextExtensions() return a string
    • 0a630873 - eglinfo: let createEGLContext() return version of the created context
    • c3617a66 - eglinfo: parse -l for printing OpenGL limits
    • a77e1ca8 - eglinfo: print GPU memory info
    • d0e43d19 - eglinfo: fix the ifdef-guard in parse_args()
    • b82f1307 - eglinfo: parse -v option for verbose visual infos

    Compare with previous version

  • Erik Faye-Lund resolved all threads

    resolved all threads

  • Looks great to me :)

  • merged

  • Please register or sign in to reply
    Loading