Commit Graph

924 Commits

Author SHA1 Message Date
Themaister
de925367e6 Fixup build for slim build. 2012-11-14 23:11:48 +01:00
Themaister
5a5983a656 Fix build for VC10. 2012-11-14 22:57:49 +01:00
Themaister
3e77039a42 Rewrite how gl.c interfaces with shader backends. 2012-11-14 22:51:08 +01:00
Themaister
02e1a2b402 Only declare "deleted" constructors. 2012-11-14 22:09:49 +01:00
Themaister
539d8123ed Merge git://github.com/OV2/RetroArch 2012-11-14 22:07:05 +01:00
Themaister
0cfb166625 Nits. 2012-11-14 22:03:17 +01:00
twinaphex
9565eb6ede Fix warnings in pixconv.c 2012-11-14 21:54:24 +01:00
twinaphex
fdcc5cb569 (XDK - Xbox 1) Improve FPS logging
(PS3) Add FPS logging
2012-11-14 21:51:56 +01:00
OV2
54d39dff74 win32: make d3d9 compile in msvc, add linker pragmas to source files 2012-11-14 21:07:06 +01:00
Twinaphex512
3005adffc3 (D3D driver) Add HAVE_CG defines 2012-11-14 01:13:08 +01:00
Themaister
1681741554 Reinit textures if pixel format changes in GL. 2012-11-10 23:56:04 +01:00
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