haiku/headers
Stephan Aßmus 12349c7d3d Begun to use structs for the BView<->app_server communication. This makes
the protocoll less prone to errors, reduces possible points of failure and
most importantly, reduces the number of function calls to the link API.
I only know the numbers for StrokeLine(), which I tested via the Benchmark
test app. With this change, drawing random colored and positioned lines
actually doubled in speed. On the BView side, the calls to
ServerLink::Attach() only halfed, while on the app_server side, the number
of calls to ServerLink::Read() is now 1/4th. It will also be worth
investigating why the link stuff is so slow at all. I also optimized
BView::DrawString() a lot in this change, but I don't have any numbers
yet. Some other commands which used multiple Attach()/Read() calls were
also optimized, at least the most important ones. Begin/EndLineArray() was
also pretty bad on the app_server side. 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29937 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-05 14:59:43 +00:00
..
build add spinlock initializer constant for BeOS 2009-02-09 19:06:44 +00:00
compatibility/bsd Don't define "protected" macro in C++ mode. 2008-10-29 00:48:57 +00:00
cpp Preparations for removing __BEOS__ from the compiler defines. 2008-10-23 21:46:26 +00:00
glibc Prevent redefinition of _IO_MTSAFE_IO. It is defined when building the 2008-03-22 15:26:55 +00:00
gnu
legacy/network
libs updated freetype to 2.3.9 2009-03-22 23:19:15 +00:00
os - Path by Joerg Meyer 2009-04-03 23:04:30 +00:00
posix This should fix ticket #3481 again. It keeps the same semantics as before when 2009-03-16 09:40:33 +00:00
private Begun to use structs for the BView<->app_server communication. This makes 2009-04-05 14:59:43 +00:00
tools Preparations for removing __BEOS__ from the compiler defines. 2008-10-23 21:46:26 +00:00