Commit Graph

228 Commits

Author SHA1 Message Date
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
Twinaphex
297fc772c0 (UI Companion) Create notify_list_loaded 2015-05-11 09:56:45 +02:00
twinaphex
f171be5fb6 Use menu_list_get_entry directly 2015-05-07 09:39:04 +02:00
twinaphex
7004451e54 Create menu_list_get_entry 2015-05-07 04:47:32 +02:00
twinaphex
a13442625b Cleanups 2015-05-07 04:37:46 +02:00
twinaphex
ce9d025207 menu_display_setting_label - add logging 2015-05-07 04:33:31 +02:00
twinaphex
bcab96bb77 (Menu) Simplify menu_display_setting_label 2015-05-07 04:28:57 +02:00
Twinaphex
f3a7252ea8 (Menu) Update function 2015-05-05 22:21:38 +02:00
twinaphex
db60ee629d menu_display_setting_label - Return callback 2015-05-05 21:37:33 +02:00
twinaphex
e494165513 Change menu_display_setting_label 2015-05-05 21:35:25 +02:00
twinaphex
89b313da0c (GLUI/XMB) Use menu_display_setting_label too 2015-05-05 20:09:29 +02:00
twinaphex
caaf6a8aa9 Create menu_display_setting_label 2015-05-05 19:50:39 +02:00
Higor Eurípedes
b85dfec4d4 Fix sigsegv and improve font fallback logic 2015-05-02 22:24:35 -03:00
Twinaphex
7845e9b2fb Merge pull request #1665 from heuripedes/build-fixes
Fix build when OpenGL and GLES are disabled
2015-05-01 16:36:23 +02:00
Higor Eurípedes
c554f58dfd Fix build when OpenGL and GLES are disabled 2015-05-01 11:28:53 -03:00
Higor Eurípedes
63c9b6e562 (Menu) Add some functions to handle the main menu font 2015-05-01 09:00:03 -03:00
twinaphex
560d28b188 menu_display_update_pending - cleanup 2015-04-27 19:13:09 +02:00
twinaphex
5a5dc01f8e (menu_display.c) Remove dependency on gl_common.h 2015-04-27 05:05:38 +02:00
twinaphex
d0b3aa24c4 (Windows) Buildfix 2015-04-26 23:47:24 +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
17515d66ed Create menu_display_unset_viewport 2015-04-26 18:08:17 +02:00
twinaphex
d3dba0edc2 Create menu_display_set_viewport 2015-04-26 16:46:56 +02:00
twinaphex
a79511e27f Simplify menu_display_font_flush_block 2015-04-24 23:28:25 +02:00
twinaphex
86958c4117 (menu_display.c) Wrap bind_block and flush_block calls 2015-04-24 23:22:47 +02:00
twinaphex
f2c0874521 (Menu) Create menu_display_font_init_first 2015-04-24 22:01:33 +02:00
twinaphex
e69f40b319 (menu_display.c) Cleanup 2015-04-24 16:42:27 +02:00
twinaphex
69bef77d6d Add DPI override options 2015-04-24 16:37:09 +02:00
twinaphex
71b83aec7c Get rid of some void * arguments in menu_display.c 2015-04-23 01:21:43 +02:00
twinaphex
c78c8c839f Create menu_display_get_dpi 2015-04-21 15:45:03 +02:00
twinaphex
a104517168 (Menu) Create menu_display.c/menu_display.h 2015-04-21 14:44:26 +02:00