Commit Graph

12 Commits

Author SHA1 Message Date
Alexander Babikov
45520768ba Fix unsolicited mouse captures after a double-click in an file selection dialog 2022-02-05 01:01:06 +05:00
ts-korhonen
8c8e2219d8 qt: Refactor renderers buffer ownership
Invert the way buffers are created; make renderer create buffers for
renderer stack.
Use QImage bits as the buffer for software renderer.
2022-01-15 21:45:34 +02:00
Cacodemon345
9b8650cae5 Fix crash when switching fullscreen stretching modes when fullscreen 2021-12-31 13:02:27 +06:00
Cacodemon345
1bdff37e38 * Turned the software renderer into a window as well
* Fix inability to move window on GNOME
* Fix status bar icons being frozen after icon set switch
2021-12-29 23:49:09 +06:00
Cacodemon345
814aaf08a7 Add OpenGL 3.0 Core renderer 2021-12-27 16:32:03 +06:00
Cacodemon345
67a0f7a85f Blitting improvements
* Use a single QImage copy for actual drawing
* Use std::array and std::unique_ptr for image buffers
* Signal immediately after copying the buffer to internal image
2021-12-21 16:38:13 +06:00
ts-korhonen
75c045c103 Merge branch 'qt' of https://github.com/jgilje/86Box into qt 2021-12-15 21:09:59 +02:00
Joakim L. Gilje
1cc09b9033 make sure render-widget gets deleted when switching 2021-12-15 20:02:35 +01:00
Joakim L. Gilje
d2115bc5e4 init the renderer on demand, instead of always ready 2021-12-15 19:58:09 +01:00
ts-korhonen
7c2cd35965 qt: Add overload protection to renderers
Added atomic_flags for renderer buffers to prevent concurrent usage and
overloading the renderer with draw requests when it's busy.
2021-12-15 00:37:48 +02:00
Cacodemon345
b7fee7745b Mouse event improvements
* Only center the cursor when it leaves the emulator screen
* Ignore the very first mouse event that appears after it is captured for the first time after starting
2021-12-08 16:27:58 +06:00
Joakim L. Gilje
a74afc3f1e added software renderer. split common functions prev.
in gleswidget to renderstack (a QStackWidget), which in
turn calls an actual renderer. added ability to target GLES
directly, but this is maybe uneeded.
2021-12-04 21:33:04 +01:00