[mythtv-commits] mythtv/master commit: 50f2a5530 by Mark Kendall (mark-kendall)
MythTV
noreply at mythtv.org
Tue Feb 8 03:09:03 UTC 2011
Author: Mark Kendall <mkendall at mythtv.org>
Change Date: 2011-02-07T19:08:25-08:00
Push Date: 2011/02/07 19:08:53 -0800
Repository: mythtv
Branch: master
New Revision: 50f2a55302d97f5af21df0bc167de0644cee1911
Changeset: https://github.com/MythTV/mythtv/commit/50f2a5530
Log:
OpenGL: Refactor MythRenderOpenGL and sub-class it for functionality.
This creates two sub-classes for MythRenderOpenGL:-
- MythRenderOpenGL1 contains functionality that is deprecated in a core
OpenGL 2.0/ES profile.
- MythRenderOpenGL2 contains pure OpenGL 2.0/ES functionality (or at
least it will do when cleaned up a little more)
For the time being, the new MythRenderOpenGL::Create function will only
return a 'legacy' context which should be entirely unchanged in
behaviour and functionality from the existing code.
Once the 2.0/ES version is cleaned up and fully functional, I will add
some runtime detection code to try the 'next generation' code and
fallback to legacy if available.
Added:
mythtv/libs/libmythui/mythrender_opengl1.cpp
mythtv/libs/libmythui/mythrender_opengl1.h
mythtv/libs/libmythui/mythrender_opengl2.cpp
mythtv/libs/libmythui/mythrender_opengl2.h
mythtv/libs/libmythui/mythrender_opengl_defs1.h
mythtv/libs/libmythui/mythrender_opengl_defs2.h
Modified:
mythtv/libs/libmythtv/openglvideo.cpp
mythtv/libs/libmythtv/videoout_opengl.cpp
mythtv/libs/libmythtv/vsync.cpp
mythtv/libs/libmythui/libmythui.pro
mythtv/libs/libmythui/mythmainwindow.cpp
mythtv/libs/libmythui/mythrender_opengl.cpp
mythtv/libs/libmythui/mythrender_opengl.h
mythtv/libs/libmythui/mythrender_opengl_defs.h
More information about the mythtv-commits
mailing list