Commit Graph

1672 Commits

Author SHA1 Message Date
twinaphex 48c042d56c (360) More build fixes 2013-09-29 18:04:56 +02:00
twinaphex e63639388d (gl.c) Change define to !define(RARCH_CONSOLE) 2013-09-28 21:57:27 +02:00
twinaphex c5beaec16c (RMenu) Make RMenu even more minimalist - fit more text onscreen 2013-09-28 04:14:07 +02:00
twinaphex 4f54fd28a0 (PS3) Forcibly disable float FBO textures for now - was creating
all sorts of crashes
2013-09-27 23:04:19 +02:00
Themaister 8e5a0b4a38 Remove the stub Win32 GUI.
It is only confusing and doesn't add anything atm.
If we want to go for WIMP-based GUI, it will be using a multi-platform toolkit anyways.
2013-09-27 16:39:22 +02:00
Themaister ff793f3fa8 Small cleanup in python state tracker.
Removes meta binds. They were completely useless. Add checking for
analogs.
2013-09-23 20:21:03 +02:00
twinaphex 8837139271 (360) Build fixes 2013-09-15 18:49:18 +02:00
meancoot 97c94a6ea7 (OSX/iOS) Refactor RAGameView.m to be more straightforward. 2013-09-13 16:22:04 -04:00
Themaister 3e7f101137 Make sure we're reading from backbuffer. 2013-09-12 22:40:11 +02:00
Themaister 178dc692c7 Do proper rounding in set_viewport.
Avoids edge cases where viewport sizes are miscalculated with -1 pixel
due to rounding errors.
2013-09-12 22:23:56 +02:00
Hans-Kristian Arntzen 7d90ff4011 Merge pull request #303 from libretro/emscripten
Emscripten/Javascript port
2013-09-11 01:01:29 -07:00
ToadKing a09dda3a9d [EMSCRIPTEN] add custom input driver, removes SDL dependency + adds mouse support 2013-09-10 20:21:48 -04:00
Themaister 46c214f964 Small cleanup. 2013-09-07 15:23:09 +02:00
Themaister 870ef37258 Fix libretro GL state bug on frame dupe.
Need to force backbuffer and viewport on duped frames.
2013-09-07 15:04:40 +02:00
meancoot 20001489ac (OSX) Update gfx_context:
Now resizes window when asked
   Displays proper title in window
   No longen prints Cocoa warning at start up
   Now supports the pause_nonactive feature
2013-09-05 14:38:40 -04:00
meancoot cb55a1d45a (Apple) Reorganize source tree 2013-09-05 01:24:27 -04:00
Themaister 98c9da9dda Set swap interval correctly in gl_init(). 2013-09-02 09:20:51 +02:00
Themaister b2bf3c12de Add swap_interval support.
Again, mostly useful for 120Hz monitors, and/or playing content which is
a fraction of monitor refresh rate.
2013-09-01 13:20:10 +02:00
Themaister 45cfc584f9 Allow disabling building Win32 "GUI". 2013-08-31 11:43:14 +02:00
Themaister 62c34c7871 Add black_frame_insertion support for 120 Hz monitors. 2013-08-30 09:35:13 +02:00
Themaister ce026a3ba0 [OpenVG] Fix build. 2013-08-29 18:35:43 +02:00
meancoot 6372e755c4 (OSX) Add proper full screen tracking 2013-08-27 11:37:21 -04:00
ToadKing c30d0287d1 [EMSCRIPTEN] buildfix, implement detecting canvas size changes 2013-08-25 15:39:50 -04:00
ToadKing 87844cc486 Merge branch 'master' of https://github.com/libretro/RetroArch into emscripten
Conflicts:
	gfx/gl.c
2013-08-25 15:37:16 -04:00
Themaister 67f4f1b3ed [WGL] Fix window size calculation. 2013-08-23 17:32:57 +02:00
ToadKing be08d003c9 [GL] fix OSD messages breaking if one was too long 2013-08-22 23:21:52 -04:00
Themaister 1c4c943604 [Pi] Build fixes. 2013-08-22 22:12:16 +02:00
ToadKing 12f4b48e84 query for OES_EGL_image before trying to load symbol 2013-08-18 03:02:42 -04:00
ToadKing f4ff5f3ea3 [EMSCRIPTEN] less workarounds due to fixes in emscripten, enable more optimizations 2013-08-18 02:50:10 -04:00
meancoot a4dfd35ab7 (Apple) Improvements:
Add core gl context support on OSX
	Add support for multiple game pads on OSX
 	Remove block on analog input for Player 2-4's game pads
2013-08-16 13:25:35 -04:00
Themaister 8ebd81edbf Log GL version as well. 2013-08-16 10:18:58 +02:00
Themaister 551fd27204 Add support for wrapping modes.
Not terribly useful atm due to POT, but at least it's there.
Has some use mostly with LUTs ... NPOT + REPEAT requires extension on
GLES2 at least.
2013-08-16 00:30:54 +02:00
Themaister 7236e51af0 Clear out GL error on driver init for robustness.
In case we used cached GL context, we'd error out
if a single GL error has been generated.
2013-08-14 14:58:12 +02:00
Themaister 4d8e9df03d Add forced debug context support to WGL. 2013-08-14 14:13:28 +02:00
Themaister 3b1e65ba08 Add GL_DEBUG ifdef which forces full GL debugging. 2013-08-14 14:13:28 +02:00
Themaister ef1f5d251f Don't use anti-jitter on consoles.
Not compatible.
2013-08-11 15:34:32 +02:00
Themaister 1389a1e37c Fix compile when GLSL isn't compiled in. 2013-08-11 15:25:04 +02:00
Themaister b5f46120a3 Use HAVE_PSGL instead. 2013-08-11 15:10:56 +02:00
Themaister 7d942adaa3 Should fix build on PS3. 2013-08-11 15:06:42 +02:00
Themaister c5e7de7391 Add get_proc_address to OSX/iOS. 2013-08-11 14:10:10 +02:00
Themaister c19bdc7c2c Kill some stale code. 2013-08-11 01:24:48 +02:00
Themaister 2b28050c15 Build fixups. 2013-08-11 01:16:08 +02:00
Themaister 70de036440 Revert "Add GL sync support to GLES2."
This reverts commit c1bbb6bf89.
2013-08-11 01:09:10 +02:00
Themaister 47c4428d8e Add GL sync support to GLES2. 2013-08-11 01:09:10 +02:00
Themaister 301a4aaebf Add GLES3 header includes. 2013-08-11 01:08:40 +02:00
Themaister f4a23115c2 Begin adding AUDIO_CALLBACK/FRAME_TIME_CALLBACK. 2013-08-11 01:05:33 +02:00
Themaister 27399deed9 Log vendor/renderer in GL. 2013-08-11 00:57:24 +02:00
Themaister eb95798016 Style fixups. 2013-08-11 00:57:24 +02:00
Themaister d3cfe85a19 Add extern "C" to rglgen.h as well. 2013-08-11 00:57:24 +02:00
Themaister a9df0a230d Fix CXX_BUILD. 2013-08-11 00:57:24 +02:00
Themaister c007e5860c Add extern "C" to glsym headers. 2013-08-11 00:56:53 +02:00
Themaister 26d74be8b8 Disable blending per frame with HW render. 2013-08-11 00:56:53 +02:00
Themaister 335c32d95d Support creating debug contexts. 2013-08-11 00:56:53 +02:00
Themaister 6b4924c844 Be more conservative about texture memory usage. 2013-08-11 00:56:53 +02:00
Themaister 911558462a Use core blend correctly when using core context. 2013-08-11 00:56:00 +02:00
Themaister c71777f5ec Clear out uniform struct and use stock shader. 2013-08-11 00:56:00 +02:00
Themaister 108d2e5c12 Add fixups for GLfixed. 2013-08-11 00:56:00 +02:00
Themaister db7d600184 Apply glsym APIENTRY fixups. 2013-08-11 00:56:00 +02:00
Themaister c2c88e2462 Append checks for OES_image ext. 2013-08-11 00:56:00 +02:00
Themaister 5045fc4a4f Fix GLSL regression. 2013-08-11 00:56:00 +02:00
Themaister b292caf92b Experimental support for PassPrev/PASSPREV.
Allows to access passes in a "negative index"
way. Helps stitching together multipass shaders from
other multipass shaders.

Also adds new, cleaner symbols, IN.mvp_matrix, IN.tex_coord, etc.
2013-08-11 00:56:00 +02:00
Themaister f00394e0af Add license statement to glgen.py. 2013-08-11 00:56:00 +02:00
Themaister 0b6f92e433 Allow explicitly banning specific exts in glsym. 2013-08-11 00:56:00 +02:00
Themaister 60b7d633a1 Don't append #version if it's already done. 2013-08-11 00:55:05 +02:00
Themaister 94b57197aa Purge cruft. 2013-08-11 00:55:05 +02:00
Themaister f8eb0c5a62 Query extensions more explicitly. 2013-08-11 00:55:05 +02:00
Themaister 318b26cc0d Fix Android build. 2013-08-11 00:55:05 +02:00
Themaister d64c24248d Use glsym wrapper in libretro-test-gl. 2013-08-11 00:55:05 +02:00
Themaister 2e397b1d6b Win32 fixups. 2013-08-11 00:55:05 +02:00
Themaister e44249b73f Use glsym symbol loader instead of ugly poking. 2013-08-11 00:54:27 +02:00
Themaister 805e623779 Use 3.1 in libretro-test-gl when CORE is used. 2013-08-11 00:53:46 +02:00
Themaister 9ab274a51a Use glXSwapIntervalEXT when available instead. 2013-08-11 00:53:46 +02:00
Themaister 913ad7753a Merge fixes. 2013-08-11 00:53:46 +02:00
Themaister 4e5c6b0f9a Fix RGUI when using bottom-left. 2013-08-11 00:53:46 +02:00
Themaister e5abd138ea More fixes to core context. 2013-08-11 00:53:46 +02:00
Themaister 6df083fc0f Add support for bottom-left origin in libretro GL. 2013-08-11 00:53:46 +02:00
Themaister feebb78f75 Support cached contexts on Win32.
Only tested on Wine, but works.
2013-08-11 00:53:46 +02:00
Themaister e18af77412 Add path to cache GL context on reinit.
If successful, can avoid libretro GL reset context callback being
called.
2013-08-11 00:53:19 +02:00
Themaister b090f5ab36 Implement WGL core context. 2013-08-11 00:51:05 +02:00
Themaister e28f5d7cc1 Fix incompatibilities with GL core. 2013-08-11 00:50:38 +02:00
Themaister b9fce188ea Initial work on core GL context support. 2013-08-11 00:50:04 +02:00
Themaister 51b17039d4 Completely new approach for threaded video.
Allows a good compromise between jitter and avoiding audio stutter.
2013-08-02 23:54:07 +02:00
twinaphex f7622d3294 Add OMAP graphics driver (Tobias Jakobi) 2013-07-28 18:37:31 +02:00
ToadKing b01856d166 remove reinit hack, turned out to be an emscripten bug 2013-07-20 00:30:54 -04:00
ToadKing ff3de25636 fix error on video re-init, other cleanup 2013-07-18 23:58:35 -04:00
twinaphex 627c30b10c Take out GRIFFIN macro hacks 2013-07-18 19:54:00 +02:00
ToadKing ace8ead2db Merge branch 'master' into emscripten
Conflicts:
	config.def.h
	gfx/gfx_context.c
2013-07-17 22:58:14 -04:00
ToadKing 49398698b5 initial emscripten port (no audio/files, input broken) 2013-07-17 20:26:01 -04:00
Themaister c54af19076 Purge SDL/GL context.
Conflicts:
	gfx/context/sdl_ctx.c
2013-07-18 01:48:23 +02:00
twinaphex a5e4b5e7f8 (APPLE) Take out SDL/GL context parts for OSX 2013-07-16 23:17:55 +02:00
twinaphex 119ee6d538 (XDK1) Fix build 2013-07-16 00:47:09 +02:00
twinaphex 63aaa7b2b0 (GL) Log vendor/renderer 2013-07-13 01:47:11 +02:00
meancoot a0d22d7c44 (Apple) Build fixes (hope I didn't break anything else with that merge) 2013-07-07 16:24:28 -04:00
meancoot b924302464 Merge branch 'master' of https://github.com/libretro/RetroArch
Conflicts:
	griffin/griffin.c
2013-07-07 16:20:08 -04:00
meancoot 3d9d672a38 (Apple) On OSX, a call to apple_run_core will actaully run the game 2013-07-07 13:05:05 -04:00
meancoot 99ba3ccea3 (Apple) Start setting up the OSX code 2013-07-06 23:54:47 -04:00
OV2 b9cbcd0b81 win32: add simple menu to opengl context 2013-07-07 02:22:11 +02:00
meancoot a852da4e88 Start spliting ios port into dual OS X and iOS ports 2013-07-06 18:24:25 -04:00
twinaphex df6dfb4970 (OSX/iOS) Start renaming ios_ namespace -functions we're going to implement for
OSX as well
2013-07-05 04:10:05 +02:00
twinaphex d215a2a0f5 remove ifdefs around puts PACKAGEVERSION line 2013-07-04 15:06:28 +02:00