Commit Graph

3609 Commits

Author SHA1 Message Date
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