Creating/Destroying GL Context is refactored into local functions
Create/Destroy GL Context when resizing Window
Resize child *after* parent
Resize hidden window
There were two issues with resizing:
First, the view was not properly resized as the GL Context always keeps its initial size. Now, the hidden window is resized, the GL Context is recreated, then the actual window is resized
Second, for some reason when resizing the Child, the Parent Window's total size would update, but not the Window itself. This led to the delta math being wrong as it applied to the new size instead of its old size. Now, the Parent is resized first, then the Child
Run lglw_events in effEditIdle (debug plugin)
Run lglw_events in effEditIdle (VSR plugin)
Run effEditIdle loop in debug host if no _XEventProc
Temporarily swap lglw_log for printf (needs fixing)
Suppress most mouse event messages
Bring back sending of child events to parent (rare occurence)
Cleanup some lglw_window_open code
lglw_window_open event mask setup to receive events for itself
Comment the setting of _XEventProc (to get to effEditIdle loop)
NoEventMask on mouse grabbing, possible fix for grabbing issues
Setup working and non-blocking lglw_events
Special keys affect modifiers and send specific LGLW codes
Other keys send the X KeySym for the key
Remove unused key hooks
Add queued mouse warps to redraws
FocusIn/FocusOut simply to see them in the log
EnterNotify/LeaveNotify are basically complete
MotionNotify is basically complete
ButtonPress/ButtonRelease are basically complete
lglw_mouse_grab is implemented but unable to test currently
lglw_mouse_ungrab is basically complete
lglw_mouse_warp is implemented but unable to test currently
lglw_mouse_cursor_show is basically complete, perhaps could have the cursor refactored to the struct
vst2_lglw_debug_plugin extracted, makefile made
vst2_debug_host temporarily using this debug plugin
vst2_debug_host Linux support for XWindows, _XEventProc
Temporary logger change to avoid crashes (needs investigating)
LGLW for Linux:
Include necessary X and GL headers
Temporary static log file and XErrorHandler for debugging
Many logging statements
loc_create_hidden_window implemented and working
loc_destroy_hidden_window implemented and working
lglw_window_open implemented and working
lglw_window_resize implemented and untested
lglw_window_close implemented and working
lglw_window_show implemented and untested
lglw_window_hide implemented and untested
lglw_window_is_visible is implemented and untested
lglw_window_size_get is implemented and untested
lglw_redraw is implemented, but possible wrongly
lglw_glcontext_push implemented and working
lglw_glcontext_pop implemented and working
lglw_swap_buffers implemented and working
lglw_swap_interval_set implemented and untested