Commit Graph

894 Commits

Author SHA1 Message Date
twinaphex
b240cfbc7e (RARCH_PERF) Rename benchmark.c to perforance.c
(MSVC2010) Rename incorrectly named MSVC2012 solution which was
really an MSVC 2010 solution
2012-11-01 06:21:18 +01:00
twinaphex
3837a503b7 (Android) Reimplement native glue code 2012-11-01 05:48:46 +01:00
OV2
eaa637aa4b win32: report correct monitor size for regular fullscreen in wgl 2012-10-31 21:36:17 +01:00
twinaphex
4d99d93df0 (Android) remove Android save state for now - unused and will
probably reimplement it later
2012-10-31 18:10:38 +01:00
Themaister
266d1984ee Fix crash on going fullscreen in D3D9.
Fixes crash when going from minimized to (true) fullscreen.
Adds some more robustness by potentially recreating the whole driver if
::Reset calls fail.
2012-10-31 17:32:48 +01:00
twinaphex
cbcffbb5cf (Android) Get rid of unused width/height/animated in g_android struct 2012-10-31 17:12:45 +01:00
Themaister
291280670d Set shaders on the fly. 2012-10-31 16:28:44 +01:00
Themaister
f3831a5558 Fix second pass D3D9. 2012-10-31 16:28:44 +01:00
Themaister
3f359cc362 Add support for second pass D3D9 Cg (untested). 2012-10-31 01:12:18 +01:00
Themaister
b8abbf8131 Style nits. 2012-10-31 00:40:02 +01:00
OV2
17b747d912 win32: fix for "current monitor" setting 2012-10-31 00:07:13 +01:00
OV2
69193e8b65 win32: regular fullscreen with multimon support, window resizing 2012-10-31 00:03:57 +01:00
Themaister
fbfbf1ed6a Log performance counters at the end. 2012-10-30 23:28:54 +01:00
Themaister
dc4eaea7b4 Fix build derp. 2012-10-30 22:02:15 +01:00
twinaphex
eb17f80cfa (Android) Don't do FPS reporting - might be more costly than it's worth
for regular usage
2012-10-30 20:17:30 +01:00
Themaister
85b6437fdf Add multi-monitor to D3D9.
Untested as I don't have multiple monitors.
Refactored slightly in WGL to make the code more uniform.
The multi-monitor support should probably be refactored to w32_common or
something similar.
2012-10-30 11:49:40 +01:00
twinaphex
b204b55386 (Android) Remove unnecessary animating conditional block in gfx_ctx_check_window 2012-10-30 06:36:38 +01:00
twinaphex
1ff6175bd2 (Android) Move polling for events into Android input driver instead
of EGL context check_window function
2012-10-30 06:20:49 +01:00
Themaister
f3b2c8748a Add RETRO_DEVICE_POINTER support to SDL/Xv. 2012-10-28 11:04:07 +01:00
twinaphex
aefb3ee3af (GL) Fix build for HAVE_OPENGLES target
(Android) Input - add device ID per joypad
2012-10-28 03:14:50 +01:00
Themaister
babec2f98a Win32 build fix. 2012-10-28 00:41:24 +02:00
Themaister
1908a81e1c Add RETRO_DEVICE_POINTER.
Implemented only for X11 so far.

Also clears up viewport_size call.
Changed to viewport_info to also grab X/Y info.
2012-10-28 00:38:31 +02:00
Themaister
1c32afa715 Clarifying comment in shader_cg. 2012-10-27 12:24:06 +02:00
Themaister
c0323a5677 Use Rarch state tracker. 2012-10-27 12:20:52 +02:00
Themaister
be35179ec6 Explicitly cast string literal to avoid warning. 2012-10-26 23:04:36 +02:00
Themaister
bda505c95b Set WM_CLASS in X11. 2012-10-26 23:01:32 +02:00
Themaister
e53dd431b4 Begin merging D3D9 driver. 2012-10-26 22:18:26 +02:00
twinaphex
cfdfcd4b8e (Android) Speed optimization 2012-10-25 20:58:05 +02:00
Themaister
c2674328ec Fix broken CRLF, and minor fixes for VC12. 2012-10-24 17:19:37 +02:00
Twinaphex512
53868033b7 (MSVC 2012) Initial MSVC 2012 solution
Just need to sort out the linking errors - we'll need to create a
Direct3D driver that is not external for PC and do away with the
'external' one which is really an unacceptable extra dependency for such
a popular graphics API. Also, look if the WGL context file will even
work. Added some TODOs too.
2012-10-24 15:48:44 +02:00
Themaister
204a879380 Report if true fullscreen fails on X11. 2012-10-23 23:17:56 +02:00
Themaister
01569ab8ec Make GLES screenshots clearer. 2012-10-23 08:37:51 +02:00
Themaister
12f1eb926d Add warning when FBO textures are resized. 2012-10-23 08:28:02 +02:00
ToadKing
077317d94e Don't generate FBO textures too large for the platform 2012-10-22 22:03:00 -04:00
ToadKing
409a482dc5 Add viewport screenshot support to GLES 2012-10-22 19:03:57 -04:00
Toad King
0820f36d04 Update OpenVG for RGB565 2012-10-22 17:28:12 -04:00
OV2
a97acbddb1 win32: ignore f10 and alt key presses 2012-10-22 21:27:49 +02:00
Themaister
f59cb836d4 Fix warning. 2012-10-22 09:24:33 +02:00
twinaphex
9bc0f382ab (PS3/RMenu) refactored HAVE_CG_MENU out of existence - now
replaced with HAVE_RMENU - menu code has been moved over to
PS3 context file
2012-10-22 06:12:12 +02:00
twinaphex
f37095e994 (PS3) 16bit textures work correctly now - the 'blending' done
on consoles (PS3/Wii) for the ingame menu needs to be done in
software rendering - will also help with RMenu for PC
2012-10-22 03:56:28 +02:00
Themaister
a79ca54bc7 Fix CXX_BUILD. 2012-10-21 23:24:25 +02:00
Themaister
668ff7687e Let CPU filters work with any format. 2012-10-21 22:59:13 +02:00
twinaphex
84abbe110b Merge branch 'rgb565' of https://github.com/Themaister/RetroArch into rgb565 2012-10-21 22:11:30 +02:00
Themaister
411bf932b6 Update SDL and XVideo for RGB565. 2012-10-21 21:59:25 +02:00
twinaphex
3342bd4ec6 (Android) Teardown more or less works correctly now - have to do
exit() at the end because of the way dynamic libraries stay in
memory and can't be purged - so static variables retain their
state (ie. previous values from the previous session) - see

https://groups.google.com/forum/?fromgroups=#!topic/android-ndk/XDO-Rar3ptY
http://comments.gmane.org/gmane.comp.handhelds.android.ndk/11500
2012-10-21 19:56:36 +02:00
twinaphex
702f99b80e (Android) Some teardown refinements 2012-10-21 17:38:47 +02:00
twinaphex
9b6425c1da (Android) Use DetachCurrentThread - first stab at setting up clean
deiniting
2012-10-21 17:30:02 +02:00
twinaphex
647fd0abf0 (Android) Not sure if we have to do this 'event loop' in gfx_ctx_check_window
- make it sample one frame of events and that is it - also comment out
accelerometer stuff for now
2012-10-21 16:37:15 +02:00
Themaister
a2839001f7 Fix warning. 2012-10-21 12:20:53 +02:00
Themaister
a734e18295 Merge branch 'rgb565' of git://github.com/Themaister/RetroArch 2012-10-21 02:11:11 +01:00