Browse files

VideoOutputOpenGL: Use a shared OpenGL context for OpenGL video and UI.

This should fix:-

- blank OpenGL video playback on OS X.
- framebuffer 'confusion' where the driver gets stuck displaying a UI
context backbuffer during video playback and vica-versa. Seen on intel
clarkdale and AMD with the proprietary driver.

This also clears the way for VAAPI integration and the removal of
context locking and switching code that is reducing performance and
breaking OpenGL rendering on windows.

In the medium term, integrated video and UI rendering is now

Refs #9268
Refs #8593
  • Loading branch information...
1 parent 499a414 commit 6846e140499e77432954d2d8ef56cabcbc6063e7 Mark Kendall committed Jun 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/libs/libmythtv/videoout_opengl.cpp
@@ -277,7 +277,7 @@ bool VideoOutputOpenGL::SetupContext(void)
return false;
- //gl_context = dynamic_cast<MythRenderOpenGL*>(win->GetRenderDevice());
+ gl_context = dynamic_cast<MythRenderOpenGL*>(win->GetRenderDevice());
if (gl_context)

0 comments on commit 6846e14

Please sign in to comment.