haiku/src/servers/app
Stephan Aßmus 162a7f5f8e * Implemented new BView drawing functions DrawBitmap[Async](
const BBitmap* bitmap, BRect bitmapRect, BRect viewRect, uint32 options).
  Only option so far is B_FILTER_BITMAP_BILINEAR.
* BView::DrawBitmap[Async](const BBitmap* bitmap, BRect viewRect) was accessing
  the bitmap pointer without checking it. Would therefore crash when passing
  NULL, unlike the other methods.
* The BPicture code already reserved room for the BBitmap flags, but did not
  store the actual flags and neiter use them for anything. Since the bitmap
  data is stored anyways, the bitmap creation flags do not matter. So I reused
  this for the new bitmap drawing options.
* Rewrote Bitmap.h and removed the B_BITMAP_SCALE_BILINEAR flag again.
* Tried to optimize Painter::_DrawBitmapBilinearCopy32() a little by giving
  the compiler better hints. There seems to be a marginal, possibly imagined
  speed increase < 0.05 ms. ;-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-07-28 18:58:30 +00:00
..
drawing * Implemented new BView drawing functions DrawBitmap[Async]( 2008-07-28 18:58:30 +00:00
agg_scanline_storage_subpix.h Patch by Andrej Spielmann (GSOC): 2008-07-10 08:19:22 +00:00
agg_scanline_u_subpix.h Patch by Andrej Spielmann (GSOC): 2008-07-10 08:15:59 +00:00
Angle.cpp * renamed HWInterface locking to LockParallelAccess() and 2006-12-04 22:25:17 +00:00
Angle.h * cleanup (it is still used btw, at least in ServerFont) 2006-11-29 20:29:03 +00:00
app_server.rdef * created alert icons in vector format (idea icon is missing yet) 2007-05-25 08:07:48 +00:00
AppServer.cpp * Creating a Desktop can fail, in which case the app_server should not return B_OK, 2008-03-12 18:01:32 +00:00
AppServer.h * Removed ColorSet, it's no longer needed or used. 2006-04-26 09:03:28 +00:00
BitmapDrawingEngine.cpp Add a handy utility class that provides a DrawingEngine directly attached to a 2008-06-13 13:28:13 +00:00
BitmapDrawingEngine.h Add a handy utility class that provides a DrawingEngine directly attached to a 2008-06-13 13:28:13 +00:00
BitmapManager.cpp * Introduced new BBitmap flag B_BITMAP_SCALE_BILINEAR. 2008-07-26 23:40:13 +00:00
BitmapManager.h * Introduced new BBitmap flag B_BITMAP_SCALE_BILINEAR. 2008-07-26 23:40:13 +00:00
ClientMemoryAllocator.cpp My ClientMemoryAllocator implementation wasn't complete and badly leaked memory. 2007-07-22 23:50:34 +00:00
ClientMemoryAllocator.h * Implemented a new client allocation method: instead of having all bitmaps of 2006-03-18 13:43:26 +00:00
CursorData.cpp various changes to handling custom cursors: 2006-02-26 18:15:31 +00:00
CursorData.h various changes to handling custom cursors: 2006-02-26 18:15:31 +00:00
CursorManager.cpp Added a comment that should make clear my last accidental commit doesn't fix anything. 2007-01-04 12:32:44 +00:00
CursorManager.h At least temporary fix for the Deskbar not updating additional items (unless you resize it). 2007-01-04 12:28:31 +00:00
CursorSet.cpp * Removed headers/private/servers/app - everything is in src/servers/app now. 2006-03-18 16:42:14 +00:00
CursorSet.h * Removed headers/private/servers/app - everything is in src/servers/app now. 2006-03-18 16:42:14 +00:00
Decorator.cpp * get rid of RGBColor usage where it is not needed, this simplified many things, 2007-08-17 12:56:20 +00:00
Decorator.h * get rid of RGBColor usage where it is not needed, this simplified many things, 2007-08-17 12:56:20 +00:00
DecorManager.cpp Moved the decorator function declarations into DecorManager (which is the only place which uses them) to allow add-on decorators to build 2007-02-23 23:35:01 +00:00
DecorManager.h * now the Decorator uses the DrawingEngine instance of the WindowLayer, 2006-12-15 23:05:35 +00:00
DefaultDecorator.cpp Remove locking when drawing the decorator buttons. This is most probably not 2008-06-29 21:03:34 +00:00
DefaultDecorator.h When drawing the decorator buttons lock the DrawingEngine, enable copying to 2008-06-14 20:51:20 +00:00
Desktop.cpp * Desktop::_UpdateFloating() and Desktop::_UpdateSubsetWorkspaces() both 2008-07-10 14:17:23 +00:00
Desktop.h Patch by Andrej Spielmann (GSOC): 2008-07-10 08:29:50 +00:00
DesktopSettings.cpp Patch by Andrej Spielmann (GSOC): 2008-07-10 08:29:50 +00:00
DesktopSettings.h Patch by Andrej Spielmann (GSOC): 2008-07-10 08:29:50 +00:00
DesktopSettingsPrivate.h Patch by Andrej Spielmann (GSOC): 2008-07-10 08:29:50 +00:00
DrawState.cpp The scale of a state does not influence the origin. Only previous states 2008-04-02 11:04:03 +00:00
DrawState.h A test app revealed some bugs with regards to client provided clipping regions: 2008-03-18 00:04:12 +00:00
EventDispatcher.cpp * fDragBitmap was never initialized, leading to occasional crashes after the 2008-04-25 11:39:47 +00:00
EventDispatcher.h Implemented AS_IDLE_TIME, this closes bug #1593. 2007-10-29 09:11:25 +00:00
EventStream.cpp Implemented B_NO_POINTER_HISTORY. Window moving/resizing uses this mechanism 2006-01-11 12:25:06 +00:00
EventStream.h Implemented B_NO_POINTER_HISTORY. Window moving/resizing uses this mechanism 2006-01-11 12:25:06 +00:00
FontCache.cpp * this function might be called with a NULL FontCacheEntry, handle that 2007-08-11 13:16:07 +00:00
FontCache.h * complete overhaul of the font/glyph caching 2007-08-02 19:10:38 +00:00
FontCacheEntry.cpp Patch by Andrej Spielmann (GSOC): 2008-07-10 08:26:38 +00:00
FontCacheEntry.h Patch by Andrej Spielmann (GSOC): 2008-07-10 08:26:38 +00:00
FontEngine.cpp * I have experiemented with a different method of countering the colored edges 2008-07-10 12:59:20 +00:00
FontEngine.h Patch by Andrej Spielmann (GSOC): 2008-07-10 08:26:38 +00:00
FontFamily.cpp Added additional font face flags for "condensed", "light" and "heavy". 2008-05-24 14:54:18 +00:00
FontFamily.h * FontFamily::GetStyle() now looks for alternative names when a specific 2008-03-18 16:52:34 +00:00
FontManager.cpp Added additional font face flags for "condensed", "light" and "heavy". 2008-05-24 14:54:18 +00:00
FontManager.h Added additional font face flags for "condensed", "light" and "heavy". 2008-05-24 14:54:18 +00:00
FontStyle.cpp Added additional font face flags for "condensed", "light" and "heavy". 2008-05-24 14:54:18 +00:00
FontStyle.h * separated FontStyle and FontFamily into different .h/cpp, before they shared 2007-07-17 20:48:06 +00:00
GlyphLayoutEngine.h missing ctype.h 2007-08-09 21:53:36 +00:00
HashTable.cpp Fixes that make Haiku build with gcc 4. Mainly out of the following 2005-11-12 23:27:14 +00:00
HashTable.h cleanup, fixed some warnings 2007-05-13 17:47:23 +00:00
InputManager.cpp The input_server is now notified when the screen resolution is changed. 2005-11-26 16:22:06 +00:00
InputManager.h The input_server is now notified when the screen resolution is changed. 2005-11-26 16:22:06 +00:00
IntPoint.cpp * introduced IntPoint and IntRect, which are just like BPoint and BRect, 2006-11-29 03:20:07 +00:00
IntPoint.h * introduced IntPoint and IntRect, which are just like BPoint and BRect, 2006-11-29 03:20:07 +00:00
IntRect.cpp * introduced IntPoint and IntRect, which are just like BPoint and BRect, 2006-11-29 03:20:07 +00:00
IntRect.h * introduced IntPoint and IntRect, which are just like BPoint and BRect, 2006-11-29 03:20:07 +00:00
Jamfile Add a handy utility class that provides a DrawingEngine directly attached to a 2008-06-13 13:28:13 +00:00
MessageLooper.cpp The wonders of signals: 2007-08-30 00:09:43 +00:00
MessageLooper.h You can now specify a timeout to MessageLooper::PostMessage(). 2005-12-12 13:12:51 +00:00
MultiLocker.cpp * added a way for the ServerWindow message loop to determine the required type 2007-10-02 14:09:11 +00:00
MultiLocker.h * added IsLocked() method to AutoWriteLocker 2007-08-02 13:04:27 +00:00
OffscreenServerWindow.cpp * Got rid of the "Layer" part of WindowLayer, ViewLayer, WorkspacesLayer 2008-03-08 12:45:54 +00:00
OffscreenServerWindow.h * Got rid of the "Layer" part of WindowLayer, ViewLayer, WorkspacesLayer 2008-03-08 12:45:54 +00:00
OffscreenWindow.cpp * When allocating a new Window, check the allocation of the DrawingEngine 2008-03-08 17:41:24 +00:00
OffscreenWindow.h * Got rid of the "Layer" part of WindowLayer, ViewLayer, WorkspacesLayer 2008-03-08 12:45:54 +00:00
PNGDump.cpp Now writes the file type of the PNG files as well. This fixes bug #374, even though 2006-04-01 15:51:48 +00:00
PNGDump.h * added a call to png_set_strip_alpha() which could fix the alpha channel 2005-11-09 23:52:27 +00:00
ProfileMessageSupport.cpp Patch by Andrej Spielmann (GSOC): 2008-07-10 08:29:50 +00:00
ProfileMessageSupport.h * added ProfileMessageSupport.h/cpp to translate server message codes to 2007-07-18 12:59:05 +00:00
RAMLinkMsgReader.cpp Fixes that make Haiku build with gcc 4. Mainly out of the following 2005-11-12 23:27:14 +00:00
RAMLinkMsgReader.h Removed unused files like PortMessage.cpp/h and Session.cpp/h. 2005-11-02 12:55:20 +00:00
ReferenceCounting.h * Removed headers/private/servers/app - everything is in src/servers/app now. 2006-03-18 16:42:14 +00:00
RegionPool.cpp * implemented a BRegion pool per WindowLayer which is supposed 2006-04-07 19:14:25 +00:00
RegionPool.h * implemented a BRegion pool per WindowLayer which is supposed 2006-04-07 19:14:25 +00:00
RenderingBuffer.h RenderingBuffer returns IntRect in Bounds() now. Should have been 2008-03-08 17:36:15 +00:00
RGBColor.cpp Some more GCC 4 and PPC fixes. 2006-05-19 15:52:21 +00:00
RGBColor.h * completed my changes to DrawState handling, the current DrawingState 2007-07-22 19:48:27 +00:00
Screen.cpp * Renamed the "simple" mode setter Screen::SetMode() variant to SetBestMode(); 2008-06-03 14:35:31 +00:00
Screen.h * Renamed the "simple" mode setter Screen::SetMode() variant to SetBestMode(); 2008-06-03 14:35:31 +00:00
ScreenManager.cpp * Got rid of the "Layer" part of WindowLayer, ViewLayer, WorkspacesLayer 2008-03-08 12:45:54 +00:00
ScreenManager.h cleanup, fixed some warnings 2007-05-13 17:47:23 +00:00
ServerApp.cpp * Introduced new BBitmap flag B_BITMAP_SCALE_BILINEAR. 2008-07-26 23:40:13 +00:00
ServerApp.h patch by Andrej Spielmann (GSOC): 2008-07-10 08:12:38 +00:00
ServerBitmap.cpp Rearranged includes. 2008-07-28 18:51:57 +00:00
ServerBitmap.h * Introduced new BBitmap flag B_BITMAP_SCALE_BILINEAR. 2008-07-26 23:40:13 +00:00
ServerConfig.h Use DejaVu as default fonts, instead of Bitstream Vera. DejaVu is 2008-02-26 15:59:17 +00:00
ServerCursor.cpp At least temporary fix for the Deskbar not updating additional items (unless you resize it). 2007-01-04 12:28:31 +00:00
ServerCursor.h Implemented Oliver's suggested improvement to ServerCursorReference when 2008-04-08 08:12:38 +00:00
ServerFont.cpp Spotted a mistake in my previous commit, the style would still point to 2008-05-24 15:30:48 +00:00
ServerFont.h Added additional font face flags for "condensed", "light" and "heavy". 2008-05-24 14:54:18 +00:00
ServerPicture.cpp * Implemented new BView drawing functions DrawBitmap[Async]( 2008-07-28 18:58:30 +00:00
ServerPicture.h * Got rid of the "Layer" part of WindowLayer, ViewLayer, WorkspacesLayer 2008-03-08 12:45:54 +00:00
ServerTokenSpace.h * the app_server now uses a global token space - this should later be changed to 2005-11-14 19:46:20 +00:00
ServerWindow.cpp * Implemented new BView drawing functions DrawBitmap[Async]( 2008-07-28 18:58:30 +00:00
ServerWindow.h stippi + bonefish: 2008-07-01 15:47:56 +00:00
SystemPalette.cpp The system palette was defined in two files. Moved to a private header, 2007-10-22 13:44:37 +00:00
SystemPalette.h * Removed headers/private/servers/app - everything is in src/servers/app now. 2006-03-18 16:42:14 +00:00
View.cpp * Change the protocol for sending the affected view tokens during an update 2008-06-09 16:07:18 +00:00
View.h * Change the protocol for sending the affected view tokens during an update 2008-06-09 16:07:18 +00:00
VirtualScreen.cpp * Renamed the "simple" mode setter Screen::SetMode() variant to SetBestMode(); 2008-06-03 14:35:31 +00:00
VirtualScreen.h Revised named configurations a bit: 2007-10-21 11:00:30 +00:00
Window.cpp * Desktop::_UpdateFloating() and Desktop::_UpdateSubsetWorkspaces() both 2008-07-10 14:17:23 +00:00
Window.h * Desktop::_UpdateFloating() and Desktop::_UpdateSubsetWorkspaces() both 2008-07-10 14:17:23 +00:00
WindowList.cpp * Got rid of the "Layer" part of WindowLayer, ViewLayer, WorkspacesLayer 2008-03-08 12:45:54 +00:00
WindowList.h * Got rid of the "Layer" part of WindowLayer, ViewLayer, WorkspacesLayer 2008-03-08 12:45:54 +00:00
Workspace.cpp * Removed severly outdated DebugInfoManager. 2008-03-08 15:28:31 +00:00
Workspace.h * Got rid of the "Layer" part of WindowLayer, ViewLayer, WorkspacesLayer 2008-03-08 12:45:54 +00:00
WorkspacePrivate.h * Got rid of the "Layer" part of WindowLayer, ViewLayer, WorkspacesLayer 2008-03-08 12:45:54 +00:00
WorkspacesView.cpp * Decouple local and user clipping into normal local clipping and a user 2008-06-07 23:09:21 +00:00
WorkspacesView.h * Got rid of the "Layer" part of WindowLayer, ViewLayer, WorkspacesLayer 2008-03-08 12:45:54 +00:00