twinaphex
16af303c9e
(D3D9) Refactor render_chain.cpp - isolate Cg code
2014-03-04 18:19:47 +01:00
twinaphex
68a6da85b7
(Cg) Remove useless forward declaration
2014-03-04 17:13:50 +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
Themaister
28d1e77a36
Fix GPU screenshots with GL + threaded driver.
2014-02-26 20:42:22 +01:00
twinaphex
fcf30143b4
(PS3) Change HAVE_RGL to HAVE_GCMGL
2014-02-25 22:01:46 +01:00
twinaphex
fd7f4d45cd
Move image files to gfx/image/
2014-02-25 21:24:15 +01:00
Themaister
107c07c05d
Reinit driver on composition change.
2014-02-25 19:14:22 +01:00
Tobias Jakobi
20067ed087
video_omap: plug memory leak
2014-02-24 21:12:12 +01:00
Tobias Jakobi
117a1ff64b
video_lima: plug potential memory leak
2014-02-24 21:03:35 +01:00
twinaphex
f5321d69c8
(PSGL) Remove psglu.h header include
2014-02-24 17:30:08 +01:00
twinaphex
b12274f704
(PS3) Get rid of warning: Variable is used before its value is set
2014-02-23 01:56:33 +01:00
Lioncash
fb9959d338
Fix wrong usage of free in d3d9/d3d.cpp. Should be delete.
2014-02-22 17:19:47 -05:00
Toad King
ea5ecd507d
[GX] fix image converters to avoid memory corruption, fixes crash on some overlays
2014-02-20 23:50:45 -05:00
Toad King
041ec45132
Merge branch 'gx-overlays'
...
Conflicts:
Makefile.wii
gx/gx_video.c
2014-02-20 19:46:43 -05:00
Toad King
02fd6dffbd
[GX] overlays appear, still some bugs left
2014-02-20 17:58:06 -05:00
Toad King
e09b7fb60c
build fix
2014-02-19 17:52:47 -05:00
twinaphex
71b6485bb5
(PSP) Fix warnings
2014-02-19 17:47:59 +01:00
twinaphex
603484a1da
(Thread wrapper) Fix unused variable i warning
2014-02-19 16:30:28 +01:00
Toad King
518b53e21c
convert images on texture_image_load for gekko
2014-02-18 18:20:23 -05:00
twinaphex
a788009e7c
How nice - geom->base_width and geom->base_height are const, so
...
we have to put them in local copies first
2014-02-13 15:12:31 +01:00
twinaphex
535f130891
Prevent division by zero in gfx_set_viewport
2014-02-13 15:10:01 +01:00
Hans-Kristian Arntzen
2ab94ad8d1
[Android]: Use ALPHA_SIZE 8.
...
Avoids weird 24-bit surfaces ...
2014-02-13 12:04:08 +01:00
twinaphex
94d70b6aba
(PSP) Hack - Get around FPU exception - division by zero
2014-02-13 11:38:41 +01:00
Hans-Kristian Arntzen
6a6f56a82e
Do not reply on CMD_NONE.
...
Avoids potential deadlock.
2014-02-13 11:20:18 +01:00
Hans-Kristian Arntzen
b1a3b94594
Fix command-line for glgen.
2014-02-12 19:05:29 +01:00
Themaister
bf1a95459c
Remove weird backslash.
2014-02-12 18:55:40 +01:00
Themaister
c85b5b9b27
Add glsym README.
2014-02-12 18:54:57 +01:00
twinaphex
7a67e05a66
(glsym_gl.h) Update GLuint64EXT in glsym_gl.h too (BTW - where
...
is the README explaining how to generate files with glgen.py?)
2014-02-12 18:29:03 +01:00
twinaphex
620bf49081
(OSX) Add GLuint64EXT for OSX version lower than 10.7 (Lion)
2014-02-12 18:21:35 +01:00
Twinaphex
ad68ce4c91
Merge pull request #545 from libretro/glgen-update
...
Update glgen_gl.c/h.
2014-02-12 17:59:01 +01:00
Themaister
ef54422379
Avoid temporary garbage data in alpha mod.
2014-02-12 15:53:04 +01:00
Themaister
833259de93
Greatly improve performance with normalized overlays and threaded video.
...
SET_ALPHA_MOD would previously block on frame completion which only made
sense for non-normalized overlays.
This should also hopefully fix the ANR hang on Android.
2014-02-12 15:40:54 +01:00
Themaister
150ee8d8c2
Update glgen_gl.c/h.
2014-02-11 20:53:46 +01:00
twinaphex
b370d3f048
Stub function of null_gfx_restart when HAVE_MENU is defined
2014-02-11 17:10:13 +01:00
twinaphex
d4f9c211ee
(PSP) Build fixes
2014-02-11 16:10:40 +01:00
twinaphex
de0d0626f6
Include boolean.h instead of stdbool.h
2014-02-11 07:49:15 +01:00
twinaphex
c42a00a39f
(OSX PPC) Change anonymous unions, define GLint64/GLuint64/GLsync
...
for Leopard and Snow Leopard, other changes..
2014-02-11 16:07:00 +11:00
Tobias Jakobi
f3f50daeb4
video_lima: use posix_memalign to request aligned memory
...
aligned_alloc is deprecated
2014-02-10 14:58:55 +01:00
Tobias Jakobi
3005501184
video_lima: fix some warnings
2014-02-10 14:58:55 +01:00
Tobias Jakobi
605d4f3954
video_lima: slight reduction of font texture size
2014-02-10 14:58:54 +01:00
Tobias Jakobi
72009fe3d7
video_lima: use general align function
...
introduce in preparation to texture upload optimization
2014-02-10 14:58:54 +01:00
OV2
43b209a5c0
D3D9: use new during init so that constructors are run
2014-02-08 19:56:02 +01:00
Themaister
94a0cef1d4
Fix libretro GL core screenshots.
2014-02-06 23:37:06 +01:00
Themaister
8120198ed8
Make C++ compiler happy.
2014-02-06 22:52:48 +01:00
Themaister
032ba14d3b
Properly implement GPU screenshot for GLES.
...
Have to use GL_RGBA/GL_UNSIGNED_BYTE as well as reading from back buffer
only.
2014-02-06 21:35:57 +01:00
Higor Eurípedes
b719c98db6
(griffin.c) Fix build when freetype2 support is enabled
...
This commit fixes build issues for frontends that wish to use freetype2
or that do not want to use the built-in bitmap font:
* Having HAVE_FREETYPE without DONT_HAVE_BITMAPFONT makes griffin.c
include both freetype.c and bitmapfont.c resulting in a redefinition
of 'struct font_renderer' (freetype.c:25 and bitmapfont.c:24).
* Having both HAVE_FREETYPE and DONT_HAVE_BITMAPFONT resulted in linkage
problems because griffin.c does not include fonts.c in this case and
thus font_renderer_create_default() implementation is missing. If
fonts.c is included, the linker complains about undefined reference to
bitmap_font_renderer in fonts.c:27.
2014-02-05 12:30:55 -03:00
Tobias Jakobi
18e37b2d47
video_lima: set wrap mode to clamp for all textures we use
2014-01-28 03:02:04 +01:00
Tobias Jakobi
6ab202f25f
video_lima: whitespace fixes
2014-01-27 23:05:45 +01:00
Tobias Jakobi
9d1090b194
video_lima: remove unused and redundant variables
2014-01-27 23:03:08 +01:00
Tobias Jakobi
8f41e80c61
video_lima: align temp buffer
2014-01-26 04:43:01 +01:00
Tobias Jakobi
4b05426bbe
video_lima: add font rendering by using the temp buffer
2014-01-26 04:43:01 +01:00
Tobias Jakobi
a338d99781
video_lima: misc fixes
2014-01-26 04:43:00 +01:00
Tobias Jakobi
55fc57b846
video_lima: fix some swizzling in the fragment shader
...
Thanks to AreaScout for testing this!
2014-01-26 04:43:00 +01:00
Tobias Jakobi
9226c3c783
video_lima: adjust aspect ratio depending on frame dimensions
...
With this the emulator framebuffer is no longer stretched to the entire
screen. However it's still not entirely correct. For example the aspect
ratio value provided by the frontend is not used yet.
Also I noticed this behaviour: When using the game "Secret of Mana 2"
(unofficial english translation) on the snes9x-next core, the game
normally uses a framebuffer of dimension 256x224. But when rendering
text windows, it increases resolution to 512x224. With the current
behaviour this alters aspect ratio and let's the image "explode"
when text boxes are displayed, only to "implode" again when they close.
This should not happen! (Needs further investigation...)
2014-01-26 04:43:00 +01:00
Tobias Jakobi
7cdb08b804
Add lima video driver
...
Documentation is provided in README-lima.
2014-01-26 04:43:00 +01:00
Themaister
0b462054ea
De-hardcode input drivers in KMS-like drivers.
2014-01-24 10:23:48 +01:00
pinumbernumber
09651cbe21
Hopefully improved detection of third-party dual xinput/dinput pads
2014-01-23 21:57:19 +00:00
Themaister
6c5d481f2d
Fix MinGW compile.
2014-01-22 16:39:39 +01:00
Themaister
8c9e1a5f5c
Fix some unused function warnings.
...
Clang 3.4 is more aggressive on this.
2014-01-22 16:39:39 +01:00
twinaphex
b480009604
(D3D9) Remove obsolete function d3d_font_msg now
2014-01-18 21:53:40 +01:00
twinaphex
7cbfb14791
(D3D9 PC) Go through font context driver now
2014-01-18 21:51:30 +01:00
twinaphex
13620ab16d
(D3D) Split up D3D font code from D3D PC driver into separate font context file
2014-01-18 21:38:21 +01:00
twinaphex
5d34d72ed2
(XDK 360) Clean up xdk360_fonts
2014-01-18 21:32:46 +01:00
twinaphex
7c1f24c861
(D3D) set_resize function bound to D3D context driver
2014-01-18 21:13:08 +01:00
twinaphex
544df55017
(D3D) check_window - check if d3d_quit has been set to true, and if so,
...
set quit pointer value to true
2014-01-18 21:07:34 +01:00
twinaphex
280b9d5406
(D3D9) Move more code to d3d9_pc context driver
2014-01-18 20:49:57 +01:00
twinaphex
ab9d4440db
(D3D) Create graphics context driver for D3D and move
...
state code over to it
2014-01-18 18:43:40 +01:00
twinaphex
ff3a157a9d
(D3D) Ifdefs for HAVE_CG (and miscellaneous)
2014-01-15 19:00:46 +01:00
Themaister
c4978651fa
Properly replace template.
...
Avoid having to assume a magic variable is present in scope.
2014-01-15 17:24:24 +01:00
twinaphex
73b23f7002
(MSVC) Fix warnings
2014-01-15 17:05:08 +01:00
twinaphex
185dc3731f
(D3D) Add HAVE_CG/_XBOX ifdefs
2014-01-15 14:14:37 +01:00
twinaphex
c966629e1b
(D3D9) Fixup HAVE_PYTHON ifdef
2014-01-11 15:47:11 +01:00
Themaister
0447c04957
Remove obsolete rpng comment.
...
It does decode all the basic formats, interleaving and stuff.
2014-01-11 12:24:54 +01:00
Themaister
f3eb9dfafe
Make RPNG compilable outside RetroArch without source hacking.
2014-01-11 12:22:51 +01:00
twinaphex
a2d713b3cb
Add rzlib to include dirs to avoid ugly ifdef for WANT_MINIZ
2014-01-10 19:46:31 +01:00
twinaphex
b34a21be83
(D3D9) quit variable must be static
2014-01-09 22:25:50 +01:00
twinaphex
5752bb1b9c
(D3D) Move implementation-specific functions to d3d9_pc.cpp
2014-01-09 21:27:53 +01:00
twinaphex
7cd149c3c6
(D3D) Build fix
2014-01-09 20:06:39 +01:00
twinaphex
51eb1d9e52
(D3D) Compatibility with Xbox 1 - WIP
2014-01-09 20:04:18 +01:00
twinaphex
feb11c525c
(D3D) Add some more ifdefs for portability purposes
2014-01-09 19:52:01 +01:00
twinaphex
c32fc07b3f
(D3D) Turned D3DVideo class into struct
2014-01-09 19:43:45 +01:00
twinaphex
eae35b9a50
(D3D) Move more functions out of D3DVideo class
2014-01-09 19:05:31 +01:00
twinaphex
e48b7e7d8a
(D3D) Refactor D3D driver
2014-01-09 18:44:25 +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
twinaphex
d07c3242cf
(D3D9) Some cleanups
2014-01-09 13:18:25 +01:00
Twinaphex
165698b9f2
Merge pull request #481 from libretro/dpad-map
...
Analog D-pad mapping
2014-01-08 12:01:39 -08:00
twinaphex
f23e41bd17
Safety checks for accessing video_poke function pointers
2014-01-08 19:42:42 +01:00
Themaister
33d50e2010
Check GL_RENDERER for ATI as well.
2014-01-08 18:09:49 +01:00
Themaister
f6643fe12d
Push analog dpad mode for autoconfig as well.
2014-01-08 17:47:07 +01:00
Themaister
f57a1aa032
Add support for mapping analogs to D-pad again.
...
Use a cleaner approach which can feasibly work on all platforms.
Uses input_push/pop_analod_dpad to modify the joyaxis field before
polling input. This way, the RetroPad D-pad binds can inherit the
joyaxis fields from ANALOG_LEFT_X_PLUS and friends.
Also add support for the field in RGUI and saves settings.
2014-01-08 17:31:14 +01:00
twinaphex
61218b4a66
(OSX) Get rid of unused variable warning/variable is used before it's initialized
2014-01-06 16:20:20 +01:00
Themaister
f2a8a73322
Add workaround for ATI Catalyst's lack of GL_RGB565 support.
2014-01-05 22:29:57 +01:00
Themaister
bee70f8318
Fix ifdefs regarding READ_PIXELS.
2014-01-05 22:22:15 +01:00
twinaphex
e9ce0aaaa4
(PS3) Custom aspect ratio works now
2014-01-05 18:48:09 +01:00
Themaister
53502bd066
Add some FIXMEs.
2014-01-03 20:23:35 +01:00
Themaister
9c218bcf07
Fix unpack row len with 16-bit cores on desktop.
...
Missed call to UNPACK_ROW_LENGTH :(
2014-01-03 14:42:38 +01:00
Themaister
69b104f9e4
Comment about BGRA8888.
2014-01-01 21:58:02 +01:00
Themaister
08ba1ad14e
Use GL_RGB565 internal format when available.
...
This is a feature from ES2_compat extension.
It fixes the speed issue associated with using 16-bit textures on
desktop GL. Improves performance a bit as well as there's less bandwidth
usage during shading.
On my HD3000 laptop, performance improved with ~10%.
2014-01-01 21:58:02 +01:00
Themaister
a287ea6c6e
Remove debug check.
2014-01-01 17:01:33 +01:00
Themaister
f64b670d9a
Don't use std::shared_ptr for state tracker.
2014-01-01 16:59:19 +01:00
Themaister
b618306995
Big D3D9 cleanup.
...
Use bool for return instead of int (many bugs because of that ...).
Remove all use of exceptions, use delayed constructors (due to no
exceptions ...). Drop use of unique_ptr in D3D9 (not really needed).
2014-01-01 16:53:15 +01:00
twinaphex
2158076bd7
(D3D9) Add <algorithm> header include
2014-01-01 16:04:31 +01:00
twinaphex
e38a1096f0
Rename D3D9 in logs to D3D where appropriate (ie. D3D Cg can stay D3D9)
2014-01-01 03:19:57 +01:00
twinaphex
a6df90ff71
(D3D) Move more defines/header includes to d3d_defines.h
2014-01-01 03:15:48 +01:00
twinaphex
d4a9cc3d8c
(D3D) Shouldn't need ifdef __cplusplus - extern "C" anymore
2014-01-01 02:58:19 +01:00
twinaphex
22d282c649
(D3D) Should fix Mingw compilation
2014-01-01 02:38:09 +01:00
twinaphex
0a15a17d44
Update years on all license headers
2014-01-01 01:50:59 +01:00
twinaphex
17af6a0465
(D3D) Rename video_d3d9 to video_d3d
2014-01-01 01:09:31 +01:00
twinaphex
115f706f24
(D3D) Split up version-agnostic defines into separate header file - will be
...
fleshed out later for D3D8, D3D9, etc.
2014-01-01 00:58:21 +01:00
twinaphex
4b0e56a52e
(D3D) Use memcmp instead of std::memset
2014-01-01 00:50:26 +01:00
twinaphex
88a0b45ad5
(D3D) Use version-agnostic defines
2014-01-01 00:49:00 +01:00
twinaphex
772383effc
(D3D) Use defines to hide away D3D version-specific types
2014-01-01 00:27:55 +01:00
twinaphex
88194bcdae
(D3D) Build fix
2014-01-01 00:01:20 +01:00
twinaphex
538bf3b49a
(D3D) Cleanups
2014-01-01 00:00:01 +01:00
twinaphex
06becc939e
(D3D) Get rid of most throws and exception catching
2013-12-31 23:49:45 +01:00
twinaphex
dc734aea55
(D3D9) Get rid of C++ memory header include
2013-12-31 23:26:12 +01:00
twinaphex
2d651bbc1d
(D3D9) Get rid of unneeded headers
2013-12-31 23:23:02 +01:00
twinaphex
d4850b3cd4
(D3D) Split up D3DVideo-specific code to separate file
2013-12-31 23:20:37 +01:00
twinaphex
4fa7580dea
(MSVC) Builds again
2013-12-31 22:10:58 +01:00
twinaphex
aa5a74ed7f
(MSVC) Build fixes to D3D9 driver
2013-12-31 21:52:15 +01:00
twinaphex
44ff5afcc2
(D3D) Start brining D3D9 and XDK D3D drivers together
2013-12-31 21:24:17 +01:00
Themaister
0d3428ad15
Add texture_image_free().
...
Cleans up deinit code for textures.
2013-12-31 19:16:29 +01:00
Themaister
132c3c46f7
Use struct texture_image instead of video_overlay_image.
2013-12-31 19:05:16 +01:00
Themaister
77a62573a2
Fix crash in GLSL when overlays with many textures are used.
...
Have to call shader->use() for each set_coords or we overflow
the attribs array cached buffer.
2013-12-26 23:34:40 +01:00
Themaister
f61a91c2fd
Don't call glDetachShader().
...
Some drivers don't like it.
2013-12-26 02:18:43 +01:00
Themaister
f2371cf691
Delete shader objects early instead of late.
...
Less error prone. Also saves some memory.
2013-12-26 02:16:30 +01:00
Themaister
8a81ee856c
Some Win32 fixes.
2013-12-24 14:10:18 +01:00
twinaphex
bb82c76a4c
(D3D9) Fix up D3D driver - use RARC_PERFORMANCE macros
2013-12-22 17:41:08 +01:00
Themaister
1c9895611b
Rework performance interface.
...
Avoids super-ugly macros and retroarch-ifdefs.
2013-12-18 19:21:56 +01:00
twinaphex
9852c5dc4c
Rewrite perf interface - exposes callbacks now for RETRO_PERFORMANCE_INIT/RETRO_PERFORMANCE_START/RETRO_PERFORMANCE_STOP calls without messy, hardcoded preprocessor-dependent variables in macros - will update cores accordingly too
2013-12-18 19:03:08 +01:00
twinaphex
69a67b3df2
Change RARCH_PERFORMANCE_ macro calls to RETRO_PERFORMANCE
2013-12-17 19:14:57 +01:00
twinaphex
38d785984f
Add RETRO_ENVIRONMENT_GET_PERF_INTERFACE to libretro.h
2013-12-17 19:10:40 +01:00
Themaister
6031590cd3
Add OPENGLES3 context support in libretro GL.
2013-12-13 14:20:49 +01:00
Themaister
977cec1378
Refactor keyboard event callbacks.
...
Go through input/keyboard_line.c to better hide internal logic
regarding keyboard line input.
2013-12-10 19:39:09 +01:00
Themaister
40861aa17d
Handle modifiers in Win32 keyboard.
2013-12-09 14:35:43 +01:00
Themaister
deadbbc906
Add keyboard callback for Windows.
...
Only tested in Wine, but seems to work fine.
2013-12-09 14:22:46 +01:00
Themaister
07e3c7f7fa
Use input context in xvideo and xegl.
2013-12-08 14:42:03 +01:00
Themaister
205f8ce90d
Start implementing UTF-8 keyboard handling for X11.
2013-12-08 14:20:05 +01:00
Themaister
b809a59720
Fix mod-handling in X11.
2013-12-08 01:09:00 +01:00
Tobias Jakobi
87843d607d
video_omap: add font rendering for ARGB8888 framebuffer
...
In constrast to the RGB565 code, this here is only compile tested.
2013-12-07 23:56:04 +01:00
Tobias Jakobi
b77171f350
video_omap: add font rendering for RGB565 framebuffer
2013-12-07 23:56:04 +01:00
Tobias Jakobi
a5352f706c
video_omap: convert a TODO into comment
2013-12-07 23:56:04 +01:00
Tobias Jakobi
96f73a5cb8
video_omap: implement disabling of vsync
2013-12-07 23:56:04 +01:00
Themaister
e7ddbf1192
Use udev over linuxraw if possible.
2013-12-07 14:28:34 +01:00
Themaister
d20b8b1b03
Remove debug use of udev.
2013-12-07 14:18:01 +01:00
Themaister
c21310b261
Start adding udev input driver.
2013-12-07 14:13:40 +01:00
Themaister
46c3dd6d20
Clean up float FBO handling a bit.
...
Fallback to UNORM if not supported.
2013-12-04 12:55:51 +01:00
Tobias Jakobi
1e0b0970e8
video_omap: remove debug message
2013-12-03 22:53:20 +01:00
Tobias Jakobi
06aa2ebcfd
video_omap: complete rework and refactoring of the driver
2013-12-03 22:40:49 +01:00
twinaphex
6f5b28cd60
(PS3) Get rid of warnings in gl.c
2013-11-29 03:06:04 +01:00
Themaister
372178fbd6
Include stdint in scaler_common.
2013-11-20 18:21:00 +01:00
twinaphex
82e9048288
(Scaler) Fix Griffin - we can't have two identical static inline
...
functions that are named the same because of Griffin
2013-11-20 18:15:44 +01:00
Themaister
44937348e8
Start implementing SSE2 conversion of YUV.
2013-11-20 17:39:01 +01:00
Themaister
c4176564c5
Don't use LUT for YUV conversion.
...
Current C version is just as fast, and doesn't thrash the cache.
~100us per 640x480 webcam frame.
2013-11-20 17:39:00 +01:00
twinaphex
1372df61de
(PS3 RGL) Should add float FBO support
2013-11-19 05:18:46 +01:00
Themaister
35818e82be
Add PERFORMANCE_TEST with sdl SW scaling.
2013-11-18 13:44:41 +01:00
Themaister
6d6e964672
Fixup CXX_BUILD.
...
Cleans lots of sign-related warnings as well.
2013-11-16 17:31:49 +01:00
twinaphex
8826034a55
(PS3) Get rid of CELL_SDK_VERSION macro if conditional
2013-11-16 16:31:16 +01:00
twinaphex
54d2e2d321
(Xbox 1) Build fixes
2013-11-11 03:36:30 +01:00
twinaphex
65c1a1b866
(Apple) (glsym_gl.c) Comment out all functions not supported by
...
Snow Leopard GL
2013-11-09 07:38:50 +01:00
twinaphex
223448d943
(Apple) Build fix for platforms where we have ARC
...
enabled - can't use NSAutoreleasePool directly it seems
2013-11-09 01:37:34 +01:00
twinaphex
f8c37fc933
(Menu) Simplify menu preprocessor conditionals - there is now
...
one common catch-all define called HAVE_MENU
2013-11-08 04:36:47 +01:00
twinaphex
32f749377e
matrix.h - fix typo
2013-11-07 22:53:49 +01:00
twinaphex
3d5f839b59
(matrix_3x3.c) Fix copyright headers
2013-11-07 22:51:51 +01:00
twinaphex
da8f8b6d63
Get rid of lifecycle_mode_state and use g_extern.lifecycle_state
...
instead
2013-11-07 21:44:44 +01:00
twinaphex
e61d086ef3
(PS3) Add RMenu as a rasterizer now for common menu interface
2013-11-07 02:54:09 +01:00
OV2
46345b0ddd
win32: add win8 pointer support
2013-11-05 21:23:32 +01:00
Lioncash
fac2783a09
Optimize some struct sizes.
...
This is the list of reduced sizes:
file: dsound.c - struct dsound_t reduced from 56 bytes to 52 bytes.
file: shader_parse.h - struct gfx_fbo_scale reduced from 32 bytes to 28 bytes.
file: thread_wrapper.c - struct texture reduced from 28 bytes to 24 bytes.
file: libretro.h - struct retro_hw_render_callback reduced from 40 bytes to 36 bytes.
file: movie.c - struct bsv_movie reduced from 36 bytes to 32 bytes.
file: netplay.c - struct delta_frame reduced from 16 bytes to 12 bytes.
file: performance.h - struct rarch_perf_counter_t reduced from 40 bytes to 32 bytes.
2013-11-03 23:57:41 -05:00
twinaphex
e3ebfbffa9
Rename frontend_android.h to platform_android.h
2013-11-03 17:02:40 +01:00
twinaphex
5060b5a379
(Android EGL) Take out looper snippets
2013-11-03 15:26:30 +01:00
twinaphex
d6ad586114
(PS3) We don't use texrefs for font texture
2013-11-02 23:20:20 +01:00
twinaphex
9a738278ce
(PS3) Expand conditionals of HAVE_LIBDBGFONT
2013-11-02 23:07:27 +01:00
twinaphex
c9dc5e62d2
(RGL PS3) Reimplement glpixelStorei
2013-11-02 22:46:56 +01:00
Themaister
a61f0dfd61
Fix potential uninitialized variable.
2013-11-02 17:54:52 +01:00
twinaphex
bef038e73e
(RGL PS3) Optimizations for glBufferSubData
2013-11-02 14:44:13 +01:00
twinaphex
585b0fa096
(Xvideo) Fix warning - remove NULL for now removed start
2013-11-02 04:48:19 +01:00
twinaphex
3e914f42b3
(RGL PS3) Optimizations
2013-11-02 03:03:48 +01:00
ToadKing
375c3c6806
fix compile for SDL and DirectX video
2013-11-01 21:13:19 -04:00
twinaphex
933d993130
Fix thread_wrapper (removal of start/stop)
2013-11-01 22:59:34 +01:00
twinaphex
f149c387b9
Remove 'start' from video interface
2013-11-01 21:18:38 +01:00
twinaphex
71a23ac18e
Slim down global_init_drivers - we can now get rid of the 'start'
...
function
2013-11-01 21:10:42 +01:00
twinaphex
b09a7bae43
(XDK) Move font context initing to xdk_d3d_init
2013-11-01 17:36:31 +01:00
twinaphex
a682319eee
(XDK1) Fix build - reimplemented input init
2013-11-01 17:12:24 +01:00
Themaister
dab40b16c0
Pass window width/height to gl_init_font_first.
2013-11-01 17:02:55 +01:00
twinaphex
727dc76db8
(Console/Android) Init input driver from context driver/graphics
...
driver from now on - just like PC - input driver initing can be
hoisted out of global_drivers_init that way
2013-11-01 16:33:32 +01:00
twinaphex
3219c5b9f2
(PS3/XDK) Set input and input_data pointers to NULL in context files
2013-10-30 14:03:21 +01:00
twinaphex
aaa8fc1f37
(GLES2 GL) Query GL_EXT_unpack_subimage and if it's there, use it -
...
Tegra 4 should support it etc.
2013-10-29 23:21:15 +01:00
Themaister
fc5ba8f79a
Use configured aspect ratio to set windowed size.
...
Fixes some cases where core aspect is used and aspect_ratio_auto isn't set.
2013-10-26 18:31:48 +02:00
Themaister
7aa8b40759
Fixup C89 for loops.
2013-10-22 21:37:56 +02:00
twinaphex
d2c87e3039
Convert most C99-style for loop initial declarations to C89-compliant
...
ones
2013-10-22 15:08:17 +02:00
Squarepusher
345afd0431
Merge pull request #352 from libretro/overlay-rework
...
Overlay rework
2013-10-21 06:35:19 -07:00
Themaister
332dc3f38b
Fixup overlay interface for D3D9.
2013-10-21 13:32:05 +02:00
twinaphex
d63ac7e7e2
Convert gfx/scaler to C89-style for loop declarations too
2013-10-19 20:14:39 +02:00
twinaphex
8487cd0204
Start using C89-style for loop initial declarations for
...
reusable code module parts that we reuse in other projects. It's
a huge maintenance burden having to change this stuff around everytime
when compiling in non-C99 mode
2013-10-19 19:39:38 +02:00
Themaister
76c92bb0b4
Rework overlay driver interface.
...
Takes multiple images, each with individual positions, textures, etc.
2013-10-15 16:06:59 +02:00
Lioncash
080436fd23
Remove a redundant if statement in function set_direct_pix_conv in scaler.c. This branch already exists in this if statement chain, see the third else-if statement.
2013-10-13 23:16:12 -04:00
Lioncash
b4e5b6bb71
Fix two memory leaks in function align_program in py_state.c
2013-10-13 23:13:38 -04:00
Lioncash
64da817eec
Fix a memory leak in function gl_init_font in ps_libdbgfont.c
2013-10-13 23:12:12 -04:00
Themaister
05744ca9c7
Fix condition in RPNG.
2013-10-13 10:19:02 +02:00
twinaphex
849cfb680e
Saves 'Show Framerate' setting to config file now too
2013-10-11 01:19:54 +02:00
Themaister
fee10d3d76
Fix OSX/Windows build.
2013-10-08 22:49:50 +02:00
Themaister
ee3b000425
Reapply for BB.
2013-10-08 12:28:38 +02:00
Themaister
f46f26c42a
Revert "(Show FPS) Fix issue with DRM EGL context showing corrupted"
...
This reverts commit 10baf8456d
.
2013-10-08 12:27:25 +02:00
twinaphex
10baf8456d
(Show FPS) Fix issue with DRM EGL context showing corrupted
...
string - check if buf_fps is not null before pushing string to message
queue - do this for all context files from now on
2013-10-08 03:14:34 +02:00
twinaphex
c2b55b9974
(XDK) Fix message queue
2013-10-07 23:57:55 +02:00
twinaphex
a18c04ef94
(XDK) Build fix
2013-10-07 23:48:43 +02:00
twinaphex
271e193048
(XDK) Simplify update_window_title
2013-10-07 23:39:45 +02:00
Themaister
84c84814cf
Fix possible crash with uninitialized buf_fps.
...
If fps count == 0, buf_fps would not be written to.
Also, make writing into buf_fps optional. Drop always_write variable as
it doesn't serve a purpose anymore.
2013-10-07 21:54:29 +02:00
twinaphex
a98f0336df
Implement FPS show message option (Debug Info Text) for most
...
graphics contexts using message queue
2013-10-07 20:22:08 +02:00
twinaphex
c0c6ecc6cb
Rewrite gfx_get_fps - now outputs proper string for FPS output
2013-10-07 20:17:07 +02:00
twinaphex
80079e297b
(GLX) Hook up preliminary onscreen FPS (enabled by setting "Debug
...
Info Messages" in RGUI to ON
2013-10-07 17:11:48 +02:00
twinaphex
48c042d56c
(360) More build fixes
2013-09-29 18:04:56 +02:00
twinaphex
e63639388d
(gl.c) Change define to !define(RARCH_CONSOLE)
2013-09-28 21:57:27 +02:00
twinaphex
c5beaec16c
(RMenu) Make RMenu even more minimalist - fit more text onscreen
2013-09-28 04:14:07 +02:00
twinaphex
4f54fd28a0
(PS3) Forcibly disable float FBO textures for now - was creating
...
all sorts of crashes
2013-09-27 23:04:19 +02:00
Themaister
8e5a0b4a38
Remove the stub Win32 GUI.
...
It is only confusing and doesn't add anything atm.
If we want to go for WIMP-based GUI, it will be using a multi-platform toolkit anyways.
2013-09-27 16:39:22 +02:00
Themaister
ff793f3fa8
Small cleanup in python state tracker.
...
Removes meta binds. They were completely useless. Add checking for
analogs.
2013-09-23 20:21:03 +02:00
twinaphex
8837139271
(360) Build fixes
2013-09-15 18:49:18 +02:00
meancoot
97c94a6ea7
(OSX/iOS) Refactor RAGameView.m to be more straightforward.
2013-09-13 16:22:04 -04:00
Themaister
3e7f101137
Make sure we're reading from backbuffer.
2013-09-12 22:40:11 +02:00
Themaister
178dc692c7
Do proper rounding in set_viewport.
...
Avoids edge cases where viewport sizes are miscalculated with -1 pixel
due to rounding errors.
2013-09-12 22:23:56 +02:00
Hans-Kristian Arntzen
7d90ff4011
Merge pull request #303 from libretro/emscripten
...
Emscripten/Javascript port
2013-09-11 01:01:29 -07:00
ToadKing
a09dda3a9d
[EMSCRIPTEN] add custom input driver, removes SDL dependency + adds mouse support
2013-09-10 20:21:48 -04:00
Themaister
46c214f964
Small cleanup.
2013-09-07 15:23:09 +02:00
Themaister
870ef37258
Fix libretro GL state bug on frame dupe.
...
Need to force backbuffer and viewport on duped frames.
2013-09-07 15:04:40 +02:00
meancoot
20001489ac
(OSX) Update gfx_context:
...
Now resizes window when asked
Displays proper title in window
No longen prints Cocoa warning at start up
Now supports the pause_nonactive feature
2013-09-05 14:38:40 -04:00
meancoot
cb55a1d45a
(Apple) Reorganize source tree
2013-09-05 01:24:27 -04:00
Themaister
98c9da9dda
Set swap interval correctly in gl_init().
2013-09-02 09:20:51 +02:00
Themaister
b2bf3c12de
Add swap_interval support.
...
Again, mostly useful for 120Hz monitors, and/or playing content which is
a fraction of monitor refresh rate.
2013-09-01 13:20:10 +02:00
Themaister
45cfc584f9
Allow disabling building Win32 "GUI".
2013-08-31 11:43:14 +02:00
Themaister
62c34c7871
Add black_frame_insertion support for 120 Hz monitors.
2013-08-30 09:35:13 +02:00
Themaister
ce026a3ba0
[OpenVG] Fix build.
2013-08-29 18:35:43 +02:00
meancoot
6372e755c4
(OSX) Add proper full screen tracking
2013-08-27 11:37:21 -04:00
ToadKing
c30d0287d1
[EMSCRIPTEN] buildfix, implement detecting canvas size changes
2013-08-25 15:39:50 -04:00
ToadKing
87844cc486
Merge branch 'master' of https://github.com/libretro/RetroArch into emscripten
...
Conflicts:
gfx/gl.c
2013-08-25 15:37:16 -04:00
Themaister
67f4f1b3ed
[WGL] Fix window size calculation.
2013-08-23 17:32:57 +02:00
ToadKing
be08d003c9
[GL] fix OSD messages breaking if one was too long
2013-08-22 23:21:52 -04:00
Themaister
1c4c943604
[Pi] Build fixes.
2013-08-22 22:12:16 +02:00
ToadKing
12f4b48e84
query for OES_EGL_image before trying to load symbol
2013-08-18 03:02:42 -04:00
ToadKing
f4ff5f3ea3
[EMSCRIPTEN] less workarounds due to fixes in emscripten, enable more optimizations
2013-08-18 02:50:10 -04:00
meancoot
a4dfd35ab7
(Apple) Improvements:
...
Add core gl context support on OSX
Add support for multiple game pads on OSX
Remove block on analog input for Player 2-4's game pads
2013-08-16 13:25:35 -04:00
Themaister
8ebd81edbf
Log GL version as well.
2013-08-16 10:18:58 +02:00
Themaister
551fd27204
Add support for wrapping modes.
...
Not terribly useful atm due to POT, but at least it's there.
Has some use mostly with LUTs ... NPOT + REPEAT requires extension on
GLES2 at least.
2013-08-16 00:30:54 +02:00
Themaister
7236e51af0
Clear out GL error on driver init for robustness.
...
In case we used cached GL context, we'd error out
if a single GL error has been generated.
2013-08-14 14:58:12 +02:00
Themaister
4d8e9df03d
Add forced debug context support to WGL.
2013-08-14 14:13:28 +02:00
Themaister
3b1e65ba08
Add GL_DEBUG ifdef which forces full GL debugging.
2013-08-14 14:13:28 +02:00
Themaister
ef1f5d251f
Don't use anti-jitter on consoles.
...
Not compatible.
2013-08-11 15:34:32 +02:00
Themaister
1389a1e37c
Fix compile when GLSL isn't compiled in.
2013-08-11 15:25:04 +02:00
Themaister
b5f46120a3
Use HAVE_PSGL instead.
2013-08-11 15:10:56 +02:00
Themaister
7d942adaa3
Should fix build on PS3.
2013-08-11 15:06:42 +02:00
Themaister
c5e7de7391
Add get_proc_address to OSX/iOS.
2013-08-11 14:10:10 +02:00
Themaister
c19bdc7c2c
Kill some stale code.
2013-08-11 01:24:48 +02:00
Themaister
2b28050c15
Build fixups.
2013-08-11 01:16:08 +02:00
Themaister
70de036440
Revert "Add GL sync support to GLES2."
...
This reverts commit c1bbb6bf89
.
2013-08-11 01:09:10 +02:00
Themaister
47c4428d8e
Add GL sync support to GLES2.
2013-08-11 01:09:10 +02:00
Themaister
301a4aaebf
Add GLES3 header includes.
2013-08-11 01:08:40 +02:00
Themaister
f4a23115c2
Begin adding AUDIO_CALLBACK/FRAME_TIME_CALLBACK.
2013-08-11 01:05:33 +02:00
Themaister
27399deed9
Log vendor/renderer in GL.
2013-08-11 00:57:24 +02:00
Themaister
eb95798016
Style fixups.
2013-08-11 00:57:24 +02:00
Themaister
d3cfe85a19
Add extern "C" to rglgen.h as well.
2013-08-11 00:57:24 +02:00
Themaister
a9df0a230d
Fix CXX_BUILD.
2013-08-11 00:57:24 +02:00
Themaister
c007e5860c
Add extern "C" to glsym headers.
2013-08-11 00:56:53 +02:00
Themaister
26d74be8b8
Disable blending per frame with HW render.
2013-08-11 00:56:53 +02:00
Themaister
335c32d95d
Support creating debug contexts.
2013-08-11 00:56:53 +02:00
Themaister
6b4924c844
Be more conservative about texture memory usage.
2013-08-11 00:56:53 +02:00
Themaister
911558462a
Use core blend correctly when using core context.
2013-08-11 00:56:00 +02:00
Themaister
c71777f5ec
Clear out uniform struct and use stock shader.
2013-08-11 00:56:00 +02:00
Themaister
108d2e5c12
Add fixups for GLfixed.
2013-08-11 00:56:00 +02:00
Themaister
db7d600184
Apply glsym APIENTRY fixups.
2013-08-11 00:56:00 +02:00
Themaister
c2c88e2462
Append checks for OES_image ext.
2013-08-11 00:56:00 +02:00
Themaister
5045fc4a4f
Fix GLSL regression.
2013-08-11 00:56:00 +02:00
Themaister
b292caf92b
Experimental support for PassPrev/PASSPREV.
...
Allows to access passes in a "negative index"
way. Helps stitching together multipass shaders from
other multipass shaders.
Also adds new, cleaner symbols, IN.mvp_matrix, IN.tex_coord, etc.
2013-08-11 00:56:00 +02:00
Themaister
f00394e0af
Add license statement to glgen.py.
2013-08-11 00:56:00 +02:00
Themaister
0b6f92e433
Allow explicitly banning specific exts in glsym.
2013-08-11 00:56:00 +02:00
Themaister
60b7d633a1
Don't append #version if it's already done.
2013-08-11 00:55:05 +02:00
Themaister
94b57197aa
Purge cruft.
2013-08-11 00:55:05 +02:00
Themaister
f8eb0c5a62
Query extensions more explicitly.
2013-08-11 00:55:05 +02:00
Themaister
318b26cc0d
Fix Android build.
2013-08-11 00:55:05 +02:00
Themaister
d64c24248d
Use glsym wrapper in libretro-test-gl.
2013-08-11 00:55:05 +02:00
Themaister
2e397b1d6b
Win32 fixups.
2013-08-11 00:55:05 +02:00
Themaister
e44249b73f
Use glsym symbol loader instead of ugly poking.
2013-08-11 00:54:27 +02:00
Themaister
805e623779
Use 3.1 in libretro-test-gl when CORE is used.
2013-08-11 00:53:46 +02:00
Themaister
9ab274a51a
Use glXSwapIntervalEXT when available instead.
2013-08-11 00:53:46 +02:00
Themaister
913ad7753a
Merge fixes.
2013-08-11 00:53:46 +02:00
Themaister
4e5c6b0f9a
Fix RGUI when using bottom-left.
2013-08-11 00:53:46 +02:00
Themaister
e5abd138ea
More fixes to core context.
2013-08-11 00:53:46 +02:00
Themaister
6df083fc0f
Add support for bottom-left origin in libretro GL.
2013-08-11 00:53:46 +02:00
Themaister
feebb78f75
Support cached contexts on Win32.
...
Only tested on Wine, but works.
2013-08-11 00:53:46 +02:00
Themaister
e18af77412
Add path to cache GL context on reinit.
...
If successful, can avoid libretro GL reset context callback being
called.
2013-08-11 00:53:19 +02:00
Themaister
b090f5ab36
Implement WGL core context.
2013-08-11 00:51:05 +02:00
Themaister
e28f5d7cc1
Fix incompatibilities with GL core.
2013-08-11 00:50:38 +02:00
Themaister
b9fce188ea
Initial work on core GL context support.
2013-08-11 00:50:04 +02:00
Themaister
51b17039d4
Completely new approach for threaded video.
...
Allows a good compromise between jitter and avoiding audio stutter.
2013-08-02 23:54:07 +02:00
twinaphex
f7622d3294
Add OMAP graphics driver (Tobias Jakobi)
2013-07-28 18:37:31 +02:00
ToadKing
b01856d166
remove reinit hack, turned out to be an emscripten bug
2013-07-20 00:30:54 -04:00
ToadKing
ff3de25636
fix error on video re-init, other cleanup
2013-07-18 23:58:35 -04:00
twinaphex
627c30b10c
Take out GRIFFIN macro hacks
2013-07-18 19:54:00 +02:00
ToadKing
ace8ead2db
Merge branch 'master' into emscripten
...
Conflicts:
config.def.h
gfx/gfx_context.c
2013-07-17 22:58:14 -04:00
ToadKing
49398698b5
initial emscripten port (no audio/files, input broken)
2013-07-17 20:26:01 -04:00
Themaister
c54af19076
Purge SDL/GL context.
...
Conflicts:
gfx/context/sdl_ctx.c
2013-07-18 01:48:23 +02:00
twinaphex
a5e4b5e7f8
(APPLE) Take out SDL/GL context parts for OSX
2013-07-16 23:17:55 +02:00
twinaphex
119ee6d538
(XDK1) Fix build
2013-07-16 00:47:09 +02:00
twinaphex
63aaa7b2b0
(GL) Log vendor/renderer
2013-07-13 01:47:11 +02:00
meancoot
a0d22d7c44
(Apple) Build fixes (hope I didn't break anything else with that merge)
2013-07-07 16:24:28 -04:00
meancoot
b924302464
Merge branch 'master' of https://github.com/libretro/RetroArch
...
Conflicts:
griffin/griffin.c
2013-07-07 16:20:08 -04:00
meancoot
3d9d672a38
(Apple) On OSX, a call to apple_run_core will actaully run the game
2013-07-07 13:05:05 -04:00
meancoot
99ba3ccea3
(Apple) Start setting up the OSX code
2013-07-06 23:54:47 -04:00
OV2
b9cbcd0b81
win32: add simple menu to opengl context
2013-07-07 02:22:11 +02:00
meancoot
a852da4e88
Start spliting ios port into dual OS X and iOS ports
2013-07-06 18:24:25 -04:00
twinaphex
df6dfb4970
(OSX/iOS) Start renaming ios_ namespace -functions we're going to implement for
...
OSX as well
2013-07-05 04:10:05 +02:00
twinaphex
d215a2a0f5
remove ifdefs around puts PACKAGEVERSION line
2013-07-04 15:06:28 +02:00
twinaphex
77d5190a01
(OSX) Make dummy context file - compile in RetroArch with Griffin
2013-07-04 15:01:38 +02:00
OV2
bfd11dd1a4
win32: add _WIN32_WINNT define for multimon in mingw32
2013-06-20 16:08:39 +02:00
twinaphex
ef2406e8f6
(Android) Another Xperia Play hack
...
(Context) Context file changes to do with FPS reporting
2013-06-16 18:18:47 +02:00
twinaphex
c84750a752
(XDK) Move FPS printing code over to window_update_title function
...
as well
2013-06-14 17:28:53 +02:00
twinaphex
53df912321
(PS3) Move PS3-specific FPS printing code to ps3_ctx.c
2013-06-14 17:21:44 +02:00
twinaphex
1697be1908
(iOS) Build fix
2013-06-14 02:18:48 +02:00
twinaphex
43e6637768
(iOS/QNX) Add FPS/refresh rate monitoring
2013-06-14 02:17:20 +02:00
twinaphex
559c4a7964
(RARCH_CONSOLE) Add refresh rate FPS statistics
2013-06-08 01:45:25 +02:00
Themaister
02264f4d56
Fix Win32 derp.
2013-06-05 22:00:38 +02:00
Themaister
321ffcbca6
Calculate 1:1 PAR from right dimensions.
...
Frame cache can be stale or have awkward dimensions which
don't really reflect 1:1 PAR semantics.
2013-06-05 21:29:52 +02:00
Themaister
6dd0839a01
Use common monitor refresh rate estimator.
...
Ditch custom timing code in KMS.
2013-06-05 18:12:29 +02:00
Themaister
79275b28ff
Fallback when initial shader init fails.
2013-06-05 10:44:27 +02:00
Themaister
1389346cbf
Make sure that palette entries don't exceed max.
2013-06-04 14:26:21 +02:00
Themaister
cb8deab105
Add Adam7 interlacing support to RPNG.
...
Now correctly decodes all basic format and odd size files from:
http://www.schaik.com/pngsuite/
2013-06-04 14:15:29 +02:00
Themaister
9abbd6b279
Support all color/bit formats in RPNG.
...
Only missing adam7 now.
2013-06-04 14:15:29 +02:00
Themaister
7c57563827
Fix RPNG save_image memleak.
2013-06-03 23:02:59 +02:00
Themaister
850ee9696e
Drop broken delay logging in KMS.
...
Didn't serve any purpose anyways.
2013-06-03 01:37:52 +02:00
Themaister
43a6346d26
Adds video_hard_sync_frames.
...
Allows to control the maximum amount of frames that can be queued on
GPU.
2013-05-26 13:43:24 +02:00
twinaphex
20fdda8ca9
(RMenu) Move rewind settings to Settings submenu
2013-05-26 00:32:39 +02:00
Hans-Kristian Arntzen
f5e1db1506
Fix HAVE_EGL in glx_ctx.c
2013-05-23 18:32:13 +02:00
Themaister
503ce7895c
Reset BlendFunc with HW render.
2013-05-22 21:41:10 +02:00
twinaphex
46f29b1178
New define RARCH_MOBILE
2013-05-22 16:02:21 +02:00
Themaister
fb934931bc
Make SDL/GL last prio.
2013-05-21 22:41:59 +02:00
Themaister
b4b83cdf41
Use VBOs in GLSL.
...
Future proof a bit as future GL versions
require use of VBOs. Also avoids spamming client-side
data to GL all the time.
VAOs are not used, but that is only relevant if we actually
create a GL3+ context.
2013-05-21 10:44:25 +02:00
Themaister
b4b669f0e5
Run thread_frame() even when frame = NULL.
...
Fixes RGUI on cores which use duping.
Also avoid redundant frame.lock locking.
If thr->frame.updated is false, the lock
cannot possible be held by thread.
2013-05-19 22:28:32 +02:00
Themaister
12288e9b8c
Avoid potential performance regressions.
...
PSGL uses GL_ARGB_SCE, and not GL_RGBA for one ...
2013-05-19 11:25:56 +02:00
Themaister
18fd41f77e
Avoid Pi hack.
...
Derp. Was configured to low GPU RAM split ...
2013-05-18 22:10:29 +01:00
Themaister
f61cc333e9
Be more explicit about FBO formats.
...
GLES doesn't support 32-bit FBOs.
They seem to only be exposed via OES_rgb8_rgba8 and ARM_rgba8
extensions.
2013-05-18 21:53:26 +02:00
Themaister
c1bd2d25c6
Fix desktop GL build.
2013-05-18 21:23:59 +02:00
Themaister
9406b0a771
More explicit logging of FBO errors.
2013-05-18 16:51:10 +01:00
Themaister
e5ba936355
Disallow EGL images when using HW render.
2013-05-18 14:51:36 +01:00
Themaister
ef257a6e8e
Always use ios_bind_game_view_fbo().
...
Should hopefully fix libretro-test-gl and co.
2013-05-13 19:33:47 +02:00