zeromus
b1d491d91f
banish some unruly epsilons
2020-04-28 18:56:24 -04:00
zeromus
cb5c49d11b
fix more matrix sense snafus
2020-04-28 18:56:24 -04:00
zeromus
377e4498d7
straighten out lua APIs for coordinate transforming
2020-03-31 19:15:52 -04:00
zeromus
667a218c58
hook up melonds screen control stuff to settings
2020-03-31 18:30:08 -04:00
zeromus
e45943c26a
raw capability for DisplayManager handling the NDS screen layouts. someone else will have to hook up the configuration in "CreateCoreScreenControl()". Gap, rotation, and layouts all supported. You will see that other configurations with varying view sizes won't be hard either.
...
Note that this was actually not very difficult, compared to dealing with the client sizing logic, which was teetering on the brink of total collapse. I may have messed something up while trying to support it here (mainly related to emu-space and client-space padding). There were many assumptions that the core's videoProvider would remain sensible, which this "core screen control" system subverts. The padding and sizing was added after I designed the pipeline specifically for this, so the padding and sizing is not handling it very well. Nonetheless, I think it works.
2020-03-29 21:50:06 -04:00
adelikat
4bf463a2fc
use object initializers in Client.EmuHawk
2020-02-28 11:15:06 -06:00
adelikat
0f33e2b1e7
cleanup display manager code
2019-12-31 11:14:10 -06:00
adelikat
64ea9afee5
cleanups
2019-12-31 10:17:55 -06:00
YoshiRulz
1d7b1b49ee
Improve logging in shader compilation ( resolves #1748 )
2019-12-03 03:03:38 +10:00
James Groom
779975f689
Use nameof
2019-03-28 14:17:14 +11:00
YoshiRulz
e6374ef477
Use string interpolation
2019-03-19 00:06:37 +10:00
zeromus
e53d861db4
Revert "bad attempt at implementing user crop area"
2019-01-18 01:00:24 -05:00
zeromus
578bb546f3
bad attempt at implementing user crop area. need to do differently. needs to happen.. like... as soon as we get the video provider.
2019-01-18 01:00:07 -05:00
zeromus
2d29b8b245
dont crash when autoprescale is enabled and it's asked to _shrink_
2017-06-29 04:47:22 -05: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
e426b33017
fix new bug in game extra padding
2016-03-27 21:02:18 -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
zeromus
e0d74c7718
better error handling in shader compiling. kind of sloppy, but gets the job done. entire system could use a little rethinking, if i ever revisit filters
2016-02-03 02:28:03 -06:00
zeromus
3919f5f5d3
support #include in .cg files
2015-10-18 21:13:12 -05:00
zeromus
bd795ed162
validate shaders when selecting them from display manager config dialog to prevent setting broken shaders. also specifically reject .cgp containing .glsl references
2015-10-17 19:28:57 -05:00
zeromus
c3ff70b864
fix gameExtraPadding coordinate translation and revise lua autodoc for the concerned functions. Presently the entire assortment of functions is confusing, but at least it does something that works.
2015-10-16 19:17:23 -05:00
zeromus
19b3f8b205
retro shaders no longer need sampler to be named s_p
2015-10-15 20:10:58 -05:00
zeromus
21579c1c86
lua - add client.SetClientExtraPadding
2015-10-12 20:30:09 -05:00
zeromus
787cb82e28
fix problem with client.SetGameExtraPadding distortion in >1x window scales. This logic is insanely complex, so regressions are possible.
2015-10-12 19:57:11 -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
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
556b7b0123
gdi+ display method!
2014-12-07 02:26:52 +00:00
zeromus
ede78865b2
fix a bug in point transformation when using system-suggested (non-1.0 AR). Was probably breaking zapper coords when that feature was used, but unproven. Anyway, someone should test that.
2014-10-10 00:21:43 +00:00
zeromus
9b6add0e40
basic TransformPoint work
2014-10-10 00:15:15 +00:00
zeromus
6f919c64a7
client sizing / AR revisions
2014-07-20 06:51:31 +00:00
adelikat
9fd640ff4b
Remove some unused code
2014-06-29 02:33:50 +00:00
adelikat
ab5cfab035
remove redundant code throughout the emuhawk project
2014-06-29 02:28:48 +00:00
zeromus
b96ebaafeb
dont get stuck if the user specifies a crashing retroshader
2014-06-13 01:27:26 +00:00
zeromus
d2ea92d254
support filter_linear in retroshaders
2014-06-12 08:10:14 +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
49def8a758
fix some AR correction scenarios
2014-05-28 02:19:51 +00:00
zeromus
af60a42003
fix bug 1x'ing client window size in some cores
2014-05-26 18:37:39 +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
6b1fa399c5
fix bug where lua layers wreck AR logic
2014-05-07 01:27:41 +00:00
zeromus
26c30c44ca
improve AR integerization
2014-05-03 03:25:09 +00:00
zeromus
61c7537bfc
fix issues with integerizing logic in association with system AR correction enabling
2014-05-03 02:52:35 +00:00
zeromus
d2232e616b
minimal implementation of AR correction. this isn't completely satisfying. we need to run the frontend 1x/2x/etc sizing through it, and I'm feeling like we need two tiers of AR suggestion strengths.. we may want a2600 fixing AR out of the box, but NES fixing AR by default is unacceptable
2014-05-02 04:27:08 +00:00
zeromus
a3a96381da
fix mouse coord transform with 2x filters
2014-04-16 02:51:51 +00:00
zeromus
7adc15d97e
work on opengl display manager: optimized codepaths, user retroshader selection, support for importing a textureID from another core; add erase button to lua console;
2014-04-15 21:46:18 +00:00
zeromus
9ca6f152cf
support old scanlines and hq2x filter via actual retroarch shader presets. at this point you could overwrite them with whatever you wanted, but you should probably wait for me to add user filter selection
2014-02-07 02:36:27 +00:00