Commit Graph

3770 Commits

Author SHA1 Message Date
twinaphex
ea6119c1c7 (Vita) Add forward declaration for scePowerSetArmClockFrequency 2015-09-14 03:50:34 +02:00
Twinaphex
599fc0716e Merge pull request #2112 from aliaspider/master
(CTR/3DS) start with bilinear filtering set to ON.
2015-09-14 03:03:33 +02:00
aliaspider
9c6ce3b28b (CTR/3DS) start with bilinear filtering set to ON. 2015-09-14 01:59:58 +01:00
Twinaphex
3cee888d73 Merge pull request #2111 from aliaspider/master
(CTR/3DS) add support for viewport/filtering settings.
2015-09-14 01:21:43 +02:00
aliaspider
591ecae208 (CTR/3DS) add support for viewport/filtering settings.
rotation doesn't work correctly yet.
2015-09-14 00:19:38 +01:00
Twinaphex
258972889f Merge pull request #2110 from aliaspider/master
(CTR/3DS) update
2015-09-14 00:59:56 +02:00
aliaspider
c3ac725269 (CTR/3DS) improve vsync.
gfxSwapBuffersGpu needs to be called immediately after initiating a
display transfer.
2015-09-13 22:27:28 +01:00
twinaphex
b5f7ccab22 Cleanups 2015-09-13 09:23:48 +02:00
twinaphex
2269aff9aa Cleanups 2015-09-13 06:46:04 +02:00
Francisco José García García
f5eba9f8a6 (Vita) Add Rotation 2015-09-11 18:02:59 +02:00
twinaphex
54dbe5e66b (fbdev context drivers) style nits 2015-09-09 19:59:39 +02:00
Francisco José García García
1e0526b9c7 (Vita) Add viewport resizing 2015-09-09 01:10:48 +02:00
Francisco José García García
76e13a6957 (Vita) Add texture filtering 2015-09-08 20:40:38 +02:00
aliaspider
3b85e0dd5a (3DS) fix build to work with the latest ctrulib. 2015-09-07 18:31:30 +01:00
twinaphex
09c3bd8d9c (d3d.cpp) Use sprintf 2015-09-07 01:46:19 +02:00
twinaphex
bbe210f7eb C89_BUILD fixes 2015-09-06 23:43:27 +02:00
Alcaro
dbccc4f4f0 Shut up some more warnings. 2015-09-06 16:07:26 +02:00
twinaphex
f88575633e Cleanups 2015-09-05 20:34:22 +02:00
twinaphex
e182f32d8c Header cleanups 2015-09-05 20:03:27 +02:00
twinaphex
1310263470 (Vita) Cleanups 2015-09-05 16:22:25 +02:00
twinaphex
7f4ddc6775 (win32_common.c) Don't use _WIN32 ifdef 2015-09-05 14:40:01 +02:00
twinaphex
421e006297 (wgl_ctx.c) Cleanups 2015-09-05 14:38:55 +02:00
twinaphex
3e977034a7 (Win32) More buildfixes 2015-09-05 14:10:16 +02:00
Sergi Granell
4dfaa33ad1 (Vita) Update the vita2d video driver 2015-09-02 18:56:24 +02:00
twinaphex
26e1de42bf (PS3) Remove custom PNG decoder
(PS3) Add header for sys_ppu_thread_ functions
2015-09-01 16:09:37 +02:00
twinaphex
5e3a79b74b (cocoa_gl_ctx.m) Put in retro_assert.h 2015-09-01 12:02:04 +02:00
Sergi Granell
5d920aa045 (Vita) vita2d_gfx_free: Set textures to NULL 2015-09-01 01:36:27 +02:00
Sergi Granell
dbb91c85e6 (Vita) Check vita->texture before freeing it 2015-08-31 21:41:45 +02:00
Sergi Granell
56af52a268 (Vita) Fix spaces 2015-08-31 21:37:50 +02:00
Sergi Granell
6c5d250ff1 (Vita) Prepare code for fullscreen 2015-08-31 21:31:34 +02:00
Sergi Granell
96146e5313 (Vita) Update vita2d driver
(Vita/PSP) Name some stuff to vita
2015-08-31 15:26:37 +02:00
Sergi Granell
94e893634d (Vita) Update gfx driver 2015-08-31 00:56:14 +02:00
twinaphex
a1f4c80648 (PS3) Some build warning fixes 2015-08-30 23:51:10 +02:00
twinaphex
3c6d0dd77c Some PSP1 build fixes and start adding PSP1 support to
Makefile.griffin
2015-08-30 23:19:45 +02:00
Sergi Granell
5deceb35ba (Vita) Update Vita frontend 2015-08-30 22:48:44 +02:00
Twinaphex
ade4f86200 Merge pull request #2077 from xerpi/master
(Vita) Start vita2d_gfx video driver
2015-08-30 20:38:16 +02:00
CautiousAlbino
173dcd3e4c Retry implementation of include_compressed to dir_list_new.
Problem was that if ext_list wasn't used, an empty list would be
created.
2015-08-30 20:19:41 +02:00
Sergi Granell
3b04de6a5f (Vita) Update vita2d video driver 2015-08-30 20:12:16 +02:00
Sergi Granell
3b54e81d00 (Vita) Start vita2d_gfx video driver 2015-08-30 20:12:16 +02:00
Twinaphex
d5f72ca9c1 remove unused variables 2015-08-30 18:45:02 +02:00
Twinaphex
e8d266cb9d Revert "Revert "Add support for shader pass feedback."" 2015-08-30 18:37:41 +02:00
Twinaphex
aa382a5c7c Revert "Add include_compressed param to dir_list_new." 2015-08-30 18:36:25 +02:00
Twinaphex
ad1825ca50 Revert "Add support for shader pass feedback." 2015-08-30 18:21:07 +02:00
Twinaphex
0f60388533 Merge pull request #2069 from CautiousAlbino/hang-fix
Add include_compressed param to dir_list_new.
2015-08-30 17:09:20 +02:00
CautiousAlbino
c4691b2668 Add include_compressed param to dir_list_new.
Do not try to load in compressed archives unless we expect them.
Fixes hang in input autodetect where it tried to parse a zip file as an
archive.
2015-08-30 16:57:34 +02:00
CautiousAlbino
aee5e74001 Add support for shader pass feedback. 2015-08-30 16:23:55 +02:00
Jean-André Santoni
ecc49c84a8 Make stb font_size similar to our other font renderers. Fixes #2047 2015-08-18 21:04:06 +02:00
twinaphex
0bf8a36d50 Fix RGUI fallback - if threaded video wrapper was enabled,
we could not grab an ident resembling 'd3d' or 'gl'
2015-08-17 20:51:12 +02:00
twinaphex
5489634f40 (GX) Fix gx_frame signature 2015-08-16 03:12:12 +02:00
twinaphex
2d8ef11944 (sdl2_gfx.c) Check if pointer is not NULL first 2015-08-12 19:24:56 +02:00
Alcaro
ee2ad0c4bd These aren't executable. 2015-08-12 01:31:03 +02:00
radius
828734e007 don't try to autoconfigure GPIO devices 2015-08-11 17:13:25 -05:00
twinaphex
77aa7535c9 MOve all 'define' headers to central place ' defines' 2015-08-10 23:11:40 +02:00
Twinaphex
5bafed71ea removed unused variables 2015-08-05 13:09:11 +02:00
twinaphex
b18442dc5a Refactor is_slowmotion 2015-08-05 13:06:44 +02:00
twinaphex
ccac72f1e7 Refactor is_paused 2015-08-05 12:58:25 +02:00
twinaphex
74ee9b05f3 Create rarch_main_set_idle - make 'idle' variable self-contained 2015-08-05 12:40:47 +02:00
twinaphex
0c023dcb68 Reimplement frame count 2015-08-03 23:01:07 +02:00
twinaphex
3d36cb02ac No more separate runloop_t 2015-08-03 20:15:46 +02:00
twinaphex
bd6ee135e9 Take out runloop_t dependencies 2015-08-03 20:03:14 +02:00
twinaphex
103987fab8 (Win32) Buildfix 2015-07-28 01:02:32 +02:00
twinaphex
4787c463b6 Backport this - 58748da89d 2015-07-27 00:08:25 +02:00
twinaphex
0dae672dc6 Some more micro-opts 2015-07-24 02:40:18 +02:00
twinaphex
d73f227727 Get rid of some redundant wrapper functions 2015-07-24 02:24:47 +02:00
vanfanel
eb7bf55d90 VIDEO/SUNXI: Reworked where aspect ratio is changed in order to avoid variable. 2015-07-21 14:33:02 +02:00
vanfanel
0776932b3a VIDEO/SUNXI: Make setting aspect ratio in menu work and fixed segfault on new content loading. 2015-07-21 14:22:39 +02:00
twinaphex
7df80fea83 Take out one ifndef HAVE_PSGL preprocessor define 2015-07-21 01:58:57 +02:00
twinaphex
218f52c5bf Minor nits 2015-07-21 01:45:32 +02:00
neville
afc09848b4 Add two fallback fonts for Apple 2015-07-19 23:29:27 +02:00
neville
c9de30dd98 (OSX PPC) Compile in HAVE_STB_FONT 2015-07-19 23:09:22 +02:00
neville
c43e33a816 (gl_raster_font.c) Certain code will only work for GL 3.0 and up 2015-07-19 22:59:33 +02:00
Higor Eurípedes
b1c9d48368 (gl_raster_font) Reorder ancient/modern checks 2015-07-19 13:01:28 -03:00
Higor Eurípedes
10345e0899 (gl_raster_font) Add back the old compat code 2015-07-19 12:55:30 -03:00
Higor Eurípedes
f9f98f9f2e (gl_raster_font) Enable GL_R8 atlas for GL >= 3 2015-07-19 12:55:30 -03:00
Higor Eurípedes
4f69b5e34b (gl_raster_font) Use a smaller pixel format to store the font atlas 2015-07-19 12:55:30 -03:00
vanfanel
824c647377 VIDEO/SUNXI: fixed compilation because of a couple of small errors coming from cleanups. 2015-07-18 20:33:07 +02:00
twinaphex
f02f1ebc8f (OSX) setWantsBestResolutionOpenGLSurface - OSX 10.7 and up 2015-07-18 15:46:48 +02:00
twinaphex
5bc03fb3a8 backingScaleFactor OSX 10.7 and up 2015-07-18 15:41:14 +02:00
Higor Eurípedes
ab55ed7908 (stb.c) Fix growth conditional and limit growth to 2048x2048 2015-07-17 13:38:24 -03:00
twinaphex
f7a443b4e9 (Android) (Nvidia Shield Portable) Some kind of edge case happens
on Shield Portable that causes it to keep allocating for a long
time until it simply fails and falls back to the bitmap font
renderer. Currently seems to be happening on character 160.
Quick hack until we fix the real underlying issue.
2015-07-17 11:03:15 +02:00
twinaphex
95da20190a Take out stb_truetype hack 2015-07-17 02:24:23 +02:00
Higor Eurípedes
e4da044c99 (stb.c) Resize atlas when printable characters dont fit 2015-07-16 11:37:08 -03:00
Higor Eurípedes
d10bb24328 (stb.c) Add CutiveMono.ttf path and replace DroidSansFallback with DroidSans 2015-07-16 11:19:06 -03:00
twinaphex
a73f91e68a (Android) Add hack/workaround for DPI larger than 500 with
HAVE_STB_FONT
2015-07-16 10:09:26 +02:00
Higor Eurípedes
42320c9726 Make stb font support optional 2015-07-14 12:00:28 -03:00
Higor Eurípedes
09c67e3cf9 Get rid of warnings and declare STBTT_STATIC 2015-07-14 11:47:09 -03:00
Higor Eurípedes
911dc7f083 Add stb_truetype based font backend 2015-07-14 10:55:14 -03:00
twinaphex
80c498c38c (Freetype) Move variables to top 2015-07-14 00:35:21 +02:00
Alcaro
f323b3ef8c C source isn't executable. Nor is that bitmap. 2015-07-12 12:51:52 +02:00
twinaphex
2aac64552d Cut down on some more superfluous wrapper functions 2015-07-12 11:28:19 +02:00
twinaphex
117fd48f15 Get rid of some superfluous wrapper functions 2015-07-12 11:14:41 +02:00
twinaphex
bbc63f7e99 Fix CXX_BUILD 2015-07-12 08:08:27 +02:00
twinaphex
108a6b9e21 Cleanups 2015-07-12 06:20:53 +02:00
twinaphex
5a5e3951ff Use custom typedefs for glui too, and move typedefs to gfx/video_common.h 2015-07-12 06:14:01 +02:00
twinaphex
c697923eb6 Create video_common.c 2015-07-12 05:30:04 +02:00
twinaphex
38fd0592f5 Create video_common.h 2015-07-12 04:23:27 +02:00
twinaphex
b46f3c9c29 (gl_common.h) Cleanups 2015-07-12 04:20:48 +02:00
twinaphex
4b8e65322c Rename gl_tex_info to gfx_tex_info 2015-07-12 04:16:40 +02:00
twinaphex
a687ca54d8 (gl_common.c) Refactors 2015-07-12 04:11:26 +02:00
twinaphex
6bb0d87d87 Rename gl_font_raster_block to gfx_font_raster_block 2015-07-12 04:07:06 +02:00
twinaphex
4c1562fb70 Rename gl_fbo_rect to gfx_fbo_rect 2015-07-12 04:04:56 +02:00
twinaphex
c5f2b7e8a1 rename gl_mut_coords to gfx_mut_coords 2015-07-12 04:01:22 +02:00
twinaphex
55054f257a Rename gl_ortho to gfx_ortho 2015-07-12 04:00:25 +02:00
twinaphex
41e28460fa Rename gl_coord_array to gfx_coord_array 2015-07-12 03:58:53 +02:00
twinaphex
527c0c29d4 Rename gl_coords to gfx_coords 2015-07-12 03:57:06 +02:00
Higor Eurípedes
405ac5ebe5 Improve error handling in some image loading functions 2015-07-11 17:18:16 -03:00
twinaphex
6e63f562ea (D3D) Buildfix 2015-07-11 19:47:20 +02:00
twinaphex
c3f5ea0fcc Make input_overlay.h no longer depend on RPNG image 2015-07-11 08:14:39 +02:00
twinaphex
2ec593f3b4 (omap_gfx.c) Can't have global state dependencies in video drivers 2015-07-10 19:55:34 +02:00
twinaphex
4c9077568d Shorten some variables 2015-07-10 19:17:26 +02:00
twinaphex
6f4e53e454 Remove unused variables 2015-07-08 22:04:37 +02:00
twinaphex
1cc1f6d782 (video_driver.c) Style nits 2015-07-08 17:19:14 +02:00
radius
2aa7c46e78 change the approach to wii resolution changing, this is more stable 2015-07-06 16:07:33 -05:00
radius
84fe1b0376 remove function we won't be using 2015-07-06 00:31:40 -05:00
radius
d09490789a implement wii resolution saving 2015-07-06 00:29:51 -05:00
Higor Eurípedes
890417a581 (gl.c) Fix taking screenshots from GLUI/XMB 2015-07-01 18:46:39 -03:00
twinaphex
3fd11686cb (gl.c) Refactor 2015-06-30 19:07:53 +02:00
twinaphex
25aac8282e (SDL2) Cleanups 2015-06-30 15:35:32 +02:00
twinaphex
4d538a95f2 (SDL2) Cleanups 2015-06-30 14:53:05 +02:00
twinaphex
e74e402cdc More C89 build fixes 2015-06-30 14:37:11 +02:00
twinaphex
96c119bb1d Move retroarch_logger.h to libretro-common/include 2015-06-30 00:38:10 +02:00
twinaphex
fefa500dcf Some C89 build fixes 2015-06-29 21:52:55 +02:00
twinaphex
018c685b09 C89_BUILD fixes 2015-06-29 21:39:00 +02:00
vanfanel
ba69eda47e DISPMANX: Rewrote surface management functions: fixed dispmanx-related errors when changing core or loading new content. 2015-06-27 19:14:30 +00:00
twinaphex
7e37616901 Refactor some more code 2015-06-27 15:55:43 +02:00
twinaphex
97f10e4a64 Some more C89 compatibility fixes 2015-06-26 19:34:19 +02:00
Alcaro
adb2942e5c Fix CXX_BUILD 2015-06-26 18:39:20 +02:00
Alcaro
4ca6c2398c More C89 cleanups, part 3 2015-06-26 18:35:52 +02:00
twinaphex
b778c9a7d4 (wayland_ctx.c) Move uninitialized variable to the top of the function 2015-06-26 18:25:17 +02:00
twinaphex
653c76c987 Fix Wayland warning 2015-06-26 18:24:51 +02:00
Alcaro
febcbc5ce4 C89 cleanups part 2 2015-06-26 17:48:43 +02:00
Alcaro
1bbd54f597 Some C89 strict fixes 2015-06-26 17:03:12 +02:00
Alcaro
97f8188969 Clean up some C99 longlongs. 2015-06-26 16:21:50 +02:00
twinaphex
df6f279991 Some more C89 buildfixes 2015-06-26 16:07:31 +02:00
twinaphex
a132fa0fba Some C89 build fixes 2015-06-26 15:53:18 +02:00
Twinaphex
f597f3e4b0 (CGL) Fix some linking errors when building with CXX_BUILD 2015-06-26 15:44:47 +02:00
Twinaphex
e879d2de25 (CoreText) Increase font atlas size so it supports diacritics too 2015-06-26 10:57:19 +02:00
Jean-André Santoni
f8e1d026c5 (Freetype) Increase the font atlas size to support diacritics 2015-06-26 15:43:00 +07:00
Twinaphex
79dda43dbb (CGL) Some more CXX_BUILD fixes 2015-06-25 17:44:11 +02:00
Twinaphex
227c986143 More CXX_BUILD fixes 2015-06-25 17:40:09 +02:00
twinaphex
b400597a4c Move title_buf to rarch_system_info_t 2015-06-25 14:30:32 +02:00
twinaphex
0fa871a296 Use rarch_system_info_get_ptr 2015-06-25 13:46:32 +02:00
twinaphex
0ca457a40a (video_driver.c) Use rarch_system_info_get_ptr 2015-06-25 13:36:04 +02:00
twinaphex
e80448eaa6 Refactor deinit_pixel_converter 2015-06-25 10:38:47 +02:00
twinaphex
9488b47fbc Refactor gfx/video_pixel_converter.c 2015-06-25 10:37:10 +02:00
twinaphex
9f93373286 Create video_pixel_frame_scale and move it to gfx/video_pixel_converter.c 2015-06-25 10:15:26 +02:00
Higor Eurípedes
593e835228 (gl_raster_font) Add early return in gl_raster_font_render_msg() 2015-06-23 14:51:29 -03:00
twinaphex
d78437b5a0 Increase GFX_MAX_SHADERS to 24 2015-06-22 21:12:25 +02:00
twinaphex
682867b9a1 MAX_SHADERS should only be defined in gl_common.h 2015-06-22 21:09:18 +02:00
natinusala
838cf74f42 (gl_raster_font) Fixed the alignment support for line by line drawing
Each line was drawn using the full message's length so the alignment
was broken. I fixed it by adding the message length to get_message_width
so every line has its own length for get_message_width.
2015-06-21 17:24:35 +02:00