Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • mesa mesa
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,068
    • Issues 3,068
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1,000
    • Merge requests 1,000
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • MesaMesa
  • mesamesa
  • Merge requests
  • !4491

egl: simplify client/platform extension handling

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Emil Velikov requested to merge xexaxo/mesa:egl-glvnd-ext-str into master Apr 08, 2020
  • Overview 3
  • Commits 1
  • Pipelines 6
  • Changes 4

For GLVND reasons the client/platform extensions strings should be split. While in the non GLVND case they're one big string.

Currently we handle this distinction at run-time for not obvious reason. Adding additional code and complexity.

Swap those with a few well placed #if USE_LIBGLVND guards.

As a side result this removes a minor memory leak due to the concatenation in the non GLVND case.

Signed-off-by: Emil Velikov emil.velikov@collabora.com

/cc @kbrenneman (original author) @eric (tinkering with GLVND)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: egl-glvnd-ext-str