scrcpy/app/src
Romain Vimont 55806e7d31 Remove option --render-expired-frames
This flag forced the decoder to wait for the previous frame to be
consumed by the display.

It was initially implemented as a compilation flag for testing, not
intended to be exposed at runtime. But to remove ifdefs and to allow
users to test this flag easily, it had finally been exposed by commit
ebccb9f6cc.

In practice, it turned out to be useless: it had no practical impact,
and it did not solve or mitigate any performance issues causing frame
skipping.

But that added some complexity to the codebase: it required an
additional condition variable, and made video buffer calls possibly
blocking, which in turn required code to interrupt it on exit.

To prepare support for multiple sinks plugged to the decoder (display
and v4l2 for example), the blocking call used for pacing the decoder
output becomes unacceptable, so just remove this useless "feature".
2021-04-25 14:38:42 +02:00
..
android Remove AINPUT_SOURCE_ANY value 2018-08-12 15:35:29 +02:00
sys Replace SDL_strdup() by strdup() 2021-02-17 09:54:03 +01:00
util Assert non-recursive usage of mutexes 2021-02-17 09:54:03 +01:00
adb.c Replace SDL_strdup() by strdup() 2021-02-17 09:54:03 +01:00
adb.h Define feature test macros in common.h 2021-01-17 14:08:48 +01:00
cli.c Remove option --render-expired-frames 2021-04-25 14:38:42 +02:00
cli.h Define feature test macros in common.h 2021-01-17 14:08:48 +01:00
common.h Group common includes into common.h 2021-01-08 19:22:10 +01:00
compat.c Provide strdup() compat 2021-02-17 09:53:25 +01:00
compat.h Provide strdup() compat 2021-02-17 09:53:25 +01:00
control_msg.c Add control message to expand settings panel 2021-04-25 14:36:48 +02:00
control_msg.h Add control message to expand settings panel 2021-04-25 14:36:48 +02:00
controller.c Wrap SDL thread functions into scrcpy-specific API 2021-02-17 09:54:03 +01:00
controller.h Wrap SDL thread functions into scrcpy-specific API 2021-02-17 09:54:03 +01:00
coords.h Move common structs to coords.h 2021-01-08 19:22:10 +01:00
decoder.c Remove option --render-expired-frames 2021-04-25 14:38:42 +02:00
decoder.h Remove option --render-expired-frames 2021-04-25 14:38:42 +02:00
device.c Group common includes into common.h 2021-01-08 19:22:10 +01:00
device.h Define feature test macros in common.h 2021-01-17 14:08:48 +01:00
device_msg.c Replace SDL_strdup() by strdup() 2021-02-17 09:54:03 +01:00
device_msg.h Replace SDL_strdup() by strdup() 2021-02-17 09:54:03 +01:00
event_converter.c Group common includes into common.h 2021-01-08 19:22:10 +01:00
event_converter.h Define feature test macros in common.h 2021-01-17 14:08:48 +01:00
events.h Remove unused custom event 2021-02-14 14:44:05 +01:00
file_handler.c Wrap SDL thread functions into scrcpy-specific API 2021-02-17 09:54:03 +01:00
file_handler.h Wrap SDL thread functions into scrcpy-specific API 2021-02-17 09:54:03 +01:00
fps_counter.c Wrap SDL thread functions into scrcpy-specific API 2021-02-17 09:54:03 +01:00
fps_counter.h Wrap SDL thread functions into scrcpy-specific API 2021-02-17 09:54:03 +01:00
icon.xpm Add window icon 2018-02-05 14:46:00 +01:00
input_manager.c Add mouse shortcut to expand settings panel 2021-04-25 14:36:48 +02:00
input_manager.h Count repeated identical key events 2021-04-25 14:36:48 +02:00
main.c Define feature test macros in common.h 2021-01-17 14:08:48 +01:00
opengl.c Enable trilinear filtering for OpenGL 2020-04-15 17:39:51 +02:00
opengl.h Define feature test macros in common.h 2021-01-17 14:08:48 +01:00
receiver.c Wrap SDL thread functions into scrcpy-specific API 2021-02-17 09:54:03 +01:00
receiver.h Wrap SDL thread functions into scrcpy-specific API 2021-02-17 09:54:03 +01:00
recorder.c Write trailer from recorder thread 2021-04-25 14:38:42 +02:00
recorder.h Wrap SDL thread functions into scrcpy-specific API 2021-02-17 09:54:03 +01:00
scrcpy.c Remove option --render-expired-frames 2021-04-25 14:38:42 +02:00
scrcpy.h Remove option --render-expired-frames 2021-04-25 14:38:42 +02:00
screen.c Move resizing workaround to screen.c 2021-04-13 22:36:59 +02:00
screen.h Set initial fullscreen from screen.c 2021-04-13 22:15:05 +02:00
server.c Ensure get_server_path() retval is freeable 2021-04-22 22:12:23 +02:00
server.h Support power off on close 2021-03-16 21:12:35 +01:00
stream.c Remove option --render-expired-frames 2021-04-25 14:38:42 +02:00
stream.h Remove option --render-expired-frames 2021-04-25 14:38:42 +02:00
tiny_xpm.c Group common includes into common.h 2021-01-08 19:22:10 +01:00
tiny_xpm.h Define feature test macros in common.h 2021-01-17 14:08:48 +01:00
video_buffer.c Remove option --render-expired-frames 2021-04-25 14:38:42 +02:00
video_buffer.h Remove option --render-expired-frames 2021-04-25 14:38:42 +02:00