Commit Graph

61 Commits

Author SHA1 Message Date
twinaphex
75d2e13dcb Make drivers non-const 2014-09-11 07:06:20 +02:00
twinaphex
4162311eb7 Return true for stub read_viewport function implementations 2014-09-09 22:41:04 +02:00
twinaphex
492af587ef (Video) Implement missing function pointers 2014-09-09 20:18:06 +02:00
Lioncash
a7aa077cc6 Remove some unused variables. 2014-09-05 19:27:46 -04:00
Higor Eurípedes
e218e53755 (SDL*) Refactor *set_handles() functions 2014-08-28 13:31:57 -03:00
Higor Eurípedes
b15ffc999c (SDL) Fix scaler memory leak 2014-08-28 13:31:56 -03:00
Higor Eurípedes
260abc0861 (SDL) Clean sdl_gfx.c up a bit 2014-08-28 13:31:56 -03:00
Higor Eurípedes
ea82f6cff5 (SDL) Use SDL_PeepEvents instead of SDL_PollEvent 2014-08-22 19:58:47 -03:00
Higor Eurípedes
081347929c Implement SDL driver video poke interface 2014-08-11 20:57:01 -03:00
Higor Eurípedes
16e0d24e17 (SDL*) Properly initialize SDL library/subsystems 2014-08-11 19:47:30 -03:00
Themaister
bce1e982d4 Fixup font rendering in SDL-SW. 2014-06-08 14:08:26 +02:00
Themaister
c5ef4330d1 Remove reset interface from SW SDL and Xvideo. 2014-05-30 18:13:34 +02:00
twinaphex
91294d71fe (SDL gfx driver) Some cleanups 2014-04-30 04:04:59 +02:00
twinaphex
0a15a17d44 Update years on all license headers 2014-01-01 01:50:59 +01:00
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
Themaister
35818e82be Add PERFORMANCE_TEST with sdl SW scaling. 2013-11-18 13:44:41 +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
ToadKing
375c3c6806 fix compile for SDL and DirectX video 2013-11-01 21:13:19 -04:00
Themaister
7aa8b40759 Fixup C89 for loops. 2013-10-22 21:37:56 +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
twinaphex
a5e4b5e7f8 (APPLE) Take out SDL/GL context parts for OSX 2013-07-16 23:17:55 +02:00
Themaister
1521113e8f Build fixes. 2013-04-25 00:03:02 +02:00
Themaister
f73f1971f9 Fix threaded driver.
Fix case when no poke interface was implemented.
2013-04-13 14:35:24 +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
714a4aa3f7 Fix build for drivers. 2013-03-24 02:24:53 +01:00
Themaister
843d079002 Begin adding threaded video driver wrapper. 2013-02-16 02:48:08 +01:00
Themaister
312980ee30 Add support for full-screen overlays. 2013-01-11 16:23:04 +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
Themaister
8501c404f6 Fix CXX_BUILD. 2012-12-14 22:33:04 +01:00
Themaister
5700febb2c Refactor font renderering.
Virtualize for multiple backends, and name files more sanely.
2012-12-14 20:25:40 +01:00
Themaister
004cead50b Strip down SDL SW driver a ton. 2012-11-20 23:35:40 +01:00
Themaister
28bb46483c Drop video_force_16bit.
This option is silly now.
2012-11-20 23:23:18 +01:00
Themaister
f3b2c8748a Add RETRO_DEVICE_POINTER support to SDL/Xv. 2012-10-28 11:04:07 +01:00
Themaister
411bf932b6 Update SDL and XVideo for RGB565. 2012-10-21 21:59:25 +02:00
Themaister
dd6d27c108 Add WGL context. 2012-09-30 14:41:58 +02:00
Themaister
c655c1d4e5 Big refactor of joypad input. 2012-09-28 23:06:16 +02:00
Themaister
2e168157c1 Sanitize font rendering in xv and SDL.
Fixes old bug where big chunks of fonts would often be just left out.
2012-09-27 01:42:46 +02:00
Themaister
31b12d7d00 Refactor out common X11 code. 2012-09-26 15:52:25 +02:00
Themaister
52cde797c1 Should fix build on OSX 10.8. 2012-09-21 21:11:10 +02:00
Themaister
ff60bcb5e5 Add experimental X/EGL support. 2012-09-15 15:17:34 +02:00
Themaister
19fa31f17d Add custom scaling routines.
Implemented for point, bilinear, lanczos.
Partly optimized for SSE2.
2012-09-02 14:30:46 +02:00
Themaister
e3a846ba54 Do not reinvent screensaver wheel in sdl_gfx.c. 2012-07-28 07:39:04 +02:00
Themaister
e13b2e1cb5 Cleanup screensaver code. 2012-07-27 15:47:56 +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
9f60e48a98 Redefine behavior of NULL in video_frame(). 2012-06-23 18:01:01 +02:00