scrcpy/app/src
Romain Vimont e40532a376 Manually position and scale the content
Position and scale the content "manually" instead of relying on the
renderer "logical size".

This avoids possible rounding differences between the computed window
size and the content size, causing one row or column of black pixels on
the bottom or on the right.

This also avoids HiDPI scale issues, by computing the scaling manually.

This will also enable to draw items at their expected size on the screen
(unscaled).

Fixes #15 <https://github.com/Genymobile/scrcpy/issues/15>
2020-05-23 14:19:09 +02:00
..
android Remove AINPUT_SOURCE_ANY value 2018-08-12 15:35:29 +02:00
sys Add missing include string.h 2020-04-13 16:33:21 +02:00
util Add util function to parse a list of integers 2020-01-18 17:21:00 +01:00
cli.c Add an option to keep the device awake 2020-05-02 02:14:25 +02:00
cli.h Move command-line parsing to a separate file 2019-12-08 23:18:57 +01:00
command.c Show a friendly hint for adb installation 2020-02-27 21:28:42 +01:00
command.h Show a friendly hint for adb installation 2020-02-27 21:28:42 +01:00
common.h Accept port range 2020-01-18 17:21:00 +01:00
compat.h Disable X11 compositor bypass 2019-05-05 17:35:00 +02:00
control_msg.c Rename max length constant for text injection 2020-04-13 19:38:43 +02:00
control_msg.h Rename max length constant for text injection 2020-04-13 19:38:43 +02:00
controller.c Replace SDL_assert() by assert() 2019-11-27 21:19:46 +01:00
controller.h Move utilities to util/ 2019-11-24 11:53:23 +01:00
decoder.c Remove unused includes 2019-11-27 21:40:54 +01:00
decoder.h Include config.h everywhere 2019-09-29 22:39:53 +02:00
device.c Move utilities to util/ 2019-11-24 11:53:23 +01:00
device.h Move utilities to util/ 2019-11-24 11:53:23 +01:00
device_msg.c Replace SDL_assert() by assert() 2019-11-27 21:19:46 +01:00
device_msg.h Include config.h everywhere 2019-09-29 22:39:53 +02:00
event_converter.c Handle NumPad events when NumLock is disabled 2020-03-14 17:37:14 +01:00
event_converter.h Add --prefer-text option 2019-11-07 19:01:35 +01:00
events.h Add stream layer 2019-03-02 18:45:45 +01:00
file_handler.c Replace SDL_assert() by assert() 2019-11-27 21:19:46 +01:00
file_handler.h Move utilities to util/ 2019-11-24 11:53:23 +01:00
fps_counter.c Replace SDL_Atomic by stdatomic from C11 2020-04-02 21:05:26 +02:00
fps_counter.h Replace SDL_Atomic by stdatomic from C11 2020-04-02 21:05:26 +02:00
icon.xpm Add window icon 2018-02-05 14:46:00 +01:00
input_manager.c Manually position and scale the content 2020-05-23 14:19:09 +02:00
input_manager.h Add --prefer-text option 2019-11-07 19:01:35 +01:00
main.c Configure log priority early 2019-12-09 22:31:14 +01:00
opengl.c Enable trilinear filtering for OpenGL 2020-04-15 17:39:51 +02:00
opengl.h Enable trilinear filtering for OpenGL 2020-04-15 17:39:51 +02:00
receiver.c Replace SDL_assert() by assert() 2019-11-27 21:19:46 +01:00
receiver.h Move utilities to util/ 2019-11-24 11:53:23 +01:00
recorder.c Replace SDL_assert() by assert() 2019-11-27 21:19:46 +01:00
recorder.h Move utilities to util/ 2019-11-24 11:53:23 +01:00
scrcpy.c Manually position and scale the content 2020-05-23 14:19:09 +02:00
scrcpy.h Add an option to keep the device awake 2020-05-02 02:14:25 +02:00
screen.c Manually position and scale the content 2020-05-23 14:19:09 +02:00
screen.h Manually position and scale the content 2020-05-23 14:19:09 +02:00
server.c Add an option to keep the device awake 2020-05-02 02:14:25 +02:00
server.h Add an option to keep the device awake 2020-05-02 02:14:25 +02:00
stream.c Remove unused includes 2019-11-27 21:40:54 +01:00
stream.h Move utilities to util/ 2019-11-24 11:53:23 +01:00
tiny_xpm.c Replace SDL_assert() by assert() 2019-11-27 21:19:46 +01:00
tiny_xpm.h Include config.h everywhere 2019-09-29 22:39:53 +02:00
video_buffer.c Replace SDL_assert() by assert() 2019-11-27 21:19:46 +01:00
video_buffer.h Include config.h everywhere 2019-09-29 22:39:53 +02:00