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 c1bbb6bf89aae12848f0e2b2a5953b499bd5da4b.
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