c020b5dcf6
Platform/Unix/X11EventQueue.cpp: Only process one event per call to poll(). Confirming to Platform API.
2020-10-16 19:39:27 +02:00
b21c62d98c
Platform/Unix/X11EventQueue: get and release display handle in constructor/destructor instead of every call to poll()
...
Should be fine as the display should never change during runtime.
2020-10-16 19:39:27 +02:00
053511453f
Platform/Unix/X11EventQueue: redirect unkown events to X11WindowEventHandler.
2020-10-16 19:39:27 +02:00
6dffb1619a
source/Platform/Unix/X11Display.cpp: register with X11WindowEventHandler
2020-10-16 19:39:27 +02:00
2788424516
Adding Platform/Unix/X11WindowEventHandler
2020-10-16 19:39:27 +02:00
2ab5c7fc41
Platform/Unix/X11Display: Adding processEvent() to handle resize.
2020-10-16 19:39:27 +02:00
31970826a4
source/Platform/Unix/X11Display.cpp: Replace ResizeRedirectMask with StructureNotifyMask
...
ResizeRedirectMask is broken (will not update the window size). We use StrucutreNotifyMask instead and capture the window size from CaptureNotify event instead.
2020-10-16 19:39:27 +02:00
478cdaa8a1
source/Platform/Unix/X11Display.cpp: in create() call setSize()
2020-10-16 19:39:27 +02:00
b58a5fe9dd
source/Platform/Unix/X11EventQueue.cpp: post quit event on "WM_DELETE_WINDOW".
2020-10-16 19:39:27 +02:00
34b78a7a4d
source/Platform/Unix/X11EventQueue.cpp: log "WM_DESTROY_WINDOW" message.
2020-10-16 19:39:27 +02:00
62156a8685
source/Platform/Unix/X11Display.cpp: call XSetWMProtocols with "WM_DELETE_WINDOW" flag.
2020-10-16 19:39:27 +02:00
776904ee9a
Platform/Unix/X11SharedDisplay: adding getAtom()
2020-10-16 19:39:27 +02:00
fa97552e23
source/Platform/Unix/UnixEventQueue.cpp: implement a poll method (only log events for now)
2020-10-16 19:39:27 +02:00
dd17868b89
source/Platform/Unix/X11Display.cpp: in create() set the attr.event_mask to include some interesting events.
2020-10-16 19:39:27 +02:00
9131aa2d2d
source/Platform/Unix/GLXContext: Initial implementation
2020-10-16 19:39:27 +02:00
06f5ef5f86
source/Platform/Unix/X11Display.cpp: Initial implementation
2020-10-16 19:39:27 +02:00
389d75f3d8
Adding source/Platform/Unix/X11SharedDisplay.cpp
2020-10-16 19:39:27 +02:00
c35fd2e287
Adding glad GLX
2020-10-16 19:39:27 +02:00
38d333862a
source/Platform/Unix: stub implementation
2020-10-16 19:39:26 +02:00