twinaphex
ff3a157a9d
(D3D) Ifdefs for HAVE_CG (and miscellaneous)
2014-01-15 19:00:46 +01:00
Themaister
c4978651fa
Properly replace template.
...
Avoid having to assume a magic variable is present in scope.
2014-01-15 17:24:24 +01:00
twinaphex
73b23f7002
(MSVC) Fix warnings
2014-01-15 17:05:08 +01:00
twinaphex
185dc3731f
(D3D) Add HAVE_CG/_XBOX ifdefs
2014-01-15 14:14:37 +01:00
twinaphex
c966629e1b
(D3D9) Fixup HAVE_PYTHON ifdef
2014-01-11 15:47:11 +01:00
Themaister
0447c04957
Remove obsolete rpng comment.
...
It does decode all the basic formats, interleaving and stuff.
2014-01-11 12:24:54 +01:00
Themaister
f3eb9dfafe
Make RPNG compilable outside RetroArch without source hacking.
2014-01-11 12:22:51 +01:00
twinaphex
a2d713b3cb
Add rzlib to include dirs to avoid ugly ifdef for WANT_MINIZ
2014-01-10 19:46:31 +01:00
twinaphex
b34a21be83
(D3D9) quit variable must be static
2014-01-09 22:25:50 +01:00
twinaphex
5752bb1b9c
(D3D) Move implementation-specific functions to d3d9_pc.cpp
2014-01-09 21:27:53 +01:00
twinaphex
7cd149c3c6
(D3D) Build fix
2014-01-09 20:06:39 +01:00
twinaphex
51eb1d9e52
(D3D) Compatibility with Xbox 1 - WIP
2014-01-09 20:04:18 +01:00
twinaphex
feb11c525c
(D3D) Add some more ifdefs for portability purposes
2014-01-09 19:52:01 +01:00
twinaphex
c32fc07b3f
(D3D) Turned D3DVideo class into struct
2014-01-09 19:43:45 +01:00
twinaphex
eae35b9a50
(D3D) Move more functions out of D3DVideo class
2014-01-09 19:05:31 +01:00
twinaphex
e48b7e7d8a
(D3D) Refactor D3D driver
2014-01-09 18:44:25 +01:00
twinaphex
4815f25421
Start making xdk_ctx viable for both PC and console
2014-01-09 16:18:47 +01:00
twinaphex
3c16814970
(XDK) Make generate_pp more generic and more like make_d3dpp from
...
d3d9_pc.cpp
2014-01-09 14:11:08 +01:00
twinaphex
f5c94ed617
(D3D XDK) Reimplement PresentationInterval for Xbox
2014-01-09 14:00:25 +01:00
twinaphex
f374827ca2
(XDK Ctx) Set SwapEffect to 'discard' for both 360 and Xbox 1
2014-01-09 13:51:42 +01:00
twinaphex
1341b2e498
(XDK D3D) Clean up unneeded extern for Xbox 1
2014-01-09 13:41:28 +01:00
twinaphex
64474142dd
(XDK) Move xdk_d3d_generate_pp to xdk_ctx.c
2014-01-09 13:40:17 +01:00
twinaphex
5c5948b42b
(XDK D3D) Clean up XDK D3D context file
2014-01-09 13:37:23 +01:00
twinaphex
d07c3242cf
(D3D9) Some cleanups
2014-01-09 13:18:25 +01:00
Twinaphex
165698b9f2
Merge pull request #481 from libretro/dpad-map
...
Analog D-pad mapping
2014-01-08 12:01:39 -08:00
twinaphex
f23e41bd17
Safety checks for accessing video_poke function pointers
2014-01-08 19:42:42 +01:00
Themaister
33d50e2010
Check GL_RENDERER for ATI as well.
2014-01-08 18:09:49 +01:00
Themaister
f6643fe12d
Push analog dpad mode for autoconfig as well.
2014-01-08 17:47:07 +01:00
Themaister
f57a1aa032
Add support for mapping analogs to D-pad again.
...
Use a cleaner approach which can feasibly work on all platforms.
Uses input_push/pop_analod_dpad to modify the joyaxis field before
polling input. This way, the RetroPad D-pad binds can inherit the
joyaxis fields from ANALOG_LEFT_X_PLUS and friends.
Also add support for the field in RGUI and saves settings.
2014-01-08 17:31:14 +01:00
twinaphex
61218b4a66
(OSX) Get rid of unused variable warning/variable is used before it's initialized
2014-01-06 16:20:20 +01:00
Themaister
f2a8a73322
Add workaround for ATI Catalyst's lack of GL_RGB565 support.
2014-01-05 22:29:57 +01:00
Themaister
bee70f8318
Fix ifdefs regarding READ_PIXELS.
2014-01-05 22:22:15 +01:00
twinaphex
e9ce0aaaa4
(PS3) Custom aspect ratio works now
2014-01-05 18:48:09 +01:00
Themaister
53502bd066
Add some FIXMEs.
2014-01-03 20:23:35 +01:00
Themaister
9c218bcf07
Fix unpack row len with 16-bit cores on desktop.
...
Missed call to UNPACK_ROW_LENGTH :(
2014-01-03 14:42:38 +01:00
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
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
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