Skip to content
Snippets Groups Projects

glamor: use gbm_format_for_depth, x11/xwayland: enable 30-bit pixmaps

The goal is to fix piglit glx-visuals-depth -pixmap and glx-visuals-stencil -pixmap tests.

The first commit is required to support all possible depth formats received.

The second commit, is to fix this error:

                    glXGetFBConfigAttrib(dpy, config, GLX_FBCONFIG_ID, &id);
                    fprintf(stderr, "fbconfig %d has GLX_PIXMAP_BIT but there "
                                    "is no pixmap format for depth %d, this "
                                    "is a server bug\n", id, depth);

that appears when XListDepths and glXGetFBConfigs disagrees on 30-bit support.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • added 2 commits

    • dcdae40b - glamor: use gbm_format_for_depth instead of open-coding it
    • 4dd0c404 - Support 30-bit pixmaps

    Compare with previous version

  • resolved all threads

  • Michel Dänzer
  • Michel Dänzer
  • added 3 commits

    • 427fe878 - glamor: return the result of gbm_format_for_depth
    • bc4c62f9 - glamor: use gbm_format_for_depth instead of open-coding it
    • 54fd03ef - glamor: set GLX_PIXMAP_BIT for supported depth values

    Compare with previous version

  • Michel Dänzer
  • Michel Dänzer
  • Michel Dänzer
  • added 3 commits

    • 04eda1c3 - glamor: return the result of gbm_format_for_depth
    • 0f8ead05 - glamor: use gbm_format_for_depth instead of open-coding it
    • 12c36822 - glamor: set GLX_PIXMAP_BIT for supported depth values

    Compare with previous version

  • added 1 commit

    • 8331865e - glamor: reject configs using unsupported rgbBits size

    Compare with previous version

  • resolved all threads

  • added glamor label

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading