Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • mesa mesa
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 3.2k
    • Issues 3.2k
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1k
    • Merge requests 1k
  • 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
  • !10744

WIP: egl: add EGL_HOST_POINTER_MESA

  • Review changes

  • Download
  • Patches
  • Plain diff
Open Simon Ser requested to merge emersion/mesa:egl-host-pointer into main May 11, 2021
  • Overview 30
  • Commits 1
  • Pipelines 2
  • Changes 3

This is an attempt to add a way for EGL clients to tell software renderers like llvmpipe to render to an existing chunk of memory. The end goal is to allow llvmpipe to work with wlroots, which uses only EGLImageKHR and never uses EGLSurface.

Clients create an EGLImageKHR with the target EGL_HOST_POINTER_MESA, and a pointer to the chunk of memory in buffer. Width, height, stride and format are provided as attributes.

Is this an acceptable approach?

Prior art: VK_EXT_external_memory_host

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: egl-host-pointer