1734 Commits

Author SHA1 Message Date
Themaister
f64b670d9a Don't use std::shared_ptr for state tracker. 2014-01-01 16:59:19 +01:00
Themaister
b618306995 Big D3D9 cleanup.
Use bool for return instead of int (many bugs because of that ...).
Remove all use of exceptions, use delayed constructors (due to no
exceptions ...). Drop use of unique_ptr in D3D9 (not really needed).
2014-01-01 16:53:15 +01:00
twinaphex
2158076bd7 (D3D9) Add <algorithm> header include 2014-01-01 16:04:31 +01:00
twinaphex
e38a1096f0 Rename D3D9 in logs to D3D where appropriate (ie. D3D Cg can stay D3D9) 2014-01-01 03:19:57 +01:00
twinaphex
a6df90ff71 (D3D) Move more defines/header includes to d3d_defines.h 2014-01-01 03:15:48 +01:00
twinaphex
d4a9cc3d8c (D3D) Shouldn't need ifdef __cplusplus - extern "C" anymore 2014-01-01 02:58:19 +01:00
twinaphex
22d282c649 (D3D) Should fix Mingw compilation 2014-01-01 02:38:09 +01:00
twinaphex
0a15a17d44 Update years on all license headers 2014-01-01 01:50:59 +01:00
twinaphex
17af6a0465 (D3D) Rename video_d3d9 to video_d3d 2014-01-01 01:09:31 +01:00
twinaphex
115f706f24 (D3D) Split up version-agnostic defines into separate header file - will be
fleshed out later for D3D8, D3D9, etc.
2014-01-01 00:58:21 +01:00
twinaphex
4b0e56a52e (D3D) Use memcmp instead of std::memset 2014-01-01 00:50:26 +01:00
twinaphex
88a0b45ad5 (D3D) Use version-agnostic defines 2014-01-01 00:49:00 +01:00
twinaphex
772383effc (D3D) Use defines to hide away D3D version-specific types 2014-01-01 00:27:55 +01:00
twinaphex
88194bcdae (D3D) Build fix 2014-01-01 00:01:20 +01:00
twinaphex
538bf3b49a (D3D) Cleanups 2014-01-01 00:00:01 +01:00
twinaphex
06becc939e (D3D) Get rid of most throws and exception catching 2013-12-31 23:49:45 +01:00
twinaphex
dc734aea55 (D3D9) Get rid of C++ memory header include 2013-12-31 23:26:12 +01:00
twinaphex
2d651bbc1d (D3D9) Get rid of unneeded headers 2013-12-31 23:23:02 +01:00
twinaphex
d4850b3cd4 (D3D) Split up D3DVideo-specific code to separate file 2013-12-31 23:20:37 +01:00
twinaphex
4fa7580dea (MSVC) Builds again 2013-12-31 22:10:58 +01:00
twinaphex
aa5a74ed7f (MSVC) Build fixes to D3D9 driver 2013-12-31 21:52:15 +01:00
twinaphex
44ff5afcc2 (D3D) Start brining D3D9 and XDK D3D drivers together 2013-12-31 21:24:17 +01:00
Themaister
0d3428ad15 Add texture_image_free().
Cleans up deinit code for textures.
2013-12-31 19:16:29 +01:00
Themaister
132c3c46f7 Use struct texture_image instead of video_overlay_image. 2013-12-31 19:05:16 +01:00
Themaister
77a62573a2 Fix crash in GLSL when overlays with many textures are used.
Have to call shader->use() for each set_coords or we overflow
the attribs array cached buffer.
2013-12-26 23:34:40 +01:00
Themaister
f61a91c2fd Don't call glDetachShader().
Some drivers don't like it.
2013-12-26 02:18:43 +01:00
Themaister
f2371cf691 Delete shader objects early instead of late.
Less error prone. Also saves some memory.
2013-12-26 02:16:30 +01:00
Themaister
8a81ee856c Some Win32 fixes. 2013-12-24 14:10:18 +01:00
twinaphex
bb82c76a4c (D3D9) Fix up D3D driver - use RARC_PERFORMANCE macros 2013-12-22 17:41:08 +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
twinaphex
38d785984f Add RETRO_ENVIRONMENT_GET_PERF_INTERFACE to libretro.h 2013-12-17 19:10:40 +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
Tobias Jakobi
87843d607d video_omap: add font rendering for ARGB8888 framebuffer
In constrast to the RGB565 code, this here is only compile tested.
2013-12-07 23:56:04 +01:00
Tobias Jakobi
b77171f350 video_omap: add font rendering for RGB565 framebuffer 2013-12-07 23:56:04 +01:00
Tobias Jakobi
a5352f706c video_omap: convert a TODO into comment 2013-12-07 23:56:04 +01:00
Tobias Jakobi
96f73a5cb8 video_omap: implement disabling of vsync 2013-12-07 23:56:04 +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
Themaister
46c3dd6d20 Clean up float FBO handling a bit.
Fallback to UNORM if not supported.
2013-12-04 12:55:51 +01:00
Tobias Jakobi
1e0b0970e8 video_omap: remove debug message 2013-12-03 22:53:20 +01:00
Tobias Jakobi
06aa2ebcfd video_omap: complete rework and refactoring of the driver 2013-12-03 22:40:49 +01:00