Marc-André Moreau
320b1d35ed
libwinpr-utils: centralize bitmap utils
2014-09-03 16:20:50 -04:00
Marc-André Moreau
82a53057a1
Merge pull request #2023 from ptsekov/software-gdi-improvements
...
Software GDI improvements
2014-08-18 16:22:23 -04:00
Pavel Tsekov
651887c7e0
Fix erronous use of colors in gdi_patblt().
...
* libfreerdp/gdi/gdi.c:
(gdi_patblt): Fix a call to freerdp_mono_image_convert() which was
still passed colors in drawing order representation instead of GDI
representation.
2014-08-14 20:21:49 +03:00
Marc-André Moreau
cff9c16c1e
Merge branch 'master' of github.com:FreeRDP/FreeRDP
...
Conflicts:
channels/disp/client/disp_main.c
2014-08-11 10:36:07 -04:00
Pavel Tsekov
052173de5f
Do not assume 32bpp framebuffer when flipping NSCodec bitmaps.
...
* libfreerdp/gdi/gdi.c (gdi_surface_bits): Do not assume 32bpp
framebuffer when flipping NSCodec compressed bitmaps.
2014-08-07 20:37:06 +03:00
Pavel Tsekov
adb750f7ca
Convert NSCodec compressed bitmaps to framebuffer format.
...
* libfreerdp/gdi/gdi.c (gdi_surface_bits): Convert NSCodec compressed
bitmaps to framebuffer format.
2014-08-07 20:33:30 +03:00
Armin Novak
f4c133eaf8
Replaced custom logging mechanism with WLog wrapper.
2014-08-07 16:51:24 +02:00
Pavel Tsekov
c51c5df2ff
* include/freerdp/codec/color.h:
...
(freerdp_color_convert_drawing_order_color_to_gdi_color): Declare new
function.
* libfreerdp/codec/color.c:
(freerdp_color_convert_drawing_order_color_to_gdi_color): Implement.
(freerdp_image_convert_8bpp): Properly use the ARGB32/ABGR32/RGB32/BGR32
macros when converting 8bpp data to 32bpp.
(freerdp_image_convert_32bpp): Fix CLRCONV_ALPHA and CLRCONV_INVERT
processing for 32bpp destination.
(freerdp_mono_image_convert): Use ARGB32/ABGR32 when converting to 32bpp
and CLRCONV_ALPHA is set.
* libfreerdp/core/orders.c: Color data from drawing orders is
interpreted in big endian mode.
* libfreerdp/core/update.c (update_read_palette): Likewise.
* libfreerdp/gdi/16bpp.c (gdi_get_color_16bpp): GDI colors are stored as
RGB now.
* libfreerdp/gdi/32bpp.c (gdi_get_color_32bpp): Likewise.
* libfreerdp/gdi/gdi.c:
Use freerdp_color_convert_drawing_order_color_to_gdi_color() to convert
from drawing order color representation to GDI color representation
troughout.
* libfreerdp/gdi/graphics.c (gdi_Glyph_BeginDraw): Likewise.
(gdi_Glyph_EndDraw): Likewise.
2014-08-07 00:58:58 +03:00
Benoît LeBlanc
1f2f9dfbdc
fix gdi_resize: set primary_buffer to NULL to avoid use after free
2014-08-06 17:02:21 -04:00
Armin Novak
ad3255354d
Added WITH_LIBRARY_VERSIONING, allowing to build shared libraries without
...
SOVERSION information. (required by Android)
2014-07-11 11:53:58 +02:00
Bernhard Miklautz
6a49bcfe40
winpr: always build "monolitic"
...
winpr is now always build as single library.
The build option MONOLITHIC_BUILD doesn't influence this behavior anymore.
The only exception is winpr-makecert-tool which is still build as extra
library.
This obsoletes complex_libraries for winpr.
2014-07-10 11:10:58 +02:00
Marc-André Moreau
c492017fa1
libfreerdp-codec: fix build bot warnings
2014-07-08 15:48:29 -04:00
Marc-André Moreau
ac7d23b9a3
libfreerdp-gdi: migrate to _aligned_malloc/_aligned_free
2014-07-08 15:07:19 -04:00
Bernhard Miklautz
b817e92e5e
cmake: mark required libraries for export
2014-04-23 10:16:02 +02:00
Marc-André Moreau
83ddb7b82c
libfreerdp-codec: fix unit test compilation
2014-03-29 12:37:16 -04:00
Marc-André Moreau
35a1aeac99
libfreerdp-gdi: minor cleanup, set text color on PatBlt
2014-02-13 11:59:05 -05:00
Marc-André Moreau
0a2af868ef
libfreerdp-gdi: fix mem3blt SetTextColor
2014-02-11 18:02:26 -05:00
Marc-André Moreau
7fbdf13a61
libfreerdp-gdi: fix mem3blt color conversion
2014-02-11 17:32:08 -05:00
Marc-André Moreau
9bdfbcd556
wfreerdp: fix test build issues
2014-02-01 12:50:28 -05:00
Marc-André Moreau
97dd904a36
libfreerdp-gdi: fix invalidation of region with line drawing
2014-01-28 21:46:47 -05:00
Marc-André Moreau
5f96f50e0d
libfreerdp-gdi: port old cunit gdi tests to ctest
2013-12-10 16:35:46 -05:00
Marc-André Moreau
3cdc490bf4
libfreerdp-cache: refactor glyph cache and add logging
2013-11-01 10:01:16 -04:00
Marc-André Moreau
55565e056c
freerdp: export targets
2013-10-28 23:06:39 -04:00
Marc-André Moreau
518995a05e
freerdp: merge with master
2013-09-16 17:10:27 -04:00
Marc-André Moreau
f790831e7d
Merge branch 'master' of github.com:awakecoding/FreeRDP into xrdp-ng
2013-09-05 15:23:19 -04:00
Armin Novak
4331fa1f8b
Fixed invalid API usage, ...
2013-09-05 12:14:34 +02:00
Armin Novak
b190a16c5d
Fixed argument checks, now NULL pointer are no longer dereferenced
...
in functions.
2013-09-05 12:14:34 +02:00
Armin Novak
ac3fb4c676
Fixed coverity issue 1047649
2013-09-05 12:14:33 +02:00
Armin Novak
1d3e8c7cb3
Fixed coverity issue 1047650
2013-09-05 12:14:33 +02:00
Marc-André Moreau
7edfe66274
freerdp: various missing link dependencies and symbol exports
2013-09-03 21:48:26 -04:00
Marc-André Moreau
0fd705c6c7
channels/cliprdr: start server-side implementation
2013-08-16 16:46:47 -04:00
Marc-André Moreau
1e5118116d
libfreerdp-codec: start implementing split NSCodec encoder
2013-08-14 23:16:13 -04:00
Marc-André Moreau
fe25303656
libfreerdp-codec: internal refactoring
2013-08-13 17:18:59 -04:00
Norbert Federa
e0e337e278
libfreerdp-gdi: added gdi_surface_frame_marker
...
Frame markes are not really implemented. Just SendFrameAcknowledge on
SURFACECMD_FRAMEACTION_END if settings->FrameAcknowledge > 0
This fixes issue #1352
2013-07-15 15:00:18 +02:00
Marc-André Moreau
6d9e131d68
Merge pull request #1298 from floppym/testfixes
...
libfreerdp-gdi/test: Fix segfault in gdi_convert_postfix_to_infix.
2013-06-28 09:33:49 -07:00
byteboon
3065523405
fixed incorrect size calculation
2013-06-20 11:29:18 -07:00
Mike Gilbert
89f69aa9ba
libfreerdp-gdi/test: Fix segfault in gdi_convert_postfix_to_infix.
2013-06-17 20:46:23 -04:00
Benoit LeBlanc
3f12dc351b
wfreerdp: fixed upscaling
2013-04-30 12:56:16 -04:00
Martin Fleisz
75adb75dee
libfreerdp-gdi: Added missing include
2013-04-05 12:54:24 +02:00
Martin Fleisz
d32598caf5
libfreerdp-gdi: Add NSC support for Bitmap Cache V3
2013-04-05 12:14:23 +02:00
Hardening
7701c9d934
Replace printf(...) by fprintf(stderr, ...)
2013-03-28 23:06:34 +01:00
Bernhard Miklautz
103171a98e
Fixed compiler warnings (-Wall)
2013-03-15 20:41:10 +01:00
Bernhard Miklautz
e8eb0d0b44
Fixed formating build warnings (-Wformat)
2013-03-15 20:03:48 +01:00
Marc-André Moreau
fc02276b11
libfreerdp-gdi: implemented mem3blt pattern brush support
2013-02-04 11:40:40 -05:00
Marc-André Moreau
72a7b83a7b
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2013-02-04 11:05:50 -05:00
Christian Landvogt
401787eeb8
libfreerdp-gdi: added brush style BS_HATCHED
...
according to [MS-RDPEGDI] 2.2.2.2.1.1.2.3 PatBlt (PATBLT_ORDER)
16bit and 8bit colour depth are drawn with wrong background colour
2013-02-04 15:58:22 +01:00
Marc-André Moreau
e18a0b807f
libfreerdp-core: fix async updates with palettes
2013-02-03 16:19:25 -05:00
Marc-André Moreau
4d804018e0
libfreerdp-gdi: fix opaque rect for /gdi:hw mode with 8bpp
2013-02-03 15:22:16 -05:00
Marc-André Moreau
d9ac2cca39
libfreerdp-gdi: fix 8bpp FillRect color
2013-02-03 15:16:37 -05:00
Marc-André Moreau
e1d0fad519
libfreerdp-core: fix memory leaks
2013-01-25 17:52:37 -05:00