Commit Graph

121 Commits

Author SHA1 Message Date
OsirizX
4d367a2b59 [PSL1GHT] Add RSX graphics support for ps3 2022-03-27 18:03:30 +02:00
Mats
910a652b3c (steam) Replace OSK with the Steam one on the deck 2022-03-16 19:00:16 +01:00
twinaphex
0a40e1f771 (gl_core/gl3) Rename gl_core internally to gl3 2021-11-23 08:45:54 +01:00
MrHuu
8171e513aa [3DS] Fix achievement widget 2021-11-09 19:47:45 +01:00
twinaphex
5f4d4fe678 Move more code from retroarch.c to video_driver.c - retroarch.c now
778kb
2021-10-13 15:15:24 +02:00
twinaphex
b1410c72e5 - Move disp_get_ptr to gfx_display.c
- Move menu_driver_init to menu_driver.c, and turn
menu_driver_init_internal into static function
2021-09-30 17:14:26 +02:00
twinaphex
1ff024be26 Don't do rotate_z call for every draw_texture_slice call 2021-09-21 21:38:07 +02:00
twinaphex
ecdf20ea49 Remove unused gfx_display_draw_polygon 2021-09-21 21:13:46 +02:00
twinaphex
6eeebeab25 Get rid of gfx_display_set_msg_force 2021-09-21 21:10:38 +02:00
twinaphex
868a4bf3fc Fix some warnings; set gfx_white_texture to 0 in deinit function at the
end
2021-09-13 20:52:57 +02:00
twinaphex
5e4ce74000 Get rid of duplicate code in gfx_widgets -
gfx_display_get_widget_dpi_scale made redundant
2021-09-13 20:21:36 +02:00
twinaphex
490233f3c5 wite_texture is now a static global variable inside gfx_display.c
- no longer referenced outside
2021-09-13 19:55:53 +02:00
twinaphex
fc4d4c53cd Cleanup some references to gfx_display_white_texture and
don't assume NULL == 0 for uintptr_t
2021-09-13 19:07:09 +02:00
twinaphex
7f08729a5e Revert "(gfx_display) Make gfx_display_set_fb_size - get rid of the small"
This reverts commit 618cfacd59.
2021-08-26 18:42:43 +02:00
twinaphex
618cfacd59 (gfx_display) Make gfx_display_set_fb_size - get rid of the small
getter/setter functions - also finally take this opportunity to stop
setting framebuffer width/height/pitch for menu drivers that don't
use a framebuffer texture at all
2021-08-26 18:26:44 +02:00
jdgleaver
67bc91c1d0 (gfx_display.c) Remove unused variables 2021-08-23 12:11:00 +01:00
twinaphex
bea512b70b Get rid of gfx_display_draw_texture - use gfx_display_draw_quad instead 2021-08-22 17:57:21 +02:00
twinaphex
54ae219302 Fix gfx_display_draw_texture - fixes D3D11/D3D12/D3D10 OSK issues 2021-08-22 17:17:09 +02:00
Connor McLaughlin
5d3719df44 (gfx) Fix uninitialized variables in gfx_display_draw_cursor 2021-06-22 13:52:13 +10:00
twinaphex
cd9d6c0511 gfx_display - Get rid of lots of pointer grabbing 2021-03-25 20:12:34 +01:00
twinaphex
8064af8f15 Get rid of more pointer grabbing 2021-03-25 19:22:12 +01:00
twinaphex
fada1caf68 Move two widgets functions over to proper source file 2021-03-25 04:55:27 +01:00
twinaphex
1f4dd522ab (RGUI) Cut down on gfx_display_get_fb_size 2021-03-22 01:58:43 +01:00
twinaphex
e5ca68a518 Simplify video_driver_get_ptr 2021-03-21 17:33:44 +01:00
twinaphex
60a112ec97 Reduce dummy display driver null implementations with one 2021-02-02 12:28:17 +01:00
Nathan Strong
0e0fbb53f9 Remove the path_is_valid() call when loading textures
== DETAILS
The `path_is_valid()` call ends up invoking `stat()`, which is unpredictable.
It's practically free when implemented by an operating system (Linux, Windows),
but on embedded systems it can be problematic.

In the case of the Wii U, the stat() call actually ends up taking longer than
the file I/O. And the texture loading code already handles a "file not found"
case, so the stat() call ends up just being a waste of time.

Removing this reduces the texture load time from ~210-250ms down to 60-65ms
on average.
2021-01-07 21:06:07 -08:00
twinaphex
0bfbf81b49 Cleanups 2020-10-02 14:33:35 +02:00
twinaphex
4adfaa07fc Cleanups 2020-10-02 14:16:12 +02:00
twinaphex
079c2dadff (gfx_display.c) Do early returns before computing a bunch of stuff 2020-10-02 14:07:01 +02:00
twinaphex
2e752d93cc Cleanup 2020-10-01 18:34:01 +02:00
twinaphex
cecd48e6b5 gfx_display_draw_cursor - take out early return 2020-10-01 18:22:29 +02:00
twinaphex
e8ab0a892a gfx_display_get_adjusted_scale_internal - cleanup 2020-10-01 12:33:58 +02:00
twinaphex
4f82c26f6c Cleanups 2020-10-01 12:26:49 +02:00
twinaphex
48a2e0528d gfx_display_font_file - cleanup 2020-10-01 12:24:17 +02:00
twinaphex
d08a3b2310 These functions were never used 2020-10-01 12:22:56 +02:00
twinaphex
4965b78ea3 PARTICLES_COUNT doesn't seem used anymore 2020-10-01 12:21:57 +02:00
twinaphex
f8b828e623 gfx_display_draw_bg - cleanups 2020-09-30 18:56:46 +02:00
twinaphex
8683f68ccb Cleanup 2020-09-30 18:52:22 +02:00
twinaphex
0642ea6d5d Remove gfx_display_snow 2020-09-30 15:57:21 +02:00
twinaphex
0ec93e7fff (gfx_display) Cleanups 2020-09-28 07:22:52 +02:00
twinaphex
1e61480e0a Get rid of get/set_header_height 2020-09-28 05:06:02 +02:00
twinaphex
03ff504aa8 Remove gfx_display_scissor_end 2020-09-28 04:04:16 +02:00
twinaphex
d44ab6facf framebuffer_dirty functions - remove these and set member variables
directly in rgui.c and retroarch.c
2020-09-28 03:49:13 +02:00
twinaphex
f38eb84cc7 Move gfx_display_draw_text to retroarch.c and get rid of
video_driver_set_osd_msg
2020-09-28 03:38:16 +02:00
twinaphex
9d6bfabd02 Move reset_list_buffer to gfx_widgets and turn it into a static function 2020-09-28 03:30:22 +02:00
twinaphex
e87b44a68c Remove stub functions in null display driver 2020-09-27 00:18:16 +02:00
twinaphex
e1dbf5dab1 Remove drivers_display viewport - was unused 2020-09-26 22:01:23 +02:00
twinaphex
fbe0924d44 Remove some stub functions 2020-09-26 21:40:16 +02:00
twinaphex
e428166a05 Remove unused gfx_display_get_framebuffer_pitch 2020-09-26 20:04:55 +02:00
twinaphex
f22488f620 gfx_display_coords_array_reset unused - remove 2020-09-26 20:03:20 +02:00