Skip to content
Snippets Groups Projects

glx: bind/restore GLX ctx before/after buffer swap

Open Jeffrey Knockel requested to merge jeffk/vlc:glx-bind-ctx-before-swap into master
All threads resolved!

These changes seek to fix an issue in which the GLX video output renders only black with some drivers, such as with a software renderer (e.g., LIBGL_ALWAYS_SOFTWARE=true and GALLIUM_DRIVER=llvmpipe). Bisection found that this issue existed since commit 9b7514f9.

The proposed changes fix the issue by binding the GLX video output's context before calling glXSwapBuffers() and then restoring the previous context afterwards. Something similar is already done by the EGL video output on buffer swaps.

Merge request reports

Members who can merge are allowed to add commits.

Merge request pipeline #422887 passed with warnings

Merge request pipeline passed with warnings for f40c2795

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
Please register or sign in to reply
Loading