summaryrefslogtreecommitdiffstats
path: root/unix/x0vncserver
Commit message (Collapse)AuthorAgeFilesLines
* Overriding the grabRegion function in XPixelBuffer. It will perform screen ↵Constantin Kaplinsky2007-12-263-1/+32
| | | | | | grabbing right before sending an update. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2382 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Moved XPixelBuffer class into a separate file.Constantin Kaplinsky2007-12-262-21/+52
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2381 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added a numner of FIXME comments, to identify some possible improvements.Constantin Kaplinsky2007-12-251-0/+14
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2380 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Implemented new "VideoPriority" parameter. It allows to increase the ↵Constantin Kaplinsky2007-12-252-1/+26
| | | | | | priority of video data (when set to 2 or higher), or to disable video detection completely (when set to 0). The value 1 gives video area the same priority as the rest of the screen, the value 2 doubles video area priority, and so on. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2379 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Making sure that both height and width of the video area are always ↵Constantin Kaplinsky2007-12-251-1/+13
| | | | | | multiples of 32. This is important for hardware JPEG encoders. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2378 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added IrixCLJpegCompressor class which will support JPEG compression via the ↵Constantin Kaplinsky2007-12-131-1/+1
| | | | | | Irix Compression Library. This version of IrixCLJpegCompressor is just a stub. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2375 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Replaced fprintf(stderr, ...) with proper logging.Constantin Kaplinsky2007-10-101-3/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2355 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Code cleanups, changes in variable names only.Constantin Kaplinsky2007-10-091-24/+24
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2354 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Code improvement -- the code from detectVideo() was split into two ↵Constantin Kaplinsky2007-10-092-45/+51
| | | | | | functions, handleVideo() and detectVideo(). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2353 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Optimized detectVideo() function. Now it does the most work only when ↵Constantin Kaplinsky2007-10-092-23/+39
| | | | | | needed, not each time it's called. The video rectangle (m_videoRect) is now a member variable so it's remembered between calls to poll(). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2352 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Removed PollPointer parameter and the corresponding code. Polling the screen ↵Constantin Kaplinsky2007-10-092-180/+14
| | | | | | around the pointer rather decreased polling performance then improved responsiveness. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2351 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Removed unused m_changedFlags member variable.Constantin Kaplinsky2007-10-092-4/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2350 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Removed old polling code, as well as PollingType parameter.Constantin Kaplinsky2007-10-092-362/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2349 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Combined video detection stuff with new polling code.Constantin Kaplinsky2007-10-082-1/+57
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2348 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixed a problem with low performance in new polling code.Constantin Kaplinsky2007-10-081-1/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2347 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Bugfix: we should not assume (sizeof(bool) == 1).Constantin Kaplinsky2007-10-081-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2346 3789f03b-4d11-0410-bbf8-ca57d06f2519
* A comment extended.Constantin Kaplinsky2007-10-071-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2345 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Code refactoring -- moving a code chunk from poll_New() to a separate ↵Constantin Kaplinsky2007-10-072-26/+30
| | | | | | sendChanges() method. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2344 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Performing polling via new checkRow() function.Constantin Kaplinsky2007-10-042-29/+54
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2343 3789f03b-4d11-0410-bbf8-ca57d06f2519
* New polling algorithm has been implemented. Video detection is not included ↵Constantin Kaplinsky2007-10-042-4/+84
| | | | | | in this version though. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2342 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Improved algorithm of detecting rectangular video area. Old algorithm used ↵Constantin Kaplinsky2007-09-292-21/+126
| | | | | | the external boundary of the candidate region, while new algoritm uses the biggest rectangular part of the candidate region. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2341 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Adding -ldmedia option on linking x0vncserver in IRIX.Constantin Kaplinsky2007-09-051-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2338 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Special handling for rectangular video area in x0vncserver.Constantin Kaplinsky2007-09-042-1/+48
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2336 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Extended Image::get() methods with a version that can write pixel data at a ↵Constantin Kaplinsky2007-09-032-13/+22
| | | | | | given offset in the destination image. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2333 3789f03b-4d11-0410-bbf8-ca57d06f2519
* PollPointer setting now defaults to false. Printing the number of changed ↵Constantin Kaplinsky2007-07-241-1/+7
| | | | | | tiles in each polling pass if DEBUG is defined (only with PollingType=3). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2319 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixed unreasonably high CPU utilization in cases when new connection hasConstantin Kaplinsky2006-12-053-2/+12
| | | | | | | been accepted but polling was not activated yet. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2182 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Reporting build time in x0vncserver usage.Constantin Kaplinsky2006-12-011-1/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2163 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Changes in reporting version numbers and copyrights.Constantin Kaplinsky2006-06-021-1/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@628 3789f03b-4d11-0410-bbf8-ca57d06f2519
* A grammar fix in man pages.Constantin Kaplinsky2006-06-021-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@620 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Updated build scripts in unix/ for new directory layout.Constantin Kaplinsky2006-06-022-7/+7
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@617 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Migrating to new directory structure adopted from the RealVNC's source tree. ↵Constantin Kaplinsky2006-05-2514-0/+2707
More changes will follow. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@590 3789f03b-4d11-0410-bbf8-ca57d06f2519