occt: master b6bf4ec1

Author Committer Branch Timestamp Parent
kgv bugmaster master 2015-09-29 07:15:32 master a7197ef3
Affected Issues  0026732: Visualization, TKOpenGl - add option to request Core profile 3.2+ using GLX
Changeset 0026732: Visualization, TKOpenGl - add option to request Core profile 3.2+ using GLX

Aspect_Window::NativeFBConfig() - extend interface with new method.
Xw_Window - add Aspect_FBConfig option to constructors,
use glXChooseFBConfig() instead of glXChooseVisual() on GLX1.3+.

OpenGl_Window - create context using glXCreateContextAttribsARB()
when GLXFBConfig is provided by Aspect_Window.
This procedure now handles Core Profile and Debug Context options on Linux.

OpenGl_Window - drop code implicitly creating child window
when window XVisual is incomplete for OpenGL context.
This should eliminate event-handling issues at application side,
but would require window to be properly created by application.
add - src/Aspect/Aspect_FBConfig.hxx Diff File
mod - src/Aspect/Aspect_Window.hxx Diff File
mod - src/Aspect/FILES Diff File
mod - src/Cocoa/Cocoa_Window.hxx Diff File
mod - src/OpenGl/OpenGl_Window.cxx Diff File
mod - src/WNT/WNT_Window.hxx Diff File