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,049
    • Issues 3,049
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 993
    • Merge requests 993
  • 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
  • !1002

mesa: Enable GL_MESA_framebuffer_flip_y for GL 4.3

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Heinrich Fink requested to merge heinrich.fink/mesa:gl43-enable-framebuffer-flip-y-ext into master Jun 04, 2019
  • Overview 7
  • Commits 1
  • Pipelines 3
  • Changes 3

Extend MESA_framebuffer_flip_y so it can also be used with OpenGL versions 4.3 and higher. OpenGL 4.3 adds glFramebufferParameteri needed by this extension.

This extension is extremely useful to avoid upside-down content when rendering into gbm_bos through GL FBOs, and scanning out these buffers directly via KMS. In our use case, we use GL core rather than GLES. I have tested this with daniels/kms-quads!5 (merged), which documents and addresses the y-flip issue when going through user framebuffer objects rather than system framebuffer objects. Note that !624 (merged) is needed when testing this patch with kms-quads with GL.

Edited Jul 24, 2019 by Matt Turner
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: gl43-enable-framebuffer-flip-y-ext