Commit Graph

10646 Commits

Author SHA1 Message Date
twinaphex
ffd68d4878 (Xbox) Seems that Xbox D3D does not free up all resources
for some reason and that they didn't anticipate full teardown/setup.
Not sure if I can confirm, but it has been hell so far trying to get
this to work. So, instead, implement a butt-ugly hack that forces
ownership over video/input lifetime state. Will properly refactor
the driver.*_data_own variables later so that this hack is less
ugly. Ideally we'd solve the teardown/setup problem but given this
is esoteric D3D gibberish - good luck debugging >_>
2014-05-30 01:48:55 +02:00
twinaphex
a747ad29d3 (XDK1) Remove manual usage of XInputClose in input free function 2014-05-30 00:33:04 +02:00
twinaphex
c3f19c13bf (GX) Audio driver - some cleanups 2014-05-30 00:24:09 +02:00
twinaphex
4ac47a9c56 (PS3) Input - free data variable at end of free function 2014-05-30 00:02:06 +02:00
twinaphex
77dd37409f (GX) Properly set up GX video driver for proper teardown/setup 2014-05-29 23:59:59 +02:00
twinaphex
bbf3f17b85 (Android) Properly implement input free function 2014-05-29 23:57:58 +02:00
twinaphex
9894e2db0c (QNX) Properly implement qnx input free function 2014-05-29 23:57:00 +02:00
twinaphex
07cd28d00f (XDK) Properly implement XDK input free function 2014-05-29 23:54:00 +02:00
twinaphex
d1bcf03a3d (GX) Input - properly implement free function 2014-05-29 23:49:33 +02:00
twinaphex
e48123ba30 (XDK) Cleanups 2014-05-29 23:34:26 +02:00
twinaphex
d91cdaee37 (PSP1) Take out redundant memset in free function now that we free
video_data at the end
2014-05-29 22:55:18 +02:00
twinaphex
94fbb99410 (PSP1) Correct video_init function so that it is no longer reentrant 2014-05-29 22:51:52 +02:00
twinaphex
622ac28995 (PSP1) Free 'data' at end of free function 2014-05-29 22:49:53 +02:00
twinaphex
020546f923 (XDK) Take out Xbox-specific destruction code in gfx_ctx_destroy 2014-05-29 22:45:45 +02:00
twinaphex
27765eb519 (PSP/XDK) Free input_data inside free function 2014-05-29 22:33:44 +02:00
twinaphex
6aabd86c13 (XDK D3D) Start implementing more functionality of render passes 2014-05-29 21:23:15 +02:00
twinaphex
1fbdb85fb0 (XDK D3D) Deinit more state in deinit_chain 2014-05-29 21:23:15 +02:00
Themaister
49d47e1aaf Revert "Avoid buffer overflow in EQ."
Derp. It's already twice size.
2014-05-29 20:30:34 +02:00
Themaister
47f4486507 Avoid buffer overflow in EQ. 2014-05-29 20:08:59 +02:00
Twinaphex
03eb34a0f0 Merge pull request #717 from OV2/master
win32: prevent lost wakeups
2014-05-29 18:49:53 +02:00
twinaphex
abdb49bfa6 (XDK D3D) Make more like PC D3D driver pt. 2 2014-05-29 18:49:01 +02:00
twinaphex
66fa1114aa (XDK D3D) Make driver more like PC D3D driver 2014-05-29 18:11:41 +02:00
twinaphex
e909479edc (XDK D3D) Build fix 2014-05-29 17:55:30 +02:00
twinaphex
9adeae2df3 (Lakka) update_tweens gets value of 0.002 - assume
monitor refresh rate lock in RGUI
2014-05-29 17:44:31 +02:00
twinaphex
6e333c966c (Xbox/D3D) Make two drivers more alike 2014-05-29 17:35:24 +02:00
twinaphex
223ae6033d (Lakka) Animations show up - unreliable though 2014-05-29 16:35:23 +02:00
OV2
44e92c91ea win32: prevent lost wakeups 2014-05-29 16:27:12 +02:00
twinaphex
e53c3a0b60 Make xdk_d3d.cpp more like gfx/d3d9/d3d.cpp 2014-05-29 16:26:42 +02:00
Themaister
87810fe9c6 Create a correct linear phase filter. 2014-05-29 10:35:09 +02:00
Themaister
01e0fac94f Return gl->quitting.
Quit state might be set just once depending on the context driver.
2014-05-29 10:33:17 +02:00
twinaphex
fc1e9786bb (D3D) Work towards common base driver 2014-05-29 08:20:32 +02:00
twinaphex
0fce77fd1b (GX) Fill in gx_free (move code from platform_gx.c to gx/gx_video.c) 2014-05-29 05:55:21 +02:00
twinaphex
5cef7e89b0 (XDK D3D) Make XDK D3D driver more like PC D3D8/D3D9 2014-05-29 04:30:32 +02:00
twinaphex
608d271d2c (PS3) Take out hack that would not allow Soft Filter to be set at startup 2014-05-29 03:18:29 +02:00
twinaphex
06ad413f0b (PS3) Bake in HAVE_BUILTIN_FILTERS 2014-05-29 03:12:14 +02:00
twinaphex
125a4e3c43 (PS3 Cg) Fixed crash at game start - Cg state was never properly
deinited for PS3 before and we relied on a very dirty hack to set
CgContext to NULL - we can get rid of all that crap now.

PS3 build is now 'fixed' - only thing remaining is that we should
have a mechanism inside the menu to 'reinit' any graphics assets that
were previously set before we lost the state (for instance - RMenu
has one texture image it loads at init_assets time).
2014-05-29 01:36:41 +02:00
twinaphex
e1072da17f (XDK D3D) Cleanups 2014-05-29 01:21:08 +02:00
twinaphex
01059c7941 (XDK) XDK D3D driver cleanups 2014-05-29 01:05:44 +02:00
twinaphex
4e79de20a1 (GX) Make gx video driver more resilient
(Image RPNG) GX build fix
2014-05-29 00:57:40 +02:00
twinaphex
4d7a1bd21f (GL) Make driver more resilient in case gl is NULL 2014-05-29 00:43:47 +02:00
twinaphex
5b59b7e267 (GL) Less chance of segfaults if gl is NULL 2014-05-29 00:30:48 +02:00
twinaphex
b683feb389 (RARCH_CONSOLE) More cleanups to PS3 input/graphics drivers - don't do
early exit out of graphics/input free functions and ditto for init
function
2014-05-28 23:32:14 +02:00
twinaphex
0b66427768 (Xbox) Make XDK input and D3D drivers more resilient 2014-05-28 23:16:37 +02:00
twinaphex
b0b9599822 (Frontend) More cleanups 2014-05-28 22:44:25 +02:00
twinaphex
14c81f13c9 (Frontend) Remove attempt_load_game variable 2014-05-28 22:20:08 +02:00
twinaphex
d70b8a0f15 Get rid of global driver init/uninit bullshit - we're going to do
console initing/deiniting properly once and for all
2014-05-28 22:09:42 +02:00
twinaphex
839c121ecd (Xbox 1) Add C++ ifdef __cplusplus extern "C" header guards 2014-05-28 21:45:58 +02:00
Themaister
e156450028 Forgot --configure SDL_IMAGE. 2014-05-28 21:21:54 +02:00
Themaister
731e44ba60 Kill SDL_image with fire. 2014-05-28 21:19:38 +02:00
twinaphex
e1387a7b0b Take out image driver 2014-05-28 21:14:33 +02:00