Commit Graph

626 Commits

Author SHA1 Message Date
Higor Eurípedes
014fdd3292 (D3D) Reset d3d_quit during context initialization 2014-09-02 12:44:23 -03:00
twinaphex
bda03a52fe (PS3) Take out triple buffering 2014-08-31 04:13:53 +02:00
twinaphex
262ec8881a (PS3) Refactor PAL60 setting 2014-08-31 03:50:44 +02:00
Higor Eurípedes
0813d7dba4 (sdl_gl) Merge SDL and SDL2 event loops 2014-08-22 19:39:29 -03:00
Higor Eurípedes
15297c85cd (sdl_gl) Fix segfault 2014-08-22 19:11:26 -03:00
Higor Eurípedes
99ce4e5329 Add last resort SDL gfx context 2014-08-20 22:09:30 -03:00
twinaphex
f1b1326905 (Wayland) Add stub input handlers to context 2014-08-11 19:17:40 +02:00
twinaphex
80a19ff0fd (Wayland) Adding preliminary work by maister - input hookup still
missing
2014-08-09 21:35:27 +02:00
Jean-André Santoni
858fa30645 Add missing credit 2014-07-27 22:28:22 +02:00
Jean-André Santoni
3167709503 Add Vivante context driver 2014-07-27 22:19:11 +02:00
Themaister
fceda4f33b Account for black frame insertion in refresh rate checks. 2014-07-13 19:45:28 +02:00
Themaister
ce3183696c Check correct wait status in x11_suspend_screensaver. 2014-07-13 19:33:51 +02:00
Themaister
45205cc5d7 When modechanging on X11, try to match configured refresh rate. 2014-07-13 19:23:08 +02:00
twinaphex
652499770f (Apple GL context) Move gfx_context C files to Obj-C .m file 2014-07-09 13:03:58 +02:00
Toad King
7dfb9d0437 Revert "(EMSCRIPTEN) add shared context support"
This reverts commit 96feb074d0.
2014-07-04 15:02:02 -04:00
Toad King
96feb074d0 (EMSCRIPTEN) add shared context support 2014-07-02 21:56:22 -04:00
twinaphex
d16395ffa6 (QNX) Implement destroy function correctly 2014-07-02 18:58:16 +02:00
twinaphex
089ab9441c (QNX) Add GL shared context to QNX context driver 2014-07-02 18:56:08 +02:00
twinaphex
0b5548bc1b (VC/Raspberry) Blind coding - added shared context for VC EGL
context driver
2014-06-25 22:59:07 +02:00
twinaphex
5216e90c12 (Android) - EGL context cleanups
- Add shared context support
2014-06-20 04:35:12 +02:00
Toad King
bb40fff99d fix emscripten build 2014-06-18 20:31:41 -04:00
twinaphex
77d0b0053f (D3D PC) Build fix and deopaque things 2014-06-17 20:42:38 +02:00
twinaphex
59fed065e9 Change d3d9.hpp to d3d.hpp 2014-06-11 00:49:18 +02:00
twinaphex
e02d61a6a9 (D3D) Implement stub d3d_restore function for XDK 2014-06-08 23:35:14 +02:00
Themaister
ddbe5f148d Fix CXX_BUILD. 2014-06-08 14:08:03 +02:00
twinaphex
4320efa9a1 (D3D) Move ifndef XBOX functionality to D3D context driver 2014-06-08 04:29:25 +02:00
twinaphex
16d49cffb8 (Xbox) Implement custom GetFocus for _XBOX so that we can get
rid of the ifdef
2014-06-07 23:45:52 +02:00
twinaphex
e64775ba7a (D3D) Create macro for D3DDevice_Present 2014-06-07 07:45:02 +02:00
Themaister
e41eb4ab50 Fix unknown hang in Mali fbdev. 2014-06-05 15:05:43 +02:00
Themaister
736c4147e9 Add initial Mali FBdev support. 2014-06-05 12:28:17 +02:00
twinaphex
26b62ba42e Don't abuse g_extern.lifecycle_state for setting RARCH_QUIT_KEY
anymore
2014-06-02 09:52:30 +02:00
twinaphex
08c8e5fb5f Reduce amount of includes for rarch_console.h 2014-06-01 03:08:26 +02:00
twinaphex
01b826c32f (D3D PC) Properly implement WM_DESTROY again 2014-05-30 22:46:47 +02:00
twinaphex
1eef295450 (XDK) Fixes FPS count 2014-05-30 06:31:53 +02:00
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
e48123ba30 (XDK) Cleanups 2014-05-29 23:34:26 +02:00
twinaphex
020546f923 (XDK) Take out Xbox-specific destruction code in gfx_ctx_destroy 2014-05-29 22:45:45 +02:00
twinaphex
e1387a7b0b Take out image driver 2014-05-28 21:14:33 +02:00
twinaphex
3e667a8c07 (Playbook) Fix build 2014-05-17 14:36:15 +02:00
Themaister
6d99bb2e2a Fix fullscreen swapping with cached context cores. 2014-05-11 20:10:17 +02:00
twinaphex
b2b5c6daec (Image) Put image functions through abstract interface
(Image) Add image_driver to retroarch.cfg to specify image driver to use
(Menu)  Add Image Driver to Drivers section
2014-05-10 20:26:58 +02:00
Themaister
583514ae95 Add support for GLES 3.1+. 2014-05-03 15:21:14 +02:00
Themaister
f6a578ce4e Fix issues with nVidia EGL implementation. 2014-05-03 14:48:12 +02:00
Themaister
795503f108 Just define EGL_OPENGL_ES3_BIT_KHR instead. 2014-04-30 10:01:32 +02:00
Themaister
75077fa553 Should fix build with outdated EGL headers. 2014-04-30 09:27:49 +02:00
Themaister
f26593e0b6 Add core context support to X/EGL and KMS/EGL. 2014-04-20 13:54:29 +02:00
Themaister
5614a77cec Build fix. 2014-04-19 16:25:27 +02:00
Themaister
5bdd368192 Add Windows shared context. 2014-04-19 16:21:37 +02:00
Themaister
105872a42c Add HW context support to X/EGL and KMS/EGL. 2014-04-19 16:06:25 +02:00
Themaister
f658112756 Add experimental support for separate HW contexts. 2014-04-19 15:37:00 +02:00
Themaister
f2c78c36e3 [Android] Add support for GLES3 HW render. 2014-04-14 13:17:05 +02:00
Themaister
2e3ca36010 Allow toggling monitor index in RGUI. 2014-04-06 15:41:53 +02:00
Themaister
0ae933ea8b Select best KMS mode depending on refresh rate.
Try to match as closely as possible.
2014-04-06 15:29:59 +02:00
Themaister
72c3177715 Honor fullscreen_x/fullscreen_y in KMS/EGL.
Try to find optimal mode.
2014-04-06 15:20:31 +02:00
Themaister
36575fe407 Add multi-monitor support to KMS/DRM. 2014-04-06 15:10:39 +02:00
Themaister
99bc686266 Log available KMS/DRM modes. 2014-04-05 22:29:20 +02:00
Themaister
f804adae21 Fixup big resource leaks in KMS/DRM. 2014-04-05 22:11:19 +02:00
Floréal Toumikian
c1014ee305 Moved dir_list_free 2014-04-05 19:59:31 +02:00
Floréal Toumikian
a107678f0d Fixed broken build 2014-04-05 19:51:28 +02:00
Floréal Toumikian
d663f7fc5d romoved glob, used file_list instead 2014-04-05 19:32:51 +02:00
Floréal Toumikian
8fce5f03e9 Added gpu lookup in DRM EGL context 2014-04-05 16:02:28 +02:00
Twinaphex
456a9f4245 (D3D) Don't add Direct3D to window title 2014-03-16 14:50:09 +01:00
Twinaphex
ba4116e313 (D3D) TODO - quick hack to get D3D driver to at least work for games -
WM_DESTROY needs to be properly reimplemented
2014-03-16 14:36:55 +01:00
Themaister
79d0cb11af Fix compile issue in VC context. 2014-03-15 16:04:23 +01:00
twinaphex
c52c8cd5b5 (Android) Bump up versioncode
(VideoCore EGL) Fix build
2014-03-13 11:01:46 +01:00
twinaphex
7cdc23505c (Apple) Build fix 2014-03-10 06:00:06 +01:00
twinaphex
247dc03124 (d3d_ctx.cpp) Use local data pointer instead of driver.video_data
where appropriate
2014-03-09 18:54:02 +01:00
twinaphex
d1df068583 (XDK) Build fix 2014-03-09 18:51:35 +01:00
Themaister
6b470442e6 Fixup Win32 build.
D3D stubbed out until it's fixed.
2014-03-09 17:15:10 +01:00
Themaister
d3c0431a3b Update more context backends ... 2014-03-09 17:11:06 +01:00
Themaister
d0302c9800 Begin adding opaque interface to gfx_context. 2014-03-09 16:50:18 +01:00
Themaister
6a45de307d Build fix MinGW. 2014-03-09 15:49:20 +01:00
twinaphex
4da1d1f8a3 (D3D CTX) implement gfx_ctx_d3d_destroy for Xbox 2014-03-08 05:21:57 +01:00
twinaphex
8254e127ec Rename d3d9_p.cpp to gfx/context/d3d_ctx.c 2014-03-08 05:18:05 +01:00
twinaphex
05e62a133f (XDK) Remove xdk_ctx.c 2014-03-08 04:19:10 +01:00
twinaphex
c512fccc18 (XDK) Build fix 2014-03-08 00:54:33 +01:00
twinaphex
c5fd281e1c (XDK) Use similar-named context driver as PC D3D 2014-03-07 22:49:44 +01:00
twinaphex
2708bef175 (D3D) Add XDK ifdefs in d3d9_pc.cpp 2014-03-07 21:14:56 +01:00
twinaphex
f512ba76d1 (XDK) Rename xdk_d3d_video_t to d3d_video_t 2014-03-07 20:17:25 +01:00
twinaphex
ea88399281 (XDK D3D) Refactor initing code completely - make it more inline
with PC D3D driver
2014-03-07 05:31:24 +01:00
twinaphex
c03c980c1e (XDK D3D) Create set_mvp 2014-03-06 18:29:54 +01:00
twinaphex
407cced43c (XDK D3D) Move g_extern.frame_count incrementin to swap_buffers 2014-03-05 22:24:39 +01:00
twinaphex
fb48a9e356 (XDK D3D) refactors 2014-03-05 22:10:36 +01:00
twinaphex
f0ff3b4ae7 (XDK D3D) Rename win_width/win_height to screen_width/screen_height 2014-03-05 06:25:39 +01:00
twinaphex
4cd603197b (XDK D3D) Refactor LPDIRECT3D member to g_pD3D 2014-03-05 06:11:39 +01:00
twinaphex
1e37515e2f (XDK D3D) Rename d3d_render_device member to dev 2014-03-05 06:05:48 +01:00
Themaister
74735e2b4d Add some more error logging in X/EGL. 2014-03-03 23:00:37 +01:00
twinaphex
3f5e3c191e (XDK) Build fixes 2014-03-02 02:18:37 +01:00
twinaphex
fd7f4d45cd Move image files to gfx/image/ 2014-02-25 21:24:15 +01:00
Hans-Kristian Arntzen
2ab94ad8d1 [Android]: Use ALPHA_SIZE 8.
Avoids weird 24-bit surfaces ...
2014-02-13 12:04:08 +01:00
Themaister
8120198ed8 Make C++ compiler happy. 2014-02-06 22:52:48 +01:00
Themaister
0b462054ea De-hardcode input drivers in KMS-like drivers. 2014-01-24 10:23:48 +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
Themaister
53502bd066 Add some FIXMEs. 2014-01-03 20:23:35 +01:00