Commit Graph

7 Commits

Author SHA1 Message Date
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