#include <stdlib.h>
#include <math.h>
#include <GL/gl.h>
#include <GL/glx.h>
#include <X11/Xlib.h>
#include <X11/cursorfont.h>
#include <X11/keysym.h>
#include "OpenGLDisplayDevice.h"
#include "Inform.h"
#include "utilities.h"
#include "config.h"
#include "VMDApp.h"
#include "VideoStream.h"
#include <X11/extensions/XI.h>
#include <X11/extensions/XInput.h>
Go to the source code of this file.
Compounds | |
struct | xidevhandle |
struct | xinputhandle |
Functions | |
xidevhandle * | xinput_open_device (xinputhandle *handle, XID devinfo) |
void | xinput_close_device (xinputhandle *handle, xidevhandle *xdhandle) |
int | xinput_device_decode_event (xinputhandle *handle, xidevhandle *dev, XEvent *xev, spaceballevent *sballevent) |
int | xinput_decode_event (xinputhandle *handle, XEvent *xev, spaceballevent *sballevent) |
xinputhandle * | xinput_enable (Display *dpy, Window win) |
void | xinput_close (xinputhandle *handle) |
spaceballhandle * | spaceball_enable (Display *dpy, Window win) |
void | spaceball_close (spaceballhandle *handle) |
int | spaceball_decode_event (spaceballhandle *handle, const XEvent *xev, spaceballevent *sballevent) |
void | spaceball_init_event (spaceballevent *sballevent) |
void | spaceball_clear_event (spaceballevent *sballevent) |
XVisualInfo * | vmd_get_visual (glxdata *glxsrv, int *stereo, int *msamp, int *numsamples) |
void | setfullscreen (int fson, Display *dpy, Window win, int xinescreen) |
Variables | |
const char * | glStereoNameStr [OPENGL_STEREO_MODES] |
const char * | glRenderNameStr [OPENGL_RENDER_MODES] |
const char * | glCacheNameStr [OPENGL_CACHE_MODES] |
XColor | cursorFG |
XColor | cursorBG |
Renders drawing commands into a single X window.
Definition in file OpenGLDisplayDevice.C.
|
Definition at line 630 of file OpenGLDisplayDevice.C. Referenced by OpenGLDisplayDevice::do_resize_window. |
|
Definition at line 422 of file OpenGLDisplayDevice.C. References spaceballevent::event, spaceballevent::period, spaceballevent::rx, spaceballevent::ry, spaceballevent::rz, spaceballevent::tx, spaceballevent::ty, and spaceballevent::tz. Referenced by glwin_create, glwin_handle_events, and OpenGLDisplayDevice::read_event. |
|
Definition at line 369 of file OpenGLDisplayDevice.C. Referenced by glwin_destroy, and OpenGLDisplayDevice::~OpenGLDisplayDevice. |
|
Definition at line 374 of file OpenGLDisplayDevice.C. References spaceballevent::buttons, spaceballhandle::ev_button_press, spaceballhandle::ev_button_release, spaceballhandle::ev_motion, spaceballevent::event, NULL, spaceballevent::period, spaceballevent::rx, spaceballevent::ry, spaceballevent::rz, spaceballevent::tx, spaceballevent::ty, and spaceballevent::tz. Referenced by glwin_handle_events, and OpenGLDisplayDevice::read_event. |
|
Definition at line 303 of file OpenGLDisplayDevice.C. References spaceballhandle::drv_win, spaceballhandle::ev_button_press, spaceballhandle::ev_button_release, spaceballhandle::ev_command, spaceballhandle::ev_motion, and NULL. Referenced by OpenGLDisplayDevice::open_window. |
|
Definition at line 417 of file OpenGLDisplayDevice.C. Referenced by glwin_create, and OpenGLDisplayDevice::open_window. |
|
Definition at line 434 of file OpenGLDisplayDevice.C. References conf, glxdata::dpy, glxdata::dpyScreen, and NULL. Referenced by OpenGLDisplayDevice::open_window. |
|
Definition at line 291 of file OpenGLDisplayDevice.C. References xinputhandle::dev_spaceball, NULL, and xinput_close_device. Referenced by OpenGLDisplayDevice::~OpenGLDisplayDevice. |
|
Definition at line 134 of file OpenGLDisplayDevice.C. References xidevhandle::dev, xinputhandle::dpy, and NULL. Referenced by xinput_close. |
|
Definition at line 181 of file OpenGLDisplayDevice.C. References xinputhandle::dev_spaceball, NULL, and xinput_device_decode_event. Referenced by OpenGLDisplayDevice::read_event. |
|
Definition at line 145 of file OpenGLDisplayDevice.C. References xidevhandle::buttonpressevent, xidevhandle::buttonreleaseevent, spaceballevent::buttons, spaceballevent::event, xidevhandle::motionevent, spaceballevent::period, spaceballevent::rx, spaceballevent::ry, spaceballevent::rz, spaceballevent::tx, spaceballevent::ty, and spaceballevent::tz. Referenced by xinput_decode_event. |
|
Definition at line 195 of file OpenGLDisplayDevice.C. References xinputhandle::dev_spaceball, xinputhandle::dpy, NULL, strupncmp, xinputhandle::win, and xinput_open_device. Referenced by OpenGLDisplayDevice::open_window. |
|
Definition at line 111 of file OpenGLDisplayDevice.C. References xidevhandle::buttonpressevent, xidevhandle::buttonpresseventclass, xidevhandle::buttonreleaseevent, xidevhandle::buttonreleaseeventclass, xidevhandle::dev, xinputhandle::dpy, xidevhandle::evclasses, xidevhandle::motionevent, xidevhandle::motioneventclass, NULL, and xinputhandle::win. Referenced by xinput_enable. |
|
Initial value: { 0, 0xffff, 0xffff, 0xffff, DoRed | DoGreen | DoBlue, 0 } Definition at line 83 of file OpenGLDisplayDevice.C. Referenced by OpenGLDisplayDevice::open_window. |
|
Initial value: { 0, 0xffff, 0, 0, DoRed | DoGreen | DoBlue, 0 } Definition at line 81 of file OpenGLDisplayDevice.C. Referenced by OpenGLDisplayDevice::open_window. |
|
Initial value: { "Off", "On" } Definition at line 71 of file OpenGLDisplayDevice.C. Referenced by OpenGLDisplayDevice::OpenGLDisplayDevice. |
|
Initial value: { "Normal", "GLSL", "Acrobat3D" } Definition at line 63 of file OpenGLDisplayDevice.C. Referenced by OpenGLDisplayDevice::OpenGLDisplayDevice. |
|
Initial value: { "Off", "QuadBuffered", "HDTV SideBySide", "Checkerboard", "ColumnInterleaved", "RowInterleaved", "Anaglyph", "SideBySide", "AboveBelow", "Left", "Right" } Definition at line 50 of file OpenGLDisplayDevice.C. Referenced by OpenGLDisplayDevice::OpenGLDisplayDevice. |