2005-03-24 17:45:52 +03:00
|
|
|
SubDir OBOS_TOP src servers app ;
|
2003-01-20 23:38:49 +03:00
|
|
|
|
2003-11-20 04:40:54 +03:00
|
|
|
AddResources app_server : app_server.rdef ;
|
2003-01-20 23:38:49 +03:00
|
|
|
|
2005-03-27 01:12:37 +03:00
|
|
|
UseLibraryHeaders agg png zlib ;
|
2005-07-15 16:45:23 +04:00
|
|
|
UsePrivateHeaders app interface shared [ FDirName servers app ] ;
|
|
|
|
|
2005-03-26 01:44:18 +03:00
|
|
|
UseHeaders [ FDirName $(OBOS_TOP) src servers app drawing ] ;
|
|
|
|
UseHeaders [ FDirName $(OBOS_TOP) src servers app drawing Painter ] ;
|
2005-03-27 01:12:37 +03:00
|
|
|
UseHeaders [ FDirName $(OBOS_TOP) src servers app drawing Painter drawing_modes ] ;
|
|
|
|
UseHeaders [ FDirName $(OBOS_TOP) src servers app drawing Painter font_support ] ;
|
2003-01-20 23:38:49 +03:00
|
|
|
UseFreeTypeHeaders ;
|
|
|
|
|
2005-03-29 20:21:55 +04:00
|
|
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) drawing ] ;
|
|
|
|
|
|
|
|
if ( $(TARGET_PLATFORM) = haiku ) {
|
2005-03-30 00:37:30 +04:00
|
|
|
# This overrides the definitions in private/servers/app/ServerConfig.h
|
2005-04-18 22:48:19 +04:00
|
|
|
defines = [ FDefines TEST_MODE=0 ] ;
|
2005-03-30 00:37:30 +04:00
|
|
|
|
2005-03-29 20:21:55 +04:00
|
|
|
SubDirCcFlags $(defines) ;
|
|
|
|
SubDirC++Flags $(defines) ;
|
|
|
|
|
2005-04-01 14:36:23 +04:00
|
|
|
VIEW_DRIVER_SOURCES =
|
2005-04-12 12:22:16 +04:00
|
|
|
AccelerantBuffer.cpp
|
|
|
|
AccelerantHWInterface.cpp
|
2005-06-28 02:11:27 +04:00
|
|
|
BitmapBuffer.cpp
|
2005-04-12 12:22:16 +04:00
|
|
|
DisplayDriverPainter.cpp
|
|
|
|
HWInterface.cpp
|
|
|
|
MallocBuffer.cpp
|
|
|
|
UpdateQueue.cpp
|
2005-04-01 14:36:23 +04:00
|
|
|
;
|
2005-03-29 20:21:55 +04:00
|
|
|
} else {
|
|
|
|
VIEW_DRIVER_SOURCES =
|
|
|
|
fake_input_server.cpp
|
|
|
|
BitmapBuffer.cpp
|
2005-03-29 20:31:46 +04:00
|
|
|
AccelerantBuffer.cpp
|
2005-04-18 22:48:19 +04:00
|
|
|
AccelerantHWInterface.cpp
|
2005-03-29 20:21:55 +04:00
|
|
|
DisplayDriverPainter.cpp
|
|
|
|
HWInterface.cpp
|
2005-04-01 14:36:23 +04:00
|
|
|
MallocBuffer.cpp
|
2005-03-29 20:21:55 +04:00
|
|
|
UpdateQueue.cpp
|
|
|
|
ViewHWInterface.cpp
|
|
|
|
;
|
|
|
|
}
|
|
|
|
|
2003-07-14 00:56:00 +04:00
|
|
|
SharedLibrary appserver :
|
2004-02-03 03:52:40 +03:00
|
|
|
Angle.cpp
|
2004-09-04 04:55:05 +04:00
|
|
|
BGet++.cpp
|
2003-07-24 23:38:24 +04:00
|
|
|
BitmapManager.cpp
|
2003-07-14 00:56:00 +04:00
|
|
|
ColorSet.cpp
|
2005-01-19 01:31:08 +03:00
|
|
|
CursorData.cpp
|
2003-07-14 00:56:00 +04:00
|
|
|
Decorator.cpp
|
|
|
|
FontFamily.cpp
|
2004-09-05 04:52:45 +04:00
|
|
|
IPoint.cpp
|
2004-01-27 03:38:14 +03:00
|
|
|
LayerData.cpp
|
2003-07-14 00:56:00 +04:00
|
|
|
RGBColor.cpp
|
|
|
|
ServerBitmap.cpp
|
|
|
|
ServerCursor.cpp
|
|
|
|
ServerFont.cpp
|
2003-09-09 02:20:29 +04:00
|
|
|
FontServer.cpp
|
2003-07-24 23:38:24 +04:00
|
|
|
SysCursor.cpp
|
2003-07-14 00:56:00 +04:00
|
|
|
SystemPalette.cpp
|
2003-07-24 23:38:24 +04:00
|
|
|
TokenHandler.cpp
|
2004-09-17 14:27:58 +04:00
|
|
|
Utils.cpp
|
2003-07-14 00:56:00 +04:00
|
|
|
|
2005-03-29 20:21:55 +04:00
|
|
|
# drawing
|
|
|
|
PatternHandler.cpp
|
|
|
|
DisplayDriver.cpp
|
|
|
|
;
|
2003-07-14 00:56:00 +04:00
|
|
|
|
2003-01-20 23:38:49 +03:00
|
|
|
Server app_server :
|
|
|
|
# Misc. Sources
|
2005-05-26 03:59:23 +04:00
|
|
|
DebugInfoManager.cpp
|
2005-06-17 20:34:22 +04:00
|
|
|
SubWindowList.cpp
|
2005-06-24 03:46:17 +04:00
|
|
|
MultiLocker.cpp
|
2003-03-09 00:07:10 +03:00
|
|
|
PicturePlayer.cpp
|
2003-03-30 04:17:50 +04:00
|
|
|
PNGDump.cpp
|
2004-10-14 05:23:00 +04:00
|
|
|
RAMLinkMsgReader.cpp
|
2003-01-20 23:38:49 +03:00
|
|
|
|
2003-01-23 17:25:16 +03:00
|
|
|
# Manager Classes
|
|
|
|
CursorManager.cpp
|
2005-07-17 20:25:48 +04:00
|
|
|
DecorManager.cpp
|
|
|
|
ScreenManager.cpp
|
|
|
|
|
|
|
|
AppServer.cpp
|
2003-01-24 18:19:27 +03:00
|
|
|
Desktop.cpp
|
2005-07-17 20:25:48 +04:00
|
|
|
DesktopSettings.cpp
|
|
|
|
|
2003-01-24 17:36:15 +03:00
|
|
|
ServerApp.cpp
|
2003-02-07 15:53:57 +03:00
|
|
|
ServerWindow.cpp
|
2003-01-20 23:38:49 +03:00
|
|
|
|
2005-03-25 20:48:49 +03:00
|
|
|
# DisplayDriver Classes
|
2005-03-29 20:21:55 +04:00
|
|
|
$(VIEW_DRIVER_SOURCES)
|
2005-03-25 20:48:49 +03:00
|
|
|
|
2005-07-15 16:45:23 +04:00
|
|
|
VirtualScreen.cpp
|
offscreen bitmaps work, tested on Haiku as well, supports all colorspaces that BBitmap::ImportBits() supports. It uses a fallback for non-B_RGB(A)32 bitmaps. Added support for B_SUB_PIXEL_PRECISION view flags, though it is a bit hacky, since I had to add it to LayerData, even though it is not a true part of stack data. Added Layer::SetFlags() to enforce code path and update fLayerData. Cleaned up DisplayDriverPainter and DisplayDriver API (changed some const BRect& rect to simply BRect rect in order to be able to reuse it in the code), moved Painter.h, the test environment only draws the changed part of the frame buffer again - this causes a lot less CPU overhead, Painter special cases stroke width of 1.0 to use square caps, which is similar to R5 implementation and removes a lot of problems with non-straight line drawing, ServerWindow uses the DisplayDriver from it's WinBorder instead of the one from the Desktop (needed for offscreen windows, which have their own DisplayDriverPainter), it also checks for GetRootLayer() == NULL, because offscreen layers are not attached to a RootLayer, there was a fix for scrolling which worked at least in the test environment, it is now defunced, because Adi moved _CopyBits to Layer... I need to reenable it later, LayerData has no more fEscapementDelta, also fixed fFontAliasing (which was thought to overriding the font flags, and now works as such again), Desktop initialises the menu_info and scroll_bar_info stuff, which makes ScrollBars work actually... hope I didn't forget something.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-05 20:17:16 +04:00
|
|
|
BBitmapBuffer.cpp
|
|
|
|
BitmapHWInterface.cpp
|
2003-02-13 05:13:55 +03:00
|
|
|
DefaultDecorator.cpp
|
2003-01-24 18:19:27 +03:00
|
|
|
Layer.cpp
|
offscreen bitmaps work, tested on Haiku as well, supports all colorspaces that BBitmap::ImportBits() supports. It uses a fallback for non-B_RGB(A)32 bitmaps. Added support for B_SUB_PIXEL_PRECISION view flags, though it is a bit hacky, since I had to add it to LayerData, even though it is not a true part of stack data. Added Layer::SetFlags() to enforce code path and update fLayerData. Cleaned up DisplayDriverPainter and DisplayDriver API (changed some const BRect& rect to simply BRect rect in order to be able to reuse it in the code), moved Painter.h, the test environment only draws the changed part of the frame buffer again - this causes a lot less CPU overhead, Painter special cases stroke width of 1.0 to use square caps, which is similar to R5 implementation and removes a lot of problems with non-straight line drawing, ServerWindow uses the DisplayDriver from it's WinBorder instead of the one from the Desktop (needed for offscreen windows, which have their own DisplayDriverPainter), it also checks for GetRootLayer() == NULL, because offscreen layers are not attached to a RootLayer, there was a fix for scrolling which worked at least in the test environment, it is now defunced, because Adi moved _CopyBits to Layer... I need to reenable it later, LayerData has no more fEscapementDelta, also fixed fFontAliasing (which was thought to overriding the font flags, and now works as such again), Desktop initialises the menu_info and scroll_bar_info stuff, which makes ScrollBars work actually... hope I didn't forget something.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-05 20:17:16 +04:00
|
|
|
OffscreenServerWindow.cpp
|
|
|
|
OffscreenWinBorder.cpp
|
2003-02-12 14:24:26 +03:00
|
|
|
RootLayer.cpp
|
2003-09-09 02:20:29 +04:00
|
|
|
ServerPicture.cpp
|
2004-01-12 01:12:55 +03:00
|
|
|
ServerScreen.cpp
|
|
|
|
WinBorder.cpp
|
|
|
|
Workspace.cpp
|
2005-07-01 10:53:07 +04:00
|
|
|
WorkspacesLayer.cpp
|
2003-01-20 23:38:49 +03:00
|
|
|
;
|
2003-02-17 18:02:38 +03:00
|
|
|
|
2005-03-29 20:21:55 +04:00
|
|
|
# link libraries for app_server and libappserver.so
|
2003-02-17 18:02:38 +03:00
|
|
|
|
2005-03-29 20:21:55 +04:00
|
|
|
if $(TARGET_PLATFORM) = haiku {
|
2005-03-30 00:37:30 +04:00
|
|
|
# link for Haiku
|
2005-03-29 22:32:43 +04:00
|
|
|
|
2005-03-29 20:21:55 +04:00
|
|
|
LinkSharedOSLibs libappserver.so :
|
2005-05-12 19:09:30 +04:00
|
|
|
libroot.so libbe.so libfreetype.so libtextencoding.so ;
|
2005-03-29 22:32:43 +04:00
|
|
|
|
2005-03-29 20:21:55 +04:00
|
|
|
LinkSharedOSLibs app_server :
|
|
|
|
libroot.so libtranslation.so libz.so libpng.so libbe.so
|
2005-04-12 12:22:16 +04:00
|
|
|
libappserver.so libpainter.a libagg.a libfreetype.so
|
|
|
|
libtextencoding.so ;
|
2005-03-29 22:32:43 +04:00
|
|
|
|
2005-03-29 20:21:55 +04:00
|
|
|
} else {
|
2005-03-30 00:37:30 +04:00
|
|
|
# link as test application under R5
|
2005-03-29 22:32:43 +04:00
|
|
|
|
|
|
|
LINKFLAGS on app_server ?= $(LINKFLAGS) ;
|
|
|
|
LINKFLAGS on app_server += -lbe ;
|
|
|
|
|
2005-03-29 20:21:55 +04:00
|
|
|
LinkSharedOSLibs libappserver.so :
|
|
|
|
root be <boot!home!config!lib>libopenbeos.so
|
2005-05-12 19:09:30 +04:00
|
|
|
textencoding libfreetype.so ;
|
2005-03-29 22:32:43 +04:00
|
|
|
|
2005-03-29 20:21:55 +04:00
|
|
|
LinkSharedOSLibs app_server :
|
|
|
|
root be game translation libz.so libpng.so libappserver.so
|
|
|
|
libpainter.a <boot!home!config!lib>libopenbeos.so
|
|
|
|
libagg.a libfreetype.so textencoding ;
|
|
|
|
}
|
2003-01-20 23:38:49 +03:00
|
|
|
|
2005-03-26 01:44:18 +03:00
|
|
|
SubInclude OBOS_TOP src servers app drawing Painter ;
|