Commit Graph

9636 Commits

Author SHA1 Message Date
Themaister 69b104f9e4 Comment about BGRA8888. 2014-01-01 21:58:02 +01:00
Themaister 08ba1ad14e Use GL_RGB565 internal format when available.
This is a feature from ES2_compat extension.
It fixes the speed issue associated with using 16-bit textures on
desktop GL. Improves performance a bit as well as there's less bandwidth
usage during shading.

On my HD3000 laptop, performance improved with ~10%.
2014-01-01 21:58:02 +01:00
Toad King e022b39061 fix per-core config on PC 2014-01-01 15:34:56 -05:00
Toad King 8f45063f74 menu support for core specific config 2014-01-01 15:02:57 -05:00
Toad King 5215a7cf24 save core specific config option 2014-01-01 14:52:35 -05:00
Toad King 0a91c528f9 core-specific config files 2014-01-01 14:44:20 -05:00
Twinaphex 63302e9404 Merge pull request #456 from hizzlekizzle/master
updated analogs to be moveable
2014-01-01 09:49:05 -08:00
hunterk 9c8b823731 updated analogs to be moveable 2014-01-01 11:47:05 -06:00
Themaister a287ea6c6e Remove debug check. 2014-01-01 17:01:33 +01:00
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 babba85aff Bump up version number 2014-01-01 01:52:07 +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 fe354b5616 Add new D3D file to Makefile.win too 2013-12-31 23:21:53 +01:00
twinaphex d4850b3cd4 (D3D) Split up D3DVideo-specific code to separate file 2013-12-31 23:20:37 +01:00
Themaister e5bedc343a At least use long for return type of read_file().
int is not acceptable as a return type for anything regarding sizes.
long is dubious as well, but better (64-bit on sane ABIs and the return
type of ftell()).
2013-12-31 22:54:11 +01:00
Themaister a91c416720 Fix licence header in file_path.h. 2013-12-31 22:37:47 +01:00
twinaphex 10915f2093 (MSVC) Rearrange files in project solution 2013-12-31 22:24:26 +01:00
twinaphex 4fa7580dea (MSVC) Builds again 2013-12-31 22:10:58 +01:00
twinaphex c5cbec6fdc Build fix - don't include msvc_compat.h reference in file_path.h -
instead just change return type for file_read to int
2013-12-31 21:55:09 +01:00
twinaphex aa5a74ed7f (MSVC) Build fixes to D3D9 driver 2013-12-31 21:52:15 +01:00
twinaphex 5e163045be (MSVC) Downgrade solution to MSVC 2010 - fix some issues 2013-12-31 21:40:49 +01:00
twinaphex 44ff5afcc2 (D3D) Start brining D3D9 and XDK D3D drivers together 2013-12-31 21:24:17 +01:00
twinaphex f0840a948f (XDK1) Compile in HAVE_OVERLAY - will need to be hooked up
in xdk_d3d driver
2013-12-31 20:56:17 +01:00
twinaphex 0e54989a61 (XDK1) RMenu build fix 2013-12-31 20:50:24 +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 43f42b6439 Use correct size with calloc. 2013-12-31 18:55:15 +01:00
Themaister 0e47ad02fe Saturate analogs based on range and not range mod. 2013-12-31 18:42:49 +01:00
Twinaphex 822e48bae7 Merge pull request #454 from libretro/movable-overlay
Movable overlay
2013-12-31 08:44:22 -08:00
Themaister b8c1c71066 Add analog for example overlay. 2013-12-31 17:16:19 +01:00
Themaister e164457c02 Add support for movable overlay elements.
Very useful for visual feedback of analog controls.
2013-12-31 17:15:28 +01:00
meancoot 9cbf7ed62a (iOS) Don’t crash when closing an action sheet created by the RunActionSheet function. 2013-12-30 18:21:24 -05:00
twinaphex c71a688d18 (ARM NEON ASM) Ifdef sinc_neon.S / utils_neon.S with __ARM_NEON__
and/or HAVE_NEON
2013-12-30 20:22:31 +01:00
twinaphex 4433b86546 (iOS) ARM NEON support should now be built in for targets supporting
__ARM_NEON__
2013-12-30 18:44:11 +01:00