Commit Graph

38 Commits

Author SHA1 Message Date
Themaister
1c9895611b Rework performance interface.
Avoids super-ugly macros and retroarch-ifdefs.
2013-12-18 19:21:56 +01:00
twinaphex
9852c5dc4c Rewrite perf interface - exposes callbacks now for RETRO_PERFORMANCE_INIT/RETRO_PERFORMANCE_START/RETRO_PERFORMANCE_STOP calls without messy, hardcoded preprocessor-dependent variables in macros - will update cores accordingly too 2013-12-18 19:03:08 +01:00
twinaphex
69a67b3df2 Change RARCH_PERFORMANCE_ macro calls to RETRO_PERFORMANCE 2013-12-17 19:14:57 +01:00
twinaphex
38d785984f Add RETRO_ENVIRONMENT_GET_PERF_INTERFACE to libretro.h 2013-12-17 19:10:40 +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
Lioncash
fac2783a09 Optimize some struct sizes.
This is the list of reduced sizes:

file: dsound.c         - struct dsound_t reduced from 56 bytes to 52 bytes.
file: shader_parse.h   - struct gfx_fbo_scale reduced from 32 bytes to 28 bytes.
file: thread_wrapper.c - struct texture reduced from 28 bytes to 24 bytes.
file: libretro.h       - struct retro_hw_render_callback reduced from 40 bytes to 36 bytes.
file: movie.c          - struct bsv_movie reduced from 36 bytes to 32 bytes.
file: netplay.c        - struct delta_frame reduced from 16 bytes to 12 bytes.
file: performance.h    - struct rarch_perf_counter_t reduced from 40 bytes to 32 bytes.
2013-11-03 23:57:41 -05:00
twinaphex
933d993130 Fix thread_wrapper (removal of start/stop) 2013-11-01 22:59:34 +01:00
twinaphex
d2c87e3039 Convert most C99-style for loop initial declarations to C89-compliant
ones
2013-10-22 15:08:17 +02:00
Themaister
76c92bb0b4 Rework overlay driver interface.
Takes multiple images, each with individual positions, textures, etc.
2013-10-15 16:06:59 +02:00
Themaister
ef1f5d251f Don't use anti-jitter on consoles.
Not compatible.
2013-08-11 15:34:32 +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
Themaister
b4b669f0e5 Run thread_frame() even when frame = NULL.
Fixes RGUI on cores which use duping.
Also avoid redundant frame.lock locking.
If thr->frame.updated is false, the lock
cannot possible be held by thread.
2013-05-19 22:28:32 +02:00
twinaphex
34619412bc (RARCH_CONSOLE) Get rid of video_stop_func 2013-04-24 16:08:18 +02:00
Themaister
c17714ffbb Add full screen mode to set_texture_enable. 2013-04-13 16:49:25 +02:00
Themaister
f73f1971f9 Fix threaded driver.
Fix case when no poke interface was implemented.
2013-04-13 14:35:24 +02:00
twinaphex
1171b7576a Get rid of set_blend callback - the rgui draw texture function is
now in charge of making sure texture is properly blended - note
to OV2/maister - test if this breaks D3D9 PC driver and if so
fix accordingly
2013-04-11 13:13:37 +02:00
twinaphex
d403a844e3 (PC) Fix main build - would no longer compile 2013-04-07 23:22:12 +02:00
twinaphex
db0ff2a212 (RARCH_CONSOLE) Build fixes 2013-04-07 18:03:25 +02:00
Themaister
4cdfcf30d5 Refactor set_rgui_texture.
More generic and avoids poking directly into RGUI state.
2013-04-07 14:07:45 +02:00
Themaister
f88ea04c28 Remove fixed shader index in set_shader. 2013-04-07 13:00:21 +02:00
twinaphex
a2d9129782 Kill off set_fbo_state and get_fbo_state function pointers 2013-04-06 06:21:11 +02:00
Themaister
1cececac18 Add get_proc_address.
Render something "real" in GL.
2013-03-28 01:11:32 +01:00
Themaister
af40f3e9b8 Add initial GL direct rendering test. 2013-03-27 16:15:15 +01:00
twinaphex
82329cf097 (Blackberry) Starts up in RGUI mode now - should (hopefully) allow
for dynamic changing of libretro core and selection of ROM instead
of hardcoded paths.
2013-03-24 01:00:00 +01:00
Themaister
1ea2a45441 Fix FBO in thread_wrapper. 2013-03-12 12:12:16 +01:00
Themaister
0e75731685 Add get_fbo_state(). 2013-03-10 20:13:04 +01:00
Themaister
0b67cd7e84 Add apply_state_changes. 2013-03-10 19:49:26 +01:00
Themaister
63d946c69f Add set_rgui_texture interface to video_poke. 2013-03-10 19:14:28 +01:00
Themaister
92f673151e Add untested poke interface to thread_wrapper. 2013-03-10 10:30:17 +01:00
twinaphex
0af20af5ec (RGUI) Use new video_poke interface 2013-03-10 02:26:51 +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
ToadKing
d28cb94717 start of RGUI port to Android
currently detects menu button to bring up RGUI, but GL does not draw it
yet and you cannot exit from the (invisible) RGUI menu yet
2013-02-27 20:20:29 -05:00
Themaister
4b97052f8c Fix threaded driver build on Win32. 2013-02-17 15:55:30 +01:00
Themaister
76bf41188a Add video_threaded option to Android. 2013-02-17 00:26:17 +01:00
Themaister
2cd60e0551 Overlay works in thread_video. 2013-02-16 12:05:15 +01:00
Themaister
cfd0984d92 Start adding overlay interface. 2013-02-16 11:44:15 +01:00
Themaister
02afa02f56 Add more interfaces to threaded driver. 2013-02-16 11:21:18 +01:00
Themaister
843d079002 Begin adding threaded video driver wrapper. 2013-02-16 02:48:08 +01:00