34 Commits

Author SHA1 Message Date
Toad King
c7dad59402 Add EGLImage support to GL driver.
On videocore, uploading image textures using OpenVG instead of OpenGL ES saves us about 4.5 milliseconds per frame.
2012-10-19 23:08:53 -04:00
Toad King
faf1b47d61 VideoCore EGLImage, still needs EGLImage support in GL driver 2012-10-19 21:24:28 -04:00
Toad King
301848e037 compile fix 2012-10-18 19:09:16 -04:00
Toad King
86fb0984d2 beginning framework for EGLImage support, added (untested) example to OpenVG 2012-10-18 19:00:25 -04:00
Themaister
dd6d27c108 Add WGL context. 2012-09-30 14:41:58 +02:00
Themaister
9747a594e8 Check for glXSwapInterval as well. 2012-09-29 12:35:26 +02:00
Themaister
e58bdc4811 Add GLX context. 2012-09-29 12:13:11 +02:00
Themaister
c655c1d4e5 Big refactor of joypad input. 2012-09-28 23:06:16 +02:00
Themaister
31b12d7d00 Refactor out common X11 code. 2012-09-26 15:52:25 +02:00
Themaister
2674a67cdd Abstract away aspect ratio handling. 2012-09-25 13:51:44 +02:00
Themaister
d0e220bbf1 Refactor all GL context handling code. 2012-09-25 01:37:23 +02:00
Themaister
a1999af4a7 Don't use projection abstraction in GL.
Makes no sense anymore as it's calculated with gfx/math/ ...
Keep abstraction for XBox.
2012-09-24 22:51:26 +02:00
Themaister
4107218a5f Should fix build on OSX (*shrug*). 2012-09-24 10:04:15 +02:00
Themaister
ff60bcb5e5 Add experimental X/EGL support. 2012-09-15 15:17:34 +02:00
Themaister
a4262fd0d6 Purge SDL_MODERN.
SDL 2.0 differs far more than 1.3 did, and it makes no sense
to support both now.
2012-09-12 23:37:25 +02:00
Themaister
e1fc6d7ab5 Do not use SDL_SYM_WRAP outside sdl_ctx.c. 2012-09-12 09:30:36 +02:00
Themaister
4c99652a60 Rework attribute and MVP passing in GL. 2012-09-11 23:32:00 +02:00
Themaister
29a1e7ac27 Purge some still lingering SSNES-isms. 2012-09-07 21:56:26 +02:00
Themaister
8663c1f009 Do not include SDL_syswm.h on OSX as it breaks. 2012-09-01 15:32:21 +02:00
Themaister
a283a54bee Use calculated MVP directly in shader params. 2012-08-09 23:21:59 +02:00
Themaister
db6c0ee85c Use custom matrix calculation routines.
Aims for more compatibility with modern OpenGL.
2012-08-09 08:56:35 +02:00
Themaister
7346d0f959 Suspend screensaver on SDL/GL as well. 2012-07-28 01:55:00 +02:00
Themaister
83da5f2035 DRIVER_X11 appears to be defined on OSX. 2012-06-29 09:48:37 +02:00
Themaister
41868ac1da Hoist out #ifdefs from gfx_ctx_get_window_size (SDL). 2012-06-27 20:03:36 +02:00
Toad King
c32b5985b8 better sdl_x11 detection, don't resize on non-x11 video 2012-06-27 00:54:42 -04:00
Toad King
0a64640303 don't error on no window manager SDL video 2012-06-27 00:44:20 -04:00
Themaister
2d3fed35e7 Avoid ugly #undefs. 2012-05-27 23:33:52 +02:00
Themaister
72310b6661 Style nit party. 2012-05-27 23:15:02 +02:00
Twinaphex
15e16728f2 PC fix build 2012-05-27 22:45:00 +02:00
Themaister
0171023edc Fix build. 2012-05-27 21:24:55 +02:00
Twinaphex
1c2c2e1a37 Rename to gfx_ctx_set_projection 2012-05-27 20:55:11 +02:00
Twinaphex
6ff8154d19 (PS3) Abstracted rotation code to allow for different implementations 2012-05-27 20:50:06 +02:00
Themaister
7cfd0a3660 Fix build. 2012-05-26 10:17:06 +02:00
Twinaphex
1386e2ee90 Restructuring of sdlwrap.c for portability reasons -
could need a code review
2012-05-26 04:47:24 +02:00