116 Commits (dca2c5f94fd0f35ef1c6583cc59bb9ba1b6bdbd4)

Author SHA1 Message Date
Romain Vimont dca2c5f94f Require SDL >= 2.0.5
4 years ago
Romain Vimont 3653fb6b15 Add OutOfMemory log helper
4 years ago
Romain Vimont be55e250ca Make screen_render() static
4 years ago
Romain Vimont dae091e3ab Handle SDL_PushEvent() errors
4 years ago
Romain Vimont 4c4381de4c Use sc_ prefix for size, position and point
4 years ago
Romain Vimont e4d5c1ce36 Move scrcpy option structs to options.h
4 years ago
Romain Vimont 6004f0b6b0 Use a new scrcpy icon
4 years ago
Romain Vimont 3397720330 Add buffering command line options
5 years ago
Romain Vimont 79278961b9 Implement buffering
5 years ago
Romain Vimont 408a301201 Notify new frames via callbacks
5 years ago
Romain Vimont 336248df08 Rename video_buffer to sc_video_buffer
5 years ago
Romain Vimont 9b89b7ab72 Center the window on resize-to-fit
5 years ago
Romain Vimont 7343b233e4 Render screen on window restored
5 years ago
Romain Vimont dcee7c0f7f Factorize screen_init() error management
5 years ago
Romain Vimont e604e8a752 Move fps_counter to screen
5 years ago
Romain Vimont f19c455110 Fix leak on error
5 years ago
Romain Vimont 0541f1bff2 Hide the window immediately on close
5 years ago
Romain Vimont 0272e6dc77 Assert screen closed on destroy
5 years ago
Romain Vimont 2a94a2b119 Remove video_buffer callbacks
5 years ago
Romain Vimont e91acdb0c4 Move video_buffer to screen
5 years ago
Romain Vimont 08b3086ffc Expose screen as frame sink
5 years ago
Romain Vimont 2ddf760c09 Make video_buffer more generic
5 years ago
Romain Vimont c23c38f99d Move resizing workaround to screen.c
5 years ago
Romain Vimont 65c4f487b3 Set initial fullscreen from screen.c
5 years ago
Romain Vimont c6d7f5ee96 Make screen_show_window() static
5 years ago
Romain Vimont 9826c5c4a4 Remove HiDPI compilation flag
5 years ago
Romain Vimont cc48b24324 Simplify screen initialization
5 years ago
Romain Vimont 597c54f049 Group screen parameters into a struct
5 years ago
Romain Vimont 955da3b578 Remove screen static initializer
5 years ago
Romain Vimont cb9c42bdcb Use a callback to notify frame skip
5 years ago
Romain Vimont fb9f9848bd Use a callback to notify a new frame
5 years ago
Romain Vimont 441d3fb119 Make video buffer more generic
5 years ago
Romain Vimont cb197ee3a2 Move fps counter out of video buffer
5 years ago
Romain Vimont 76a3d9805b Inline window events handling
5 years ago
Romain Vimont 50b4a730e3 Handle screen-related events from screen.c
5 years ago
Romain Vimont ea2369f568 Reference video buffer from screen
5 years ago
Romain Vimont 0538e9645b Improve error handling in screen initialization
5 years ago
Romain Vimont a566635c43 Log mipmaps error only if mipmaps are enabled
5 years ago
Romain Vimont 862948b132 Make use_opengl local
5 years ago
Romain Vimont c0c4ba7009 Add intermediate frame in video buffer
5 years ago
Romain Vimont f6320c7e31 Wrap SDL thread functions into scrcpy-specific API
5 years ago
Romain Vimont 59feb2a15c Group common includes into common.h
5 years ago
Romain Vimont e8a565f9ea Fix touch events HiDPI-scaling
6 years ago
Romain Vimont 0ba74fbd9a Make scrcpy.h independant of other headers
6 years ago
Romain Vimont ac4c8b4a3f Increase LOD bias for mipmapping
6 years ago
Romain Vimont fae3f9eeab Remove warning when renderer is not OpenGL
6 years ago
Romain Vimont f5aeecbc62 Reset window size on initialization
6 years ago
Romain Vimont e40532a376 Manually position and scale the content
6 years ago
Romain Vimont d860ad48e6 Extract optimal window size detection
6 years ago
Romain Vimont ec047b501e Disable "resize to fit" in maximized state
6 years ago