50 Commits (d8bbbeb3b37c713a72a113f7ef78741e15cc4a4d)

Autor SHA1 Mensaje Fecha
  Peter Åstrand (astrand) f523ee14c6 Using namespace rfb in header files is a bad idea hace 6 años
  Pierre Ossman bbf955ebd7 Reimplement the deferred update handling, this time in a more robust and hace 12 años
  Constantin Kaplinsky 93d40aa83b Minor cleanup: declaring PollingManager::sendChanges() as const. hace 16 años
  Constantin Kaplinsky 303433aae8 Refactoring: now PollingManager is owned by XPixelBuffer. No other classes hace 16 años
  Constantin Kaplinsky 8a85c49dcb Code refactoring: PollingManager should not know anything about hace 16 años
  Constantin Kaplinsky 54cfef3a6b Code refactoring: passing VNCServer pointer to PollingManager methods hace 16 años
  Constantin Kaplinsky 429ea9689b Grabbing the screen moved from PollingManager to XPixelBuffer. hace 16 años
  Constantin Kaplinsky 2c01983400 Code refactoring - PollingManager's constructor is given an XPixelBuffer* hace 16 años
  Constantin Kaplinsky 82f7b015ea Removed the code for automatic video detection. It interfered with video hace 16 años
  Constantin Kaplinsky 8650688cb3 Optimized the checkRow() function. hace 16 años
  Constantin Kaplinsky 41de242536 Minor refactoring: removed getFullRow() function, added its code to getRow(). hace 16 años
  Constantin Kaplinsky 04aa5201ed Minor code enhancement: using an inline function instead of inline arithmetic. hace 16 años
  Constantin Kaplinsky 801123d021 Minor code improvement: added Image::locatePixel(x, y) function to get rid of direct pointer arithmetic. hace 16 años
  Constantin Kaplinsky adebffbd8b Made a number of member variables constants. hace 16 años
  Constantin Kaplinsky ec45c48753 Minor refactoring: new m_bytesPerPixel member variable. hace 16 años
  Constantin Kaplinsky 9d37e5c105 Refactoring: checkRow() has been rationalized; it does not need arguments that it can easily compute itself. hace 16 años
  Constantin Kaplinsky 850de2b818 Code refactoring: removed extra arguments for member functions. hace 16 años
  Constantin Kaplinsky 85b5eb9f67 Code refactoring: introduced m_changeFlags member variable, instead of similar local variable. hace 16 años
  Constantin Kaplinsky 20390a2f46 Minor code refactoring: remembering the number of 32x32 tiles in a member variable. hace 16 años
  Constantin Kaplinsky bf11a2d85d Implemented calls to reportChanges() as conditional macros. This reduces the amount of debugging code. hace 16 años
  Constantin Kaplinsky f50bd7f9bf More debugging output can be enabled with the #define DEBUG_REPORT_CHANGED_TILES. hace 16 años
  Constantin Kaplinsky 474b12f7b2 Checking neighbor pixels above and below changed tiles, as well as pixels at the left and at the right. hace 16 años
  Constantin Kaplinsky 1a03211232 If defined DEBUG_PRINT_NUM_CHANGED_TILES, print correct final number of changed tiles detected (excluding video area but including tiles found after "neighbors check"). hace 16 años
  Constantin Kaplinsky 553340cb32 Polling algorithm was extended. Now, if it detected any changes, it will also check vertical borders of neighboring tiles at the right. hace 16 años
  Constantin Kaplinsky 52f29d336f When compiled with defining DEBUG_PRINT_NUM_CHANGED_TILES, print the number of changed tiles detected in each polling pass. hace 16 años
  Constantin Kaplinsky 4879263e22 Code refactoring and cleanups. Moved a part of handleVideo() back to pollScreen(), changed a few function prototypes, added sanity checking in flagVideoArea(). hace 16 años
  Constantin Kaplinsky ed3cf5d029 Maintaining additional one-pixel-width image for using in upcoming polling improvements. hace 16 años
  Constantin Kaplinsky bd390358b9 Minor code refactoring -- new flagVideoArea() function, minor naming and formatting changes. hace 16 años
  Constantin Kaplinsky 936c36902a Prepared the XPixelBuffer class for grabbing the screen in its grabRegion() method. hace 16 años
  Constantin Kaplinsky 04e910bd9a Added a numner of FIXME comments, to identify some possible improvements. hace 16 años
  Constantin Kaplinsky 1d37802b9e Implemented new "VideoPriority" parameter. It allows to increase the 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. hace 16 años
  Constantin Kaplinsky bb56377fed Making sure that both height and width of the video area are always multiples of 32. This is important for hardware JPEG encoders. hace 16 años
  Constantin Kaplinsky dab9a56916 Replaced fprintf(stderr, ...) with proper logging. hace 16 años
  Constantin Kaplinsky 808db551d5 Code cleanups, changes in variable names only. hace 16 años
  Constantin Kaplinsky 6bb4bf15b9 Code improvement -- the code from detectVideo() was split into two functions, handleVideo() and detectVideo(). hace 16 años
  Constantin Kaplinsky 646998a6ce Optimized detectVideo() function. Now it does the most work only when 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(). hace 16 años
  Constantin Kaplinsky d0b15c6d15 Removed PollPointer parameter and the corresponding code. Polling the screen around the pointer rather decreased polling performance then improved responsiveness. hace 16 años
  Constantin Kaplinsky 1adc255af3 Removed unused m_changedFlags member variable. hace 16 años
  Constantin Kaplinsky 9ee8dc6ae7 Removed old polling code, as well as PollingType parameter. hace 16 años
  Constantin Kaplinsky c1984e0e89 Combined video detection stuff with new polling code. hace 16 años
  Constantin Kaplinsky 29d3205026 Fixed a problem with low performance in new polling code. hace 16 años
  Constantin Kaplinsky f25307a3be Bugfix: we should not assume (sizeof(bool) == 1). hace 16 años
  Constantin Kaplinsky 5e2f69ffe4 A comment extended. hace 16 años
  Constantin Kaplinsky a79255b55a Code refactoring -- moving a code chunk from poll_New() to a separate sendChanges() method. hace 16 años
  Constantin Kaplinsky bc6b9e2b1e Performing polling via new checkRow() function. hace 16 años
  Constantin Kaplinsky a119b48c03 New polling algorithm has been implemented. Video detection is not included in this version though. hace 16 años
  Constantin Kaplinsky 0fc9f174a0 Improved algorithm of detecting rectangular video area. Old algorithm used the external boundary of the candidate region, while new algoritm uses the biggest rectangular part of the candidate region. hace 16 años
  Constantin Kaplinsky 5664998fcf Special handling for rectangular video area in x0vncserver. hace 17 años
  Constantin Kaplinsky 344c3fe719 PollPointer setting now defaults to false. Printing the number of changed tiles in each polling pass if DEBUG is defined (only with PollingType=3). hace 17 años
  Constantin Kaplinsky b30ae7facb Migrating to new directory structure adopted from the RealVNC's source tree. More changes will follow. hace 18 años