Commit Graph

213 Commits

Author SHA1 Message Date
twinaphex 8badf1787d CLeanups 2016-06-11 21:11:57 +02:00
twinaphex 07932bff3e Use retro_common_api.h 2016-06-03 05:49:46 +02:00
twinaphex 2f2ddb472a (XMB) Move function to menu_display.c 2016-05-21 20:47:49 +02:00
twinaphex 0e08dbe931 Rename gfx_coord to video_coord 2016-05-10 02:32:59 +02:00
Hans-Kristian Arntzen 951c3e4085 De-ioctl menu display interface.
Holy crap ...
2016-05-08 12:38:46 +02:00
Hans-Kristian Arntzen 464a4add66 XMB ribbon works in Vulkan. 2016-05-08 11:11:28 +02:00
twinaphex 68265f6c52 Add 'draw_pipeline to menu/drivers_display 2016-04-25 13:56:12 +02:00
twinaphex 78d48c53d2 Rename MENU_DISPLAY_CTL_DRAW_RIBBON to MENU_DISPLAY_CTL_DRAW_PIPELINE 2016-04-24 23:05:24 +02:00
twinaphex 18b0fb1422 (Menu) Cleanups 2016-04-24 22:56:28 +02:00
Jean-André Santoni a06ebe33e4 (Menu) Remove useless variables 2016-04-22 17:21:52 +07:00
twinaphex c9ed624078 Create menu_display_set_alpha 2016-04-21 04:34:02 +02:00
Jean-André Santoni 033ccf4803 (XMB) Remove dont_replace_coords 2016-04-21 03:36:35 +07:00
Jean-André Santoni 252414f4d7 (XMB) Move the ribbon display code to menu_display 2016-04-21 01:18:30 +07:00
twinaphex a1969de2c3 Create menu_display_draw_text 2016-04-20 06:56:19 +02:00
twinaphex 17273493ef (Menu) Create viewport function callback 2016-04-19 08:50:35 +02:00
twinaphex f3d072cdcf Add dont_replace_coords to menu_display_ctx_draw_t 2016-04-19 08:08:40 +02:00
twinaphex cbcbd895d2 Create menu_display_draw_cursor - code de-duplication 2016-04-19 07:41:05 +02:00
twinaphex ee639d8b20 (XMB/Zarch) Use same coord array for XMB/Zarch 2016-04-19 07:17:17 +02:00
twinaphex 03de4a0b35 Change argument order of menu_display_push_quad 2016-04-19 07:04:00 +02:00
twinaphex c761b14eb4 Move zarch_zui_push_quad and zarch_zui_snow to menu_display 2016-04-19 06:57:53 +02:00
twinaphex c75143a62f CXX_BUILD fixes 2016-04-18 02:56:42 +02:00
Jean-André Santoni 8317c5849c (XMB) Draw gradient 2016-04-17 03:06:20 +07:00
twinaphex d7cbb4472e Cleanups 2016-04-15 04:20:57 +02:00
twinaphex 31c6bba86a Cut down on code duplication - draw_bg callback no longer necessary 2016-04-15 03:35:19 +02:00
twinaphex 0e984f6c95 Cleanups 2016-04-15 03:31:59 +02:00
twinaphex 033cecf08c (menu_display) Cleanups 2016-04-12 20:07:23 +02:00
Jean-André Santoni ea6bd2797c (Menu) Move the white texture stuff to menu_display 2016-04-12 04:30:25 +07:00
twinaphex cf7687b49c Cleanups 2016-03-22 03:32:00 +01:00
twinaphex 1742b96ec0 Add menu_texture_item 2016-03-05 08:40:28 +01:00
twinaphex eebcde721b Rename video_coord_array 2016-03-05 07:28:02 +01:00
twinaphex 60c551fe75 Cleanups 2016-02-25 17:26:55 +01:00
Hans-Kristian Arntzen adbf9fed16 Vulkan implementation. 2016-02-16 20:42:02 +01:00
twinaphex 88c68f479a Cleanups 2016-02-09 16:11:37 +01:00
twinaphex c6cc006223 pass draw pointer instead of plenty of params 2016-02-09 15:55:31 +01:00
twinaphex e7798ed511 Refactor datetime menu display function 2016-02-09 05:03:13 +01:00
twinaphex 41088165f5 Get rid of menu_display_get_tex_coords 2016-02-09 04:49:47 +01:00
twinaphex 7c7b170ceb Refactor rotate Z draw calls 2016-02-09 04:43:15 +01:00
twinaphex 2b86b9dbe6 (menu_display.c) Refactor draw functions 2016-02-09 04:34:07 +01:00
twinaphex 2dba1aaef4 Add new structs 2016-02-09 04:12:33 +01:00
twinaphex 82991afb36 Remove unnecessary menu_display_msg_queue_push 2016-02-09 03:29:37 +01:00
twinaphex a3fd1868c1 Turn function static 2016-02-09 03:11:14 +01:00
twinaphex ad4e633e11 Add MENU_DISPLAY_CTL_CLEAR_COLOR 2016-02-09 03:04:23 +01:00
twinaphex 38a341e6b5 Use video_driver_texture_load and video_driver_texture_unload
directly from menu drivers
2016-02-09 01:45:37 +01:00
twinaphex cdf272665e Cleanups 2016-02-09 01:39:01 +01:00
twinaphex c3c408f9d6 Add MENU_DISPLAY_CTL_RESTORE_CLEAR_COLOR 2016-02-09 01:36:00 +01:00
twinaphex dd106ee8d2 Add more menu_display_ctl actions 2016-02-09 01:24:35 +01:00
twinaphex e743f4377e 80-char width limit cleanups 2016-02-09 00:59:42 +01:00
twinaphex d0e9881f46 Add MENU_DISPLAY_CTL_FONT_BIND_BLOCK 2016-02-09 00:57:10 +01:00
twinaphex 3e0d3cbd55 Create MENU_DISPLAY_CTL_INIT_FIRST_DRIVER 2016-02-09 00:49:37 +01:00
twinaphex 486184d1eb Create MENU_DISPLAY_CTL_INIT/MENU_DISPLAY_CTL_DEINIT 2016-02-09 00:12:09 +01:00
twinaphex 5e9f8b276b Create MENU_DISPLAY_CTL_DEINIT 2016-02-09 00:07:23 +01:00
twinaphex bd1291dd71 Simplify framebuffer code for RGUI 2016-02-08 22:42:23 +01:00
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