Commit Graph

3770 Commits

Author SHA1 Message Date
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
vanfanel
bb7d9436c2 DISPMANX correction: the pointer to the page currently on screen must be a member of each surface. 2015-06-20 14:56:25 +00:00
vanfanel
430f7854d9 Removed unused variable. Changed a function type. 2015-06-18 16:16:26 +00:00
vanfanel
98e6522f3f Fixed a memory allocation error and simplified surface resource freeing functions. 2015-06-18 12:31:42 +00:00
Higor Eurípedes
96742263d1 Fix raw screenshots 2015-06-17 09:29:09 -03:00
vanfanel
26b0876376 DISPMANX backend: implemented a faster triple buffering method and abstracted drawing surfaces for core and menu in their own class-like struct. Honor the aspect ratio setting changes without re-launching. Cleanups. 2015-06-16 19:30:16 +00:00
twinaphex
bc592859cc Cleanups 2015-06-15 06:01:54 +02:00
twinaphex
44e3d840c5 (shader_gl_cg.c) use hashes 2015-06-15 05:09:01 +02:00
twinaphex
40f8fabda6 Consistency in how we treat positive strcmp matches 2015-06-14 19:56:01 +02:00
twinaphex
0c8baf7e47 (video_shader_parse.c) Use hashing 2015-06-14 19:02:53 +02:00
Higor Eurípedes
42caab87aa (gl_raster_font.c) Add early return and fix identation in gl_raster_font_render_message 2015-06-14 12:36:29 -03:00
twinaphex
3943f4633f (GX/Wii) Cleanups - grab pointer to menu_framebuf_t 2015-06-13 17:01:38 +02:00
twinaphex
7197b58ed6 (gfx/drivers) Cleanups 2015-06-13 02:49:29 +02:00
twinaphex
43c8f282db (Gfx) Cleanups 2015-06-13 02:10:06 +02:00
twinaphex
6e2bea3b38 (Audio/gfx) Cleanups 2015-06-13 01:18:13 +02:00
hunterk
664956c53d ifdef the retina stuff for backward compatibility 2015-06-12 13:56:34 -05:00
hizzlekizzle
d5a6a1d4a6 remove dpi hack
the existing method works fine on later release targets, so we just need to remember to set those.
2015-06-12 13:12:43 -05:00
hizzlekizzle
0c792898b8 fix dumb typo 2015-06-12 13:03:34 -05:00
hunterk
b4e4af604e fix ugly scaling on Retina Macs 2015-06-12 12:45:29 -05:00
Andre Leiradella
7be1b2b9cf removed memory allocation in gl_raster_font_render_message 2015-06-05 18:14:05 -03:00
twinaphex
5068e2ddbf (xvideo.c) Style nits 2015-06-03 21:37:08 +02:00
Twinaphex
0f759fc1a3 Merge pull request #1740 from natinusala/master
Added '\n' support for gl_raster_font
2015-06-03 15:11:59 +02:00
twinaphex
55ec66020e (CGL Ctx) Add TODO/FIXME note 2015-06-02 19:11:01 +02:00
twinaphex
ce7706bc7a (CGL Ctx) Get rid of some printfs 2015-06-02 18:58:42 +02:00
twinaphex
c188f06cef (CGL Ctx) Create custom typedef for CGWindowID - OSX 10.4 didn't yet
have this typedef
2015-06-02 18:55:46 +02:00
twinaphex
0cbd1f0882 Don't define HAVE_GL_ASYNC_READBACK if GL_PIXEL_PACK_BUFFER is not
defined
2015-06-02 18:51:42 +02:00
twinaphex
0cfeff8e1e Cleanups 2015-06-02 18:28:51 +02:00
twinaphex
70fc26677d Define GL_SYNC_ defines if not available 2015-06-02 17:31:43 +02:00
twinaphex
e67f3f246d Rearrange header include dependencies 2015-06-02 17:17:46 +02:00
Twinaphex
f1c69e79c2 (iOS) Buildfix 2015-06-02 11:14:47 +02:00
neville
bfb6001114 (OSX) 10.5 and earlier doesn't have backingScaleFactor, so hardcode it
to 1.0f for those platforms
2015-06-02 09:06:59 +02:00
neville
8151c85980 (OSX) Take out settings window for now entirely 2015-06-02 09:00:27 +02:00
neville
2434c5e971 (OSX PPC) Buildfix 2015-06-02 08:48:07 +02:00
amigagamer
55934b4770 fix dispmanx compile (dispmanx_gfx_get_frame_count)
line 601 looking for dispmanx_get_frame_count
the correct name is dispmanx_gfx_get_frame_count (from line 592)
2015-05-30 17:00:06 +01:00
natinusala
9b276d80d2 Added line_height for freetype and cleaned up comments 2015-05-30 15:41:47 +02:00
Nathan SALAUN
b756111aac Added the get_line_height to font_renderer_driver_t and a first implementation of it in gl_raster (\n) and bitmapfont 2015-05-27 12:20:31 +02:00
twinaphex
9326d9c27c (DRM EGL) Don't do useless cast 2015-05-24 05:07:01 +02:00
twinaphex
75004e7ece (PS3) Build fixes 2015-05-21 04:43:50 +02:00
Higor Eurípedes
376228fac3 Clear thr->cmd_data after blocking for a reply. 2015-05-20 21:43:43 -03:00
Toad King
e97ecc17cc fix d3d build 2015-05-20 17:28:12 -05:00
twinaphex
5558fdd085 Get rid of global dependency for video_viewport_get_custom 2015-05-20 23:13:39 +02:00
twinaphex
e04dff82b5 Add some notes 2015-05-20 23:04:15 +02:00
twinaphex
6e327a3b8d Get rid of more unused global local pointers 2015-05-20 22:48:33 +02:00
twinaphex
95821959a7 Remove local variable 2015-05-20 22:22:47 +02:00
Higor Eurípedes
09c9904ab0 Cleanup thread_loop a bit 2015-05-20 17:06:57 -03:00
Higor Eurípedes
bb2f181386 Remove unprotected access to cmd_data and rewrite message passing mechanism 2015-05-20 17:06:57 -03:00
twinaphex
b363060262 Move frame_cache from global state to video driver state 2015-05-20 21:36:08 +02:00
twinaphex
63aa834414 Create video_driver_cached_frame_has_valid_fb 2015-05-20 21:29:23 +02:00
twinaphex
ac8d58b7bb Create video_driver_cached_frame_set 2015-05-20 21:13:25 +02:00
twinaphex
cf2c0f6930 Rename rarch_render_cached_frame to video_driver_cached_frame 2015-05-20 21:06:44 +02:00
twinaphex
d2b76a7d13 Move pix_fmt to video_state 2015-05-20 20:59:12 +02:00
twinaphex
197820c797 Move filter state code to video_state and out of global 2015-05-20 20:49:52 +02:00
twinaphex
d8622e0a92 (GL) Prevent unused variable warning 2015-05-20 20:01:29 +02:00
twinaphex
afa82d19ab find_video_driver - take out global variable 2015-05-20 19:59:08 +02:00
Twinaphex
eed8e5c135 Remove unused global variable 2015-05-20 19:56:43 +02:00
twinaphex
a81baed9e2 Move hw_render_callbakc to video driver state and take it out
of global state
2015-05-20 19:56:12 +02:00
twinaphex
9f7c6fcb97 Cleanups 2015-05-20 19:30:15 +02:00
twinaphex
679feefae3 Start using const for non-mutating variables 2015-05-20 19:28:05 +02:00
twinaphex
2f62cd65e2 Start using video_viewport_get_custom everywhere 2015-05-20 19:12:39 +02:00
Twinaphex
d33cad3381 (GL) Take out unused global variable 2015-05-20 18:57:57 +02:00
twinaphex
a053b41223 Create video_viewport_get_system_av_info and video_viewport_get_custom -
move custom viewport and system av info outside of global state
2015-05-20 18:57:17 +02:00
twinaphex
b255b5a325 Create video_driver_set_aspect_ratio_value and video_driver_get_aspect_ratio 2015-05-20 18:24:45 +02:00
twinaphex
533a0b7f7f Move frame_time_samples to video_driver.c 2015-05-20 05:35:41 +02:00
twinaphex
969bbdd85d Get rid of some unused runloop variables 2015-05-20 03:13:42 +02:00
twinaphex
a0ba714239 Create video_monitor_reset 2015-05-20 03:02:00 +02:00
twinaphex
684b9decb0 (Video driver) Cleanups - no longer depend on global pointer for
video width/height
2015-05-20 02:55:04 +02:00
twinaphex
066617ee62 (MSVC) Buildfixes 2015-05-20 02:45:32 +02:00
Twinaphex
33fc77f221 remove unused variables 2015-05-20 02:41:33 +02:00
twinaphex
4352cca599 Cleanup last remaining references 2015-05-20 02:40:44 +02:00
twinaphex
b2d57fd07d (D3D) Remove dependencies on video_data 2015-05-20 02:30:31 +02:00
twinaphex
23fe7886d2 (GL) GL driver should be free now from global->video_data.width/
global->video_data.height dependencies
2015-05-20 02:22:03 +02:00
twinaphex
b573e5f4dc (GL) Refactor code to no longer use global->video_data.width/global->video_data.height 2015-05-20 02:18:05 +02:00
twinaphex
9ce32fd7af (D3D) Refactor more global->video_data.* {width/height} references 2015-05-20 01:54:57 +02:00
twinaphex
629ff05499 (XDK) More refactors 2015-05-20 01:51:14 +02:00
twinaphex
0bf3cf97e7 (Font) Refactor font code to no longer use global 2015-05-20 01:48:51 +02:00
twinaphex
3d5abae2b9 Refactor more usage of global->video_data.width/global->video_data.height 2015-05-20 01:44:17 +02:00
twinaphex
b99ae6f4e4 Refactor some more code to no longer use global->video_data.width/
global->video_data.height directly
2015-05-20 01:39:35 +02:00
twinaphex
79db0c2ab5 Start using video_driver_get_size in video drivers 2015-05-20 00:45:42 +02:00
twinaphex
d64655c11b move menu_display_get_size to gfx/video_driver.c and rename
it video_driver_get_size
2015-05-20 00:29:46 +02:00
Twinaphex
337b37fc49 Merge pull request #1709 from heuripedes/master
stuff
2015-05-19 20:16:20 +02:00
twinaphex
375c49b6c8 Move is_menu out of runloop struct and create get/set functions in menu_driver.c
and make the underlying variable static to make it thread-safe
2015-05-19 20:11:57 +02:00
Higor Eurípedes
59e0f7221d (gl_raster_font) Fix typo 2015-05-19 15:11:05 -03:00
Higor Eurípedes
dfd6d464a8 (gl) Add check in gl_overlay_vertex_geom() 2015-05-19 13:51:59 -03:00
Higor Eurípedes
dc5460effd (gl_raster_font) Fix invalid read when pushing vertices
Calling both glsl shader->set_coords() or gl_coord_array_add() resulted
in an invalid read when memcpy()ing coords->lut_tex_coord.
2015-05-19 13:45:22 -03:00
natinusala
35ca261e4d Added font_renderer_get_message_width in font_renderer_driver.h
This function can be used to get any message width, using the current
font renderer driver.
2015-05-16 16:58:35 +02:00
natinusala
197a505e4c Adding gl_get_message_width to gl_raster_font 2015-05-16 16:38:13 +02:00
natifion
efd3f7cc58 (Font) Added get_message_width to font_renderer_t 2015-05-16 16:32:16 +02:00
natinusala
d326fe87af Fixed scale with text alignment 2015-05-14 18:16:34 +02:00
Higor Eurípedes
c5940b32b6 (gl) Remove context switch calls from set_osd_msg
It's not needed because this function is always called from the
frontend/menu context. The video driver handles SET_MESSAGE
environment call in the frame() function (msg argument).
2015-05-12 09:36:00 -03:00
twinaphex
7c84232b9f (GL) Uncomment context_hw_bind_render calls around set_osd_msg again 2015-05-11 22:30:44 +02:00
twinaphex
4d7c2a642d (GL) Cleanups 2015-05-11 00:20:06 +02:00
Higor Eurípedes
e0dccab5fc (gl) Dont switch to another context in gl_set_osd_msg() 2015-05-10 16:18:09 -03:00
twinaphex
3c5b83cf08 (360) Build fixes 2015-05-09 18:12:15 +02:00
twinaphex
132bec0237 (D3D) Fix warning 2015-05-09 18:07:59 +02:00
twinaphex
73d5e8a41b (PS3) Build fix and fix warnings 2015-05-09 17:53:03 +02:00
twinaphex
945d2851ba Pass frame_count variable to gl_frame_fbo 2015-05-09 17:41:53 +02:00
Alcaro
3ea56e67a9 Fix some race conditions on that frame counter. 2015-05-09 16:30:02 +02:00
twinaphex
83e0164c93 Get rid of 64-bit formatting warnings 2015-05-09 16:21:35 +02:00
twinaphex
3d6b29e97b thread_get_frame_count - return 0 instead of NULL 2015-05-09 16:07:05 +02:00
Twinaphex
f08db710ac Kill unused variables 2015-05-09 16:06:05 +02:00
twinaphex
9b9e65abf3 Start using video_driver_get_frame_count 2015-05-09 16:04:12 +02:00
twinaphex
5aeb906065 Create video_driver_get_frame_count 2015-05-09 15:54:51 +02:00
twinaphex
ae408a1d41 Create video_poke get_frame_count function 2015-05-09 15:52:06 +02:00
twinaphex
4ecfe639b3 Create local frame_count variables again in video_drivers 2015-05-09 15:41:10 +02:00
twinaphex
31498e825f Crashed here in threaded video mode 2015-05-09 12:35:06 +02:00
twinaphex
bbd2f6054b Don't compile in GLX if HAVE_OPENGLES is defined 2015-05-09 11:27:51 +02:00
twinaphex
6fbd9df9d9 Take out runloop-related code in gfx/video_driver.c's init_video
function
2015-05-09 10:41:36 +02:00
twinaphex
dcfa47c23b Increment runloop->frames.video.count outside of video_driver_frame 2015-05-09 10:37:03 +02:00
twinaphex
87d9834d06 Move dylib.c to libretro-common 2015-05-08 09:49:49 +02:00
Twinaphex
56da783f11 Get rid of unused variable 2015-05-05 09:43:22 +02:00
twinaphex
0704c7f0c7 Create texture_image_color_convert 2015-05-04 10:16:47 +02:00
twinaphex
ef98d02185 Create texture_image_set_color_shifts 2015-05-04 10:13:53 +02:00
twinaphex
498caabfc7 (GL) Buildfix 2015-05-04 10:03:33 +02:00
twinaphex
5d58d290af (GL) Improve VideoCore/Raspberry Pi hack 2015-05-04 10:00:32 +02:00
twinaphex
e4cb891ae7 (GL) Pass context identifier to resolve_extensions 2015-05-04 09:37:26 +02:00
Jean-André Santoni
3a56418c38 Fix a segfault for ctx drivers non implementing image_buffer_init, like mali and vivante 2015-05-03 21:34:11 +07:00
Higor Eurípedes
5bfd910cd1 (gl) Fix font rendering when video_font_enable=false 2015-05-02 22:41:59 -03:00
Higor Eurípedes
b85dfec4d4 Fix sigsegv and improve font fallback logic 2015-05-02 22:24:35 -03:00
twinaphex
80c5059d43 Revert "(Video) Call gfx_ctx_free from common function - uninit_video_input"
This reverts commit aac304410b.
2015-05-02 22:53:27 +02:00
Twinaphex
d6a713bb8d Fix some warnings 2015-05-02 19:09:23 +02:00
twinaphex
aac304410b (Video) Call gfx_ctx_free from common function - uninit_video_input 2015-05-02 05:52:34 +02:00
Twinaphex
84b5a96898 (CGL) Add some logs 2015-04-27 16:28:52 +02:00
Twinaphex
3c4615d273 (CGL) Add some more logging 2015-04-27 16:15:08 +02:00
Twinaphex
43781876cd (CGL) Some buildfixes/cleanups 2015-04-27 15:52:37 +02:00
twinaphex
0b807f34bf (CGL) Implement get_proc_address differently 2015-04-27 15:50:49 +02:00
Twinaphex
01c793904d (CGL) Start implementing get_proc_address 2015-04-27 06:57:35 +02:00
Twinaphex
b02986ff94 (Thread wrapper) Fix CMD_SET_VIEWPORT 2015-04-27 00:08:00 +02:00
twinaphex
0ba4e81e63 (VG) Build fixes 2015-04-26 23:19:19 +02:00
twinaphex
c7c98451bf (video_thread_wrapper.h) Get rid of some header dependencies 2015-04-26 22:58:19 +02:00
twinaphex
a9dee4877e Create set_viewport wrapper function - threaded video mode's
set_viewport function does not work yet
2015-04-26 19:46:59 +02:00
twinaphex
d3dba0edc2 Create menu_display_set_viewport 2015-04-26 16:46:56 +02:00
twinaphex
1860f06926 (VG) Cleanups 2015-04-26 06:04:16 +02:00
twinaphex
3f3df59758 (GX) Buildfix 2015-04-26 05:48:45 +02:00
twinaphex
747a58e253 (PS Libdbgfont) Refactor 2015-04-26 05:46:56 +02:00
twinaphex
e52eb7bcf2 (360) Build fixes 2015-04-26 05:44:30 +02:00
twinaphex
0634c7e34f (D3D) Start using global->video_data.width and global->video_data.height 2015-04-26 05:35:41 +02:00
twinaphex
b6fbf5a335 (Menu) Start getting rid of gl->win_width/gl->win_height and start
creating global->video_data.width and global->video_data.height
which should be used instead in menu drivers
2015-04-26 05:21:43 +02:00
twinaphex
36c2786864 (CGL) Implement bind_api function 2015-04-26 04:38:35 +02:00
Twinaphex
a72cc4bfc9 (CGL) Buildfix 2015-04-26 04:26:57 +02:00
twinaphex
4034dbe591 (CGL) Implement get_video_size and check_window 2015-04-26 04:24:13 +02:00
twinaphex
869576b916 (DRM EGL) Get rid of some forward declarations 2015-04-26 04:02:04 +02:00
Twinaphex
d49ec806e0 (CGL) CGL Context only for OSX 2015-04-26 03:59:55 +02:00
Twinaphex
6703b26e44 (CGL Context) Some buildfixes 2015-04-26 03:48:35 +02:00
twinaphex
7e20265a4e (CGL) Start making Cocoa-less GL context driver 2015-04-26 03:31:02 +02:00
Twinaphex
ada0955642 (Cocoa GL) Refactor set_video_mode some more 2015-04-26 03:01:15 +02:00
Twinaphex
550ab997ee (Cocoa GL) Cleanup 2015-04-26 02:57:53 +02:00
Twinaphex
2ce2bb0a5d (Cocoa) Create stub cocoagl_gfx_ctx_show_mouse 2015-04-26 02:53:50 +02:00
twinaphex
c99cd21080 (OSX) Fixes crash on exit/fullscreen toggle with XMB 2015-04-26 00:50:58 +02:00
twinaphex
c22535b7e1 Reduce HAVE_FBO ifdefs 2015-04-25 02:35:06 +02:00
twinaphex
85dd24c457 (D3D) Use font_osd_driver/font_osd_data from driver struct 2015-04-25 01:05:20 +02:00
twinaphex
6f84b5dbe5 gl_raster_font_bind_block - block can be NULL 2015-04-25 00:42:47 +02:00
twinaphex
44a8b8bcd3 Move font_handle and font_driver ot the driver struct 2015-04-25 00:32:01 +02:00
twinaphex
58621e5ccf (PS3) Compile in GL raster font 2015-04-23 02:04:32 +02:00
Twinaphex
4c4cdd49c6 (iOS/others) gl_raster_font_get_glyph - prevent a crash when
font driver has not yet been initialized and ident is NULL
2015-04-22 23:38:42 +02:00
twinaphex
20b5fb056f Change signature returntype of get_glyph to const struct font_glyph * 2015-04-22 23:33:43 +02:00
twinaphex
d794215dcc (D3D) Update - use font_init_first 2015-04-21 17:53:11 +02:00
twinaphex
bd63de9b3a Replace gl_font_init_first and d3d_font_init_first with common function 2015-04-21 17:33:00 +02:00
twinaphex
1a390b8779 Cleanup font driver identifier names 2015-04-21 17:17:44 +02:00
twinaphex
ce27f9f887 (Fonts) Cleanups 2015-04-21 17:13:55 +02:00
Jean-André Santoni
558459fb9b (iOS) Fix dpi, still incomplete 2015-04-21 18:58:19 +07:00
Twinaphex
c539a66b53 (OSX) Use backingScaleFactor 2015-04-21 13:02:57 +02:00
Twinaphex
000e61dc66 (iOS) 'ret' needs to be passed as pointer 2015-04-21 13:01:21 +02:00
Twinaphex
165b502948 Make get_native_scale code more expandable 2015-04-21 12:57:35 +02:00
Twinaphex
54c6c3eb01 Rename apple_cocoa_gl.m 2015-04-21 11:03:39 +02:00
Twinaphex
ea30e2cc3c (Cocoa GL) Use NSOpenGL 2015-04-21 11:00:23 +02:00
twinaphex
f435958371 (Android) Implement display metric DPI 2015-04-21 00:57:51 +02:00
twinaphex
1b2e69d782 (Android) Prevent crash at System Information 2015-04-20 22:14:04 +02:00
twinaphex
e8a8b378d5 (Cocoa) Rename RAGameView to CocoaView 2015-04-20 20:39:39 +02:00
twinaphex
9ef656dc61 (MSVC) Build fixes 2015-04-20 20:00:39 +02:00
Twinaphex
f76f288a86 (apple_cocoa_gl.m) buildfix 2015-04-20 12:56:05 +02:00
twinaphex
20befff4c1 (Cocoa) Move cocoa common files 2015-04-20 12:52:16 +02:00
Twinaphex
2f169a42b1 (qb) Add COCOA 2015-04-20 00:38:55 +02:00
twinaphex
2f2c35252a Fix gfx_ctx_emscripten struct 2015-04-19 21:05:16 +02:00
Alcaro
79280258c7 (D3D) Do use new/delete 2015-04-19 18:58:27 +02:00
twinaphex
8c528bb79a Rename apple_bind_game_view_fbo to cocoagl_bind_game_view_fbo 2015-04-19 17:42:04 +02:00
twinaphex
d74f5ad3aa (Apple/Cocoa) Rename gfx_ctx_apple to gfx_ctx_cocoa 2015-04-19 17:40:10 +02:00
twinaphex
8818eb8cca (Video context driver) gfx_ctx_apple should become gfx_ctx_cocoa 2015-04-19 17:27:51 +02:00
twinaphex
4e5bf65e23 Create HAVE_RPNG define 2015-04-19 16:55:03 +02:00
twinaphex
147a9f85ff (CoreText) Add HAVE_CORETEXT define 2015-04-19 16:19:10 +02:00
aliaspider
2076846a5c (CTR/3DS) disable v-sync blocking after a missed vblank-start event.
will prevent cores running under 60fps from slowing down even more.
2015-04-17 19:45:07 +01:00
twinaphex
94b1f2f54f (drm_egl_ctx.c) Cleanup 2015-04-16 23:04:22 +02:00
twinaphex
3a6e369516 (Context drivers) Cleanups 2015-04-16 23:03:55 +02:00
twinaphex
590e315bd1 (glx) Remove header includes here too 2015-04-16 22:41:17 +02:00
twinaphex
20e167e00f (xegl_ctx.c) Remove some unused X11 headers 2015-04-16 22:40:24 +02:00
twinaphex
27661c8087 Refactor some HAVE_X11/HAVE_EGL code 2015-04-16 22:39:28 +02:00
twinaphex
cd76c3f975 Add gfx_ctx_get_ident 2015-04-16 20:00:10 +02:00
twinaphex
b818038314 Prevent segfault in gfx_ctx_get_metrics 2015-04-16 19:42:27 +02:00
Twinaphex
946193446d (iOS) Move buffer swap to actual buffer swap function 2015-04-15 07:34:22 +02:00
twinaphex
6bf30bb714 (PS3) Buildfixes 2015-04-14 21:58:39 +02:00
twinaphex
0818b178f9 Rename rarch_main_command to event_command 2015-04-13 11:26:02 +02:00
Twinaphex
de2eb5f972 Rename RARCH_CMD_* to EVENT_CMD_* 2015-04-13 10:29:15 +02:00
Twinaphex
56a348e9bd Merge pull request #1624 from aliaspider/master
(3DS) video driver: performance improvements.
2015-04-13 02:52:32 +02:00
aliaspider
e754c328b0 (3DS) video driver: performance improvements. 2015-04-13 01:50:00 +01:00
twinaphex
59e7ab3048 (XDK1) Build fixes 2015-04-13 00:44:10 +02:00
twinaphex
099d95eb6f (XDK1) Buildfix 2015-04-12 22:32:01 +02:00
twinaphex
f4bd33b92f (XDK1) Build fixes 2015-04-12 22:29:55 +02:00
twinaphex
9a3ba16a36 (GL) Cleanup 2015-04-12 22:01:48 +02:00
twinaphex
4479bf5d55 (XDK1) Buildfixes 2015-04-12 20:00:49 +02:00
twinaphex
7fbbac544e Some C89 build fixes 2015-04-12 19:29:38 +02:00
twinaphex
81cd5df961 Update MSVC solutions - 360 buildfix 2015-04-12 19:03:44 +02:00
Twinaphex
0e2ed7c746 (Apple) Cleanups 2015-04-12 16:55:50 +02:00