aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Add client support for LED state syncPierre Ossman2017-08-241-1/+3
|
* Use correct color space for current monitorPierre Ossman2017-04-281-1/+4
| | | | | | We won't always be on the primary monitor, so check which color space we're actually using right now. For offscreen stuff we assume a standard sRGB color space.
* Change cursor API to use RGBA dataPierre Ossman2017-02-222-4/+4
| | | | | This will allow us to use better formats that preserve the entire alpha channel.
* Add alpha blending support to surfacesPierre Ossman2017-02-102-4/+8
|
* Render on a temporary surface when neededPierre Ossman2017-02-101-5/+34
| | | | | | Some platforms draw directly to the screen, which means that updates will flicker if we draw multiple layers. Prevent this by first composing the update on a hidden surface.
* Abstract platform rendering to "surfaces"Pierre Ossman2017-02-102-25/+79
| | | | This will allow us to render more things than just the framebuffer.
* Improve framebuffer performance test measurementPierre Ossman2017-02-101-10/+103
| | | | | Some platforms impose a significant delay per frame, so we need to separate that from the time spent shuffling pixels.
* spelling fixesklemens2017-01-281-1/+1
|
* Do explict sync after XShmPutImage()Pierre Ossman2017-01-111-3/+0
| | | | | The complex logic waiting for events didn't result in any added performance, so use the simpler approach.
* Add Fltk and Gettext include dirs when compiling testsBrian P. Hinz2017-01-081-0/+3
|
* Add test to measure framebuffer performancePierre Ossman2017-01-044-0/+291
|
* Add unit tests for getHostAndPort()Pierre Ossman2016-07-112-0/+83
|
* Performance analysis of multi-core decoderPierre Ossman2015-12-022-0/+40
|
* Estimate CPU core usage in performance testsPierre Ossman2015-11-272-35/+125
| | | | | | This is based on comparing CPU time with elapsed time, which means that the tests can be heavily influenced by other load on the test machine.
* Let CConnection intercept more callbacksPierre Ossman2015-11-272-0/+8
| | | | | We need more callbacks for correct operation of multi-threaded rect decoding.
* Delegate decoder object management to a separate classPierre Ossman2015-11-272-60/+19
| | | | | | | | | Done in preparation for multi-core decoding. Keeps the complexity out of the other classes. This also moves ownership of the framebuffer in to CConnection. It's the CConnection object that is aware of the threads and how to synchronise with them. Therefore the ownership of the framebuffer must also be there to make sure it isn't deleted whilst threads are working.
* Include kernel time in CPU usage measurementPierre Ossman2015-11-091-14/+29
| | | | | Time spent executing in the kernel is as much of a performance problem as time spent in userspace. Make sure both numbers are included.
* Remove parameter "hasBeenSet" logicPierre Ossman2015-04-271-2/+2
| | | | | It doesn't really make sense anymore given that settings might come from the GUI or configuration and not only the command line.
* Wrong array index in CPU usage calculation on WindowsPierre Ossman2015-03-031-1/+1
|
* Windows doesn't have %lldPierre Ossman2015-03-031-0/+5
|
* overrun() needs to return the available spacePierre Ossman2015-03-031-0/+3
|
* Move things around slightly so the compiler can track ccPierre Ossman2015-03-032-0/+10
|
* Fix mismatches between format string and argumentsPierre Ossman2015-03-031-1/+1
|
* Fix bad signed/unsigned comparisonsPierre Ossman2015-03-032-5/+5
| | | | | Either by casting, or switching to a more appropriate type for the variable.
* encperf, decperf: catch fopen() errorsDRC2015-02-262-4/+4
| | | | This prevents unhandled exceptions if the file isn't found.
* encperf: Optionally disable pixel translationDRC2015-02-251-2/+6
| | | | | | | For 16-bit and 8-bit datasets, you can now run encperf with an argument of -translate=0 to benchmark just the encoder without converting the datasets to 24-bit. This allows the output of encperf to be directly compared with that of the TurboVNC Benchmark Tools.
* encperf: change % to %% in printf formatDRC2015-02-251-1/+1
| | | | | GCC lets this slide, but other compilers (clang) complain about using % rather than %% to print a literal % character.
* encperf: add compression level to encoding listDRC2015-02-251-1/+2
| | | | | Explicitly add the compression level to the list of encodings so it's obvious how to override it.
* encperf: allow # of iterations to be specifiedDRC2015-02-251-6/+6
|
* encperf: report encoded & raw-equivalent bytesDRC2015-02-251-13/+24
| | | | | | Report encoded and raw-equivalent bytes as well as compression ratio (I like to have these statistics so I can compute overall compression ratios for groups of datasets in a spreadsheet.)
* encperf: Code formatting tweaksDRC2015-02-251-18/+18
| | | | | Code formatting tweaks to improve readability & make the code consistent with the rest of TigerVNC
* Add test to measure high level encoding performancePierre Ossman2015-02-132-0/+442
|
* Make it possible to measure CPU usage in parellelPierre Ossman2015-02-132-18/+71
|
* Add test to measure decoding performancePierre Ossman2015-02-132-0/+220
|
* Make sure stride handling is also testedPierre Ossman2014-10-091-13/+45
|
* Use constants for the test buffer dimensionsPierre Ossman2014-10-091-14/+20
|
* Add pixel conversion correctness testPierre Ossman2014-09-252-0/+326
|
* Add missing copyright header.Pierre Ossman2014-09-241-0/+18
|
* Rename the pixel conversion performance testPierre Ossman2014-09-242-3/+3
| | | | | We want to have other tests related to pixel conversion, so avoid possible naming conflicts.
* Remove PixelTransformer and TransImageGetterPierre Ossman2014-07-141-23/+0
| | | | There is nothing using these classes anymore, so remove the clutter.
* Test results comparing PixelTransformer and bufferFromBuffer()Pierre Ossman2014-07-094-0/+106
|
* Add ability to directly convert between two pixel formatsPierre Ossman2014-07-091-0/+7
| | | | | This is a lot easier and cheaper than having to set up a complete PixelTransformer object.
* Put some space between the groups of testsPierre Ossman2014-07-091-0/+8
|
* Add more 8 bpp conversion testsPierre Ossman2014-07-091-0/+13
|
* Remove full support for colour mapsPierre Ossman2014-07-071-1/+1
| | | | | | | | | 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.
* Add pixel conversion speed testPierre Ossman2014-07-044-0/+310
Add a tests directory where we can put tests programs that can be useful during testing. Start with a speed test for the pixel conversion routines.