1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0025147: Visualization, TKOpenGl - support EGL as alternative to GLX

Aspect_Window - add interface methods NativeHandle() and NativeParentHandle().
OpenGl_Window - pass OpenGl_GraphicDriver instance to the constructor.
OpenGl_Caps - add option to disable buffers swap at the end of frame redraw.
This commit is contained in:
kgv
2014-10-02 13:43:33 +04:00
committed by bugmaster
parent 6b62b2da81
commit 25b97fac40
15 changed files with 297 additions and 39 deletions

View File

@@ -20,6 +20,7 @@ inherits
uses
Background from Aspect,
Drawable from Aspect,
GradientBackground from Aspect,
TypeOfResize from Aspect,
FillMethod from Aspect,
@@ -160,6 +161,12 @@ is
---Purpose: Returns The Window SIZE in PIXEL
---Category: Inquire methods
NativeHandle ( me ) returns Drawable from Aspect is deferred;
---Purpose: Returns native Window handle (HWND on Windows, Window with Xlib, and so on)
NativeParentHandle ( me ) returns Drawable from Aspect is deferred;
---Purpose: Returns parent of native Window handle (HWND on Windows, Window with Xlib, and so on)
fields
MyBackground : Background from Aspect is protected;
MyGradientBackground : GradientBackground from Aspect is protected;