Commit Graph

145 Commits

Author SHA1 Message Date
956c2c5d86 finalize the GL/software switch 2019-05-25 19:47:19 +02:00
70a3243714 simpler GPU-compositing. will make it easier to grab neighbor 2D/3D pixels individually for filtering. 2019-05-25 19:36:47 +02:00
8a63c76f4f of course
I'm a complete and absolute fucking idiot
2019-05-24 02:41:24 +02:00
9e2f47f4a0 fix more bugs 2019-05-24 02:35:25 +02:00
0bb3321262 getting somewhere?? 2019-05-24 02:29:16 +02:00
667dee6754 more code botching
it's less shitty tho

but still has bugs
2019-05-24 02:04:41 +02:00
e5236f0cde add API for getting/setting window size
bahahahaaa
2019-05-23 22:50:46 +02:00
3915b8cb4e botch the code 2019-05-23 22:41:21 +02:00
db396e992b welp.
progress
2019-05-21 22:28:46 +02:00
c835b24f07 modify libui GL support so that it will be compatible with GTK 2019-05-21 14:53:22 +02:00
139c2d24ec burp 2019-05-20 22:24:11 +02:00
f5a7cb71fd also, do master brightness 2019-05-18 01:42:50 +02:00
8bf4557175 make screen shaders work with OpenGL 3.1 2019-05-17 15:47:40 +02:00
c1746f0c60 BAHAHAHHHH
HARK HARK HARK
2019-05-16 20:58:07 +02:00
c81bcccadc BAHAHAHAHAHAHAHAA 2019-05-16 16:27:45 +02:00
f2282e9e32 Arisotura is a fucking derp 2019-05-16 01:46:09 +02:00
4b874cc440 make GL renderer able to coexist with GL screen drawing 2019-05-16 01:08:53 +02:00
f75106c61b don't hardcode screen sizes 2019-05-16 00:46:50 +02:00
f2725791d8 preliminary, shitty, code for drawing the main window with OpenGL 2019-05-16 00:30:55 +02:00
a89366cb5a begin butchering uiArea 2019-05-15 16:43:56 +02:00
02b4919005 resolution switch somewhat functional 2019-05-12 17:43:39 +02:00
f5ba35ca9f don't scale the screen gap 2019-05-12 16:47:34 +02:00
0a464c504d de-hardcode the GL renderer.
init framebuffer to black.
fix bugs.
2019-05-12 16:32:53 +02:00
2a0bc4e700 make GPU2D somewhat more flexible. change LineScale to be log2. 2019-05-12 15:45:58 +02:00
c88981b589 split framebuffer.
setup doublebuffering inside GPU.cpp.
avoid copying a whole framebuffer every frame. better performance at higher res.
2019-05-12 15:01:40 +02:00
b730bb8902 welp 2019-05-11 15:36:42 +02:00
858c0eecb9 scale screen gap
also moar optimization...
2019-05-11 01:46:38 +02:00
b74587a482 * optional path for chunked rendering (might be faster, but not always)
* fix bugs
2019-05-10 16:30:20 +02:00
83331bc7e5 lay base for hi-res rendering
IT'S A PILE OF HACKS
2019-05-03 19:28:15 +02:00
1f13d9ce80 * move GL init to main thread
* fix potential bug causing the screen bitmap to be created twice
2019-04-01 04:50:48 +02:00
f8751bd1fb first attempt at things
(also fix softrenderer reset)
2019-04-01 02:51:31 +02:00
f08b87b41f * move melon_fopen_local() to Platform.cpp
* make it require that the file already exist (hopefully fixing config saving bug)
* finally axe melon_fopen.cpp
2019-03-27 13:34:26 +01:00
6d7e80b677 move melon_fopen() to Platform.cpp
melon_fopen_local() will need fixoring
2019-03-27 04:23:03 +01:00
b52458d7be here have more code aaaaaaaaaaaaa 2019-03-15 01:08:37 +01:00
4de4631c15 move platform specific config to platform specif ffile ayyyyyyyyyyygfghj;,gnxbf 2019-03-15 00:58:29 +01:00
909b29042c start making things nicerer 2019-03-05 00:34:30 +01:00
720a5fbea5 fixor Platform.cpp
also remove debug shit that accidentally slipped in
2019-03-04 22:24:28 +01:00
1e108ad7fb start differenciating between direct and indirect LAN modes.
indirect mode will use regular sockets and not pcap.
2019-03-04 20:52:29 +01:00
616f2b494b make it somewhat functional. move wifi socket bind setting to wifi settings dialog. 2019-02-21 02:12:33 +01:00
81eae0e3ea add base for wifi settings dialog 2019-02-21 01:58:03 +01:00
d2d7c20208 fix WAV loading for files with more than one channel (fixes #351) 2019-02-16 04:14:15 +01:00
86b894ca71 change LidCommand to HotkeyMask so we can use it for other hotkeys without needing a billion variables 2019-01-24 21:28:58 +01:00
4bd96207fe standardize way to detect whether a joystick button was just pressed
(paving the way for more hotkeys)
2019-01-24 03:01:47 +01:00
b0efde8bf7 also, update copyright name 2019-01-22 15:58:29 +01:00
64ab8302cb pause audio/mic devices when they're not needed.
fixes potential pop when starting emulator (due to playing uninitialized audio buffer).
2019-01-06 14:22:14 +01:00
172c2eb229 blfdkgg. I'm a derp.
fix potential buffer overflow.
2019-01-03 13:21:21 +01:00
a4593a8f58 also, detect bad old romlist.bin and warn the user. 2018-12-31 04:54:17 +01:00
2fd913aff2 add 'window size' menu to set the window to an integer size 2018-12-30 21:07:09 +01:00
52d783e066 might want to update that when hotplugging joysticks, too 2018-12-30 13:43:59 +01:00
f9e143fc69 libui/gtk: add functions to uiWindow for setting/getting minimized/maximized state
remember if main window is maximized, avoid updating the saved size when it is
2018-12-30 01:07:25 +01:00