2222864eed
* the previous AGG implementation is superfluous * the new implementation is based on that one, but in a way that allows read/write locking to the list of cache entries (fonts) as well as read/write locking to the cached glyphs per individual font cache entry * new GlyphLayoutEngine.h, which is to be the central place for layouting glyphs along the baseline. It handles the locking for getting the font cache entries. It works by giving it a template class GlyphConsumer which does the actual work. * changed AGGTextRenderer to use the new font cache * changed ServerFont::StringWidth(), and the bounding box stuff to use it * changed DrawingEngine, it doesn't need the global font lock anymore * our BFont thought that GetBoundingBoxesAsGlyphs and GetBoundingBoxesAsString is the same, which of course it isn't, hence the two separate functions... AsGlyphs just gets the bounding box of each glyph in a string, not treating the string as an actual word AsString adds the offset of the glyph in the word to the bounding box * changed ServerProtocol.h accordingly for the different bounding box meaning git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21797 a95241bf-73f2-0310-859d-f6bbb57e9c96
74 lines
1.4 KiB
Plaintext
74 lines
1.4 KiB
Plaintext
SubDir HAIKU_TOP src servers app ;
|
|
|
|
UseLibraryHeaders agg png zlib ;
|
|
UsePrivateHeaders app graphics input interface kernel shared storage ;
|
|
|
|
UseHeaders [ FDirName $(HAIKU_TOP) src servers app drawing ] ;
|
|
UseHeaders [ FDirName $(HAIKU_TOP) src servers app drawing Painter ] ;
|
|
UseFreeTypeHeaders ;
|
|
|
|
|
|
Server app_server :
|
|
Angle.cpp
|
|
AppServer.cpp
|
|
#BitfieldRegion.cpp
|
|
BitmapManager.cpp
|
|
ClientMemoryAllocator.cpp
|
|
CursorData.cpp
|
|
CursorManager.cpp
|
|
CursorSet.cpp
|
|
DebugInfoManager.cpp
|
|
DecorManager.cpp
|
|
Decorator.cpp
|
|
DefaultDecorator.cpp
|
|
Desktop.cpp
|
|
DesktopSettings.cpp
|
|
DrawState.cpp
|
|
EventDispatcher.cpp
|
|
EventStream.cpp
|
|
FontCache.cpp
|
|
FontCacheEntry.cpp
|
|
FontEngine.cpp
|
|
FontFamily.cpp
|
|
FontManager.cpp
|
|
FontStyle.cpp
|
|
HashTable.cpp
|
|
InputManager.cpp
|
|
IntPoint.cpp
|
|
IntRect.cpp
|
|
MessageLooper.cpp
|
|
MultiLocker.cpp
|
|
OffscreenServerWindow.cpp
|
|
OffscreenWindowLayer.cpp
|
|
PNGDump.cpp
|
|
ProfileMessageSupport.cpp
|
|
RAMLinkMsgReader.cpp
|
|
RGBColor.cpp
|
|
RegionPool.cpp
|
|
ScreenManager.cpp
|
|
ServerApp.cpp
|
|
ServerBitmap.cpp
|
|
ServerCursor.cpp
|
|
ServerFont.cpp
|
|
ServerPicture.cpp
|
|
ServerScreen.cpp
|
|
ServerWindow.cpp
|
|
SystemPalette.cpp
|
|
ViewLayer.cpp
|
|
VirtualScreen.cpp
|
|
WindowLayer.cpp
|
|
WindowList.cpp
|
|
Workspace.cpp
|
|
WorkspacesLayer.cpp
|
|
|
|
# libraries
|
|
:
|
|
libtranslation.so libz.so libpng.so libbe.so
|
|
libasdrawing.a libpainter.a libagg.a libfreetype.so
|
|
libtextencoding.so libshared.a
|
|
|
|
: app_server.rdef
|
|
;
|
|
|
|
SubInclude HAIKU_TOP src servers app drawing ;
|