Commit Graph

279 Commits

Author SHA1 Message Date
twinaphex 01d58f8681 Create RARCH_CTL_IS_INITED, RARCH_CTL_SET_INITED, RARCH_CTL_UNSET_INITED 2016-01-19 23:26:47 +01:00
twinaphex 7a55ae3765 Start updating headers for 2016 2016-01-10 04:06:50 +01:00
twinaphex b24ca80c92 (D3D) N/A 2016-01-08 09:00:56 +01:00
twinaphex 25481f9bfd menu_display_matrix_4x4_rotate_z 2016-01-08 08:42:29 +01:00
twinaphex 5a42b6ed0d Fix another statement is unreachable warning 2015-12-26 09:50:40 +01:00
twinaphex aa488dda25 Create video driver poke load_texture / unload_texture 2015-12-20 20:52:23 +01:00
twinaphex ecdecad963 Add MENU_DISPLAY_CTL_BLEND_BEGIN/MENU_DISPLAY_CTL_BLEND_END 2015-12-12 23:53:16 +01:00
twinaphex 8833ba1141 Create MENU_DISPLAY_CTL_FONT_FLUSH_BLOCK 2015-12-12 23:48:44 +01:00
twinaphex 2f108cb37b Cleanups 2015-12-12 15:12:47 +01:00
twinaphex c282027b50 Cleanups 2015-12-11 12:02:21 +01:00
twinaphex fdf17808e0 Create MENU_ANIMATION_CTL_DEINIT 2015-12-11 12:00:49 +01:00
twinaphex fbdfad6250 Remove unused void * parameter for init_main_font 2015-12-10 15:19:41 +01:00
twinaphex 34dbd35642 Revert "Remove some unnecesary functions"
This reverts commit 1f13f26ba4.
2015-12-08 12:55:43 +01:00
twinaphex 1f13f26ba4 Remove some unnecesary functions 2015-12-08 11:21:57 +01:00
twinaphex 1e522f4035 (Android) Start calling SET_STUB_FRAME for LOST_FOCUS/GAINED_FOCUS 2015-12-07 21:07:04 +01:00
twinaphex faad85e596 Create MENU_DISPLAY_CTL_SET_STUB_DRAW_FRAME/MENU_DISPLAY_CTL_UNSET_STUB_DRAW_FRAME 2015-12-07 20:57:24 +01:00
Higor Eurípedes e56c8feec9 (menu_display.c) Improve fallback DPI logic 2015-12-07 12:28:22 -03:00
twinaphex 2d55dc3bda Complete namespace changes 2015-12-07 15:32:14 +01:00
twinaphex 1cfb39a9d1 merge menu.c and menu_driver.c 2015-12-06 17:55:27 +01:00
twinaphex 978f05ef3b remove unused variables 2015-12-05 12:19:15 +01:00
twinaphex df813ad58b Create font_driver_flush 2015-12-05 12:10:12 +01:00
twinaphex 7246d219b6 Cut down on dependencies on driver->font_osd_driver 2015-12-05 11:48:06 +01:00
twinaphex 1c1ac91221 Don't need first param for menu_display_font_flush_block 2015-12-05 11:42:46 +01:00
twinaphex a747af2687 Nothing was done with first param of menu_display_font_bind_block 2015-12-05 11:38:18 +01:00
twinaphex 988162ed62 Cut down on code duplication 2015-12-05 11:29:06 +01:00
twinaphex a26e64e24d Expand font_driver_free 2015-12-05 10:54:53 +01:00
Jean-André Santoni bc602645c7 (Menu) Use float for icon coordinates, makes animations look smoother 2015-12-03 15:34:17 +07:00
twinaphex 6fd6288337 Move block_libretro_input to input_driver.c 2015-11-29 17:33:29 +01:00
aliaspider be5755fe59 (3DS) build fix. 2015-11-24 12:02:02 +01:00
Higor Eurípedes 5d92e9061c Reimplement image loading using tasks 2015-11-23 17:42:01 -03:00
twinaphex c7dc83533a Add param to video_driver_get_ptr for grabbing the nonthreaded
data state
2015-11-23 16:06:09 +01:00
twinaphex ddde58caf4 Simplify video_driver_get_ptr 2015-11-20 18:50:21 +01:00
twinaphex 6286e4b74c Add RARCH_DISPLAY_CTL_CACHED_FRAME_RENDER 2015-11-20 15:34:10 +01:00
twinaphex 2ca1b01fcc (MaterialUI) DPI changes should now be applied on-the-fly 2015-11-15 04:11:31 +01:00
twinaphex a2cc0638db (menu_display.c) Get rid of type qualifier 2015-11-14 02:10:21 +01:00
twinaphex d65b930b09 Cleanups 2015-11-11 21:52:57 +01:00
twinaphex 2b59f18b83 Add function pointer for font_init_first 2015-11-09 22:12:32 +01:00
twinaphex c49754fc72 Revert "Should save font renderer API now"
This reverts commit 92632a4dbb.
2015-11-09 04:11:21 +01:00
twinaphex 92632a4dbb Should save font renderer API now 2015-11-09 02:29:19 +01:00
twinaphex c1769ecce4 Don't comment this out anymore 2015-11-09 02:14:27 +01:00
twinaphex 3b0e324a84 Add D3D hooks 2015-11-08 23:18:43 +01:00
twinaphex ab7b7b538f (Menu) Add get_default_mvp function pointer 2015-11-08 21:03:12 +01:00
twinaphex a9b7636ddb Abstract away GL code in menu behind display driver interface 2015-11-08 01:30:07 +01:00
Jean-André Santoni dff0031145 (XMB) Use the same timedate format as PS3 XMB 2015-11-03 12:36:20 +07:00
twinaphex ea103fa7ec Should hopefully fix all compilation problems 2015-11-02 23:37:16 +01:00
twinaphex 65670e08ff Change GRfloat instances to float 2015-11-02 23:26:03 +01:00
twinaphex c2f044d30f Add fallback for menu_display_get_default_mvp 2015-11-02 23:24:45 +01:00
twinaphex df8c6952df Get rid of some messy code 2015-11-02 23:12:08 +01:00
twinaphex 1225fce93b Create menu_display_get_tex_coords 2015-11-02 22:54:05 +01:00
twinaphex 2a100d730c (Menu) Have default tex coords array 2015-11-02 22:46:23 +01:00
twinaphex 8e5a2fdc77 Have one default vertex coord array in menu_display.c 2015-11-02 22:37:29 +01:00
twinaphex b90c78251d Turn menu_video_get_ident into static function 2015-11-02 22:27:19 +01:00
twinaphex 7b35620859 (Menu) Simplify code 2015-11-02 22:25:39 +01:00
twinaphex a4eb49430c Create menu_display_texture_load and menu_display_texture_unload 2015-11-02 22:06:51 +01:00
twinaphex c461b920c2 (Menu) Header cleanups 2015-11-02 21:53:51 +01:00
twinaphex 6d02a19a3a menu_display.c - cleanup 2015-11-02 20:51:14 +01:00
twinaphex 71ca469cda GL totally abstracted away now from menu drivers 2015-11-02 20:41:42 +01:00
twinaphex 080213f5b3 More cleanups - almost completely remove gl_t * usage 2015-11-02 20:02:06 +01:00
twinaphex b34fb9e081 Add scaling steps to menu_display_matrix4x4_rotate_z too 2015-11-02 19:47:25 +01:00
twinaphex 699b5f7f3f Create menu_display_matrix4x4_rotate_z 2015-11-02 19:34:01 +01:00
twinaphex 5b15ed2b60 Don't pass gl_t pointer to menu_display functions 2015-11-02 19:11:09 +01:00
twinaphex 7c69249e63 Don't use arguments for blend_begin/blend_end 2015-11-02 19:07:36 +01:00
twinaphex 10051a657c Simplify menu_display_draw_frame 2015-11-02 18:55:05 +01:00
twinaphex 6516fc783b Start making menu drivers depend less on gl handle 2015-11-02 18:41:51 +01:00
twinaphex 159e9c1910 Revert "Don't use the same vertex array in every menu driver"
This reverts commit eefc33ef07.
2015-11-01 22:35:19 +01:00
twinaphex eefc33ef07 Don't use the same vertex array in every menu driver 2015-11-01 22:24:10 +01:00
twinaphex a43fe491f3 Need to restore initial values for glClearColor at end 2015-11-01 20:07:23 +01:00
twinaphex 399d1e8fb7 Implement menu_display_clear_color 2015-11-01 19:49:19 +01:00
twinaphex 0d6ea9c0ff Don't need gl->shader->use calls anymore 2015-11-01 19:35:32 +01:00
twinaphex e9ba2caac7 Rename blending functions 2015-11-01 19:28:12 +01:00
twinaphex 2b087f3be0 No longer do blending inside menu_display_draw_frame 2015-11-01 19:24:35 +01:00
twinaphex 19a6ccb646 Create menu_display_draw_icon_blend_begin and menu_display_draw_icon_blend_end - cut down on code duplication 2015-11-01 16:23:50 +01:00
twinaphex 3a7799f132 Remove some unused variables 2015-10-31 18:13:03 +01:00
twinaphex 1ddd33336a 1) rarch_playlist_load_content - add argument
2) GLUI - handle libretro_pause being false better - hide
background and make white background look better
2015-10-31 17:06:08 +01:00
twinaphex 434f8383d8 menu_display_draw_frame - put in potential edge case fix 2015-10-28 18:24:51 +01:00
twinaphex 02a43c6b2a Change 'rarch' to 'retro' namespace in libretro-common 2015-10-26 03:18:13 +01:00
twinaphex 798ed9eba8 (Zarch) Use menu_display_draw_frame 2015-10-24 07:51:33 +02:00
twinaphex 8ecfa76ab9 Add vertex count variable to menu_display drawing functions 2015-10-24 07:28:49 +02:00
twinaphex b5aa3049c6 Refactor menu_video_ functions to menu_display_ 2015-10-18 07:43:27 +02:00
twinaphex 38c66f62d0 Merge menu_video.c and menu_display.c 2015-10-18 07:15:54 +02:00
twinaphex 8223c3d2d3 Refactor MENU_DISPLAY_CTL_UPDATE_PENDING 2015-10-11 13:03:04 +02:00
Twinaphex d0ded1751d menu_display.c - Get rid of HAVE_OPENGL ifdef 2015-10-11 09:19:49 +02:00
Alcaro edc80ee837 Get rid of call to nonexistent function. 2015-10-11 08:49:33 +02:00
Andre Leiradella 5fce3f4138 grouped core functions inside a retro_core_t structure; swapped core function globals by one retro_core_t variable 2015-10-06 14:34:09 -03:00
twinaphex 6ce4b96d12 Header include cleanups 2015-09-27 01:10:15 +02:00
twinaphex 613347a612 (menu_display) Cleanups 2015-09-27 01:03:58 +02:00
twinaphex 68481e8942 Cleanups 2015-09-27 00:11:13 +02:00
twinaphex ceff590094 Don't use menu_display_get_ptr outside of menu_display.c anymore 2015-09-27 00:09:15 +02:00
twinaphex 057b498bb1 (RGUI) Start refactoring menu_display code in RGUI 2015-09-27 00:00:54 +02:00
twinaphex f83e26ea32 Add MENU_DISPLAY_CTL_MSG_FORCE/MENU_DISPLAY_CTL_SET_MSG_FORCE 2015-09-26 23:51:35 +02:00
twinaphex 515c8c6322 More menu_display_ctl refactors 2015-09-26 23:37:25 +02:00
twinaphex 16eb95d3aa Cleanup some enums 2015-09-26 23:27:03 +02:00
twinaphex e3a7a67e43 Add some MENU_DISPLAY_CTL_* enums 2015-09-26 23:25:04 +02:00
twinaphex 830be31c87 Create MENU_DISPLAY_CTL_LIBRETRO 2015-09-26 03:02:09 +02:00
twinaphex 37e9108820 Move internal display state to menu_display.c 2015-09-26 01:23:10 +02:00
twinaphex 824e6618b2 Start creating menu_animation_ctl 2015-09-25 23:33:11 +02:00
twinaphex 541c9a2066 Refactor menu_animation.c 2015-09-25 22:24:07 +02:00
twinaphex 6c20d17f16 Refactors 2015-09-25 21:52:04 +02:00
twinaphex 4b69554a92 (menu_display.c) Refactors/cleanups 2015-09-25 21:41:24 +02:00
twinaphex 314dbf44e8 Add MENU_DISPLAY_CTL_SET_FB_DATA 2015-09-25 21:36:11 +02:00
twinaphex f6a7256f20 Make state static and move it to menu_display.c 2015-09-25 21:25:37 +02:00
twinaphex 6482969459 (Menu) Cleanups/refactors 2015-09-25 21:20:26 +02:00
twinaphex 1329b4f265 (Menu) Cleanups 2015-09-25 21:07:12 +02:00
twinaphex f4951300b7 Add MENU_DISPLAY_CTL_FB_DATA, MENU_DISPLAY_CTL_FB_PITCH 2015-09-25 21:03:23 +02:00
twinaphex 8dbc4c0eb0 Add MENU_DISPLAY_CTL_WIDTH, CTL_HEIGHT, CTL_SET_WIDTH, CTL_SET_HEIGHT 2015-09-25 20:28:56 +02:00
twinaphex 4e4bad9eba Create MENU_DISPLAY_CTL_UPDATE_PENDING 2015-09-25 14:07:01 +02:00
twinaphex 8629697afb Add MENU_DISPLAY_CTL_GET_DPI 2015-09-25 14:03:20 +02:00
twinaphex 26e1ec35cb Create menu_display_ctl 2015-09-25 13:27:15 +02:00
twinaphex 6f4c97d697 Rename menu_display_fb to menu_display_libretro 2015-09-25 13:12:21 +02:00
twinaphex 64018e1020 (Menu) Cleanups 2015-09-24 01:08:01 +02:00
twinaphex c8b83de31c Move ui companion msg_queue_push call to runloop_msg 2015-09-22 22:43:49 +02:00
twinaphex f87154773d Add msg_queue_push to UI companion driver interface 2015-09-22 22:20:03 +02:00
twinaphex 056dc5f3e1 Create menu_display_msg_queue_push 2015-09-22 22:10:43 +02:00
Twinaphex 3b3fa56309 Cleanup menu_animation_t 2015-09-06 05:00:08 +02:00
twinaphex 8405f76ff3 Refactor menu_animation.c 2015-09-06 02:41:36 +02:00
twinaphex d3da036a4e Header cleanups 2015-09-04 21:43:08 +02:00
twinaphex 0077304833 Cleanups 2015-09-04 21:27:14 +02:00
twinaphex 8c5128b189 (menu_display.c) Cleanup 2015-08-18 01:41:16 +02:00
twinaphex fa177cb291 (Menu) Cleanups 2015-08-17 15:49:05 +02:00
twinaphex cd1875ceb4 Cleanups 2015-08-17 15:39:24 +02:00
twinaphex a70f09a90d Rearrange structs 2015-07-27 17:18:10 +02:00
twinaphex 999343f7e3 (menu_input.c) Cleanup 2015-06-22 02:21:53 +02:00
twinaphex 6f1bc69fc7 Refactor libretro_dummy mechanics 2015-06-20 23:42:30 +02:00
twinaphex 5341c4262b (menu_display.c) Prevent warning 2015-06-15 22:49:35 +02:00
twinaphex 0c4ac61b38 (Menu) Cleanups 2015-06-15 17:34:12 +02:00
twinaphex 9b8248d3d2 (Menu) Cleanups 2015-06-15 17:24:07 +02:00
twinaphex b2a7000519 Move more variables to menu_display_t 2015-06-15 02:08:25 +02:00
twinaphex 58d7c0fd3b Move some more variables to menu_animation_t 2015-06-15 01:50:57 +02:00
twinaphex 6a2b871f16 Create menu_display_get_ptr 2015-06-14 15:34:05 +02:00
twinaphex bff61a9485 (Menu) Create menu_animation_get_ptr 2015-06-13 23:23:29 +02:00
twinaphex 3fb751ebd2 (menu_display.h) Remove some header dependencies 2015-06-13 23:07:27 +02:00
twinaphex d09a5dbc57 (menu_display.h) Take out some header dependencies 2015-06-13 17:08:38 +02:00
twinaphex 158e86ce8a (Menu) More refactors 2015-06-13 16:47:51 +02:00
twinaphex 263b9e8bcc Go through menu_display_fb_get_ptr pointer 2015-06-13 16:42:11 +02:00
twinaphex 34a44983a0 (Menu) Cleanups 2015-06-13 02:40:01 +02:00
twinaphex 5789fb44f4 (Menu) Cleanups pt. 4 2015-06-12 17:23:31 +02:00
twinaphex 62b7b2602d Refactor disp_timedate_set_label 2015-06-08 14:57:46 +02: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 cf2c0f6930 Rename rarch_render_cached_frame to video_driver_cached_frame 2015-05-20 21:06:44 +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 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 c183f9dd11 (Menu) Start using menu_display_get_size 2015-05-20 00:26:50 +02:00
Twinaphex 2c6d9482d4 Build fix 2015-05-18 23:21:32 +02:00
twinaphex c95fd28e59 Cleanup 2015-05-18 23:16:03 +02:00
twinaphex a49e50896c Create wrapper functions menu_display_fb_set_dirty and menu_display_fb_unset_dirty 2015-05-18 23:14:56 +02:00
twinaphex 9f7d9c9afd Try to address sluggish help screen showing up with RGUI - still
not working
2015-05-18 23:02:04 +02:00
twinaphex dd7d1493a6 Revert "Create menu_refresh"
This reverts commit 7baa41422d.
2015-05-15 18:05:52 +02:00
twinaphex 7baa41422d Create menu_refresh 2015-05-15 17:58:09 +02:00
twinaphex 1e981cc31b Some functions don't need a menu_handle_t * argument 2015-05-12 14:41:20 +02:00
twinaphex a014f2db88 Move framebuffer is dirty and other menu-related state flags
to menu_handle_t
2015-05-11 18:46:06 +02:00