aboutsummaryrefslogtreecommitdiffstats
path: root/unix/xserver/hw/vnc/vncHooks.cc
Commit message (Collapse)AuthorAgeFilesLines
* Restructure Xvnc/libvnc.so code to avoid C++ header hacksPierre Ossman2015-01-261-1836/+0
| | | | | | | | The internal Xorg headers are very incompatible with C++ and we've had to resort to all kinds of hacks in order to include them in our C++ code. This approach isn't really viable long term so restructure things so that we have a glue layer written in C that bridges the Xorg core with the RFB classes.
* GCFuncs and GCOps are const since 1.16.Tim Waugh2014-09-041-0/+9
|
* Updated to build against xorg-x11-server 1.16.0.Tim Waugh2014-09-031-13/+13
|
* Remove full support for colour mapsPierre Ossman2014-07-071-38/+0
| | | | | | | | | Gets rid of a loooot of code and complexity. Colour map clients are still supported through an automatically generated map, but we lose the ability to develop a client or server that uses colour maps internally.
* The screen index was removed in 1.13, not 1.12.Pierre Ossman2013-08-191-7/+7
| | | | | | | Bug found and patched by Koichiro IWAO. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5130 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Redo r5090 using functions that are available in olderPierre Ossman2013-05-221-21/+18
| | | | | | | Xorg versions as well. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5100 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The Glyph operation is not guaranteed to be implemented on top of thePierre Ossman2013-05-071-2/+105
| | | | | | | Composite operation, so we need to hook both. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5090 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add support for X.Org 1.13Adam Tkac2012-09-051-0/+30
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4995 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Implicit drawing operations (like window borders) are done by accessingPierre Ossman2012-07-191-9/+26
| | | | | | | | | | the screen pixmap directly. That means that hooking windows is insufficient. The code now assumes that the drawable is a visible window, or the screen pixmap (IOW, that all coordinates are screen relative). Had to restructure some code that only worked on windows to get this working. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4941 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Redo the RandR code in Xvnc/libvnc to use the modern 1.2 API. The oldPierre Ossman2012-07-121-19/+102
| | | | | | | | | | | stuff was a bit buggy, and it didn't really allow us to move forward. This commit temporarily removes the ability for the client to resize the session. It will be readded for Xvnc in a later commit. libvnc will be without that functionality for now, as it is very difficult to get right there. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4931 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix a race condition where we might get updates thrown at us right after aPierre Ossman2012-01-231-0/+7
| | | | | | | | framebuffer switch, but before we've been given the pointer to the new framebuffer. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4839 3789f03b-4d11-0410-bbf8-ca57d06f2519
* We informed the RFB layer of RENDER operations before they were actuallyPierre Ossman2011-11-031-8/+15
| | | | | | | | carried out. Under some circumstances, this could result in an update going out with the old framebuffer contents. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4753 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Avoid catching composite (RENDER) operations that only affect off-screenPierre Ossman2011-10-111-16/+20
| | | | | | | things. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4720 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixed the formatting of a few Cendio copyright lines, so that it isPeter Åstrand2011-09-281-1/+1
| | | | | | | | consistent with the rest of the code. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4677 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Avoid intersecting screen with empty clipList in vncHooksCopyArea. ThePeter Åstrand2011-03-071-1/+3
| | | | | | | | | | result would be empty, which means that we are not sending CopyRect updates even though we can. Improves vertical scrolling with Firefox and Adobe reader. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4324 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Sometimes we get copy requests that are partially or fully outside thePierre Ossman2010-12-211-0/+7
| | | | | | | | framebuffer. Not sure if this is a bug or not, but for now add some handling to deal with these gracefully. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4230 3789f03b-4d11-0410-bbf8-ca57d06f2519
* We might sometimes end up with an empty copy because of clipping. Make surePierre Ossman2010-12-211-1/+2
| | | | | | | we don't waste more CPU cycles on these. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4229 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Clean up CopyWindow hook so it's more readable.Pierre Ossman2010-12-211-4/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4228 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Add support for X.Org 1.10Adam Tkac2010-12-081-0/+12
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4221 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Don't hook pixmaps in vncHooks, it fixes crash after XDrawArc call.Adam Tkac2010-12-081-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4220 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Improve privates handling in vncHooks to be compatible with ↵Adam Tkac2010-07-201-2/+22
| | | | | | X.Org 1.9.X. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4089 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Move definition of XORG macro to separate header.Adam Tkac2009-08-281-0/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3884 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Use "XORG <version>" macro instead of "XORG_<version>" to distinguish ↵Adam Tkac2009-08-281-6/+6
| | | | | | between X.Org branches. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3883 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Restore Composite callback when we close the screen.Pierre Ossman2009-03-191-0/+7
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3691 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Support for RandR on the server.Pierre Ossman2009-03-181-0/+69
| | | | | | | | Based on patch by George Wright but heavily rewritten in order to dynamically reallocate the framebuffer, allowing any resize. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3688 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Cleanup] vncHooks.cc: all supported X sources has pCompositeClip in GC thus ↵Adam Tkac2009-01-071-26/+18
| | | | | | removed conditional definitions git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3524 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Make Xvnc compilable against X.org 1.6 branchAdam Tkac2009-01-071-5/+33
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3522 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix compilation issues with gcc 3.4 (patch from George Wright - <gwright ↵Adam Tkac2008-07-291-0/+2
| | | | | | cendio se>) git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2631 3789f03b-4d11-0410-bbf8-ca57d06f2519
* - include dix-config.h before any xorg headerAdam Tkac2008-04-171-0/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2483 3789f03b-4d11-0410-bbf8-ca57d06f2519
* PaintWindowBackground and PaintWindowBorder hooks are no longer used.Adam Tkac2008-03-261-57/+6
| | | | | | | PolyFillRect hook is used instead and it needs modified ValidateGC hook. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2452 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Don't access devPrivates directly. Use dixRequestPrivate and dixLookupPrivateAdam Tkac2008-03-221-34/+20
| | | | | | | API instead. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2444 3789f03b-4d11-0410-bbf8-ca57d06f2519
* - moved Xvnc sources to unix/xserver/hw/vnc directory to affect current X treeAdam Tkac2008-03-211-0/+1533
- replaced unix/xc.patch by unix/xserver.patch - completely deleted unneded unix/xc subtree (sources are in unix/xserver/hw/vnc) git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2439 3789f03b-4d11-0410-bbf8-ca57d06f2519