Higor Eurípedes
|
4ea0f232ef
|
Use small buffer optimization in gfx_animation_ticker_smooth()
Like the previous commit, this one lowers the number of temporary allocations
while the menu is up.
|
2020-05-23 22:34:12 -03:00 |
|
Higor Eurípedes
|
0c9499a88e
|
Implements small buffer optimization in font_driver_reshape_msg()
Use a stack-allocated 64 bytes long buffer to avoid so many temp heap
allocations when the menu is up. This size is more than enough store 75% of the
return values from msg_hash_to_str and 50% of the returned values from
msg_hash_get_help of any currently supported language (includes fallback to
English).
String size per type:
count mean std ... 50% 75% max
type ...
msg_hash_get_help 83885.0 95.295476 106.331779 ... 54.0 103.0 842.0
msg_hash_to_str 83903.0 27.737959 33.389184 ... 19.0 31.0 440.0
string size per type and language:
count mean std ... 50% 75% max
type language ...
msg_hash_get_help 0 4415.0 89.922310 96.873902 ... 55.0 101.0 590.0
1 4415.0 97.555606 118.031412 ... 55.0 101.0 842.0
2 4415.0 118.459570 127.811760 ... 75.0 131.0 774.0
3 4415.0 111.978256 112.702991 ... 68.0 125.0 651.0
4 4415.0 106.040544 111.360658 ... 62.0 124.0 776.0
5 4415.0 100.129105 114.437432 ... 62.0 103.0 688.0
6 4415.0 32.987769 31.047851 ... 28.0 28.0 595.0
7 4415.0 109.366025 124.717259 ... 71.0 121.0 720.0
8 4415.0 98.023783 105.149942 ... 62.0 105.0 610.0
9 4415.0 93.834428 104.433820 ... 55.0 101.0 637.0
10 4415.0 93.657984 96.884429 ... 55.0 101.0 594.0
11 4415.0 93.452775 104.040553 ... 48.0 100.0 583.0
12 4415.0 89.729558 104.062959 ... 50.0 100.0 550.0
13 4415.0 91.462514 95.968107 ... 55.0 101.0 590.0
14 4415.0 92.062741 97.959207 ... 55.0 101.0 611.0
15 4415.0 92.597055 97.190835 ... 56.0 101.0 600.0
16 4415.0 92.088109 98.110738 ... 55.0 101.0 608.0
17 4415.0 102.483126 106.379639 ... 65.0 110.0 652.0
18 4415.0 104.782786 114.025678 ... 65.0 112.0 646.0
msg_hash_to_str 0 4415.0 24.591619 29.148312 ... 18.0 28.0 346.0
1 4416.0 31.247736 36.302532 ... 21.0 36.0 352.0
2 4416.0 31.853714 39.332395 ... 21.0 36.0 418.0
3 4416.0 28.270833 33.300996 ... 21.0 32.0 429.0
4 4416.0 27.139040 31.905206 ... 19.0 31.0 346.0
5 4416.0 27.380435 32.314188 ... 19.0 31.0 346.0
6 4416.0 25.028080 29.188490 ... 19.0 28.0 346.0
7 4416.0 29.660553 35.283592 ... 21.0 33.0 393.0
8 4416.0 27.685915 32.707466 ... 20.0 31.0 346.0
9 4416.0 34.786685 43.587766 ... 21.0 39.0 414.0
10 4416.0 28.769928 34.428596 ... 20.0 32.0 440.0
11 4416.0 24.407609 28.690934 ... 18.0 27.0 346.0
12 4416.0 23.970788 27.075638 ... 18.0 28.0 346.0
13 4416.0 24.587636 29.146213 ... 18.0 28.0 346.0
14 4416.0 27.642889 33.300451 ... 20.0 31.0 346.0
15 4416.0 25.036005 29.159115 ... 18.0 28.0 346.0
16 4416.0 24.732111 29.134002 ... 18.0 28.0 346.0
17 4416.0 32.068161 38.807095 ... 21.0 36.0 407.0
18 4416.0 28.160779 34.013300 ... 20.0 31.0 432.0
|
2020-05-23 22:33:45 -03:00 |
|
twinaphex
|
3a057d594b
|
MSVC2003 buildfix
|
2020-05-24 00:05:14 +02:00 |
|
twinaphex
|
a8a5372c6b
|
(UWP) File I/O is slow, so enable playlist compression and
savefile compression by default
|
2020-05-23 23:48:01 +02:00 |
|
twinaphex
|
cff87ab1e0
|
(OSX) Buildfix for Discord
|
2020-05-23 16:43:32 +02:00 |
|
Autechre
|
9b73f2a38c
|
Update CHANGES.md
|
2020-05-23 05:51:57 +02:00 |
|
Autechre
|
4cdd5dce38
|
Update CHANGES.md
|
2020-05-23 05:51:09 +02:00 |
|
Autechre
|
020ee2d289
|
Update CHANGES.md
|
2020-05-23 05:50:05 +02:00 |
|
Autechre
|
de8267d2e2
|
Update CHANGES.md
|
2020-05-23 05:49:09 +02:00 |
|
Autechre
|
942d82593b
|
Merge pull request #10691 from phcoder/rbxv
Fix xvideo support on xwayland and input in general
|
2020-05-23 05:47:57 +02:00 |
|
Vladimir Serbinenko
|
a86e8e0f36
|
Support YV12
Only I420 and YZ12 are available on xwayland. Support it
|
2020-05-23 05:39:18 +02:00 |
|
twinaphex
|
c8940c130d
|
Cleanup
|
2020-05-23 05:16:24 +02:00 |
|
twinaphex
|
4a388668a3
|
Update
|
2020-05-23 04:52:28 +02:00 |
|
twinaphex
|
5e3fd8e95e
|
move GetProcessId to C files
|
2020-05-23 04:49:14 +02:00 |
|
Vladimir Serbinenko
|
9c4fde00ce
|
xvideo: Fix order of context init
Current order causes an error in x11_input init and hence keyboard
doesn't work
|
2020-05-23 04:36:53 +02:00 |
|
twinaphex
|
6591b53547
|
Cleanup
|
2020-05-23 04:23:03 +02:00 |
|
twinaphex
|
7d6c0417eb
|
Silence warning
|
2020-05-23 04:17:12 +02:00 |
|
twinaphex
|
268bf61da6
|
Silence warnings
|
2020-05-23 03:36:51 +02:00 |
|
twinaphex
|
506271e769
|
Expand size of frontend variable to avoid warning
|
2020-05-23 03:25:22 +02:00 |
|
twinaphex
|
5e88958e26
|
Silence warnings
|
2020-05-23 03:23:35 +02:00 |
|
twinaphex
|
6408da2ae4
|
Silence warnings
|
2020-05-23 03:19:25 +02:00 |
|
twinaphex
|
b3a4c02d05
|
Reduce variable size
|
2020-05-23 03:12:16 +02:00 |
|
twinaphex
|
2518ad47d9
|
Reduce size of image_label
|
2020-05-23 03:11:35 +02:00 |
|
twinaphex
|
65534f0286
|
(netplay frontend) This variable doesn't need to be so big
|
2020-05-23 03:09:46 +02:00 |
|
twinaphex
|
8c7e785661
|
Convert more strstrs
|
2020-05-23 02:46:58 +02:00 |
|
twinaphex
|
1db42a5611
|
Cleanup filebrowser_parse
|
2020-05-23 02:40:31 +02:00 |
|
twinaphex
|
44a254264b
|
Replace more strstrs
|
2020-05-23 02:29:13 +02:00 |
|
twinaphex
|
d2d16ea171
|
Update CHANGES.md
|
2020-05-23 02:00:28 +02:00 |
|
Autechre
|
89f5eefb92
|
Merge pull request #10554 from WeedyWeedSmoker/International-translations-update
International: Add all the language updates from Crowdin…
|
2020-05-23 01:52:28 +02:00 |
|
twinaphex
|
9fe01ff0c8
|
Replace strstr with string_ends_with
|
2020-05-23 00:41:14 +02:00 |
|
Weedy Weed Smoker
|
8894caddc2
|
Polish: Unify timedate ENUMs and cleanup part 2
|
2020-05-23 04:29:48 +07:00 |
|
Weedy Weed Smoker
|
852eb8ab8e
|
Polish: Unify timedate ENUMs and cleanup
|
2020-05-23 04:23:47 +07:00 |
|
twinaphex
|
d717f3537a
|
Update sdl2_gfx.c
|
2020-05-22 22:58:41 +02:00 |
|
Weedy Weed Smoker
|
4478167634
|
Greek: Correct typo in Unify timedate ENUMs
|
2020-05-23 03:57:02 +07:00 |
|
Weedy Weed Smoker
|
dd612a6637
|
French: Correct typo in Unify timedate ENUMs
|
2020-05-23 03:46:50 +07:00 |
|
twinaphex
|
923dc52f87
|
Simplify menu_filebrowser.c and menu_shader.c code
|
2020-05-22 22:29:25 +02:00 |
|
Weedy Weed Smoker
|
80c1b54b52
|
Merge branch 'master' into International-translations-update
|
2020-05-23 03:14:09 +07:00 |
|
twinaphex
|
421bcb07d3
|
(task_audio_mixer.c) Optimize further
|
2020-05-22 22:00:25 +02:00 |
|
twinaphex
|
eaba575c9e
|
Replace strstrs where possible
|
2020-05-22 21:11:35 +02:00 |
|
twinaphex
|
31674f9246
|
Use string_ends_with and string_starts_with
|
2020-05-22 20:57:48 +02:00 |
|
twinaphex
|
9f4b3b0fc6
|
Start using string_ends_with
|
2020-05-22 20:07:21 +02:00 |
|
twinaphex
|
7cbb79277d
|
Cleanup core_load_game function
|
2020-05-22 19:43:10 +02:00 |
|
Autechre
|
6044f8b335
|
Merge pull request #10686 from jdgleaver/image-type-detection-fix
Image file type detection fixes/optimisations
|
2020-05-22 18:18:22 +02:00 |
|
jdgleaver
|
d24498bdf1
|
Image file type detection fixes/optimisations
|
2020-05-22 16:57:37 +01:00 |
|
Autechre
|
00d7c40c7a
|
Merge pull request #10683 from barbudreadmon/patch-5
(vita) try at fixing upside-down vertical games
|
2020-05-22 16:47:17 +02:00 |
|
Autechre
|
a97c884159
|
Merge pull request #10685 from barbudreadmon/patch-6
(video) fix "Allow Cores to Switch the Video Driver OFF" behavior
|
2020-05-22 16:46:53 +02:00 |
|
Autechre
|
5ad36f7040
|
Update CHANGES.md
|
2020-05-22 16:29:03 +02:00 |
|
barbudreadmon
|
2f57d3cbea
|
(video) fix "Allow Cores to Switch the Video Driver OFF" behavior
fix #10677 : video driver must never be switched when this setting is set to OFF, it is the job of the core to request the right context
|
2020-05-22 15:38:47 +02:00 |
|
Autechre
|
6652bb4795
|
Merge pull request #10684 from jdgleaver/thumb-download-fix
(On Demand Thumbnails) Fix heap-use-after-free error
|
2020-05-22 14:05:47 +02:00 |
|
jdgleaver
|
955e25fc39
|
(On Demand Thumbnails) Fix heap-use-after-free error
|
2020-05-22 11:07:34 +01:00 |
|