Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • L libglvnd
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 25
    • Issues 25
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 10
    • Merge requests 10
  • 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
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • glvnd
  • libglvnd
  • Merge requests
  • !30

libGLX: Rework the ABI for object-to-vendor mappings.

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Kyle Brenneman requested to merge github/fork/kbrenneman/libglx-direct-vendor-mapping into master Apr 20, 2015
  • Overview 5
  • Commits 2
  • Pipelines 0
  • Changes 6

Created by: kbrenneman

The current interface between libGLX and libGLX_vendor maps from objects (drawables, contexts, FBconfigs) to screens, and then from screens to vendors. As a result, the interface requires that every screen have exactly one vendor, which all objects on that screen have to use.

We could instead change the interface so that it maps from objects to (screen, vendor) pairs. When you create a context or drawable from a GLXFBConfig, it would inherit the config's vendor.

How each config maps to a vendor would be an implementation detail within libGLX. While it might use an (object -> screen -> vendor) mapping now, future versions of libglvnd could allow for other options without having to change any vendor libraries.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/kbrenneman/libglx-direct-vendor-mapping