Commit graph

9 commits

Author SHA1 Message Date
Devin Acker
0aeea0c075 ruby/video/gdi: implement clear() 2021-08-21 00:22:37 -04:00
Devin Acker
a632b50acc fix up a few long-standing display quirks:
- don't clear the display when toggling fullscreen
- clear the overscan area when disabling overscan (for PAL window sizes)
- always actively draw to the display even when no cart is loaded,
rather than relying on the blank canvas widget to always get drawn
correctly
- properly clear some video drivers' buffer (e.g. OpenGL) on startup
2021-08-14 22:21:50 -04:00
jsd1982
f1a1da5bc0 ruby: more Qt portable devicePixelRatio usage, preferring qreal version where available 2021-07-25 19:56:13 -05:00
jsd1982
4bc1032dd6 ruby: scale opengl output by devicePixelRatio; fixes 1/4 surface bug on high-dpi displays such as retina 2021-07-20 09:04:49 -05:00
devinacker
e961807f99 account for system state w/r/t/ canvas updates
(i.e. so that non-Qt video drivers will let Qt handle painting when the
system isn't actually powered on)
2016-11-20 16:08:30 -05:00
devinacker
33cf22f843 don't sometimes paint BG over hw rendering context
(this caused flickering when resizing or changing focus which was a
major problem when emulation is paused due to debugging; should address
#49)
2016-08-05 23:38:10 -04:00
Alex.W.Jackson@gmail.com
c8a0e84c4b ruby: on second thought, let's not reallocate the buffer every single frame
git-svn-id: http://bsnes-classic.googlecode.com/svn/trunk@49 fe182637-1eec-a322-cce2-af8e45122353
2015-04-26 13:36:53 -04:00
Michał Ziąbkowski
0d4a273a8f Ported OpenGL and Direct3D backend changes from bsnes-0.083. 2015-04-25 23:21:48 +02:00
devinacker
d88ac78d30 initial commit 2014-11-26 18:35:12 -05:00