GLX functions. More...
#include <kanzi/core.ui/platform/windowing/common/kzs_native_handles.h>
#include <kanzi/core.ui/platform/windowing/common/kzs_window.h>
#include <kanzi/core/legacy/debug/kzs_error.hpp>
#include <kanzi/core/legacy/kzs_types.hpp>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xatom.h>
#include <GL/glcorearb.h>
#include <GL/glext.h>
#include <GL/glx.h>
Macros | |
#define | GL_GLEXT_PROTOTYPES |
Functions | |
kzsError | kzsGLXContextDeinitialize (Display *display, GLXContext context) |
Deinitializes the GLX context. | |
kzsError | kzsGLXContextInitialize (Display *display, XVisualInfo *visualInfo, GLXContext shareList, GLXContext *out_glxContext) |
Initializes the GLX context. | |
kzsError | kzsGLXGetConfig (Display *display, XVisualInfo *visualInfo, kzInt attribute, kzInt *out_value) |
Returns an GLX configuration attribute. | |
kzsError | kzsGLXMakeCurrent (Display *display, Window window, GLXContext context) |
Makes the GLX surface active. | |
kzsError | kzsGLXSwapInterval (kzInt interval) |
Sets the swap interval. | |
kzsError | kzsGLXUpdateSurface (Display *display, Window window) |
Updates the GLX surface on the screen. | |
GLX functions.
Copyright 2008-2017 by Rightware. All rights reserved.
#define GL_GLEXT_PROTOTYPES |
kzsError kzsGLXContextInitialize | ( | Display * | display, |
XVisualInfo * | visualInfo, | ||
GLXContext | shareList, | ||
GLXContext * | out_glxContext ) |
Initializes the GLX context.
kzsError kzsGLXContextDeinitialize | ( | Display * | display, |
GLXContext | context ) |
Deinitializes the GLX context.
kzsError kzsGLXMakeCurrent | ( | Display * | display, |
Window | window, | ||
GLXContext | context ) |
Makes the GLX surface active.
kzsError kzsGLXUpdateSurface | ( | Display * | display, |
Window | window ) |
Updates the GLX surface on the screen.