Commit Graph

1509 Commits

Author SHA1 Message Date
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
twinaphex
f5d9d5042d (iOS) No EGL on iOS, and couldn't find an equivalent AGL version of eglGetProcAddress -
so NULLing out for now
2013-05-12 15:09:49 +02:00
twinaphex
9bfebe7d0b (iOS) Implement get_proc_address in iOS context driver 2013-05-12 14:19:54 +02:00
Themaister
179b374c39 Add JNI target to libretro-test-gl.
Fixup GLES build.
2013-05-12 03:40:07 +02:00
twinaphex
71c699b5fc (Android/QNX) get_proc_address was not bound in context driver 2013-05-12 01:15:44 +02:00
Themaister
75c5a04e49 Fix GLES build.
GLES doesn't support glReadBuffer() ...
2013-05-11 16:04:46 +02:00
Themaister
74c8afc492 Fix GPU screenshots in GL.
Had to make sure to use GL_FRONT buffer.
2013-05-11 15:50:19 +02:00
Themaister
7903cc5658 Fix warning. 2013-05-11 13:30:41 +02:00
Themaister
364786e83c Fix matrix_projection().
(3, 3) is zero.
2013-05-09 19:02:32 +02:00
Themaister
c2822ded51 Correctly initialize matrices. 2013-05-09 16:44:46 +02:00
twinaphex
435a7dc467 Add matrix_scale/matrix_translate/matrix_projection - file will be
reused for libretro 3D projects so leave this in
2013-05-09 14:04:44 +02:00
Themaister
f5d4008018 Check g_settings.video.hard_sync per frame.
Don't use hard_sync default in RGUI.
2013-05-04 22:49:06 +02:00
Themaister
10278786ba Flush before ClientWait. 2013-05-04 00:23:32 +02:00
Themaister
741ed2cc03 Add experimental video_hard_sync. 2013-05-03 14:04:29 +02:00
Themaister
1521113e8f Build fixes. 2013-04-25 00:03:02 +02:00
twinaphex
34619412bc (RARCH_CONSOLE) Get rid of video_stop_func 2013-04-24 16:08:18 +02:00
Themaister
7ab09e9d95 Don't allow resize on OSX with SDL context. 2013-04-23 09:37:06 +02:00
Themaister
b92deddd40 Shorten rotation names to avoid overflowing menu. 2013-04-21 18:25:30 +02:00
Themaister
ff75660c45 Clear out FBO targets correctly. 2013-04-21 15:39:14 +02:00
Themaister
e696f1b18f Clear out backbuffer correctly. 2013-04-21 15:29:44 +02:00
Themaister
37acbc4b7a Fix overlay rotation bug in D3D9. 2013-04-21 15:14:49 +02:00
Themaister
54bf4f68a8 Fix single pass in D3D9. 2013-04-21 14:14:43 +02:00
Themaister
dd351c9483 Always clear out backbuffer fully. 2013-04-21 14:09:48 +02:00
Themaister
8bb4cbae46 Avoid complete reinit on apply_state_changes.
Clean up multi-pass logic a bit in D3D9.
2013-04-21 14:04:16 +02:00
Themaister
068beedf3c Verify that RGUI texture is non-zero.
If we're converting, just use ARGB8888 in d3d9.
2013-04-21 12:07:57 +02:00
Themaister
c7471ac133 Fix D3D9 viewport when X/Y is < 0. 2013-04-21 11:21:53 +02:00
Themaister
53b7d43b67 Rework to D3D9 aspect ratio handling. 2013-04-21 11:21:07 +02:00
Themaister
e95a15d4ed CGP fixes in D3D9. 2013-04-21 11:18:55 +02:00
Themaister
1e4cc2164c Remove some unneeded/unused D3D9 stuff. 2013-04-21 00:54:25 +02:00
Themaister
6dd7ea935e Add GL_SHADER_STOCK_BLEND.
Replace stock shader with a special shader which does not apply color.
This is a necessary on Android.
2013-04-20 15:46:50 +02:00
Themaister
4f7d3b5ea0 Add custom viewport + integer scale mode. 2013-04-20 12:48:33 +02:00
Themaister
be01a0ea59 Refactor aspect ratio handling.
Rework aspect ratio handling in RGUI.
Custom viewports work on PC. Ensure that aspect_ratio_idx persist
through reentrancy. Change ASPECT_RATIO_AUTO to ASPECT_RATIO_SQUARE to
better signal that it's the square pixel option.

Add ASPECT_RATIO_CONFIG as an option to use config file defined aspect
ratio.
2013-04-20 10:56:04 +02:00