Commit Graph

67 Commits

Author SHA1 Message Date
twinaphex
38d785984f Add RETRO_ENVIRONMENT_GET_PERF_INTERFACE to libretro.h 2013-12-17 19:10:40 +01:00
Themaister
fc5ba8f79a Use configured aspect ratio to set windowed size.
Fixes some cases where core aspect is used and aspect_ratio_auto isn't set.
2013-10-26 18:31:48 +02:00
twinaphex
d2c87e3039 Convert most C99-style for loop initial declarations to C89-compliant
ones
2013-10-22 15:08:17 +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
c0c6ecc6cb Rewrite gfx_get_fps - now outputs proper string for FPS output 2013-10-07 20:17:07 +02:00
Themaister
b92deddd40 Shorten rotation names to avoid overflowing menu. 2013-04-21 18:25:30 +02:00
Themaister
4f7d3b5ea0 Add custom viewport + integer scale mode. 2013-04-20 12:48:33 +02:00
Themaister
be01a0ea59 Refactor aspect ratio handling.
Rework aspect ratio handling in RGUI.
Custom viewports work on PC. Ensure that aspect_ratio_idx persist
through reentrancy. Change ASPECT_RATIO_AUTO to ASPECT_RATIO_SQUARE to
better signal that it's the square pixel option.

Add ASPECT_RATIO_CONFIG as an option to use config file defined aspect
ratio.
2013-04-20 10:56:04 +02:00
Themaister
e389220df8 Refactor frame_counter.
Graphics drivers get the task of updating this.
If threaded driver is used, main thread cannot update the counter
due to race conditions.
2013-04-13 14:28:12 +02:00
Themaister
e0f9feb903 Fix 16:15 aspect lut. 2013-03-16 14:14:28 +01:00
Themaister
2681f14032 Add video_poke_interface_t. 2013-03-10 01:17:17 +01:00
twinaphex
66e7606b25 HAVE_RGUI and HAVE_RMENU are now mutually exclusive - no longer
have to be defined both for (say) the Android port
2013-03-09 17:42:19 +01:00
twinaphex
34515fd7f5 (RARCH_CONSOLE) Integrate rarch-console_video into gfx_common 2013-03-09 03:20:59 +01:00
Themaister
ddc51c3eba Ensure that FPS buffer is not left uninitialized. 2013-02-10 14:25:02 +01:00
Themaister
d8a4bb6d12 Fix initial FPS display. 2013-02-10 14:20:42 +01:00
Themaister
3b5eedeab5 Measure frame times at frame granularity. 2013-02-10 01:42:56 +01:00
Themaister
1df86a722a Rework FPS measurement. 2013-02-05 12:51:12 +01:00
Themaister
27d57b789a Add basic FPS measurement routines. 2013-02-04 21:46:56 +01:00
Themaister
61707d2783 Add integer scale options. 2013-01-29 19:28:33 +01:00
Themaister
0b4cf2d053 Update license headers to 2013. 2013-01-01 01:41:15 +01:00
twinaphex
799a9c35fb gfx_common.c - make gfx_get_fps into the main public function -
and remove the two public wrapper functions
2012-12-15 07:03:33 +01:00
twinaphex
dbb962e946 Streamline frame_count usage
(Android/Griffin) Fix build
2012-12-14 20:33:36 +01:00
Themaister
ed8433bd73 Add gfx_fps_title. 2012-11-15 17:30:31 +01:00
twinaphex
1d99cb62a2 (Xbox 1) Build fixes - don't compile in pragma comments for
XBOX
2012-11-15 14:24:56 +01:00
Themaister
0e729bcaa0 Style nits. 2012-11-15 09:40:31 +01:00
OV2
54d39dff74 win32: make d3d9 compile in msvc, add linker pragmas to source files 2012-11-14 21:07:06 +01:00
twinaphex
6bf7c3cb06 Update credits for collaborated files 2012-10-18 06:06:55 +02:00
Themaister
31b12d7d00 Refactor out common X11 code. 2012-09-26 15:52:25 +02:00
Themaister
4107218a5f Should fix build on OSX (*shrug*). 2012-09-24 10:04:15 +02:00
Themaister
3f613882a3 Avoid using IS_LINUX. Use plain __linux__. 2012-09-03 00:08:33 +02:00
Toad King
535f83be3e (GX) implement debug text 2012-08-27 16:09:53 -04:00
Themaister
e13b2e1cb5 Cleanup screensaver code. 2012-07-27 15:47:56 +02:00
Themaister
ff9820af68 Merge branch 'master' of github.com:Themaister/RetroArch
Conflicts:
	gfx/gfx_common.c
2012-07-27 15:37:10 +02:00
Saggi Mizrahi
de8c4b9a5f (Linux) Suspend screen saver when using SDL or XVIDEO
This doesn't add support for the opengl backend because I'm too tired to
figure out the context mess.

Signed-off-by: Saggi Mizrahi <ficoos@gmail.com>
2012-07-25 02:04:33 -04:00
Saggi Mizrahi
5a6bec18b6 Remove trailing newlines from some files
Signed-off-by: Saggi Mizrahi <ficoos@gmail.com>
2012-07-25 01:22:49 -04:00
Themaister
fa1c92d7cf Clear up ifdef usage. 2012-07-25 04:50:46 +02:00
Twinaphex
5994f6b6df (PS3/PSL1GHT) Redefine SDK function macros - fix some PSL1GHT
incompatibilities
2012-07-16 21:49:51 +02:00
Twinaphex
9695761cfe (PS3) Fix build on PS3 2012-07-16 06:10:02 +02:00
Twinaphex
ec291ed398 Remove bloat code for custom gettimeofday implementation 2012-07-16 05:12:33 +02:00
twinaphex
077d9a1f63 (360/Xbox 1) Xbox 1 and 360 now use the same resource
ile - xdk_resources.cpp
2012-07-16 01:58:15 +02:00
twinaphex
aa150c439f (Xbox 1) FPS reporting for Xbox 1 2012-07-15 19:12:58 +02:00
Twinaphex
15e08db76e Use gfx_window_title for console ports as well - make gfx_get_fps
static
2012-07-15 18:40:41 +02:00
Twinaphex
ddc1e0fda7 Make it possible to reuse FPS logging in console ports 2012-07-15 18:37:59 +02:00
Themaister
ce740f8948 More fixups. 2012-04-21 23:31:57 +02:00
Themaister
aab8fb6151 ssnes_* => rarch_*. 2012-04-21 23:25:32 +02:00
Themaister
9ab51ad23a SSNES => RetroArch. 2012-04-21 23:17:43 +02:00
Themaister
e3a71a8c5b Fixup headers. 2012-04-09 22:05:26 +02:00
Themaister
62c96ea937 Change license header. 2012-04-09 22:03:57 +02:00
Themaister
9698cd7dbd Change headers. 2012-04-09 22:03:57 +02:00
Themaister
b4248038fb Update license headers. 2012-01-08 01:12:05 +01:00