summaryrefslogtreecommitdiffstats
path: root/vncviewer/OSXPixelBuffer.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Use exceptions rather than asserts for for "normal" errorsPierre Ossman2014-10-101-5/+4
| | | | | | | Although these are rare, they are still not indicative of bugs so an exception (which ends up in the log and might also be shown to the user) is more appropriate than an assert. Asserts should only be used to catch blatant API misuse and similar.
* Use the same style for exception messagesPierre Ossman2014-10-101-1/+1
|
* Make sure user visible strings are translatedPierre Ossman2014-09-221-1/+2
|
* Get rid of getStride()Pierre Ossman2014-07-071-1/+1
| | | | | | It was confusing and not properly used everywhere. Callers should use the stride they get when they get the buffer pointer.
* Create a proper interface base class for the viewport's framebufferPierre Ossman2014-07-071-8/+13
| | | | | This allows us to gracefully fall back to the FLTK code in case the platform specific code cannot be used.
* A CGImage is read-only, but it just happened to work anyway. Until 10.8Pierre Ossman2012-08-171-11/+9
| | | | | | | that is. Do it the documented way by having a CGBitmapContext instead. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4956 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make sure to include config.h in every compilation unit. Otherwise,Peter Åstrand2011-08-231-0/+4
| | | | | | | | | | the necessary defines will only be visible as a side effect of including other headers, leading to problems with things like translations, which will fail in various places. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4646 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Implement optimised drawing operations for OS X. Didn't see any reduction inPierre Ossman2011-06-171-0/+104
CPU usage unfortunately, but at least we're now using the native pixel format of our server which avoids a conversion on the server side. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4504 3789f03b-4d11-0410-bbf8-ca57d06f2519