twinaphex
54372f2524
Pass state around to widget interface
2020-06-08 02:31:36 +02:00
twinaphex
77f5433f22
Create global wrapper function for state
2020-06-08 01:59:25 +02:00
twinaphex
9aa736b522
Move forward declarations up
2020-06-08 01:56:45 +02:00
twinaphex
a2ea198fdd
(gfx widgets) Pass pointer around more
2020-06-08 01:55:04 +02:00
twinaphex
3f163eaa8d
Bring all graphics widget global state together under one struct
2020-06-08 01:41:21 +02:00
twinaphex
dc217b313c
Buildfix
2020-06-07 23:45:48 +02:00
twinaphex
ddf45fdad2
(gfx widgets) Cleanups
2020-06-07 23:43:59 +02:00
twinaphex
4524ff7cd7
(Gfx widgets) Cleanups
2020-06-07 23:39:11 +02:00
twinaphex
797d3f871c
(Gfx widgets) get rid of this early return - already done outside
2020-06-07 23:26:37 +02:00
twinaphex
6b5e9a3224
(gfx widgets) Cleanups
2020-06-07 23:17:37 +02:00
twinaphex
ce02161255
Cleanups
2020-06-07 23:01:52 +02:00
twinaphex
5e2649a6f5
Move gfx_display global state to rarch state
2020-06-07 22:58:06 +02:00
Twinaphex
df8df6c18b
Fix EXC_BAD_ACCESS crash on RetroArch exit on OSX
2020-06-07 05:53:46 +02:00
Autechre
eddcde84b6
Merge pull request #10802 from heuripedes/coz
...
Ozone improvement
2020-06-07 03:01:47 +02:00
twinaphex
be76958070
Unneeded gdi_has_menu_frame
2020-06-07 02:56:56 +02:00
twinaphex
b42897d0b6
(GDI) Weird code - clean this up
2020-06-07 02:55:51 +02:00
Higor Eurípedes
1f45018ee8
shader_glsl.c: Move buffer null pointer check in gl_glsl_set_coords()
...
`buffer` is initialized to a statically allocated variable and can only be NULL
when the allocation of a bigger buffer fails. When only the core frame is being
displayed, the buffer never points to the heap thanks to the small buffer
optimization.
2020-06-06 20:08:28 -03:00
twinaphex
9059b4962e
Cleanups
2020-06-07 00:05:41 +02:00
Francisco José García García
13b5450ff9
[GL1] Initial changes for hw context without FBO
2020-06-03 20:48:16 +02:00
Guo Yunhe
e9916df9d0
Change keys to upper case
2020-06-02 10:28:00 +03:00
Rinnegatamante
14a6c42e0d
[VITA] Using a global to prevent erroneous vitaGL re-initializations.
2020-06-01 11:12:16 +02:00
Francisco José García García
ec336442bd
Merge pull request #10749 from libretro/vitagl
...
VitaGL fixes
2020-05-31 17:14:23 +02:00
Francisco José García García
f976078ef2
[VITA] GL fixes
2020-05-31 17:10:26 +02:00
nia
ef0038de2a
sdl_gl_ctx: advertise GLSL support
2020-05-29 18:03:25 +01:00
twinaphex
479a8a6e64
(PS2) Fix warning incompatible pointer type
2020-05-29 11:22:53 +02:00
twinaphex
ec35ce7fdc
Add TODO/FIXME notes
2020-05-29 10:23:48 +02:00
twinaphex
3ae7e9f8df
Update TODO/FIXMEs
2020-05-29 06:20:16 +02:00
twinaphex
a5ca6c24de
Add more TODO/FIXMEs for globals
2020-05-29 06:17:39 +02:00
twinaphex
02bc3ee1e8
Buildfixes/cleanups
2020-05-26 21:34:05 +02:00
jdgleaver
23916f88c7
Extended core message interface - add concept of message 'type'
2020-05-26 10:03:25 +01:00
jdgleaver
18912ac23d
Enable configuration of date seperator in clock and runtime 'last played' displays
2020-05-25 15:46:53 +01:00
twinaphex
bc226305d7
(x11_common.c) Cleanup
2020-05-24 19:38:41 +02:00
twinaphex
e030986837
Replace fprintfs with RARCH_LOG/RARCH_ERR
2020-05-24 19:29:55 +02:00
twinaphex
cf1bc2634d
Prevent doing unnecessary double strlen
2020-05-24 16:38:53 +02:00
twinaphex
cebc01cb1e
C89_BUILD buildfix
2020-05-24 06:54:42 +02:00
Autechre
2ac18a621a
Merge pull request #10697 from phcoder/x11
...
Improvements for XShm
2020-05-24 06:51:13 +02:00
Vladimir Serbinenko
c9c2d8a0b6
xshm_gfx: Add missing casts
2020-05-24 06:34:59 +02:00
Vladimir Serbinenko
54a07eaa60
Move decarations to the start of function
2020-05-24 06:33:20 +02:00
Vladimir Serbinenko
3f5eb55405
Replace C++ commants with C89 ones
2020-05-24 06:32:36 +02:00
Vladimir Serbinenko
77829a8e5b
Rename xshm to x11 as it can now work without shm
...
xshm was disabled, so no problem with config update
2020-05-24 05:11:53 +02:00
Vladimir Serbinenko
62bb1d4da4
xshm: Allow to operate without shm extension
...
In most cases it doesn't make a nice gameplay but is still useful for debugging
on remote system and xnest
2020-05-24 05:01:51 +02:00
twinaphex
b5fe162c32
C89_BUILD fix
2020-05-24 03:52:23 +02:00
Vladimir Serbinenko
c4b4961ed1
xshm: fix compatibility with x input
2020-05-24 03:52:13 +02:00
Vladimir Serbinenko
cfe68a4c2d
Fix crash in x11_display_server_get_screen_orientation
2020-05-24 03:38:24 +02:00
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
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
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