Conversation
Use memcpy if the pixel format of source and destination is the same. This improves performance of raw encoding significantly in my test case with Weston.
|
The problem here is that if This function is written in such a way that it can be auto-vectorized. If you set However, keep in mind that it is fairly uncommon for clients to choose raw encoding, so optimising this particular function is probably not very good use of your time as it is definitely not going to be the tightest bottleneck when using tight or zrle encoding. If you want to have a chat about performance and optimisation, drop by #wayvnc on freenode. |
More keymap stuff
Use memcpy if the pixel format of source and destination is the same.
This improves performance of raw encoding significantly in my test
case with Weston.