Skip to content

egl, mesa: more pbuffer fixes

Kenneth Graunke requested to merge kwg/mesa:back2front into master

Now that we've disabled the 565 pbuffers, the OpenGL CTS has started using the 8888 pbuffers. It turns out those are also broken.

  1. We were making both double-buffered and single-buffered pbuffer EGL configs. One of those things makes no sense.
  2. GetFramebufferAttachmentParameter needs to handle GL_BACK -> FRONT_LEFT translation in desktop GL (not just GLES).
  3. My earlier ReadBuffer fixes used DrawBuffer instead of ReadBuffer (found by inspection).

Merge request reports