Commit Graph

161 Commits

Author SHA1 Message Date
twinaphex 9ad50f91e8 Add poll-type - can change it only at compile-time right now 2016-01-27 01:16:53 +01:00
twinaphex d3d4bc3dda Get rid of texture_load/texture_unload callbacks for menu_display_driver 2016-01-20 02:54:55 +01:00
twinaphex 7a55ae3765 Start updating headers for 2016 2016-01-10 04:06:50 +01:00
twinaphex 25481f9bfd menu_display_matrix_4x4_rotate_z 2016-01-08 08:42:29 +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 fbdfad6250 Remove unused void * parameter for init_main_font 2015-12-10 15:19:41 +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
twinaphex df1c6344be Merge font_renderer_driver.c and font_driver.c 2015-12-05 12:07:22 +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
Jean-André Santoni bc602645c7 (Menu) Use float for icon coordinates, makes animations look smoother 2015-12-03 15:34:17 +07:00
Higor Eurípedes 5d92e9061c Reimplement image loading using tasks 2015-11-23 17:42:01 -03:00
twinaphex a2cc0638db (menu_display.c) Get rid of type qualifier 2015-11-14 02:10:21 +01:00
twinaphex 2b59f18b83 Add function pointer for font_init_first 2015-11-09 22:12:32 +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
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 1225fce93b Create menu_display_get_tex_coords 2015-11-02 22:54:05 +01:00
twinaphex b90c78251d Turn menu_video_get_ident into static function 2015-11-02 22:27:19 +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 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 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 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 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 659893e014 Take care of some linking issues with CXX_BUILD 2015-10-18 17:41:42 +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 613347a612 (menu_display) Cleanups 2015-09-27 01:03:58 +02:00
twinaphex 68481e8942 Cleanups 2015-09-27 00:11:13 +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 905ad40ebf Update menu_display.h 2015-09-26 03:13:45 +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 f59227fa7a Cleanup 2015-09-26 00:35:26 +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 3436a85489 (Menu) Remove message_contents 2015-09-24 01:12:25 +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 33240511da More CXX_BUILD fixes 2015-09-06 04:22:30 +02:00
twinaphex 0ba87ae378 Some CXX_BUILD fixes 2015-09-06 04:18:26 +02:00
twinaphex 8405f76ff3 Refactor menu_animation.c 2015-09-06 02:41:36 +02:00
twinaphex 0c4ac61b38 (Menu) Cleanups 2015-06-15 17:34:12 +02:00
twinaphex 3139f13612 (Menu) Cleanups 2015-06-15 02:37:32 +02:00
twinaphex b2a7000519 Move more variables to menu_display_t 2015-06-15 02:08:25 +02:00
twinaphex 6a2b871f16 Create menu_display_get_ptr 2015-06-14 15:34:05 +02:00
twinaphex 3fb751ebd2 (menu_display.h) Remove some header dependencies 2015-06-13 23:07:27 +02:00
twinaphex 7651500662 (menu_display.h) Take out another header dependency 2015-06-13 17:09:23 +02:00
twinaphex d09a5dbc57 (menu_display.h) Take out some header dependencies 2015-06-13 17:08:38 +02:00
twinaphex 263b9e8bcc Go through menu_display_fb_get_ptr pointer 2015-06-13 16:42:11 +02:00
twinaphex 62b7b2602d Refactor disp_timedate_set_label 2015-06-08 14:57:46 +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 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 f171be5fb6 Use menu_list_get_entry directly 2015-05-07 09:39:04 +02:00
twinaphex a13442625b Cleanups 2015-05-07 04:37:46 +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