Commit Graph

913 Commits

Author SHA1 Message Date
twinaphex
6d6c170f09 (Xbox 1) Set up for 32bit color now - just need a more elegant
way of automatically switching on 32bit/16bit color during init
instead of g_settings.video.color_format
2012-11-10 16:17:01 +01:00
twinaphex
5d315029ae (360 Set 32bit color format - screen currently cut in half 2012-11-10 15:57:05 +01:00
twinaphex
e87477a75f (360) Now supports RGB565 2012-11-10 14:32:15 +01:00
twinaphex
93f9316a9b (Xbox 1) Build fixes 2012-11-10 13:46:24 +01:00
Themaister
ca44dee735 Fix crash on frame dupes in D3D9. 2012-11-10 13:57:21 +01:00
twinaphex
de4648a127 (Android) Possible context fix 2012-11-09 22:33:54 +01:00
twinaphex
48b0bc7f2d (Android) Use eglGetError 2012-11-09 21:52:07 +01:00
twinaphex
acb4f63cfb (Android) Build fix 2012-11-09 21:20:55 +01:00
twinaphex
eb5bb55754 (Android) Need to know return val 2012-11-09 20:47:17 +01:00
twinaphex
8ba727ab30 (Android) Build fix 2012-11-09 17:05:03 +01:00
twinaphex
0b6bbe04a3 (Android) Add log error messages for Android EGL context for debugging 2012-11-09 09:43:16 +01:00
Themaister
9f3af988f1 Only build D3D as C++ on Win32.
Fix a couple of headers with #ifdef __cplusplus.
2012-11-04 22:56:41 +01:00
Themaister
18f704988d Add perf counter to d3d frame. 2012-11-04 00:14:43 +01:00
twinaphex
610b54e3b2 (Android) Some initial context restoring in EGL context 2012-11-03 19:23:52 +01:00
twinaphex
71f71c909d (Android) Implement macro override calls for Android - for bypassing
several layers of function call indirection
2012-11-03 10:18:08 +01:00
twinaphex
e0e5e8cb1b (Android GLSL) MAX_PROGRAMS 8 instead of 16, MAX_TEXTURES 4 instead
of 8, PREV_TEXTURES 3 instead of 7
2012-11-03 09:35:18 +01:00
twinaphex
a3c14626a4 (GL) Use macro defines for context functions - will override this for
Griffin targets in order to avoid function pinter
2012-11-03 09:18:31 +01:00
twinaphex
0dbcdb087d (Android) Rewrite of input code 2012-11-03 00:31:05 +01:00
twinaphex
02f81a38c2 (Android) Create input_state for Android app - can now signal that a window
was created, or that we want to shutdown
2012-11-02 22:27:22 +01:00
twinaphex
b240cfbc7e (RARCH_PERF) Rename benchmark.c to perforance.c
(MSVC2010) Rename incorrectly named MSVC2012 solution which was
really an MSVC 2010 solution
2012-11-01 06:21:18 +01:00
twinaphex
3837a503b7 (Android) Reimplement native glue code 2012-11-01 05:48:46 +01:00
OV2
eaa637aa4b win32: report correct monitor size for regular fullscreen in wgl 2012-10-31 21:36:17 +01:00
twinaphex
4d99d93df0 (Android) remove Android save state for now - unused and will
probably reimplement it later
2012-10-31 18:10:38 +01:00
Themaister
266d1984ee Fix crash on going fullscreen in D3D9.
Fixes crash when going from minimized to (true) fullscreen.
Adds some more robustness by potentially recreating the whole driver if
::Reset calls fail.
2012-10-31 17:32:48 +01:00
twinaphex
cbcffbb5cf (Android) Get rid of unused width/height/animated in g_android struct 2012-10-31 17:12:45 +01:00
Themaister
291280670d Set shaders on the fly. 2012-10-31 16:28:44 +01:00
Themaister
f3831a5558 Fix second pass D3D9. 2012-10-31 16:28:44 +01:00
Themaister
3f359cc362 Add support for second pass D3D9 Cg (untested). 2012-10-31 01:12:18 +01:00
Themaister
b8abbf8131 Style nits. 2012-10-31 00:40:02 +01:00
OV2
17b747d912 win32: fix for "current monitor" setting 2012-10-31 00:07:13 +01:00
OV2
69193e8b65 win32: regular fullscreen with multimon support, window resizing 2012-10-31 00:03:57 +01:00
Themaister
fbfbf1ed6a Log performance counters at the end. 2012-10-30 23:28:54 +01:00
Themaister
dc4eaea7b4 Fix build derp. 2012-10-30 22:02:15 +01:00
twinaphex
eb17f80cfa (Android) Don't do FPS reporting - might be more costly than it's worth
for regular usage
2012-10-30 20:17:30 +01:00
Themaister
85b6437fdf Add multi-monitor to D3D9.
Untested as I don't have multiple monitors.
Refactored slightly in WGL to make the code more uniform.
The multi-monitor support should probably be refactored to w32_common or
something similar.
2012-10-30 11:49:40 +01:00
twinaphex
b204b55386 (Android) Remove unnecessary animating conditional block in gfx_ctx_check_window 2012-10-30 06:36:38 +01:00
twinaphex
1ff6175bd2 (Android) Move polling for events into Android input driver instead
of EGL context check_window function
2012-10-30 06:20:49 +01:00
Themaister
f3b2c8748a Add RETRO_DEVICE_POINTER support to SDL/Xv. 2012-10-28 11:04:07 +01:00
twinaphex
aefb3ee3af (GL) Fix build for HAVE_OPENGLES target
(Android) Input - add device ID per joypad
2012-10-28 03:14:50 +01:00
Themaister
babec2f98a Win32 build fix. 2012-10-28 00:41:24 +02:00
Themaister
1908a81e1c Add RETRO_DEVICE_POINTER.
Implemented only for X11 so far.

Also clears up viewport_size call.
Changed to viewport_info to also grab X/Y info.
2012-10-28 00:38:31 +02:00
Themaister
1c32afa715 Clarifying comment in shader_cg. 2012-10-27 12:24:06 +02:00
Themaister
c0323a5677 Use Rarch state tracker. 2012-10-27 12:20:52 +02:00
Themaister
be35179ec6 Explicitly cast string literal to avoid warning. 2012-10-26 23:04:36 +02:00
Themaister
bda505c95b Set WM_CLASS in X11. 2012-10-26 23:01:32 +02:00
Themaister
e53dd431b4 Begin merging D3D9 driver. 2012-10-26 22:18:26 +02:00
twinaphex
cfdfcd4b8e (Android) Speed optimization 2012-10-25 20:58:05 +02:00
Themaister
c2674328ec Fix broken CRLF, and minor fixes for VC12. 2012-10-24 17:19:37 +02:00
Twinaphex512
53868033b7 (MSVC 2012) Initial MSVC 2012 solution
Just need to sort out the linking errors - we'll need to create a
Direct3D driver that is not external for PC and do away with the
'external' one which is really an unacceptable extra dependency for such
a popular graphics API. Also, look if the WGL context file will even
work. Added some TODOs too.
2012-10-24 15:48:44 +02:00
Themaister
204a879380 Report if true fullscreen fails on X11. 2012-10-23 23:17:56 +02:00