haiku/headers
Stephan Aßmus eaa6da1ef7 Use a flag in BWindow to store whether an update to a view (Invalidate()) has
been requested. The first call to a BView::Invalidate() will flush the link
so that app_server is notified as soon as possible. It makes no sense for
further calls to Invalidate() to flush also, since Flush() is not cheap. This
trick makes Invalidate() about 3.2 times faster, making it a cheaper operation.
I could not see any negative effects, I tested with apps that invalidate
multiple different parts inside a window in reaction to something. Thanks go to
Ingo who had the idea.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26020 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-06-19 13:07:44 +00:00
..
build Define INT32_MAX, if not defined. 2008-06-19 00:03:56 +00:00
compatibility/bsd Removed prototypes for openpty() (which lives in pty.h) and forkpty() 2008-05-28 20:44:47 +00:00
cpp
glibc Prevent redefinition of _IO_MTSAFE_IO. It is defined when building the 2008-03-22 15:26:55 +00:00
gnu
legacy/network setsockopt and getsockopt use int as others functions 2006-06-23 14:19:11 +00:00
libs updated freetype to 2.3.6 2008-06-16 20:51:14 +00:00
os Use a flag in BWindow to store whether an update to a view (Invalidate()) has 2008-06-19 13:07:44 +00:00
posix Removed <syscalls.h>' dependency to <semaphore.h> by giving the sem_t 2008-06-19 00:05:01 +00:00
private Removed <syscalls.h>' dependency to <semaphore.h> by giving the sem_t 2008-06-19 00:05:01 +00:00
tools