Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • demos demos
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 5
    • Merge requests 5
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.

Update #1:

Due to abusive users subverting our CI facilities to mine cryptocurrency, breaking out of the container sandbox in the process, we have been forced to take actions to limit the usage of the public runners to official projects only.

The policy will be enforced on 2023-03-23 (or before if we detect abuses).

Please see this issue for more context and to see if and how you are impacted.

  • MesaMesa
  • demosdemos
  • Merge requests
  • !5

Draft: eglinfo: Add renderer and command line options

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Olivier Fourdan requested to merge ofourdan/demos:eglinfo into main Sep 19, 2019
  • Overview 4
  • Commits 4
  • Pipelines 0
  • Changes 3

This merge request was initially aimed at adding the renderer to eglinfo.

However, to get to the renderer, it needs to create a context.

Unfortunately eglinfo links to libGL which may or may not be able to create a GLES context (apparently, it works with Mesa, not sure about others) so using something like epoxy which takes care of dlopen'ing the right libs would be interesting.

With adding even more info to eglinfo, it might be desirable to give users the ability to specify the platform or API they want to query.

So this series of patches does:

  • Add an optional dependency on epoxy
  • Reports the renderer for all API
  • Add command line options support to limit the platform and API if desired.

e.g.:

$ elginfo [-h] [-c] [-a <api>] [-p <platform>]
	 -h: This message
	 -a <api>: Prints renderer for an API if supported.
	    ("glcore", "gles", "vg")
	 -p <platform>: Prints information for a platform if supported.
	    ("android", "gbm", "wayland", "x11", "surfaceless", "device", "none")
Edited May 10, 2022 by Erik Faye-Lund
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: eglinfo