adelikat
59139ab266
Spell out Numerator and Denominator
2017-05-05 11:25:38 -05:00
adelikat
62a13d961d
Move VsyncNum and VsyncDen out of CoreComm and into IVideoProvider
2017-05-05 11:21:37 -05:00
J.D. Purcell
303e8d41e9
Cleanup code to create GUI Renderer.
2017-04-29 17:49:34 -04:00
J.D. Purcell
676da1002d
Update MultiHawk's DisplayManager. Because I was testing out multiple D3D controls.
2017-04-09 22:44:58 -04:00
J.D. Purcell
f1dee6c20e
Fix flickering when toggling vsync on/off (e.g. while fast forwarding).
2017-04-08 16:56:15 -04:00
J.D. Purcell
0b81463408
Make sure Direct3D objects get disposed. Fixes all SlimDX warnings when exiting.
2017-04-08 15:18:55 -04:00
zeromus
f7638e8352
"fix" client.bufferwidth and client.bufferheight .... I dont understand why they were doing what they were doing. It seems like such a simple thing, just return the dimensions of the core's videoprovider. Someone should rethink all these (and the surface names, and the padding names) and craft a complete, new design.
2017-01-26 00:54:44 -06:00
zeromus
676b5791f6
lua: add gui.DrawFinish() which will let you choose when to finish drawing; and add optional argument to gui.DrawNew which when set to false lets you keep it from being cleared.
2016-04-21 16:43:37 -05:00
zeromus
3adc8f7c82
dont send 0-sized framebuffers deep into displaymanager (prevents crashes when sending fullscreen windows to other monitors sometimes, and probably other bugs)
2016-04-20 12:33:59 -05:00
zeromus
1a1a688b96
remove NeedsToPaint; client now repaints ~100fps while paused all the time. as it already did when input display was enabled. fixes #615.. probably
2016-04-20 12:17:41 -05:00
zeromus
f1ea49133d
fix bug in d3d alternate vsync + frame advance
2016-03-29 03:05:00 -05:00
zeromus
17cae0ad1c
fix old bug in raw screenshot with game extra padding
2016-03-27 21:02:18 -05:00
zeromus
10272b4857
add alternate vsync method for d3d display method, in case youre the lucky owner of a system that sucks
2016-03-27 04:49:17 -05:00
zeromus
406b431280
add comments for later about triple buffering
2016-03-26 12:39:31 -05:00
zeromus
3deb7fcb31
add autoprescale concept. default it to on, since really I can't think of when you'd ever not want it, except in some very low-spec system scenarios. Add NOP concept to filter chain, potentially troublesome
2016-03-23 20:26:31 -05:00
zeromus
86b3ecf7b8
displaymanager: change how windows shrink to <1:1 by shrinking content instead of attempting to inversely 'letterbox' it by shoving it offscreen ( fixes #579 )
2016-03-04 01:59:25 -06:00
zeromus
95bc69b448
some prepwork for opengl texture ID importing (skip rendertarget resolve on OGL display method) but there are still problems and it can't be enabled yet
2016-02-22 00:23:20 -06:00
feos
128c09e7b4
progress with lua:
...
- added fceux and gens/snes9x pixelated fonts
- added gui.pixelFont() function for them (no resizing, so perfectly scalable)
- added background to drawText and pixelText (halo was painfully slow, so just a box)
- reordered fore and back colors for gui.text (no need to specify back every time we want to change fore). thought its back color was shadow, that is obsoleted by halo now, whose color we can't change. anyway, it's way slower than simple text functions, so they should be used mostly.
- option to toggle all scripts if none is selected. greatly reduces routine when heavily tweaking a script, and is just generally pretty.
2015-11-28 22:19:15 +03:00
zeromus
ea45f40743
fix error in sizing of lua draw buffers with SetGameExtraPadding (and probably ClientExtraPadding) use
2015-11-13 15:07:14 -06:00
zeromus
4fe51a1364
support custom AR selection in addition to custom exact-specified resolution
2015-10-25 02:15:59 -05:00
zeromus
7f5546fac4
tidy some oddities with the scanline filter
2015-10-15 20:10:35 -05:00
zeromus
cfe215d6c0
repair lousy assortment of built-in shaders ( fixes #518 )
2015-10-13 17:18:41 -05:00
zeromus
21579c1c86
lua - add client.SetClientExtraPadding
2015-10-12 20:30:09 -05:00
zeromus
7e828d5618
d3d display method
2015-08-24 13:10:50 -05:00
zeromus
3f78e2e70f
add feature to display config > misc tab for disabling display of screen and hud for true maximum turbo performance. also display FPS in window caption during that mode, so you can still tell what's going on
2015-08-17 23:26:19 -05:00
zeromus
0cd3a82862
psx - improve framebuffer clipping method, add deinterlacer settings, fix some PAR for PAL games; fix bugs in GameExtraPadding handling
2015-08-09 13:57:45 -05:00
zeromus
db1191dc48
emuhawk - add experimental prescale option to display manager
2015-07-06 12:31:30 -05:00
zeromus
e77c1455b3
canvas extension: ok, this works better
2015-03-23 03:43:39 +00:00
zeromus
dfafee2b25
here's one way of extending the canvas. I dont think it's right. I can't test it now anyway, I'm checking it in for reference. I will probably revert it and do it another way: add a filter after the input filter but before the "emu" surface filter.
2015-03-23 03:19:06 +00:00
adelikat
307845b3b5
Lua - recover from a locked drawing surface exception and log to the console, rather than crash the emulator
2015-01-29 02:14:39 +00:00
jdpurcell
798f882457
Redo r8309. Try a different fix for vsync not taking effect at startup.
2015-01-15 15:56:23 +00:00
jdpurcell
28f1ad1c0e
Allow clock throttle to take over for audio / vsync throttles during fast forward or rewind for proper speed control.
2015-01-13 04:21:32 +00:00
zeromus
979fa2c0f7
displaymanager - maybe, just maybe, successfully get rid of the need for 0xFF000000 in the VideoProvider buffers. Should enable some little speedups and cleanups of other code that had to add the 0xFF000000 alpha channel
2014-12-13 23:04:22 +00:00
zeromus
ba3a6ca817
display manager: dont crash when receiving 0,0 buffer size to autosize to, even though that was probably a mistake
2014-12-12 00:39:50 +00:00
zeromus
f1bd6f0086
less amount / more useful chatter when changing client dimensions
2014-12-10 19:36:16 +00:00
zeromus
08ae448257
start adding d3d9 display method, but.. it was more work than gdi+, as I expected. I'll finish it another time.
2014-12-08 02:15:42 +00:00
zeromus
556b7b0123
gdi+ display method!
2014-12-07 02:26:52 +00:00
zeromus
86e24011ae
address some problems with fast forward vs vsync (mostly, it not working)
2014-10-11 09:01:50 +00:00
zeromus
9b6add0e40
basic TransformPoint work
2014-10-10 00:15:15 +00:00
zeromus
7e3144fd07
support custom AR and display client size while resizing. fixes Issue #251 .
2014-09-14 00:51:30 +00:00
zeromus
f46973119b
add ctrl+shift+c to copy current client area as a screenshot (as opposed to the ctrl+c raw copy) so you can get scaling and filters too
2014-07-22 00:04:28 +00:00
zeromus
6f919c64a7
client sizing / AR revisions
2014-07-20 06:51:31 +00:00
adelikat
ab5cfab035
remove redundant code throughout the emuhawk project
2014-06-29 02:28:48 +00:00
zeromus
3ea6495031
give yabause its own GL context. gets gl+yabause minimally working. maybe still loadstate-related crashes.
2014-06-08 23:30:34 +00:00
zeromus
05c08806d1
fix bugs in resize filters support. everyone check your AR correction scenarios, please
2014-06-03 03:16:38 +00:00
zeromus
f75142213b
make lua surface clearing more robust
2014-06-03 03:09:43 +00:00
zeromus
bb1b1ff5b5
fix av dumping with osd enabled (screenshots as well);
...
default av dumping extension to the dumper plugin's desired default
2014-06-02 20:16:59 +00:00
zeromus
49def8a758
fix some AR correction scenarios
2014-05-28 02:19:51 +00:00
zeromus
81bd846a0c
finetune displaymanager sizing to eliminate sidebars from default 2x NES scenario. please check platforms you care about (a2600 mostly) to make sure they havent regressed
2014-05-23 00:50:19 +00:00
zeromus
f9477bb0f1
automatic client 1x/2x etc sizing should respect console and user AR options
2014-05-17 03:50:19 +00:00