akallabeth
fe149f3f57
[server,shadow] deprecate shadow_capture_compare
...
the function uses implicit color format layout, so move to a version
with explicit format layout.
2024-03-05 10:03:23 +01:00
akallabeth
730d67c7e3
[server,shadow] add WINPR_RESTRICT to comparison
...
shadow_capture_compare_with_format and shadow_capture_compare always
operate on distinct memory areas. Allow better optimization of
operations with the WINPR_RESTRICT keyword
2024-03-05 10:03:23 +01:00
akallabeth
e4a0746cdc
[server,shadow] detect changes no alpha
...
add shadow_capture_compare_with_format no alpha comparison option. If
not both, source and destination have alpha, just ignore it.
2024-03-05 10:03:23 +01:00
nin
dc4bd6609b
[server,shadow] add image format support for capture
...
when capturing bitmap data take the source image format into account on
copy and compare.
2024-03-05 10:03:23 +01:00
akallabeth
d7ebec5a65
[tidy] move loop variable declaration to loop
2024-02-22 12:31:50 +01:00
akallabeth
0ba995655d
[clang-tidy] cppcoreguidelines-init-variables
2024-02-15 11:49:16 +01:00
akallabeth
207def5c56
[clang-tidy] readability-isolate-declaration
2024-02-15 11:49:16 +01:00
akallabeth
ba8cf8cf21
[build] fix Wmismatched-deallocator warnings
...
With custom malloc function attributes the fail path in the _New
functions produces warnings due to allocator mismatches. Silence them.
2024-02-05 08:16:55 +01:00
Armin Novak
1caa439a54
[server,shadow] add return checks
...
add return checks and simplified cleanup for shadow_screen_new
2023-07-31 20:18:48 +02:00
akallabeth
43c5289928
Replaced memset/ZeroMemory with initializer
...
* Addes WINPR_ASSERT on many occations
* Replaced memset with array initializer
* Replaced ZeroMemory with array initializer
2022-10-14 12:11:01 +02:00
akallabeth
1849632c43
Fixed format strings to match arguments ( #8254 )
...
* Fixed format strings to match arguments
Reviewed and replaced all %d specifiers to match proper type
* Added proxy dynamic channel command type to log messages.
2022-09-29 14:55:27 +02:00
Armin Novak
4d03d7c0bf
Freerdp remove #ifdef HAVE_CONFIG_H
2022-03-03 11:26:48 +01:00
Armin Novak
b2ad47a809
Reorganized FreeRDP headers
2022-03-03 11:26:48 +01:00
Armin Novak
ea78e33d17
server: Fixed warnings, added assertions
2021-06-18 11:32:16 +02:00
Armin Novak
72ca88f49c
Reformatted to new style
2019-11-07 10:53:54 +01:00
Armin Novak
62c1696d4c
Removed use of unchecked sprintf
2018-08-27 14:34:42 +02:00
Armin Novak
8b9e3fa51e
Fixed use of reserved keywords for include guards.
2017-07-20 09:35:41 +02:00
Ilya Shipitsin
102913e808
make cppcheck a bit happier:
...
[channels/printer/client/printer_cups.c:103]: (error) Resource leak: fp
[server/Mac/mf_event.c:195]: (error) Memory leak: event_queue
[server/shadow/shadow_capture.c:233]: (error) Memory leak: capture
[winpr/libwinpr/sspi/test/TestSchannel.c:440]: (error) Memory leak: lpTokenIn
[winpr/libwinpr/thread/argv.c:198]: (error) Memory leak: lpEscapedChars
[winpr/libwinpr/utils/sam.c:312]: (error) Memory leak: entry
2017-01-25 17:09:25 +05:00
Petr Sumbera
903e484fed
Removes unused (big big) array. Adds ifdef for debug stuff.
2015-07-22 08:51:09 -07:00
Petr Sumbera
24ff3f256d
This array is so big that it eats whole stack for the thread and makes
...
the process dump core on some systems (e.g. Solaris).
2015-07-21 09:26:21 -07:00
Marc-André Moreau
eea475b436
shadow: fix null ClientDir
2014-10-29 16:11:22 -07:00
Armin Novak
73a735e400
Decreased logging verbosity.
2014-09-15 20:06:35 +02:00
Armin Novak
5b5791c8d7
Using wlog for server now.
2014-09-15 08:55:00 +02:00
Marc-André Moreau
1ba42dccf3
shadow: improve DXGI support
2014-08-12 16:57:58 -04:00
Marc-André Moreau
54264936d1
shadow: improve synchronization barrier usage
2014-08-08 20:51:26 -04:00
Marc-André Moreau
fdab87cba0
shadow: improve invalid region detection
2014-08-07 12:36:45 -04:00
Marc-André Moreau
d9d9bf3609
shadow: start detecting invalid regions manually
2014-08-06 17:51:38 -04:00