Commit Graph

554 Commits

Author SHA1 Message Date
twinaphex 4da1d1f8a3 (D3D CTX) implement gfx_ctx_d3d_destroy for Xbox 2014-03-08 05:21:57 +01:00
twinaphex 8254e127ec Rename d3d9_p.cpp to gfx/context/d3d_ctx.c 2014-03-08 05:18:05 +01:00
twinaphex 05e62a133f (XDK) Remove xdk_ctx.c 2014-03-08 04:19:10 +01:00
twinaphex c512fccc18 (XDK) Build fix 2014-03-08 00:54:33 +01:00
twinaphex c5fd281e1c (XDK) Use similar-named context driver as PC D3D 2014-03-07 22:49:44 +01:00
twinaphex 2708bef175 (D3D) Add XDK ifdefs in d3d9_pc.cpp 2014-03-07 21:14:56 +01:00
twinaphex f512ba76d1 (XDK) Rename xdk_d3d_video_t to d3d_video_t 2014-03-07 20:17:25 +01:00
twinaphex ea88399281 (XDK D3D) Refactor initing code completely - make it more inline
with PC D3D driver
2014-03-07 05:31:24 +01:00
twinaphex c03c980c1e (XDK D3D) Create set_mvp 2014-03-06 18:29:54 +01:00
twinaphex 407cced43c (XDK D3D) Move g_extern.frame_count incrementin to swap_buffers 2014-03-05 22:24:39 +01:00
twinaphex fb48a9e356 (XDK D3D) refactors 2014-03-05 22:10:36 +01:00
twinaphex f0ff3b4ae7 (XDK D3D) Rename win_width/win_height to screen_width/screen_height 2014-03-05 06:25:39 +01:00
twinaphex 4cd603197b (XDK D3D) Refactor LPDIRECT3D member to g_pD3D 2014-03-05 06:11:39 +01:00
twinaphex 1e37515e2f (XDK D3D) Rename d3d_render_device member to dev 2014-03-05 06:05:48 +01:00
Themaister 74735e2b4d Add some more error logging in X/EGL. 2014-03-03 23:00:37 +01:00
twinaphex 3f5e3c191e (XDK) Build fixes 2014-03-02 02:18:37 +01:00
twinaphex fd7f4d45cd Move image files to gfx/image/ 2014-02-25 21:24:15 +01:00
Hans-Kristian Arntzen 2ab94ad8d1 [Android]: Use ALPHA_SIZE 8.
Avoids weird 24-bit surfaces ...
2014-02-13 12:04:08 +01:00
Themaister 8120198ed8 Make C++ compiler happy. 2014-02-06 22:52:48 +01:00
Themaister 0b462054ea De-hardcode input drivers in KMS-like drivers. 2014-01-24 10:23:48 +01:00
twinaphex 4815f25421 Start making xdk_ctx viable for both PC and console 2014-01-09 16:18:47 +01:00
twinaphex 3c16814970 (XDK) Make generate_pp more generic and more like make_d3dpp from
d3d9_pc.cpp
2014-01-09 14:11:08 +01:00
twinaphex f5c94ed617 (D3D XDK) Reimplement PresentationInterval for Xbox 2014-01-09 14:00:25 +01:00
twinaphex f374827ca2 (XDK Ctx) Set SwapEffect to 'discard' for both 360 and Xbox 1 2014-01-09 13:51:42 +01:00
twinaphex 1341b2e498 (XDK D3D) Clean up unneeded extern for Xbox 1 2014-01-09 13:41:28 +01:00
twinaphex 64474142dd (XDK) Move xdk_d3d_generate_pp to xdk_ctx.c 2014-01-09 13:40:17 +01:00
twinaphex 5c5948b42b (XDK D3D) Clean up XDK D3D context file 2014-01-09 13:37:23 +01:00
Themaister 53502bd066 Add some FIXMEs. 2014-01-03 20:23:35 +01:00
twinaphex 0a15a17d44 Update years on all license headers 2014-01-01 01:50:59 +01:00
Themaister 8a81ee856c Some Win32 fixes. 2013-12-24 14:10:18 +01:00
Themaister 6031590cd3 Add OPENGLES3 context support in libretro GL. 2013-12-13 14:20:49 +01:00
Themaister 977cec1378 Refactor keyboard event callbacks.
Go through input/keyboard_line.c to better hide internal logic
regarding keyboard line input.
2013-12-10 19:39:09 +01:00
Themaister 40861aa17d Handle modifiers in Win32 keyboard. 2013-12-09 14:35:43 +01:00
Themaister deadbbc906 Add keyboard callback for Windows.
Only tested in Wine, but seems to work fine.
2013-12-09 14:22:46 +01:00
Themaister 07e3c7f7fa Use input context in xvideo and xegl. 2013-12-08 14:42:03 +01:00
Themaister 205f8ce90d Start implementing UTF-8 keyboard handling for X11. 2013-12-08 14:20:05 +01:00
Themaister b809a59720 Fix mod-handling in X11. 2013-12-08 01:09:00 +01:00
Themaister e7ddbf1192 Use udev over linuxraw if possible. 2013-12-07 14:28:34 +01:00
Themaister d20b8b1b03 Remove debug use of udev. 2013-12-07 14:18:01 +01:00
Themaister c21310b261 Start adding udev input driver. 2013-12-07 14:13:40 +01:00
twinaphex 8826034a55 (PS3) Get rid of CELL_SDK_VERSION macro if conditional 2013-11-16 16:31:16 +01:00
twinaphex 54d2e2d321 (Xbox 1) Build fixes 2013-11-11 03:36:30 +01:00
twinaphex f8c37fc933 (Menu) Simplify menu preprocessor conditionals - there is now
one common catch-all define called HAVE_MENU
2013-11-08 04:36:47 +01:00
twinaphex da8f8b6d63 Get rid of lifecycle_mode_state and use g_extern.lifecycle_state
instead
2013-11-07 21:44:44 +01:00
OV2 46345b0ddd win32: add win8 pointer support 2013-11-05 21:23:32 +01:00
twinaphex e3ebfbffa9 Rename frontend_android.h to platform_android.h 2013-11-03 17:02:40 +01:00
twinaphex 5060b5a379 (Android EGL) Take out looper snippets 2013-11-03 15:26:30 +01:00
twinaphex a682319eee (XDK1) Fix build - reimplemented input init 2013-11-01 17:12:24 +01:00
twinaphex 727dc76db8 (Console/Android) Init input driver from context driver/graphics
driver from now on - just like PC - input driver initing can be
hoisted out of global_drivers_init that way
2013-11-01 16:33:32 +01:00
twinaphex 3219c5b9f2 (PS3/XDK) Set input and input_data pointers to NULL in context files 2013-10-30 14:03:21 +01:00
Themaister 7aa8b40759 Fixup C89 for loops. 2013-10-22 21:37:56 +02:00
twinaphex 849cfb680e Saves 'Show Framerate' setting to config file now too 2013-10-11 01:19:54 +02:00
Themaister ee3b000425 Reapply for BB. 2013-10-08 12:28:38 +02:00
Themaister f46f26c42a Revert "(Show FPS) Fix issue with DRM EGL context showing corrupted"
This reverts commit 10baf8456d.
2013-10-08 12:27:25 +02:00
twinaphex 10baf8456d (Show FPS) Fix issue with DRM EGL context showing corrupted
string - check if buf_fps is not null before pushing string to message
queue - do this for all context files from now on
2013-10-08 03:14:34 +02:00
twinaphex c2b55b9974 (XDK) Fix message queue 2013-10-07 23:57:55 +02:00
twinaphex a18c04ef94 (XDK) Build fix 2013-10-07 23:48:43 +02:00
twinaphex 271e193048 (XDK) Simplify update_window_title 2013-10-07 23:39:45 +02:00
Themaister 84c84814cf Fix possible crash with uninitialized buf_fps.
If fps count == 0, buf_fps would not be written to.
Also, make writing into buf_fps optional. Drop always_write variable as
it doesn't serve a purpose anymore.
2013-10-07 21:54:29 +02:00
twinaphex a98f0336df Implement FPS show message option (Debug Info Text) for most
graphics contexts using message queue
2013-10-07 20:22:08 +02:00
twinaphex c0c6ecc6cb Rewrite gfx_get_fps - now outputs proper string for FPS output 2013-10-07 20:17:07 +02:00
twinaphex 80079e297b (GLX) Hook up preliminary onscreen FPS (enabled by setting "Debug
Info Messages" in RGUI to ON
2013-10-07 17:11:48 +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
meancoot 97c94a6ea7 (OSX/iOS) Refactor RAGameView.m to be more straightforward. 2013-09-13 16:22:04 -04: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
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 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
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
Themaister 1c4c943604 [Pi] Build fixes. 2013-08-22 22:12:16 +02: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 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 c5e7de7391 Add get_proc_address to OSX/iOS. 2013-08-11 14:10:10 +02:00
Themaister eb95798016 Style fixups. 2013-08-11 00:57:24 +02:00
Themaister a9df0a230d Fix CXX_BUILD. 2013-08-11 00:57:24 +02:00
Themaister 335c32d95d Support creating debug contexts. 2013-08-11 00:56:53 +02:00
Themaister 94b57197aa Purge cruft. 2013-08-11 00:55:05 +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 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 b9fce188ea Initial work on core GL context support. 2013-08-11 00:50:04 +02:00
ToadKing ff3de25636 fix error on video re-init, other cleanup 2013-07-18 23:58:35 -04: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
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