Commit Graph

321 Commits

Author SHA1 Message Date
06e08b053f do binding of VS inputs and FS outputs before linking shader programs, as per OpenGL standard.
should fix the rendering issues with strict drivers (AMD, Intel).
2019-05-31 02:26:13 +02:00
6f5e45ef2c also, properly delete glarea framebuffers on exit 2019-05-30 23:16:56 +02:00
b9529e8361 Linux: fix uiGLGetProcAddress() 2019-06-01 00:27:54 +02:00
f6814e02c0 * add needed libui functions under Windows, even if they don't do a whole lot
* fix ass-stupid fog bug
2019-05-31 21:37:30 +02:00
65ccf2a717 blarg 2019-05-31 19:29:48 +02:00
1a3314f0bd GL: don't draw the screens when nothing is running 2019-05-31 12:25:16 +02:00
464b116916 fix the whole mutex shito
fixes potential crash when resizing window
2019-05-31 04:15:37 +02:00
d8d7ba9251 fix potential crash when switching video output methods 2019-05-31 03:18:09 +02:00
c49dec1acd try to fix fog consecutively to the Intel fix. still not perfect for whatever reason
also clean up more code
2019-05-31 03:00:53 +02:00
3ef00f8fa6 attempt at fixing THE FLICKERING without making everything shitty. also, clean up code 2019-05-31 02:21:41 +02:00
27d451d07a clean up code, attempt at shit 2019-05-31 01:46:47 +02:00
ce9d728fb6 fix cleanup of libui objects when closing melonDS
fixes to Cmake shito
attempt shit
2019-05-30 17:29:41 +02:00
891ab9fd3c Linux: start getting somewhere with the whole OpenGL shito 2019-05-28 19:48:59 +02:00
ebad773a38 apply tgsm's changes (see PR #411 ) 2019-05-26 00:50:27 +02:00
38f61a24fc 'port' libui GL stuff to Linux
Only implemented the functions needed by melonDS, and only tested using
a very recent mesa+libglvnd+nouveau. Will most likely bork using
proprietary nvidia or old(er) drivers (see gl.c)
2019-05-26 00:38:24 +02:00
31e0f15797 fix oudated CMake compile settings, add OpenGL dependency for Linux 2019-05-26 00:37:51 +02:00
dd14a3e88e for config dialogs that reflect changes instantly, make behavior of window close button consistent with that of Cancel button 2019-05-25 21:03:39 +02:00
eb6fe823f8 close any opened dialogs when closing the main window 2019-05-25 20:58:32 +02:00
af581513fb * remove old 'threaded 3D' setting from emu settings dialog
* remove 'antialiasing' for now
2019-05-25 20:51:26 +02:00
94f5ecb647 Merge branch 'blackmagic'
BAHAHAHHAHAHAHAAHAHAHAHHH

HARK HARK HARK HARK HA-*~
2019-05-25 20:42:27 +02:00
9ed1dda9ca fix possible crash 2019-05-25 19:52:56 +02:00
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
79ea104931 properly recreate window based on changes to either video output method or 3D renderer 2019-05-24 02:12:46 +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
de287825ee start work on display capture
also fix a bug in the compositing shader
2019-05-17 22:50:41 +02:00
8bf4557175 make screen shaders work with OpenGL 3.1 2019-05-17 15:47:40 +02:00
72920bb763 fix 3D on bottom screen 2019-05-16 22:04:27 +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
256b8cb69c botch GL support. 2019-05-15 19:49:21 +02:00
a89366cb5a begin butchering uiArea 2019-05-15 16:43:56 +02:00
f769d6e23f Ensure that 'Limit framerate' option is synced with the toggle hotkeys 2019-05-14 17:29:49 +01: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