Commit Graph

67 Commits

Author SHA1 Message Date
Marc-André Moreau
faa4311232 libwinpr: add proper config.h inclusions 2012-08-14 17:20:53 -04:00
lysannkessler
6b754ab836 casting context to xfContext in more lines and more code clarity 2012-07-25 19:05:03 +02:00
Lysann Kessler
083711fd09 use xfContext->settings->color_depth instead of xfi->srcBpp 2012-07-25 00:09:14 +02:00
Vic Lee
aca53f3973 x11: implement frame marker. 2012-05-26 14:41:38 +08:00
Aurimas Fišeras
64ad250f2d fix more color conversion problems for 16-bit displays
based on d588e30a
2012-05-17 21:55:51 +03:00
Bernhard Miklautz
25107cde67 xfreerdp: nocodec/nscodec free ximages after use 2012-03-29 13:01:42 +02:00
Vic Lee
3fa2c4830e nsc: refactor nsc decoder #1
o the decoded argb buffer can be reused to enhance performance
o pass width, height and bpp through nsc_process_message() call
o rename nsc_context_destroy to nsc_context_free and make it actually free the context
2012-03-05 17:32:14 +08:00
Aaron Small
135a380d7f When a server sends an update where the bitmap data is insufficient to
cover the area the server indicates in width and height, discard the
update instead of crashing.
2012-03-04 16:59:15 -05:00
Michael Osborne
d588e30a38 correct colors for 16-bit displays 2012-03-02 16:49:52 -06:00
Christian Nilsson
38c85de539 fix known swaped b<>r colors in polygon drawings. 2012-02-13 22:07:20 +01:00
Marc-André Moreau
233b0b6ef4 libfreerdp-gdi: add mem3blt support 2012-02-12 19:41:39 -05:00
Marc-André Moreau
46e9eeb695 xfreerdp: added support for Mem3Blt 2012-02-12 18:12:28 -05:00
Marc-André Moreau
f7a71079dd xfreerdp: reintroduce Polygon drawing 2012-02-12 17:14:59 -05:00
David Sundstrom
88d55493a9 Resolve a race condition between a local move update to the RDP server, GDI orders, and RAIL orders. Previously we could receive new GDI orders for the new window position before we received the RAIL order for the new position. The caused drawing errors.
Also correct some errors in managing the GDI damage region.
2012-01-13 18:08:51 -06:00
Marc-André Moreau
c7cc745575 libfreerdp-codec: add freerdp_convert_color_var() 2012-01-09 18:45:36 -05:00
David Sundstrom
dcdf1d7a5b Invert rectangle colors when X server uses inverted colors 2012-01-09 15:39:19 -06:00
Anthony Tong
adfb223133 xfreerdp: fix patblt pixmap leak & quick fix for patblt brush 2011-12-31 16:00:26 -06:00
Marc-André Moreau
2d34a62ce8 libfreerdp-codec: fix color conversion issues for OpaqueRect with --gdi sw,hw 2011-12-30 10:00:03 -05:00
Anthony Tong
b455455365 xfreerdp: patblt fix, set stipple before drawing the rect 2011-12-21 18:51:22 -05:00
Marc-André Moreau
af6e914cf3 update: modify surface frame marker callback 2011-11-25 11:30:15 -05:00
Norbert Federa
c2514dbcae core: add update callback for the surface frame marker command
- clients will need this to present the offscreen to the display
  in the correct state in order to avoid flickering and artefacts
  and to do frame acknowledgement.

- added empty callback to xfreerdp.
2011-11-25 11:48:51 +01:00
Marc-André Moreau
587cc8eaaf update: move secondary drawing orders to sub-interface 2011-11-21 19:41:49 -05:00
Marc-André Moreau
f17a25e08d update: move primary orders into sub-interface 2011-11-21 18:11:43 -05:00
Marc-André Moreau
a63a196f53 types: refactoring to make use of standard data types when available 2011-11-19 12:19:16 -05:00
Marc-André Moreau
b1afaccafe xfreerdp: fix red text cursor bug 2011-11-17 16:54:08 -05:00
Marc-André Moreau
55294ad654 xfreerdp: fix opaque rect with 16bpp surfaces 2011-11-15 14:10:34 -05:00
Marc-André Moreau
b2644901f4 libfreerdp-cache: refactoring of color table cache 2011-11-11 02:07:53 -05:00
Marc-André Moreau
a1b8dfd79f libfreerdp-cache: got glyph drawing partially working 2011-11-09 12:16:09 -05:00
Marc-André Moreau
823e3414d6 libfreerdp-cache: initial glyph cache support 2011-11-08 23:26:44 -05:00
Alan Pearson
4735dcc5c7 Reorder header files. X11 headers need to be before freerdp/types.h otherwise we get warnings about redefinition of True and False 2011-10-27 10:29:16 -07:00
Marc-André Moreau
9165505e0d xfreerdp: improved 8bpp support 2011-10-21 12:17:04 -04:00
Marc-André Moreau
488a4161f5 libfreerdp-core: refactoring of callback prefix 2011-10-20 23:15:18 -04:00
Marc-André Moreau
b7e7067176 libfreerdp-core: refactoring of core bitmap objects 2011-10-20 17:28:59 -04:00
Nicolas Graziano
73e8afcd65 Reset XSetFunction to GXcopy afert each command.
There is a function wich do not correctly set XSetFunction to GXcopy, but
I did not find which one.
So Reset to GXcopy after each modification, it's a bit overkill but it's
 prevent black square on screen.
2011-10-19 16:35:49 +02:00
Marc-André Moreau
5d9e8b2e28 libfreerdp-core: cleanup of freerdp interface 2011-10-16 21:02:28 -04:00
Marc-André Moreau
fb5a7d73e4 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2011-10-16 00:50:48 -04:00
Marc-André Moreau
c639ec8593 libfreerdp-core: refactoring of context pointers into rdpContext 2011-10-16 00:50:10 -04:00
Anthony Tong
0f69c586da fix xf_gdi_bitmap_update() memory leak 2011-10-15 11:32:12 -05:00
Marc-André Moreau
be6d043dd6 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2011-10-13 15:51:20 -04:00
Marc-André Moreau
8999bd8599 libfreerdp-cache: refactoring of bitmap and offscreen bitmap cache, fix major memory leaks 2011-10-13 15:51:07 -04:00
Marc-André Moreau
a40a971ea3 libfreerdp-core: fix polyline order parsing 2011-10-12 18:10:54 -04:00
Marc-André Moreau
fadce7ca56 xfreerdp: fix region invalidation in polyline 2011-10-12 16:00:10 -04:00
Marc-André Moreau
2121a4a5cc libfreerdp-gdi: merge fix from ngraziano for offscreen cache handling 2011-10-11 21:15:32 -04:00
Nicolas Graziano
2f06da5dae In memblt when index is 255 get from offscreen.
See http://msdn.microsoft.com/en-us/library/cc241608(v=prot.10).aspx
2011-10-12 02:21:35 +02:00
Nicolas Graziano
d08e82c171 Correct creation of offscreen bitmap.
data is null in xf_bitmap_new when called from xf_gdi_create_offscreen_bitmap.
2011-10-12 02:19:14 +02:00
Marc-André Moreau
9a72e4ffea libfreerdp-cache: refactoring of pointer cache 2011-10-11 18:51:45 -04:00
Marc-André Moreau
8c4a8d982f xfreerdp: make use of --gdi hw by default 2011-10-09 21:43:31 -04:00
Marc-André Moreau
1e4d6df998 xfreerdp: added support for bitmap cache 2011-10-09 21:23:18 -04:00
Marc-André Moreau
f6cd71026e xfreerdp: started bitmap caching support 2011-10-04 21:29:01 -04:00
Marc-André Moreau
24f413c0a0 libfreerdp-core: move bitmap decompression out of the core 2011-10-02 23:09:13 -04:00